 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 : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 00:00:41.948274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9356e748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.29483580589294 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 00:03:02.684644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg
2025-01-17 00:03:02.662689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9eff6160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 135.80820846557617 secondes ---
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa15ed748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 139.92276859283447 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 00:05:42.703116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa1a2a748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.58155393600464 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 00:08:02.321977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg
2025-01-17 00:08:02.360256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f91a73160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 141.3215730190277 secondes ---
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb65ea748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 143.33086133003235 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 00:10:42.424688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb2590748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 142.99489641189575 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 00:13:21.851052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faec98748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 139.23232650756836 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 00:15:42.120608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8ae7b748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 134.1286678314209 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 00:18:02.797668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg
2025-01-17 00:18:02.687069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f97332160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 145.006977558136 secondes ---
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7b107748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 149.21355438232422 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 00:20:41.890068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9e192748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 143.59342288970947 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 00:23:22.369592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa18b36d8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 144.91840529441833 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 00:26:02.924578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg
2025-01-17 00:26:02.924636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f937d6160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.96656465530396 secondes ---
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f931b0748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 150.256249666214 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 00:28:42.032806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faa4d2748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 142.68270874023438 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 00:31:22.452039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb4fc0748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 148.16861009597778 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 00:34:02.124808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg
2025-01-17 00:34:02.098491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f93a39160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 140.04701972007751 secondes ---
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f89343748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 150.31422066688538 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 00:36:42.136048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faefe9748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 147.97217178344727 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 00:39:22.614263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb5d14748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 147.23888301849365 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 00:42:02.201708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg
2025-01-17 00:42:02.287909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f98632160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 141.2475368976593 secondes ---
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa4f0b748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 155.50073289871216 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 00:44:42.337918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f784866d8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 149.04950165748596 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 00:47:21.918906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7b7ca748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 145.11776423454285 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 00:50:02.514111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg
2025-01-17 00:50:02.479666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9e145160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 140.16896271705627 secondes ---
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f83d38748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 148.3997495174408 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 00:52:42.578176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8931b6d8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 139.8332977294922 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 00:55:21.988509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f84bcf748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 138.13625240325928 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 00:57:42.285004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 00:58:02.493632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.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
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8dac7160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 133.27812695503235 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 01:00:22.201911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8e424748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 141.0251727104187 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 01:03:02.822809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg
2025-01-17 01:03:02.857171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f980190f0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.05235648155212 secondes ---
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fad8c3748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 140.1139907836914 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 01:05:41.889784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa778b748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 138.77881503105164 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 01:08:02.531790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg
2025-01-17 01:08:02.504829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f79be6160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.400776386261 secondes ---
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fad9da748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 141.52226996421814 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 01:10:42.563379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9019c748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 139.1487901210785 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 01:13:21.970068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f93deb748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 139.49703931808472 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 01:15:42.226237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f962196d8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 138.50549721717834 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
 val : 1 : upload photos already in processing! 
2025-01-17 01:18:02.712161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb01ff160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 135.2350652217865 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 01:20:21.910305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f80b70748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 139.39676928520203 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 01:22:42.178374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb10ac748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 138.3940212726593 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 01:25:02.824393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg
2025-01-17 01:25:03.024804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fae228160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 134.9642505645752 secondes ---
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa6c80748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 140.9077696800232 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 01:27:41.904144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f82106748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.6757369041443 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 01:30:02.413349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg
2025-01-17 01:30:02.497572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f803ee6d8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 138.3935570716858 secondes ---
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8c255160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 140.52691793441772 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 01:32:42.554381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9fd80748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 140.1130871772766 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 01:35:22.029984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8cc7c748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 138.34924221038818 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 01:37:42.292560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7facae6748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 139.39941453933716 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 01:40:02.909653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg
2025-01-17 01:40:02.909652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8772a160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 138.04611158370972 secondes ---
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9fdeb748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 140.0934226512909 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 01:42:42.054329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb2b18748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 140.67721033096313 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 01:45:22.081624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8a08f748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 138.36207962036133 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 01:47:42.349327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb3dff6d8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 139.40745520591736 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
 val : 1 : upload photos already in processing! 
2025-01-17 01:50:02.887522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f81b92160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 134.03564739227295 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 01:52:22.100160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f77954748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 140.23254132270813 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
 val : 1 : upload photos already in processing! 
2025-01-17 01:55:02.657339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7a178748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.37018036842346 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 01:57:22.747786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 01:58:01.960120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.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
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f98cfa160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 134.19231534004211 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 02:00:22.559272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7eb8f748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 139.00388479232788 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 02:03:02.258890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg
2025-01-17 02:03:02.374461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f865c8160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 134.952303647995 secondes ---
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f89d5a748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 140.9821949005127 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 02:05:42.238033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa00a1748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 138.81452131271362 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 02:08:02.883252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg
2025-01-17 02:08:02.769062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa4bb20f0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.43205451965332 secondes ---
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8d6cd748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 139.59413123130798 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 02:10:41.917519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f99953780>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 138.14167094230652 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 02:13:02.658133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg
2025-01-17 02:13:02.745003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9a75a160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 138.71451687812805 secondes ---
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fac322748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 140.67406940460205 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 02:15:42.582182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f98a95748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.4863269329071 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 02:18:02.177674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg
2025-01-17 02:18:02.227254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa2c95160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 134.10590291023254 secondes ---
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8187c748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 140.20011687278748 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 02:20:42.283811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb4efa748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.83928728103638 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 02:23:03.070085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg
2025-01-17 02:23:02.939286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7f14d160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 134.26924467086792 secondes ---
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f870166d8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.44747686386108 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 02:25:21.982053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8adbb748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.6705265045166 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 02:27:42.239103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8636a748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.72544598579407 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 02:30:02.748677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg
2025-01-17 02:30:02.846449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f97d60160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.47845435142517 secondes ---
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb25cc748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 138.41284346580505 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 02:32:41.921649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f84d2e6d8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.05098509788513 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 02:35:02.724590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg
2025-01-17 02:35:02.706963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f93a65160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 135.51035451889038 secondes ---
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa6f36748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.57609701156616 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 02:37:22.660668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa680b748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 134.83640050888062 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 02:39:41.941319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f80067748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 134.82176804542542 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 02:42:02.492524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg
2025-01-17 02:42:02.587996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb482d160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 133.53462076187134 secondes ---
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f87adb748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 135.4870581626892 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 02:44:22.668277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f99267748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 134.6713581085205 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 02:46:41.926207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8cbf5748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 134.67686796188354 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 02:49:02.843334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg
2025-01-17 02:49:02.744066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb1409160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.1175298690796 secondes ---
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9d38c748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 141.3148581981659 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 02:51:42.615972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8cc3e748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 139.12350606918335 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 02:54:22.115035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7c287748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 139.38407230377197 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 02:56:42.336315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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! 
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 02:58:02.691727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.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
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8debd160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 135.89678382873535 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 03:00:22.320937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f95f10748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 139.6104679107666 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 03:03:03.115727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg
2025-01-17 03:03:03.084379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8ffbb0f0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.5289478302002 secondes ---
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8c6496d8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 140.65473651885986 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 03:05:41.977189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8f562748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 139.45852422714233 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 03:08:02.515521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg
2025-01-17 03:08:02.517730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fad2b20f0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 138.18496966362 secondes ---
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f94c0f748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 142.2788906097412 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 03:10:42.690005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8685f6d8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 139.78536367416382 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 03:13:22.115575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa71f3780>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.02513146400452 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 03:15:42.410986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9e13d748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 139.07253980636597 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 03:18:21.807800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f969b3748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 141.48316025733948 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 03:21:02.616341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg
2025-01-17 03:21:02.603794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fafc58160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 142.46759128570557 secondes ---
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f86b8f748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 154.76807355880737 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 03:23:42.521966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f815be748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 140.24151015281677 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 03:26:21.976466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f85be7748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 138.49690580368042 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 03:28:42.239419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9b3a3748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 139.54912877082825 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 03:31:02.992458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg
2025-01-17 03:31:02.976335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f966120f0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 138.06009078025818 secondes ---
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7a20b748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 142.17219257354736 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 03:33:41.952833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7a71c748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 138.84387588500977 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 03:36:02.659788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg
2025-01-17 03:36:02.505371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa73e6160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 135.35153460502625 secondes ---
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8928b748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 141.64984369277954 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 03:38:42.668875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f95dc5748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 139.1665186882019 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 03:41:22.123943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f98de4748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 143.55888414382935 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 03:44:02.765612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg
2025-01-17 03:44:02.757820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f80334160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 138.57352447509766 secondes ---
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f991cf748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 144.7252995967865 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 03:46:41.767936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb4878748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 145.46107387542725 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 03:49:22.209861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa5d6f748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 161.12972211837769 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 03:52:22.613728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9d33c748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 162.99785161018372 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 03:55:22.008320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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! 
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 03:58:02.538299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.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! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f830be160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 156.91324973106384 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 04:00:42.161158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa92e2748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 161.12963557243347 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 04:03:42.579444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f832c2748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 160.93715119361877 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 04:06:41.997713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa87ab748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 161.74174213409424 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 04:09:42.464636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7b5b1748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 163.5465874671936 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 04:12:41.884536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f89020748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 164.35060858726501 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 04:15:42.292464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8124b748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 162.1202301979065 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 04:18:42.720368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb41bd748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 161.92090225219727 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 04:21:42.148317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f884e4748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 160.6635296344757 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 04:24:42.590029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f79d516d8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 162.49498581886292 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 04:27:42.026913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8e9d2748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 140.73647141456604 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 04:30:22.481924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9dcfb6d8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.99379992485046 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 04:32:42.761600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f777fd748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 134.93109607696533 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 04:35:02.620388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg
2025-01-17 04:35:02.544326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa7c1b0f0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.37727236747742 secondes ---
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f775e76d8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 138.50076699256897 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 04:37:22.482670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f79942748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.82129573822021 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 04:39:42.811911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa64b6748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.76529359817505 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 04:42:02.369095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg
2025-01-17 04:42:02.424234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fafe70160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 134.42612671852112 secondes ---
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb1a5c748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 138.46681118011475 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 04:44:22.523853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9b178748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 135.58477473258972 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 04:46:41.805333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb3ee6748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.61386680603027 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 04:49:02.650328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg
2025-01-17 04:49:02.729987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f890e7160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 133.98563361167908 secondes ---
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f858ec748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 138.00248908996582 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 04:51:22.520733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7e89d748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 135.42629623413086 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 04:53:41.801058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f86d986d8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.4594850540161 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 04:56:02.436843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg
2025-01-17 04:56:02.410091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 04:58:02.585591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.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
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f80309160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 134.72303295135498 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 05:00:22.227771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f77018748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 138.4408733844757 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 05:02:42.490499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f945006d8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 141.52102875709534 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 05:05:21.925681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8e301748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.75123000144958 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 05:07:42.123147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f82bfc748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.8174650669098 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 05:10:02.810797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg
2025-01-17 05:10:02.736313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb5cf2160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 135.38071203231812 secondes ---
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f95947748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 139.56430768966675 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 05:12:41.880913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8ef84748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.06629633903503 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 05:15:02.502201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg
2025-01-17 05:15:02.730815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7e4b5160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.75662469863892 secondes ---
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9acae748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 138.57623386383057 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 05:17:22.621488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fadd68748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.9486927986145 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 05:19:41.866710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f81e7a748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.96954584121704 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 05:22:02.459303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg
2025-01-17 05:22:02.364445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faf21e160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.63980221748352 secondes ---
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f99f52748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 138.78458452224731 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 05:24:22.560914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f939f5748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 135.80245685577393 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 05:26:41.829898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb1498748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 135.7986912727356 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 05:29:02.655650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg
2025-01-17 05:29:02.715149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa2335160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.28526854515076 secondes ---
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa9fa4748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 140.320321559906 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 05:31:42.544508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f78e81748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 138.18828582763672 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 05:34:02.317798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg
2025-01-17 05:34:02.125823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f94f4f0f0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 135.62340903282166 secondes ---
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f871a4748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.87127566337585 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 05:36:22.225072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faa771748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 134.987300157547 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 05:38:42.476725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9bf04748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.04700374603271 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 05:41:02.320375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg
2025-01-17 05:41:02.240541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa4ef8160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 135.46673965454102 secondes ---
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7e7f7748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 139.6425700187683 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 05:43:42.240562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f76da06d8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 135.29046154022217 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 05:46:02.769297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg
2025-01-17 05:46:02.825740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f95358160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.0757393836975 secondes ---
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa28de748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 138.06534242630005 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 05:48:21.934777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fafd70748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 142.31777453422546 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 05:51:02.635642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg
2025-01-17 05:51:02.610350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f951dd0f0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 135.21604371070862 secondes ---
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa5308748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.29066610336304 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 05:53:22.598120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8b877748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 134.51762866973877 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 05:55:41.878853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f803c9748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 138.59628200531006 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 05:58:02.395242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg', '/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg', '/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/14/53/image_16012025_14_53_40_6425.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_47_6418.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_52_5210.jpg
/media/data/images/16012025/14/53/image_16012025_14_53_59_6445.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_05_6272.jpg
/media/data/images/16012025/14/54/image_16012025_14_54_10_5355.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
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa6410160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 133.24832201004028 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 06:00:22.017563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa71e8748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.98713421821594 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 06:02:42.315499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f77f04748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 138.00110983848572 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 06:05:03.015053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9ebb2748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.56551146507263 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 06:07:21.973786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fadd95748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.871267080307 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 06:09:42.268493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f82d72748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.88807582855225 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 06:12:02.850106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb215f748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.57049655914307 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 06:14:22.013598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7961c748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.67096328735352 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 06:16:42.339745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa250e748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.65543675422668 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 06:19:03.135912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg
2025-01-17 06:19:03.135912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9d96b748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 140.2191698551178 secondes ---
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7facd291d0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 140.22046661376953 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 06:21:42.024077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa2436748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.9796440601349 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 06:24:02.693380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg
2025-01-17 06:24:02.719723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8f3331d0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 139.66112637519836 secondes ---
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f93b47748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 141.69190168380737 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 06:26:42.710196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f939a4748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.34940123558044 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 06:29:02.486342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg
2025-01-17 06:29:02.561034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fab2031d0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 138.8848102092743 secondes ---
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9e0b9748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 140.85795402526855 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 06:31:42.452426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f82a6f748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.6161971092224 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
 val : 1 : upload photos already in processing! 
2025-01-17 06:34:02.005743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f87e50160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 138.3749282360077 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 06:36:22.146615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8ed8e748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.49260258674622 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 06:38:42.409224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa7a1d748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.49795007705688 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 06:41:02.102560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f81923748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 138.11466193199158 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 06:43:22.131526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8103f6d8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.35310697555542 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 06:45:42.395684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f96b1a748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 136.35302805900574 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 06:48:01.877606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f83c5c748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 138.1830189228058 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 06:50:22.098085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8f2e6748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.22572088241577 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 06:52:42.377926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa68d7748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 138.25040364265442 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 06:55:02.000742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.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
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f99549748>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 137.89832401275635 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 06:57:22.066473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 06:59:03.201919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg
2025-01-17 06:59:03.464119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local DESC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local DESC LIMIT 6;
  port_id : 19692152
  datou_current_id : 2490029
in upload_from_sqlite, uploading in 19692152
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg', '/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg', '/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg', '/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490029&datou=0
/media/data/images/16012025/21/04/image_16012025_21_04_22_5388.jpg
/media/data/images/16012025/21/04/image_16012025_21_04_10_5429.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_58_5389.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_22_5358.jpg
/media/data/images/16012025/21/03/image_16012025_21_03_17_6598.jpg
/media/data/images/16012025/21/02/image_16012025_21_02_58_5357.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f80f1e1d0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 140.39401721954346 secondes ---
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f942896d8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
'int' object is not iterable
time to upload: 140.13302397727966 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
 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! 
2025-01-17 07:01:41.907578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_17012025
 fc.token : ad008dc7a28db4d91ca57b4c305a3b85
True
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 332, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17012025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1285, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 984, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7faed28860>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faed28860>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 621, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 345, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faed28860>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
2025-01-17 07:04:02.765732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_17012025
 fc.token : ad008dc7a28db4d91ca57b4c305a3b85
True
2025-01-17 07:04:02.661314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_17012025
 fc.token : ad008dc7a28db4d91ca57b4c305a3b85
True
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 332, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17012025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1285, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 984, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7673e860>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7673e860>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 621, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 345, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7673e860>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 332, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17012025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1285, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 984, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa0894828>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa0894828>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 621, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 345, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa0894828>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
 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! 
2025-01-17 07:06:22.402352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_17012025
 fc.token : ad008dc7a28db4d91ca57b4c305a3b85
True
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 332, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17012025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1285, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 984, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f76c12860>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f76c12860>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 621, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 345, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f76c12860>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
 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! 
2025-01-17 07:08:42.515218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_17012025
 fc.token : ad008dc7a28db4d91ca57b4c305a3b85
True
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 332, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17012025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1285, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 984, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fae7f17f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fae7f17f0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 621, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 345, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fae7f17f0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
 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! 
2025-01-17 07:11:02.223329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_17012025
 fc.token : ad008dc7a28db4d91ca57b4c305a3b85
True
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 332, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17012025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1285, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 984, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f94949860>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f94949860>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 621, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 345, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f94949860>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
 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! 
2025-01-17 07:13:22.029216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_17012025
 fc.token : ad008dc7a28db4d91ca57b4c305a3b85
True
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 332, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17012025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1285, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 984, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb4f28860>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb4f28860>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 621, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 345, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb4f28860>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
 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! 
2025-01-17 07:15:42.380342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_17012025
 fc.token : ad008dc7a28db4d91ca57b4c305a3b85
True
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 332, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17012025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1285, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 984, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f80875860>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f80875860>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 621, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 345, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f80875860>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
 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! 
2025-01-17 07:18:02.938792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_17012025
 fc.token : ad008dc7a28db4d91ca57b4c305a3b85
True
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 332, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17012025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1285, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 984, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f90779860>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f90779860>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 621, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 345, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f90779860>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
 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! 
2025-01-17 07:20:22.704336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_17012025
 fc.token : ad008dc7a28db4d91ca57b4c305a3b85
True
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 332, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17012025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1285, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 984, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb501f860>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb501f860>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 621, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 345, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb501f860>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
 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! 
2025-01-17 07:22:42.013265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_17012025
 fc.token : ad008dc7a28db4d91ca57b4c305a3b85
True
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 332, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17012025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1285, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 984, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f956c87f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f956c87f0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 621, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 345, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f956c87f0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
 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! 
2025-01-17 07:25:02.836136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_17012025
 fc.token : ad008dc7a28db4d91ca57b4c305a3b85
True
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 332, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17012025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1285, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 984, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8e5cd7f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8e5cd7f0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 621, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 345, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8e5cd7f0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
 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! 
2025-01-17 07:27:22.607389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_17012025
 fc.token : ad008dc7a28db4d91ca57b4c305a3b85
True
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 332, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17012025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1285, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 984, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f773e4860>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f773e4860>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 621, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 345, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f773e4860>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
 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! 
2025-01-17 07:29:42.715316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_17012025
 fc.token : ad008dc7a28db4d91ca57b4c305a3b85
True
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 332, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17012025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1285, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 984, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8d2ed860>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8d2ed860>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 621, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 345, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8d2ed860>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
 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! 
2025-01-17 07:32:02.320760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_17012025
 fc.token : ad008dc7a28db4d91ca57b4c305a3b85
True
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 332, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17012025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1285, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 984, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f89420860>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f89420860>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 621, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 345, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f89420860>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
 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! 
2025-01-17 07:34:22.175605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_17012025
 fc.token : ad008dc7a28db4d91ca57b4c305a3b85
True
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 332, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17012025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1285, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 984, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f87761860>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f87761860>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 621, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 345, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f87761860>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
 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! 
2025-01-17 07:36:42.377476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_17012025
 fc.token : ad008dc7a28db4d91ca57b4c305a3b85
True
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 332, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17012025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1285, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 984, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f99ef1860>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f99ef1860>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 621, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 345, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f99ef1860>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
2025-01-17 07:39:03.185775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_17012025
 fc.token : ad008dc7a28db4d91ca57b4c305a3b85
True
2025-01-17 07:39:03.502393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_17012025
 fc.token : ad008dc7a28db4d91ca57b4c305a3b85
True
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 332, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17012025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1285, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 984, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9e75a828>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9e75a828>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 621, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 345, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9e75a828>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 332, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17012025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1285, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 984, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7faf63d860>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faf63d860>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 621, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 345, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faf63d860>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
 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! 
2025-01-17 07:41:21.889928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_17012025
 fc.token : ad008dc7a28db4d91ca57b4c305a3b85
True
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 332, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17012025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1285, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 984, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa6921860>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa6921860>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 621, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 345, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa6921860>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
 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! 
2025-01-17 07:43:42.019654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_17012025
 fc.token : ad008dc7a28db4d91ca57b4c305a3b85
True
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 332, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17012025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1285, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 984, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7aee8860>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7aee8860>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 621, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 345, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7aee8860>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
 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! 
2025-01-17 07:46:02.686335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_17012025
 fc.token : ad008dc7a28db4d91ca57b4c305a3b85
True
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 332, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17012025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1285, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 984, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f91d94860>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f91d94860>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 621, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 345, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f91d94860>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
 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! 
2025-01-17 07:48:22.562723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_17012025
 fc.token : ad008dc7a28db4d91ca57b4c305a3b85
True
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 332, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17012025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1285, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 984, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9527a7f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9527a7f0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 621, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 345, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9527a7f0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
 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! 
2025-01-17 07:50:41.934579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_17012025
 fc.token : ad008dc7a28db4d91ca57b4c305a3b85
True
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 332, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17012025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1285, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 984, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f788a8860>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f788a8860>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 621, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 345, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f788a8860>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
 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! 
2025-01-17 07:53:02.473417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_17012025
 fc.token : ad008dc7a28db4d91ca57b4c305a3b85
True
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 332, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17012025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1285, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 984, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fae74a860>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fae74a860>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 621, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 345, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fae74a860>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
 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! 
2025-01-17 07:55:22.313740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_17012025
 fc.token : ad008dc7a28db4d91ca57b4c305a3b85
True
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 332, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17012025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1285, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 984, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb5c3d860>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb5c3d860>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 621, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 345, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb5c3d860>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 07:59:03.068016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
2025-01-17 07:59:03.112408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 621, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/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/nano/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 350, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 621, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/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/nano/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 350, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
 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! 
2025-01-17 07:59:22.043480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_17012025
 fc.token : ad008dc7a28db4d91ca57b4c305a3b85
True
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 332, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17012025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1285, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 984, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8582d860>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8582d860>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 621, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 345, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8582d860>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
 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! 
2025-01-17 08:01:42.457274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_17012025
 fc.token : ad008dc7a28db4d91ca57b4c305a3b85
True
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 332, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17012025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1285, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 984, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f87761860>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f87761860>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 621, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 345, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f87761860>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
2025-01-17 08:04:03.411521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_17012025
 fc.token : ad008dc7a28db4d91ca57b4c305a3b85
True
2025-01-17 08:04:03.411521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_17012025
 fc.token : ad008dc7a28db4d91ca57b4c305a3b85
True
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 332, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17012025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1285, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 984, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f96b39860>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f96b39860>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 621, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 345, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f96b39860>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 332, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17012025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1285, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 984, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fad12a828>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fad12a828>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 621, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 345, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fad12a828>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
 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! 
2025-01-17 08:06:21.922122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_17012025
 fc.token : ad008dc7a28db4d91ca57b4c305a3b85
True
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 332, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17012025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1285, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 984, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9a912860>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9a912860>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 621, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 345, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9a912860>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
 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! 
2025-01-17 08:08:42.091315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_17012025
 fc.token : ad008dc7a28db4d91ca57b4c305a3b85
True
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 332, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17012025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1285, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 984, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb1121860>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb1121860>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 621, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 345, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb1121860>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
 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! 
2025-01-17 08:11:02.768663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_17012025
 fc.token : ad008dc7a28db4d91ca57b4c305a3b85
True
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 332, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17012025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1285, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 984, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa9c68898>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa9c68898>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 621, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 345, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa9c68898>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
 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! 
2025-01-17 08:13:22.588760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_17012025
 fc.token : ad008dc7a28db4d91ca57b4c305a3b85
True
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 332, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17012025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1285, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 984, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fad861860>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fad861860>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 621, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 345, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fad861860>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
 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! 
2025-01-17 08:15:42.503787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_17012025
 fc.token : ad008dc7a28db4d91ca57b4c305a3b85
True
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 332, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17012025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1285, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 984, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7977a898>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7977a898>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 621, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 345, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7977a898>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
 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! 
2025-01-17 08:18:02.926953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_17012025
 fc.token : ad008dc7a28db4d91ca57b4c305a3b85
True
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 332, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17012025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1285, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 984, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f92f81860>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f92f81860>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 621, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 345, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f92f81860>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
 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! 
2025-01-17 08:20:21.924638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_17012025
 fc.token : ad008dc7a28db4d91ca57b4c305a3b85
True
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 332, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17012025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1285, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 984, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fab3e4860>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fab3e4860>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 621, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 345, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fab3e4860>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
 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! 
2025-01-17 08:22:42.135652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_17012025
 fc.token : ad008dc7a28db4d91ca57b4c305a3b85
True
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 332, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17012025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1285, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 984, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f79b947f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f79b947f0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 621, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 345, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f79b947f0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
 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! 
2025-01-17 08:25:02.917857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_17012025
 fc.token : ad008dc7a28db4d91ca57b4c305a3b85
True
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 332, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17012025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1285, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 984, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f81d3f860>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f81d3f860>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 621, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 345, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f81d3f860>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
 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! 
2025-01-17 08:27:22.615250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_17012025
 fc.token : ad008dc7a28db4d91ca57b4c305a3b85
True
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 332, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17012025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1285, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 984, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa421a860>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa421a860>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 621, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 345, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa421a860>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
 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! 
2025-01-17 08:29:41.821476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_17012025
 fc.token : ad008dc7a28db4d91ca57b4c305a3b85
True
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 332, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17012025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1285, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 984, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8c98a860>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8c98a860>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 621, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 345, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8c98a860>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
 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! 
2025-01-17 08:32:02.983775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_17012025
 fc.token : ad008dc7a28db4d91ca57b4c305a3b85
True
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 332, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17012025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1285, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 984, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa4cac860>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa4cac860>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 621, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 345, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa4cac860>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
 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! 
2025-01-17 08:34:21.928735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_17012025
 fc.token : ad008dc7a28db4d91ca57b4c305a3b85
True
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 332, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17012025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1285, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 984, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fad864860>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fad864860>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 621, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 345, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fad864860>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
 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! 
2025-01-17 08:36:42.093983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_17012025
 fc.token : ad008dc7a28db4d91ca57b4c305a3b85
True
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 332, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17012025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1285, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 984, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f94e3b860>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f94e3b860>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 621, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 345, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f94e3b860>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
2025-01-17 08:39:03.186818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_17012025
 fc.token : ad008dc7a28db4d91ca57b4c305a3b85
True
2025-01-17 08:39:03.179424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_17012025
 fc.token : ad008dc7a28db4d91ca57b4c305a3b85
True
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 332, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17012025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1285, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 984, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9e77e7f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9e77e7f0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 621, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 345, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9e77e7f0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 332, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17012025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1285, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 984, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa0f46828>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa0f46828>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 621, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 345, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa0f46828>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
 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! 
2025-01-17 08:41:22.563823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_17012025
 fc.token : ad008dc7a28db4d91ca57b4c305a3b85
True
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 332, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_17012025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1285, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1331, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1280, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1046, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 984, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb17917f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb17917f0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 621, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 345, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb17917f0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 08:43:41.794741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : sevran_1223_17012025
 fc.token : ad008dc7a28db4d91ca57b4c305a3b85
True
{'portfolio_id': 19698697, 'actiontaken': ['Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1737099882000}
4892
2490821
4892
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/43/image_17012025_08_43_53_5215.jpg', '/media/data/images/17012025/08/43/image_17012025_08_43_48_6426.jpg', '/media/data/images/17012025/08/43/image_17012025_08_43_41_6439.jpg', '/media/data/images/17012025/08/43/image_17012025_08_43_35_5203.jpg', '/media/data/images/17012025/08/43/image_17012025_08_43_30_6419.jpg', '/media/data/images/17012025/08/43/image_17012025_08_43_23_6409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/43/image_17012025_08_43_53_5215.jpg
/media/data/images/17012025/08/43/image_17012025_08_43_48_6426.jpg
/media/data/images/17012025/08/43/image_17012025_08_43_41_6439.jpg
/media/data/images/17012025/08/43/image_17012025_08_43_35_5203.jpg
/media/data/images/17012025/08/43/image_17012025_08_43_30_6419.jpg
/media/data/images/17012025/08/43/image_17012025_08_43_23_6409.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":["1329437062","1329437059","1329437073","1329437067","1329437070","1329437064"],"photo_ids_order":["1329437059","1329437062","1329437064","1329437067","1329437070","1329437073"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9f079d86c3f009e320ec4a199df419c4.jpg","text":"TemporaryFile(/tmp/multipartBody4751266141831164274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737099886887,"filename":"image_17012025_08_43_48_6426.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4e63ceab86a801497b010e657d731b00.jpg","text":"TemporaryFile(/tmp/multipartBody1996862962346407592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737099886887,"filename":"image_17012025_08_43_53_5215.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/73d9bc9cfd4457f2ddc1049921ecda87.jpg","text":"TemporaryFile(/tmp/multipartBody2868794580306365098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737099886887,"filename":"image_17012025_08_43_23_6409.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/410d377872a43b20d4e3e38cabef4998.jpg","text":"TemporaryFile(/tmp/multipartBody7764663963894270628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737099886887,"filename":"image_17012025_08_43_35_5203.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/af6c99a09f279bd21e1ed83b869966b0.jpg","text":"TemporaryFile(/tmp/multipartBody506069338772531629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737099886887,"filename":"image_17012025_08_43_30_6419.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f24f5b590c1a1330890671b96c952798.jpg","text":"TemporaryFile(/tmp/multipartBody5699476818794473660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737099886887,"filename":"image_17012025_08_43_41_6439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329437064","file1":"1329437062","file0":"1329437059","file4":"1329437070","file5":"1329437073","file3":"1329437067"},"map_files_photo_id_array":[{"photo_id":"1329437073","filename":"file5"},{"photo_id":"1329437064","filename":"file2"},{"photo_id":"1329437070","filename":"file4"},{"photo_id":"1329437062","filename":"file1"},{"photo_id":"1329437059","filename":"file0"},{"photo_id":"1329437067","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329437062":["hashtag1","hashtag2"]},{"1329437059":["hashtag1","hashtag2"]},{"1329437073":["hashtag1","hashtag2"]},{"1329437067":["hashtag1","hashtag2"]},{"1329437070":["hashtag1","hashtag2"]},{"1329437064":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329437062, 1329437059, 1329437073, 1329437067, 1329437070, 1329437064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 76.62884020805359 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 08:45:02.553829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/44/image_17012025_08_44_53_6414.jpg', '/media/data/images/17012025/08/44/image_17012025_08_44_47_5159.jpg', '/media/data/images/17012025/08/44/image_17012025_08_44_42_6424.jpg', '/media/data/images/17012025/08/44/image_17012025_08_44_35_6016.jpg', '/media/data/images/17012025/08/44/image_17012025_08_44_29_6467.jpg', '/media/data/images/17012025/08/44/image_17012025_08_44_23_5205.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/44/image_17012025_08_44_53_6414.jpg
/media/data/images/17012025/08/44/image_17012025_08_44_47_5159.jpg
/media/data/images/17012025/08/44/image_17012025_08_44_42_6424.jpg
/media/data/images/17012025/08/44/image_17012025_08_44_35_6016.jpg
/media/data/images/17012025/08/44/image_17012025_08_44_29_6467.jpg
/media/data/images/17012025/08/44/image_17012025_08_44_23_5205.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329437150","1329437132","1329437144","1329437138","1329437126","1329437119"],"photo_ids_order":["1329437119","1329437126","1329437132","1329437138","1329437144","1329437150"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d6bfa72fde07140e662882b5341f59af.jpg","text":"TemporaryFile(/tmp/multipartBody7462831427655670682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737099967140,"filename":"image_17012025_08_44_23_5205.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4161d70127c735390505756fb3c5fb89.jpg","text":"TemporaryFile(/tmp/multipartBody2944598557114643270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737099967140,"filename":"image_17012025_08_44_42_6424.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a2f32ab34e04d6804a1e323fbf4d4a97.jpg","text":"TemporaryFile(/tmp/multipartBody6223707891453919399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737099967140,"filename":"image_17012025_08_44_29_6467.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d1e8de865c4f20299513fc2bbb51ae1f.jpg","text":"TemporaryFile(/tmp/multipartBody6219393656619283830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737099967140,"filename":"image_17012025_08_44_35_6016.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/44951a8565be03d480bdd52b17d11801.jpg","text":"TemporaryFile(/tmp/multipartBody7899191808815982818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737099967140,"filename":"image_17012025_08_44_47_5159.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3cd1910221cef987acf4350cc729cc3f.jpg","text":"TemporaryFile(/tmp/multipartBody4344238444085053258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737099967140,"filename":"image_17012025_08_44_53_6414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329437132","file1":"1329437126","file0":"1329437119","file4":"1329437144","file5":"1329437150","file3":"1329437138"},"map_files_photo_id_array":[{"photo_id":"1329437150","filename":"file5"},{"photo_id":"1329437132","filename":"file2"},{"photo_id":"1329437144","filename":"file4"},{"photo_id":"1329437126","filename":"file1"},{"photo_id":"1329437119","filename":"file0"},{"photo_id":"1329437138","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329437150":["hashtag1","hashtag2"]},{"1329437132":["hashtag1","hashtag2"]},{"1329437144":["hashtag1","hashtag2"]},{"1329437138":["hashtag1","hashtag2"]},{"1329437126":["hashtag1","hashtag2"]},{"1329437119":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329437150, 1329437132, 1329437144, 1329437138, 1329437126, 1329437119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.963642597198486 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 08:45:41.984901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/45/image_17012025_08_45_54_6346.jpg', '/media/data/images/17012025/08/45/image_17012025_08_45_47_6377.jpg', '/media/data/images/17012025/08/45/image_17012025_08_45_41_5182.jpg', '/media/data/images/17012025/08/45/image_17012025_08_45_36_6398.jpg', '/media/data/images/17012025/08/45/image_17012025_08_45_29_6397.jpg', '/media/data/images/17012025/08/45/image_17012025_08_45_23_6381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/45/image_17012025_08_45_54_6346.jpg
/media/data/images/17012025/08/45/image_17012025_08_45_47_6377.jpg
/media/data/images/17012025/08/45/image_17012025_08_45_41_5182.jpg
/media/data/images/17012025/08/45/image_17012025_08_45_36_6398.jpg
/media/data/images/17012025/08/45/image_17012025_08_45_29_6397.jpg
/media/data/images/17012025/08/45/image_17012025_08_45_23_6381.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329437168","1329437197","1329437191","1329437185","1329437179","1329437173"],"photo_ids_order":["1329437168","1329437173","1329437179","1329437185","1329437191","1329437197"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/04976080fdfe5a116fe6393dba5f265a.jpg","text":"TemporaryFile(/tmp/multipartBody1072317317585188270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100005680,"filename":"image_17012025_08_45_54_6346.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/db821cfd04b7d0cdffde5d2da27b43ae.jpg","text":"TemporaryFile(/tmp/multipartBody4350081096217314036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100005680,"filename":"image_17012025_08_45_23_6381.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3ce2f9b0ad8f7d567e6c6ffaf1ffd33b.jpg","text":"TemporaryFile(/tmp/multipartBody3577644853993347951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100005680,"filename":"image_17012025_08_45_29_6397.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3e3cb45da8f958ec30bf59da263c7ac1.jpg","text":"TemporaryFile(/tmp/multipartBody5976241874881421510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100005680,"filename":"image_17012025_08_45_36_6398.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ee16c67ef356c43d963d6fde7889f9da.jpg","text":"TemporaryFile(/tmp/multipartBody2927225778770175316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100005680,"filename":"image_17012025_08_45_41_5182.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/381564c1bfc40e4c4b705f23e435f97f.jpg","text":"TemporaryFile(/tmp/multipartBody3534410510967556909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100005680,"filename":"image_17012025_08_45_47_6377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329437179","file1":"1329437173","file0":"1329437168","file4":"1329437191","file5":"1329437197","file3":"1329437185"},"map_files_photo_id_array":[{"photo_id":"1329437197","filename":"file5"},{"photo_id":"1329437179","filename":"file2"},{"photo_id":"1329437191","filename":"file4"},{"photo_id":"1329437173","filename":"file1"},{"photo_id":"1329437168","filename":"file0"},{"photo_id":"1329437185","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329437168":["hashtag1","hashtag2"]},{"1329437197":["hashtag1","hashtag2"]},{"1329437191":["hashtag1","hashtag2"]},{"1329437185":["hashtag1","hashtag2"]},{"1329437179":["hashtag1","hashtag2"]},{"1329437173":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329437168, 1329437197, 1329437191, 1329437185, 1329437179, 1329437173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.88761925697327 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 08:46:22.056863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/46/image_17012025_08_46_53_5207.jpg', '/media/data/images/17012025/08/46/image_17012025_08_46_48_6477.jpg', '/media/data/images/17012025/08/46/image_17012025_08_46_41_6424.jpg', '/media/data/images/17012025/08/46/image_17012025_08_46_35_5169.jpg', '/media/data/images/17012025/08/46/image_17012025_08_46_29_6390.jpg', '/media/data/images/17012025/08/46/image_17012025_08_46_23_6359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/46/image_17012025_08_46_53_5207.jpg
/media/data/images/17012025/08/46/image_17012025_08_46_48_6477.jpg
/media/data/images/17012025/08/46/image_17012025_08_46_41_6424.jpg
/media/data/images/17012025/08/46/image_17012025_08_46_35_5169.jpg
/media/data/images/17012025/08/46/image_17012025_08_46_29_6390.jpg
/media/data/images/17012025/08/46/image_17012025_08_46_23_6359.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329437213","1329437237","1329437222","1329437227","1329437217","1329437232"],"photo_ids_order":["1329437213","1329437217","1329437222","1329437227","1329437232","1329437237"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e1bbb0db67ccdd11102c56e9dc2525ff.jpg","text":"TemporaryFile(/tmp/multipartBody3251938662882911294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100045876,"filename":"image_17012025_08_46_53_5207.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fe2d6b5ae4268d173850dbb576f49fb8.jpg","text":"TemporaryFile(/tmp/multipartBody649785094316936063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100045876,"filename":"image_17012025_08_46_23_6359.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/799d98ba47b1ff98c70542166e6ea274.jpg","text":"TemporaryFile(/tmp/multipartBody5723944536414826497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100045876,"filename":"image_17012025_08_46_41_6424.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/61f299f980ac260f67b8f1f2a5e7a306.jpg","text":"TemporaryFile(/tmp/multipartBody1780663154048565153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100045876,"filename":"image_17012025_08_46_35_5169.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1d9d0feeeb50e88c3f79b63367a63590.jpg","text":"TemporaryFile(/tmp/multipartBody8009784625498271836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100045876,"filename":"image_17012025_08_46_48_6477.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3c87eb73f4050636a5f1db64510eed15.jpg","text":"TemporaryFile(/tmp/multipartBody2268199426732180757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100045876,"filename":"image_17012025_08_46_29_6390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329437222","file1":"1329437217","file0":"1329437213","file4":"1329437232","file5":"1329437237","file3":"1329437227"},"map_files_photo_id_array":[{"photo_id":"1329437237","filename":"file5"},{"photo_id":"1329437222","filename":"file2"},{"photo_id":"1329437232","filename":"file4"},{"photo_id":"1329437217","filename":"file1"},{"photo_id":"1329437213","filename":"file0"},{"photo_id":"1329437227","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329437213":["hashtag1","hashtag2"]},{"1329437237":["hashtag1","hashtag2"]},{"1329437222":["hashtag1","hashtag2"]},{"1329437227":["hashtag1","hashtag2"]},{"1329437217":["hashtag1","hashtag2"]},{"1329437232":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329437213, 1329437237, 1329437222, 1329437227, 1329437217, 1329437232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69100999832153 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 08:47:02.671801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/46/image_17012025_08_46_17_5100.jpg', '/media/data/images/17012025/08/46/image_17012025_08_46_12_6540.jpg', '/media/data/images/17012025/08/46/image_17012025_08_46_05_6412.jpg', '/media/data/images/17012025/08/45/image_17012025_08_45_59_5147.jpg', '/media/data/images/17012025/08/45/image_17012025_08_45_16_5175.jpg', '/media/data/images/17012025/08/45/image_17012025_08_45_11_6412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/46/image_17012025_08_46_17_5100.jpg
/media/data/images/17012025/08/46/image_17012025_08_46_12_6540.jpg
/media/data/images/17012025/08/46/image_17012025_08_46_05_6412.jpg
/media/data/images/17012025/08/45/image_17012025_08_45_59_5147.jpg
/media/data/images/17012025/08/45/image_17012025_08_45_16_5175.jpg
/media/data/images/17012025/08/45/image_17012025_08_45_11_6412.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329437270","1329437260","1329437263","1329437266","1329437256","1329437250"],"photo_ids_order":["1329437250","1329437256","1329437260","1329437263","1329437266","1329437270"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/703a400b3c56e2799a9253fc0317b32a.jpg","text":"TemporaryFile(/tmp/multipartBody426799944889402553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100086357,"filename":"image_17012025_08_45_11_6412.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d0fc90972b46c8305078bee93f3361ee.jpg","text":"TemporaryFile(/tmp/multipartBody6489628089113393505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100086357,"filename":"image_17012025_08_46_05_6412.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f636c004b21fd653b2a55d1c9c7b2a37.jpg","text":"TemporaryFile(/tmp/multipartBody6440037553985169958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100086357,"filename":"image_17012025_08_45_59_5147.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3aeb60591cb2b67ed965acd11a3a3a18.jpg","text":"TemporaryFile(/tmp/multipartBody3945104652608034834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100086357,"filename":"image_17012025_08_45_16_5175.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ab7d7c87933917d0cb692c234e559fce.jpg","text":"TemporaryFile(/tmp/multipartBody7932859053614700912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100086357,"filename":"image_17012025_08_46_12_6540.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e7709c12c7d046a613b32b8543d0a415.jpg","text":"TemporaryFile(/tmp/multipartBody2060938272088605802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100086357,"filename":"image_17012025_08_46_17_5100.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329437260","file1":"1329437256","file0":"1329437250","file4":"1329437266","file5":"1329437270","file3":"1329437263"},"map_files_photo_id_array":[{"photo_id":"1329437270","filename":"file5"},{"photo_id":"1329437260","filename":"file2"},{"photo_id":"1329437266","filename":"file4"},{"photo_id":"1329437256","filename":"file1"},{"photo_id":"1329437250","filename":"file0"},{"photo_id":"1329437263","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329437270":["hashtag1","hashtag2"]},{"1329437260":["hashtag1","hashtag2"]},{"1329437263":["hashtag1","hashtag2"]},{"1329437266":["hashtag1","hashtag2"]},{"1329437256":["hashtag1","hashtag2"]},{"1329437250":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329437270, 1329437260, 1329437263, 1329437266, 1329437256, 1329437250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.58360314369202 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 08:47:42.165410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/47/image_17012025_08_47_53_6422.jpg', '/media/data/images/17012025/08/47/image_17012025_08_47_47_5209.jpg', '/media/data/images/17012025/08/47/image_17012025_08_47_41_6411.jpg', '/media/data/images/17012025/08/47/image_17012025_08_47_35_6397.jpg', '/media/data/images/17012025/08/47/image_17012025_08_47_29_5173.jpg', '/media/data/images/17012025/08/47/image_17012025_08_47_24_6380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/47/image_17012025_08_47_53_6422.jpg
/media/data/images/17012025/08/47/image_17012025_08_47_47_5209.jpg
/media/data/images/17012025/08/47/image_17012025_08_47_41_6411.jpg
/media/data/images/17012025/08/47/image_17012025_08_47_35_6397.jpg
/media/data/images/17012025/08/47/image_17012025_08_47_29_5173.jpg
/media/data/images/17012025/08/47/image_17012025_08_47_24_6380.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329437290","1329437296","1329437314","1329437283","1329437302","1329437307"],"photo_ids_order":["1329437283","1329437290","1329437296","1329437302","1329437307","1329437314"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4c47db045dd40a60b89077bec538d311.jpg","text":"TemporaryFile(/tmp/multipartBody1146994874093882460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100126043,"filename":"image_17012025_08_47_47_5209.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9767ac12bee47d49bfae0a9431536cef.jpg","text":"TemporaryFile(/tmp/multipartBody1726972251688378311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100126043,"filename":"image_17012025_08_47_41_6411.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4e88bf360fa335e035229f2849a27612.jpg","text":"TemporaryFile(/tmp/multipartBody5328061080194845791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100126043,"filename":"image_17012025_08_47_24_6380.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2ddcd9f1fec4635157d73eba7eeeb149.jpg","text":"TemporaryFile(/tmp/multipartBody7195697276385004939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100126043,"filename":"image_17012025_08_47_53_6422.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ac461c080d60d9897876e2abdc2e548c.jpg","text":"TemporaryFile(/tmp/multipartBody9184312090898576040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100126043,"filename":"image_17012025_08_47_35_6397.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b3c4c27faef72d817e12e305c31d4f3c.jpg","text":"TemporaryFile(/tmp/multipartBody8575006231979976960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100126043,"filename":"image_17012025_08_47_29_5173.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329437296","file1":"1329437290","file0":"1329437283","file4":"1329437307","file5":"1329437314","file3":"1329437302"},"map_files_photo_id_array":[{"photo_id":"1329437314","filename":"file5"},{"photo_id":"1329437296","filename":"file2"},{"photo_id":"1329437307","filename":"file4"},{"photo_id":"1329437290","filename":"file1"},{"photo_id":"1329437283","filename":"file0"},{"photo_id":"1329437302","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329437290":["hashtag1","hashtag2"]},{"1329437296":["hashtag1","hashtag2"]},{"1329437314":["hashtag1","hashtag2"]},{"1329437283":["hashtag1","hashtag2"]},{"1329437302":["hashtag1","hashtag2"]},{"1329437307":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329437290, 1329437296, 1329437314, 1329437283, 1329437302, 1329437307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47369933128357 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 08:48:22.258548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/48/image_17012025_08_48_53_6358.jpg', '/media/data/images/17012025/08/48/image_17012025_08_48_46_5222.jpg', '/media/data/images/17012025/08/48/image_17012025_08_48_41_6368.jpg', '/media/data/images/17012025/08/48/image_17012025_08_48_35_6390.jpg', '/media/data/images/17012025/08/48/image_17012025_08_48_29_5184.jpg', '/media/data/images/17012025/08/48/image_17012025_08_48_23_6368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/48/image_17012025_08_48_53_6358.jpg
/media/data/images/17012025/08/48/image_17012025_08_48_46_5222.jpg
/media/data/images/17012025/08/48/image_17012025_08_48_41_6368.jpg
/media/data/images/17012025/08/48/image_17012025_08_48_35_6390.jpg
/media/data/images/17012025/08/48/image_17012025_08_48_29_5184.jpg
/media/data/images/17012025/08/48/image_17012025_08_48_23_6368.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.0759572982788086 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 08:48:42.278140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/48/image_17012025_08_48_53_6358.jpg', '/media/data/images/17012025/08/48/image_17012025_08_48_46_5222.jpg', '/media/data/images/17012025/08/48/image_17012025_08_48_41_6368.jpg', '/media/data/images/17012025/08/48/image_17012025_08_48_35_6390.jpg', '/media/data/images/17012025/08/48/image_17012025_08_48_29_5184.jpg', '/media/data/images/17012025/08/48/image_17012025_08_48_23_6368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/48/image_17012025_08_48_53_6358.jpg
/media/data/images/17012025/08/48/image_17012025_08_48_46_5222.jpg
/media/data/images/17012025/08/48/image_17012025_08_48_41_6368.jpg
/media/data/images/17012025/08/48/image_17012025_08_48_35_6390.jpg
/media/data/images/17012025/08/48/image_17012025_08_48_29_5184.jpg
/media/data/images/17012025/08/48/image_17012025_08_48_23_6368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329437363","1329437368","1329437359","1329437350","1329437346","1329437355"],"photo_ids_order":["1329437346","1329437350","1329437355","1329437359","1329437363","1329437368"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/28090172268520c787bb1f00858d574f.jpg","text":"TemporaryFile(/tmp/multipartBody3411166902674177990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100186213,"filename":"image_17012025_08_48_29_5184.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/aaac872d6d4afc93f2ceda24f9d56ae2.jpg","text":"TemporaryFile(/tmp/multipartBody9016519886406547579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100186213,"filename":"image_17012025_08_48_23_6368.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/02dddb23b83d30bc01fcbcd1719f3a29.jpg","text":"TemporaryFile(/tmp/multipartBody7066780327788996113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100186213,"filename":"image_17012025_08_48_35_6390.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5ba013832b3790624453ecece496774c.jpg","text":"TemporaryFile(/tmp/multipartBody7142303953717766920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100186213,"filename":"image_17012025_08_48_46_5222.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/78677ba51dff72bf0a853c5fd20b4946.jpg","text":"TemporaryFile(/tmp/multipartBody1222465892480001371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100186213,"filename":"image_17012025_08_48_53_6358.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2cff470be8496641f5cf5e6fd0c8bd58.jpg","text":"TemporaryFile(/tmp/multipartBody8830970576172422899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100186213,"filename":"image_17012025_08_48_41_6368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329437355","file1":"1329437350","file0":"1329437346","file4":"1329437363","file5":"1329437368","file3":"1329437359"},"map_files_photo_id_array":[{"photo_id":"1329437368","filename":"file5"},{"photo_id":"1329437355","filename":"file2"},{"photo_id":"1329437363","filename":"file4"},{"photo_id":"1329437350","filename":"file1"},{"photo_id":"1329437346","filename":"file0"},{"photo_id":"1329437359","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329437363":["hashtag1","hashtag2"]},{"1329437368":["hashtag1","hashtag2"]},{"1329437359":["hashtag1","hashtag2"]},{"1329437350":["hashtag1","hashtag2"]},{"1329437346":["hashtag1","hashtag2"]},{"1329437355":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329437363, 1329437368, 1329437359, 1329437350, 1329437346, 1329437355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.44030523300171 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 08:49:22.398267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/49/image_17012025_08_49_53_6399.jpg', '/media/data/images/17012025/08/49/image_17012025_08_49_47_6401.jpg', '/media/data/images/17012025/08/49/image_17012025_08_49_40_5188.jpg', '/media/data/images/17012025/08/49/image_17012025_08_49_35_6404.jpg', '/media/data/images/17012025/08/49/image_17012025_08_49_29_6369.jpg', '/media/data/images/17012025/08/49/image_17012025_08_49_23_5198.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/49/image_17012025_08_49_53_6399.jpg
/media/data/images/17012025/08/49/image_17012025_08_49_47_6401.jpg
/media/data/images/17012025/08/49/image_17012025_08_49_40_5188.jpg
/media/data/images/17012025/08/49/image_17012025_08_49_35_6404.jpg
/media/data/images/17012025/08/49/image_17012025_08_49_29_6369.jpg
/media/data/images/17012025/08/49/image_17012025_08_49_23_5198.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329437390","1329437386","1329437382","1329437401","1329437388","1329437396"],"photo_ids_order":["1329437382","1329437386","1329437388","1329437390","1329437396","1329437401"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/eba42243b5e7a10620967a65ccf8ea4d.jpg","text":"TemporaryFile(/tmp/multipartBody7418328281385765084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100226146,"filename":"image_17012025_08_49_35_6404.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8ec5369d6facd18f7402ab62955ca62a.jpg","text":"TemporaryFile(/tmp/multipartBody7888742199449077786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100226146,"filename":"image_17012025_08_49_47_6401.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/18a371e8135d70ead901ad65318e445b.jpg","text":"TemporaryFile(/tmp/multipartBody7098658161234404361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100226146,"filename":"image_17012025_08_49_53_6399.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5a0e5851420d8aaf888488f2935d3b3e.jpg","text":"TemporaryFile(/tmp/multipartBody7961688464141930447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100226146,"filename":"image_17012025_08_49_23_5198.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ec8d5887ec4fcf5ab1a3dd8ab42fcd11.jpg","text":"TemporaryFile(/tmp/multipartBody1257224346760711692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100226146,"filename":"image_17012025_08_49_40_5188.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/00da359d676828ee806d35987e0cde01.jpg","text":"TemporaryFile(/tmp/multipartBody3883873188293744758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100226146,"filename":"image_17012025_08_49_29_6369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329437388","file1":"1329437386","file0":"1329437382","file4":"1329437396","file5":"1329437401","file3":"1329437390"},"map_files_photo_id_array":[{"photo_id":"1329437401","filename":"file5"},{"photo_id":"1329437388","filename":"file2"},{"photo_id":"1329437396","filename":"file4"},{"photo_id":"1329437386","filename":"file1"},{"photo_id":"1329437382","filename":"file0"},{"photo_id":"1329437390","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329437390":["hashtag1","hashtag2"]},{"1329437386":["hashtag1","hashtag2"]},{"1329437382":["hashtag1","hashtag2"]},{"1329437401":["hashtag1","hashtag2"]},{"1329437388":["hashtag1","hashtag2"]},{"1329437396":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329437390, 1329437386, 1329437382, 1329437401, 1329437388, 1329437396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.339210987091064 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 08:50:02.754855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/49/image_17012025_08_49_17_6427.jpg', '/media/data/images/17012025/08/49/image_17012025_08_49_11_5224.jpg', '/media/data/images/17012025/08/49/image_17012025_08_49_06_6391.jpg', '/media/data/images/17012025/08/48/image_17012025_08_48_59_6398.jpg', '/media/data/images/17012025/08/48/image_17012025_08_48_17_6408.jpg', '/media/data/images/17012025/08/48/image_17012025_08_48_11_5661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/49/image_17012025_08_49_17_6427.jpg
/media/data/images/17012025/08/49/image_17012025_08_49_11_5224.jpg
/media/data/images/17012025/08/49/image_17012025_08_49_06_6391.jpg
/media/data/images/17012025/08/48/image_17012025_08_48_59_6398.jpg
/media/data/images/17012025/08/48/image_17012025_08_48_17_6408.jpg
/media/data/images/17012025/08/48/image_17012025_08_48_11_5661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329437438","1329437447","1329437443","1329437428","1329437433","1329437436"],"photo_ids_order":["1329437428","1329437433","1329437436","1329437438","1329437443","1329437447"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/40045226d438375769483b5d8a42e803.jpg","text":"TemporaryFile(/tmp/multipartBody7414453639448175627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100267640,"filename":"image_17012025_08_48_59_6398.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5f7d96d6184d720a61d5016667dab2f5.jpg","text":"TemporaryFile(/tmp/multipartBody5450225905735288631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100267640,"filename":"image_17012025_08_48_11_5661.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dcfc90487cd6591d999cb8a214a8fd03.jpg","text":"TemporaryFile(/tmp/multipartBody583209978372270079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100267640,"filename":"image_17012025_08_48_17_6408.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/141b336249af8a6529976086cfa315da.jpg","text":"TemporaryFile(/tmp/multipartBody7413783555554126394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100267640,"filename":"image_17012025_08_49_17_6427.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ffb86c6db34eb8b142a8c1e1d5a24c70.jpg","text":"TemporaryFile(/tmp/multipartBody1759193487895999956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100267640,"filename":"image_17012025_08_49_11_5224.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fe8f5f63304550c78cc1f2664f6e52de.jpg","text":"TemporaryFile(/tmp/multipartBody8188667434647560906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100267640,"filename":"image_17012025_08_49_06_6391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329437436","file1":"1329437433","file0":"1329437428","file4":"1329437443","file5":"1329437447","file3":"1329437438"},"map_files_photo_id_array":[{"photo_id":"1329437447","filename":"file5"},{"photo_id":"1329437436","filename":"file2"},{"photo_id":"1329437443","filename":"file4"},{"photo_id":"1329437433","filename":"file1"},{"photo_id":"1329437428","filename":"file0"},{"photo_id":"1329437438","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329437438":["hashtag1","hashtag2"]},{"1329437447":["hashtag1","hashtag2"]},{"1329437443":["hashtag1","hashtag2"]},{"1329437428":["hashtag1","hashtag2"]},{"1329437433":["hashtag1","hashtag2"]},{"1329437436":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329437438, 1329437447, 1329437443, 1329437428, 1329437433, 1329437436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48285961151123 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 08:50:42.497911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/50/image_17012025_08_50_54_6396.jpg', '/media/data/images/17012025/08/50/image_17012025_08_50_47_6405.jpg', '/media/data/images/17012025/08/50/image_17012025_08_50_41_5172.jpg', '/media/data/images/17012025/08/50/image_17012025_08_50_36_6373.jpg', '/media/data/images/17012025/08/50/image_17012025_08_50_29_6353.jpg', '/media/data/images/17012025/08/50/image_17012025_08_50_23_6356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/50/image_17012025_08_50_54_6396.jpg
/media/data/images/17012025/08/50/image_17012025_08_50_47_6405.jpg
/media/data/images/17012025/08/50/image_17012025_08_50_41_5172.jpg
/media/data/images/17012025/08/50/image_17012025_08_50_36_6373.jpg
/media/data/images/17012025/08/50/image_17012025_08_50_29_6353.jpg
/media/data/images/17012025/08/50/image_17012025_08_50_23_6356.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.4865880012512207 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 08:51:03.038200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/50/image_17012025_08_50_54_6396.jpg', '/media/data/images/17012025/08/50/image_17012025_08_50_47_6405.jpg', '/media/data/images/17012025/08/50/image_17012025_08_50_41_5172.jpg', '/media/data/images/17012025/08/50/image_17012025_08_50_36_6373.jpg', '/media/data/images/17012025/08/50/image_17012025_08_50_29_6353.jpg', '/media/data/images/17012025/08/50/image_17012025_08_50_23_6356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/50/image_17012025_08_50_54_6396.jpg
/media/data/images/17012025/08/50/image_17012025_08_50_47_6405.jpg
/media/data/images/17012025/08/50/image_17012025_08_50_41_5172.jpg
/media/data/images/17012025/08/50/image_17012025_08_50_36_6373.jpg
/media/data/images/17012025/08/50/image_17012025_08_50_29_6353.jpg
/media/data/images/17012025/08/50/image_17012025_08_50_23_6356.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329437498","1329437491","1329437494","1329437481","1329437487","1329437502"],"photo_ids_order":["1329437481","1329437487","1329437491","1329437494","1329437498","1329437502"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bd0ab1fabe1ffa7938009035c797970a.jpg","text":"TemporaryFile(/tmp/multipartBody4107105356311413102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100327451,"filename":"image_17012025_08_50_29_6353.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/950fec9f748804b6098d010c55dfa10d.jpg","text":"TemporaryFile(/tmp/multipartBody1832876428187012704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100327451,"filename":"image_17012025_08_50_41_5172.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f436f25be91823c60ca2092627e240e9.jpg","text":"TemporaryFile(/tmp/multipartBody4481885831936328482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100327451,"filename":"image_17012025_08_50_36_6373.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/00438272e2debf49eba96a6e4baa015c.jpg","text":"TemporaryFile(/tmp/multipartBody347732369946453504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100327451,"filename":"image_17012025_08_50_54_6396.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bcba283a3edfc817d34a6d6c8e42eeef.jpg","text":"TemporaryFile(/tmp/multipartBody3095542265873995088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100327451,"filename":"image_17012025_08_50_47_6405.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9c04df4dac43b799d4d52b89d525954b.jpg","text":"TemporaryFile(/tmp/multipartBody8899447088856586610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100327451,"filename":"image_17012025_08_50_23_6356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329437491","file1":"1329437487","file0":"1329437481","file4":"1329437498","file5":"1329437502","file3":"1329437494"},"map_files_photo_id_array":[{"photo_id":"1329437502","filename":"file5"},{"photo_id":"1329437491","filename":"file2"},{"photo_id":"1329437498","filename":"file4"},{"photo_id":"1329437487","filename":"file1"},{"photo_id":"1329437481","filename":"file0"},{"photo_id":"1329437494","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329437498":["hashtag1","hashtag2"]},{"1329437491":["hashtag1","hashtag2"]},{"1329437494":["hashtag1","hashtag2"]},{"1329437481":["hashtag1","hashtag2"]},{"1329437487":["hashtag1","hashtag2"]},{"1329437502":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329437498, 1329437491, 1329437494, 1329437481, 1329437487, 1329437502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6210503578186 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 08:51:42.616760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/51/image_17012025_08_51_53_6473.jpg', '/media/data/images/17012025/08/51/image_17012025_08_51_46_5224.jpg', '/media/data/images/17012025/08/51/image_17012025_08_51_41_6388.jpg', '/media/data/images/17012025/08/51/image_17012025_08_51_35_6405.jpg', '/media/data/images/17012025/08/51/image_17012025_08_51_28_5199.jpg', '/media/data/images/17012025/08/51/image_17012025_08_51_23_6372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/51/image_17012025_08_51_53_6473.jpg
/media/data/images/17012025/08/51/image_17012025_08_51_46_5224.jpg
/media/data/images/17012025/08/51/image_17012025_08_51_41_6388.jpg
/media/data/images/17012025/08/51/image_17012025_08_51_35_6405.jpg
/media/data/images/17012025/08/51/image_17012025_08_51_28_5199.jpg
/media/data/images/17012025/08/51/image_17012025_08_51_23_6372.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329437540","1329437522","1329437534","1329437528","1329437545","1329437517"],"photo_ids_order":["1329437517","1329437522","1329437528","1329437534","1329437540","1329437545"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c5823f702a613d4e995a683f2e46229b.jpg","text":"TemporaryFile(/tmp/multipartBody134975417539909251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100366491,"filename":"image_17012025_08_51_28_5199.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5cd4529e01e6e202ffe8785553563e71.jpg","text":"TemporaryFile(/tmp/multipartBody5707006556531465316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100366491,"filename":"image_17012025_08_51_46_5224.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d4bc004bffc1d4a539a182dcf0f2d478.jpg","text":"TemporaryFile(/tmp/multipartBody6522505799597530597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100366491,"filename":"image_17012025_08_51_35_6405.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5bf0d8b55ad4fd48378acca9511fd94b.jpg","text":"TemporaryFile(/tmp/multipartBody3031702547046881404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100366491,"filename":"image_17012025_08_51_41_6388.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/84d0928bcbb44314192466f2d239558c.jpg","text":"TemporaryFile(/tmp/multipartBody7826575856206167374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100366491,"filename":"image_17012025_08_51_23_6372.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1ae33b2524aacdcd0089227f21539581.jpg","text":"TemporaryFile(/tmp/multipartBody7477293318314271419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100366491,"filename":"image_17012025_08_51_53_6473.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329437528","file1":"1329437522","file0":"1329437517","file4":"1329437540","file5":"1329437545","file3":"1329437534"},"map_files_photo_id_array":[{"photo_id":"1329437545","filename":"file5"},{"photo_id":"1329437528","filename":"file2"},{"photo_id":"1329437540","filename":"file4"},{"photo_id":"1329437522","filename":"file1"},{"photo_id":"1329437517","filename":"file0"},{"photo_id":"1329437534","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329437540":["hashtag1","hashtag2"]},{"1329437522":["hashtag1","hashtag2"]},{"1329437534":["hashtag1","hashtag2"]},{"1329437528":["hashtag1","hashtag2"]},{"1329437545":["hashtag1","hashtag2"]},{"1329437517":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329437540, 1329437522, 1329437534, 1329437528, 1329437545, 1329437517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63116145133972 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 08:52:22.701996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/52/image_17012025_08_52_53_5181.jpg', '/media/data/images/17012025/08/52/image_17012025_08_52_48_6395.jpg', '/media/data/images/17012025/08/52/image_17012025_08_52_41_6375.jpg', '/media/data/images/17012025/08/52/image_17012025_08_52_35_6384.jpg', '/media/data/images/17012025/08/52/image_17012025_08_52_28_5168.jpg', '/media/data/images/17012025/08/52/image_17012025_08_52_23_6401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/52/image_17012025_08_52_53_5181.jpg
/media/data/images/17012025/08/52/image_17012025_08_52_48_6395.jpg
/media/data/images/17012025/08/52/image_17012025_08_52_41_6375.jpg
/media/data/images/17012025/08/52/image_17012025_08_52_35_6384.jpg
/media/data/images/17012025/08/52/image_17012025_08_52_28_5168.jpg
/media/data/images/17012025/08/52/image_17012025_08_52_23_6401.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329437561","1329437564","1329437557","1329437568","1329437553","1329437573"],"photo_ids_order":["1329437553","1329437557","1329437561","1329437564","1329437568","1329437573"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cce98719600bb1bb5d6fc9f1dd0e35c3.jpg","text":"TemporaryFile(/tmp/multipartBody6531003325520524229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100406582,"filename":"image_17012025_08_52_41_6375.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4de8aac890ed6beb7ec3cba26dc7a0b2.jpg","text":"TemporaryFile(/tmp/multipartBody7368020098553062442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100406582,"filename":"image_17012025_08_52_35_6384.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c0b0abeb649006fbf0b3cc0e2e3ea885.jpg","text":"TemporaryFile(/tmp/multipartBody7986496819820245297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100406582,"filename":"image_17012025_08_52_48_6395.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1e5af4f75b30fa3b89296f5e0ee577e8.jpg","text":"TemporaryFile(/tmp/multipartBody7789014226495756617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100406582,"filename":"image_17012025_08_52_28_5168.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/15e74ce18b743f325c9c83f481064063.jpg","text":"TemporaryFile(/tmp/multipartBody1517200103842097496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100406582,"filename":"image_17012025_08_52_53_5181.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/24e4ca3da34f385990089b3432ae1883.jpg","text":"TemporaryFile(/tmp/multipartBody1994617554953012084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100406582,"filename":"image_17012025_08_52_23_6401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329437561","file1":"1329437557","file0":"1329437553","file4":"1329437568","file5":"1329437573","file3":"1329437564"},"map_files_photo_id_array":[{"photo_id":"1329437573","filename":"file5"},{"photo_id":"1329437561","filename":"file2"},{"photo_id":"1329437568","filename":"file4"},{"photo_id":"1329437557","filename":"file1"},{"photo_id":"1329437553","filename":"file0"},{"photo_id":"1329437564","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329437561":["hashtag1","hashtag2"]},{"1329437564":["hashtag1","hashtag2"]},{"1329437557":["hashtag1","hashtag2"]},{"1329437568":["hashtag1","hashtag2"]},{"1329437553":["hashtag1","hashtag2"]},{"1329437573":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329437561, 1329437564, 1329437557, 1329437568, 1329437553, 1329437573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53588008880615 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 08:53:02.207987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/52/image_17012025_08_52_17_6390.jpg', '/media/data/images/17012025/08/52/image_17012025_08_52_11_5705.jpg', '/media/data/images/17012025/08/52/image_17012025_08_52_05_5335.jpg', '/media/data/images/17012025/08/51/image_17012025_08_51_59_6518.jpg', '/media/data/images/17012025/08/51/image_17012025_08_51_17_6409.jpg', '/media/data/images/17012025/08/51/image_17012025_08_51_10_5510.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/52/image_17012025_08_52_17_6390.jpg
/media/data/images/17012025/08/52/image_17012025_08_52_11_5705.jpg
/media/data/images/17012025/08/52/image_17012025_08_52_05_5335.jpg
/media/data/images/17012025/08/51/image_17012025_08_51_59_6518.jpg
/media/data/images/17012025/08/51/image_17012025_08_51_17_6409.jpg
/media/data/images/17012025/08/51/image_17012025_08_51_10_5510.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329437615","1329437590","1329437602","1329437611","1329437598","1329437607"],"photo_ids_order":["1329437590","1329437598","1329437602","1329437607","1329437611","1329437615"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2bb921e8ca802ef53db86cbc03815e04.jpg","text":"TemporaryFile(/tmp/multipartBody8450629010066929745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100446594,"filename":"image_17012025_08_51_10_5510.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bde94df3219ee6c1395f87d2587c4fff.jpg","text":"TemporaryFile(/tmp/multipartBody3798666382824565280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100446594,"filename":"image_17012025_08_52_17_6390.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0498693ced430988957d2b7eb2f38cde.jpg","text":"TemporaryFile(/tmp/multipartBody6562897136333149926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100446594,"filename":"image_17012025_08_52_05_5335.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6494aaf1e69c95791a350f1de6bcf5c9.jpg","text":"TemporaryFile(/tmp/multipartBody2910127437343720479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100446594,"filename":"image_17012025_08_51_17_6409.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a2a9a37d1ec41ba039fc2c2d1378ee6f.jpg","text":"TemporaryFile(/tmp/multipartBody1240343141196208660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100446594,"filename":"image_17012025_08_52_11_5705.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/23321662c235d32dad8a2ec1362d3702.jpg","text":"TemporaryFile(/tmp/multipartBody4199679828019518412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100446594,"filename":"image_17012025_08_51_59_6518.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329437602","file1":"1329437598","file0":"1329437590","file4":"1329437611","file5":"1329437615","file3":"1329437607"},"map_files_photo_id_array":[{"photo_id":"1329437615","filename":"file5"},{"photo_id":"1329437602","filename":"file2"},{"photo_id":"1329437611","filename":"file4"},{"photo_id":"1329437598","filename":"file1"},{"photo_id":"1329437590","filename":"file0"},{"photo_id":"1329437607","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329437615":["hashtag1","hashtag2"]},{"1329437590":["hashtag1","hashtag2"]},{"1329437602":["hashtag1","hashtag2"]},{"1329437611":["hashtag1","hashtag2"]},{"1329437598":["hashtag1","hashtag2"]},{"1329437607":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329437615, 1329437590, 1329437602, 1329437611, 1329437598, 1329437607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.18931579589844 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 08:53:41.812324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/53/image_17012025_08_53_53_6398.jpg', '/media/data/images/17012025/08/53/image_17012025_08_53_47_5182.jpg', '/media/data/images/17012025/08/53/image_17012025_08_53_41_6377.jpg', '/media/data/images/17012025/08/53/image_17012025_08_53_35_6375.jpg', '/media/data/images/17012025/08/53/image_17012025_08_53_29_5154.jpg', '/media/data/images/17012025/08/53/image_17012025_08_53_24_6336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/53/image_17012025_08_53_53_6398.jpg
/media/data/images/17012025/08/53/image_17012025_08_53_47_5182.jpg
/media/data/images/17012025/08/53/image_17012025_08_53_41_6377.jpg
/media/data/images/17012025/08/53/image_17012025_08_53_35_6375.jpg
/media/data/images/17012025/08/53/image_17012025_08_53_29_5154.jpg
/media/data/images/17012025/08/53/image_17012025_08_53_24_6336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329437627","1329437647","1329437632","1329437641","1329437655","1329437637"],"photo_ids_order":["1329437627","1329437632","1329437637","1329437641","1329437647","1329437655"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/80061b1ef333a4a903e4c8072e24e494.jpg","text":"TemporaryFile(/tmp/multipartBody3126188476394151039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100485630,"filename":"image_17012025_08_53_53_6398.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1d51d36f0509bfe45bfb7109d7be995e.jpg","text":"TemporaryFile(/tmp/multipartBody6299488881014089837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100485630,"filename":"image_17012025_08_53_29_5154.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c6a738cc0a660a24ee901ec2205e61ed.jpg","text":"TemporaryFile(/tmp/multipartBody8834314626605930384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100485630,"filename":"image_17012025_08_53_47_5182.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/63e69160f05c94374e7ae592387b4a21.jpg","text":"TemporaryFile(/tmp/multipartBody1359380688265682000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100485630,"filename":"image_17012025_08_53_35_6375.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/91c1334a59a4d67587915c5d5712172f.jpg","text":"TemporaryFile(/tmp/multipartBody3352720705719439916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100485630,"filename":"image_17012025_08_53_24_6336.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7015cffeb434f5d5c567bba9514d0eec.jpg","text":"TemporaryFile(/tmp/multipartBody4417056723038710771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100485630,"filename":"image_17012025_08_53_41_6377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329437637","file1":"1329437632","file0":"1329437627","file4":"1329437647","file5":"1329437655","file3":"1329437641"},"map_files_photo_id_array":[{"photo_id":"1329437655","filename":"file5"},{"photo_id":"1329437637","filename":"file2"},{"photo_id":"1329437647","filename":"file4"},{"photo_id":"1329437632","filename":"file1"},{"photo_id":"1329437627","filename":"file0"},{"photo_id":"1329437641","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329437627":["hashtag1","hashtag2"]},{"1329437647":["hashtag1","hashtag2"]},{"1329437632":["hashtag1","hashtag2"]},{"1329437641":["hashtag1","hashtag2"]},{"1329437655":["hashtag1","hashtag2"]},{"1329437637":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329437627, 1329437647, 1329437632, 1329437641, 1329437655, 1329437637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.284202098846436 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 08:54:21.893840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/54/image_17012025_08_54_53_6385.jpg', '/media/data/images/17012025/08/54/image_17012025_08_54_47_6383.jpg', '/media/data/images/17012025/08/54/image_17012025_08_54_41_5158.jpg', '/media/data/images/17012025/08/54/image_17012025_08_54_35_6372.jpg', '/media/data/images/17012025/08/54/image_17012025_08_54_29_6398.jpg', '/media/data/images/17012025/08/54/image_17012025_08_54_23_5184.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/54/image_17012025_08_54_53_6385.jpg
/media/data/images/17012025/08/54/image_17012025_08_54_47_6383.jpg
/media/data/images/17012025/08/54/image_17012025_08_54_41_5158.jpg
/media/data/images/17012025/08/54/image_17012025_08_54_35_6372.jpg
/media/data/images/17012025/08/54/image_17012025_08_54_29_6398.jpg
/media/data/images/17012025/08/54/image_17012025_08_54_23_5184.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329437669","1329437686","1329437673","1329437676","1329437679","1329437690"],"photo_ids_order":["1329437669","1329437673","1329437676","1329437679","1329437686","1329437690"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dff9748edba68cf780040642c723ca2b.jpg","text":"TemporaryFile(/tmp/multipartBody2255293532969908936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100525503,"filename":"image_17012025_08_54_53_6385.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/026d5217814da3be6ce713ef659211d1.jpg","text":"TemporaryFile(/tmp/multipartBody656925264286769037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100525503,"filename":"image_17012025_08_54_29_6398.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dc9681aca2f2b1635ae2495fbdcc5f7a.jpg","text":"TemporaryFile(/tmp/multipartBody1376497264417790551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100525503,"filename":"image_17012025_08_54_47_6383.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/278964c33d5ecef5aeb4caa848f44eb3.jpg","text":"TemporaryFile(/tmp/multipartBody1446704274743467279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100525503,"filename":"image_17012025_08_54_41_5158.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9ecfcf60e065c3ce10cbd281b86e6a67.jpg","text":"TemporaryFile(/tmp/multipartBody2249274466858369446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100525503,"filename":"image_17012025_08_54_35_6372.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2c734e43139be325d693ccf51373132d.jpg","text":"TemporaryFile(/tmp/multipartBody5146191478766766411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100525503,"filename":"image_17012025_08_54_23_5184.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329437676","file1":"1329437673","file0":"1329437669","file4":"1329437686","file5":"1329437690","file3":"1329437679"},"map_files_photo_id_array":[{"photo_id":"1329437690","filename":"file5"},{"photo_id":"1329437676","filename":"file2"},{"photo_id":"1329437686","filename":"file4"},{"photo_id":"1329437673","filename":"file1"},{"photo_id":"1329437669","filename":"file0"},{"photo_id":"1329437679","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329437669":["hashtag1","hashtag2"]},{"1329437686":["hashtag1","hashtag2"]},{"1329437673":["hashtag1","hashtag2"]},{"1329437676":["hashtag1","hashtag2"]},{"1329437679":["hashtag1","hashtag2"]},{"1329437690":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329437669, 1329437686, 1329437673, 1329437676, 1329437679, 1329437690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.05944776535034 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 08:55:02.385676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/54/image_17012025_08_54_17_6390.jpg', '/media/data/images/17012025/08/54/image_17012025_08_54_11_6438.jpg', '/media/data/images/17012025/08/54/image_17012025_08_54_05_5259.jpg', '/media/data/images/17012025/08/53/image_17012025_08_53_59_6393.jpg', '/media/data/images/17012025/08/53/image_17012025_08_53_17_6344.jpg', '/media/data/images/17012025/08/53/image_17012025_08_53_11_5169.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/54/image_17012025_08_54_17_6390.jpg
/media/data/images/17012025/08/54/image_17012025_08_54_11_6438.jpg
/media/data/images/17012025/08/54/image_17012025_08_54_05_5259.jpg
/media/data/images/17012025/08/53/image_17012025_08_53_59_6393.jpg
/media/data/images/17012025/08/53/image_17012025_08_53_17_6344.jpg
/media/data/images/17012025/08/53/image_17012025_08_53_11_5169.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329437726","1329437713","1329437722","1329437716","1329437719","1329437707"],"photo_ids_order":["1329437707","1329437713","1329437716","1329437719","1329437722","1329437726"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/94cd1292cd189a56831e22cd6daf4b82.jpg","text":"TemporaryFile(/tmp/multipartBody8521554516411221135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100565718,"filename":"image_17012025_08_53_11_5169.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/219f249f2c937900c14919fd78790d89.jpg","text":"TemporaryFile(/tmp/multipartBody3719385426393191202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100565718,"filename":"image_17012025_08_54_11_6438.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b68c41cb248c62b132cfbe091bb23bed.jpg","text":"TemporaryFile(/tmp/multipartBody4113930608822124698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100565718,"filename":"image_17012025_08_53_17_6344.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3430ac9233915eb3b5ce43456160989e.jpg","text":"TemporaryFile(/tmp/multipartBody206637604729156892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100565718,"filename":"image_17012025_08_54_05_5259.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2725c55b9138295ff21b4ed4131530e5.jpg","text":"TemporaryFile(/tmp/multipartBody4329091900514218403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100565718,"filename":"image_17012025_08_53_59_6393.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/20865df706f35077207f1605ed676d72.jpg","text":"TemporaryFile(/tmp/multipartBody7596232299784941408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100565718,"filename":"image_17012025_08_54_17_6390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329437716","file1":"1329437713","file0":"1329437707","file4":"1329437722","file5":"1329437726","file3":"1329437719"},"map_files_photo_id_array":[{"photo_id":"1329437726","filename":"file5"},{"photo_id":"1329437716","filename":"file2"},{"photo_id":"1329437722","filename":"file4"},{"photo_id":"1329437713","filename":"file1"},{"photo_id":"1329437707","filename":"file0"},{"photo_id":"1329437719","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329437726":["hashtag1","hashtag2"]},{"1329437713":["hashtag1","hashtag2"]},{"1329437722":["hashtag1","hashtag2"]},{"1329437716":["hashtag1","hashtag2"]},{"1329437719":["hashtag1","hashtag2"]},{"1329437707":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329437726, 1329437713, 1329437722, 1329437716, 1329437719, 1329437707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.407501459121704 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 08:55:42.037056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/55/image_17012025_08_55_54_6414.jpg', '/media/data/images/17012025/08/55/image_17012025_08_55_47_6416.jpg', '/media/data/images/17012025/08/55/image_17012025_08_55_41_5198.jpg', '/media/data/images/17012025/08/55/image_17012025_08_55_36_6414.jpg', '/media/data/images/17012025/08/55/image_17012025_08_55_29_6426.jpg', '/media/data/images/17012025/08/55/image_17012025_08_55_23_5191.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/55/image_17012025_08_55_54_6414.jpg
/media/data/images/17012025/08/55/image_17012025_08_55_47_6416.jpg
/media/data/images/17012025/08/55/image_17012025_08_55_41_5198.jpg
/media/data/images/17012025/08/55/image_17012025_08_55_36_6414.jpg
/media/data/images/17012025/08/55/image_17012025_08_55_29_6426.jpg
/media/data/images/17012025/08/55/image_17012025_08_55_23_5191.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329437753","1329437741","1329437735","1329437759","1329437744","1329437748"],"photo_ids_order":["1329437735","1329437741","1329437744","1329437748","1329437753","1329437759"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/de752fbdbd0f79ae7595dd3cc75124ff.jpg","text":"TemporaryFile(/tmp/multipartBody8419206864914607368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100606147,"filename":"image_17012025_08_55_29_6426.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a67a5d530558a929999f30fbb1e13bd2.jpg","text":"TemporaryFile(/tmp/multipartBody8191072655885907288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100606147,"filename":"image_17012025_08_55_47_6416.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f2b3a3143b4b21be9b6473ba9eeed198.jpg","text":"TemporaryFile(/tmp/multipartBody5414252822862841904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100606147,"filename":"image_17012025_08_55_54_6414.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8aefcc4a0632a27c64d7ac9b6c8acc92.jpg","text":"TemporaryFile(/tmp/multipartBody6945629788072814466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100606147,"filename":"image_17012025_08_55_23_5191.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/eb42c2d725d8ea0aab910a25e78abb7c.jpg","text":"TemporaryFile(/tmp/multipartBody7210440468543722870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100606147,"filename":"image_17012025_08_55_41_5198.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4711ca8d2be5936fd5b3aa7e54b5d25b.jpg","text":"TemporaryFile(/tmp/multipartBody7396492496924481667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100606147,"filename":"image_17012025_08_55_36_6414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329437744","file1":"1329437741","file0":"1329437735","file4":"1329437753","file5":"1329437759","file3":"1329437748"},"map_files_photo_id_array":[{"photo_id":"1329437759","filename":"file5"},{"photo_id":"1329437744","filename":"file2"},{"photo_id":"1329437753","filename":"file4"},{"photo_id":"1329437741","filename":"file1"},{"photo_id":"1329437735","filename":"file0"},{"photo_id":"1329437748","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329437753":["hashtag1","hashtag2"]},{"1329437741":["hashtag1","hashtag2"]},{"1329437735":["hashtag1","hashtag2"]},{"1329437759":["hashtag1","hashtag2"]},{"1329437744":["hashtag1","hashtag2"]},{"1329437748":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329437753, 1329437741, 1329437735, 1329437759, 1329437744, 1329437748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92657399177551 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 08:56:22.118547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/56/image_17012025_08_56_53_5176.jpg', '/media/data/images/17012025/08/56/image_17012025_08_56_47_6409.jpg', '/media/data/images/17012025/08/56/image_17012025_08_56_41_6408.jpg', '/media/data/images/17012025/08/56/image_17012025_08_56_35_5203.jpg', '/media/data/images/17012025/08/56/image_17012025_08_56_29_6371.jpg', '/media/data/images/17012025/08/56/image_17012025_08_56_23_6379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/56/image_17012025_08_56_53_5176.jpg
/media/data/images/17012025/08/56/image_17012025_08_56_47_6409.jpg
/media/data/images/17012025/08/56/image_17012025_08_56_41_6408.jpg
/media/data/images/17012025/08/56/image_17012025_08_56_35_5203.jpg
/media/data/images/17012025/08/56/image_17012025_08_56_29_6371.jpg
/media/data/images/17012025/08/56/image_17012025_08_56_23_6379.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329437774","1329437768","1329437777","1329437782","1329437787","1329437771"],"photo_ids_order":["1329437768","1329437771","1329437774","1329437777","1329437782","1329437787"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5fa461f007addee9d6fd991d7b608142.jpg","text":"TemporaryFile(/tmp/multipartBody428168429153614012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100645507,"filename":"image_17012025_08_56_41_6408.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5ae9111718b6b7ce55775b2003e726ff.jpg","text":"TemporaryFile(/tmp/multipartBody319862412243338496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100645507,"filename":"image_17012025_08_56_53_5176.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e2179bb03cec50998011939e6ad62367.jpg","text":"TemporaryFile(/tmp/multipartBody2947596088303287058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100645507,"filename":"image_17012025_08_56_35_5203.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/24d003fb5011bf1910ae58378356b0bb.jpg","text":"TemporaryFile(/tmp/multipartBody3088355443222643059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100645507,"filename":"image_17012025_08_56_29_6371.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/31bef4fa54b59582ee6eb6f95a668eba.jpg","text":"TemporaryFile(/tmp/multipartBody7596234604469633725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100645507,"filename":"image_17012025_08_56_23_6379.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/037fbb327afab3460f900acd3d6c9ab3.jpg","text":"TemporaryFile(/tmp/multipartBody6008787590062830750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100645507,"filename":"image_17012025_08_56_47_6409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329437774","file1":"1329437771","file0":"1329437768","file4":"1329437782","file5":"1329437787","file3":"1329437777"},"map_files_photo_id_array":[{"photo_id":"1329437787","filename":"file5"},{"photo_id":"1329437774","filename":"file2"},{"photo_id":"1329437782","filename":"file4"},{"photo_id":"1329437771","filename":"file1"},{"photo_id":"1329437768","filename":"file0"},{"photo_id":"1329437777","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329437774":["hashtag1","hashtag2"]},{"1329437768":["hashtag1","hashtag2"]},{"1329437777":["hashtag1","hashtag2"]},{"1329437782":["hashtag1","hashtag2"]},{"1329437787":["hashtag1","hashtag2"]},{"1329437771":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329437774, 1329437768, 1329437777, 1329437782, 1329437787, 1329437771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.449337005615234 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 08:57:02.563204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/56/image_17012025_08_56_17_5163.jpg', '/media/data/images/17012025/08/56/image_17012025_08_56_11_6371.jpg', '/media/data/images/17012025/08/56/image_17012025_08_56_05_6292.jpg', '/media/data/images/17012025/08/55/image_17012025_08_55_59_5161.jpg', '/media/data/images/17012025/08/55/image_17012025_08_55_18_6408.jpg', '/media/data/images/17012025/08/55/image_17012025_08_55_11_6389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/56/image_17012025_08_56_17_5163.jpg
/media/data/images/17012025/08/56/image_17012025_08_56_11_6371.jpg
/media/data/images/17012025/08/56/image_17012025_08_56_05_6292.jpg
/media/data/images/17012025/08/55/image_17012025_08_55_59_5161.jpg
/media/data/images/17012025/08/55/image_17012025_08_55_18_6408.jpg
/media/data/images/17012025/08/55/image_17012025_08_55_11_6389.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329437816","1329437812","1329437815","1329437809","1329437811","1329437805"],"photo_ids_order":["1329437805","1329437809","1329437811","1329437812","1329437815","1329437816"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/acd09c91e95bf6cb093845d0ac576a3f.jpg","text":"TemporaryFile(/tmp/multipartBody7723192903185802157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100685461,"filename":"image_17012025_08_55_11_6389.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/050530262628a897c5019516570a9738.jpg","text":"TemporaryFile(/tmp/multipartBody561316180399668291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100685461,"filename":"image_17012025_08_55_59_5161.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3a93d85ad0b18238ce1b5763050c9246.jpg","text":"TemporaryFile(/tmp/multipartBody1871273090712905865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100685461,"filename":"image_17012025_08_55_18_6408.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f3b721e674156f93592a63e5171c57a7.jpg","text":"TemporaryFile(/tmp/multipartBody7751960789727743449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100685461,"filename":"image_17012025_08_56_11_6371.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4ad36f6e86e97aa8380e3c0fa493b0ac.jpg","text":"TemporaryFile(/tmp/multipartBody3562528595728702625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100685461,"filename":"image_17012025_08_56_05_6292.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c968774a2cac87776402b51475454c35.jpg","text":"TemporaryFile(/tmp/multipartBody8278703661964796301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100685461,"filename":"image_17012025_08_56_17_5163.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329437811","file1":"1329437809","file0":"1329437805","file4":"1329437815","file5":"1329437816","file3":"1329437812"},"map_files_photo_id_array":[{"photo_id":"1329437816","filename":"file5"},{"photo_id":"1329437811","filename":"file2"},{"photo_id":"1329437815","filename":"file4"},{"photo_id":"1329437809","filename":"file1"},{"photo_id":"1329437805","filename":"file0"},{"photo_id":"1329437812","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329437816":["hashtag1","hashtag2"]},{"1329437812":["hashtag1","hashtag2"]},{"1329437815":["hashtag1","hashtag2"]},{"1329437809":["hashtag1","hashtag2"]},{"1329437811":["hashtag1","hashtag2"]},{"1329437805":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329437816, 1329437812, 1329437815, 1329437809, 1329437811, 1329437805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.28779077529907 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 08:57:42.171463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/57/image_17012025_08_57_53_6405.jpg', '/media/data/images/17012025/08/57/image_17012025_08_57_46_5289.jpg', '/media/data/images/17012025/08/57/image_17012025_08_57_41_6444.jpg', '/media/data/images/17012025/08/57/image_17012025_08_57_35_5140.jpg', '/media/data/images/17012025/08/57/image_17012025_08_57_30_6396.jpg', '/media/data/images/17012025/08/57/image_17012025_08_57_23_6426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/57/image_17012025_08_57_53_6405.jpg
/media/data/images/17012025/08/57/image_17012025_08_57_46_5289.jpg
/media/data/images/17012025/08/57/image_17012025_08_57_41_6444.jpg
/media/data/images/17012025/08/57/image_17012025_08_57_35_5140.jpg
/media/data/images/17012025/08/57/image_17012025_08_57_30_6396.jpg
/media/data/images/17012025/08/57/image_17012025_08_57_23_6426.jpg
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 08:59:03.109666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/58/image_17012025_08_58_53_6382.jpg', '/media/data/images/17012025/08/58/image_17012025_08_58_47_5197.jpg', '/media/data/images/17012025/08/58/image_17012025_08_58_42_6392.jpg', '/media/data/images/17012025/08/58/image_17012025_08_58_35_6378.jpg', '/media/data/images/17012025/08/58/image_17012025_08_58_29_6380.jpg', '/media/data/images/17012025/08/58/image_17012025_08_58_22_5187.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/58/image_17012025_08_58_53_6382.jpg
/media/data/images/17012025/08/58/image_17012025_08_58_47_5197.jpg
/media/data/images/17012025/08/58/image_17012025_08_58_42_6392.jpg
/media/data/images/17012025/08/58/image_17012025_08_58_35_6378.jpg
/media/data/images/17012025/08/58/image_17012025_08_58_29_6380.jpg
/media/data/images/17012025/08/58/image_17012025_08_58_22_5187.jpg
2025-01-17 08:59:03.285665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/58/image_17012025_08_58_53_6382.jpg', '/media/data/images/17012025/08/58/image_17012025_08_58_47_5197.jpg', '/media/data/images/17012025/08/58/image_17012025_08_58_42_6392.jpg', '/media/data/images/17012025/08/58/image_17012025_08_58_35_6378.jpg', '/media/data/images/17012025/08/58/image_17012025_08_58_29_6380.jpg', '/media/data/images/17012025/08/58/image_17012025_08_58_22_5187.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/58/image_17012025_08_58_53_6382.jpg
/media/data/images/17012025/08/58/image_17012025_08_58_47_5197.jpg
/media/data/images/17012025/08/58/image_17012025_08_58_42_6392.jpg
/media/data/images/17012025/08/58/image_17012025_08_58_35_6378.jpg
/media/data/images/17012025/08/58/image_17012025_08_58_29_6380.jpg
/media/data/images/17012025/08/58/image_17012025_08_58_22_5187.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329437888","1329437915","1329437896","1329437910","1329437904","1329437882"],"photo_ids_order":["1329437882","1329437888","1329437896","1329437904","1329437910","1329437915"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bb7500666c48fd95690a3b6360daf55f.jpg","text":"TemporaryFile(/tmp/multipartBody2071132487773198847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100810996,"filename":"image_17012025_08_58_47_5197.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d503a001eb06b3a8acdcd0a75358d6cb.jpg","text":"TemporaryFile(/tmp/multipartBody272330538683233156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100810996,"filename":"image_17012025_08_58_22_5187.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e1ebc0d542efb400c58a750766ae52fb.jpg","text":"TemporaryFile(/tmp/multipartBody6644493718204927020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100810996,"filename":"image_17012025_08_58_42_6392.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0a364f7c4a34d8b1bf89b5957132532b.jpg","text":"TemporaryFile(/tmp/multipartBody8323933512982687454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100810996,"filename":"image_17012025_08_58_29_6380.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fd5fa3da36682e054f656532c96baa9d.jpg","text":"TemporaryFile(/tmp/multipartBody3045634944541262882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100810996,"filename":"image_17012025_08_58_35_6378.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6d820194e4234c81ee11ea609b9dd646.jpg","text":"TemporaryFile(/tmp/multipartBody3559831399869878130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100810996,"filename":"image_17012025_08_58_53_6382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329437896","file1":"1329437888","file0":"1329437882","file4":"1329437910","file5":"1329437915","file3":"1329437904"},"map_files_photo_id_array":[{"photo_id":"1329437915","filename":"file5"},{"photo_id":"1329437896","filename":"file2"},{"photo_id":"1329437910","filename":"file4"},{"photo_id":"1329437888","filename":"file1"},{"photo_id":"1329437882","filename":"file0"},{"photo_id":"1329437904","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329437888":["hashtag1","hashtag2"]},{"1329437915":["hashtag1","hashtag2"]},{"1329437896":["hashtag1","hashtag2"]},{"1329437910":["hashtag1","hashtag2"]},{"1329437904":["hashtag1","hashtag2"]},{"1329437882":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329437888, 1329437915, 1329437896, 1329437910, 1329437904, 1329437882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.05903959274292 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329437906","1329437890","1329437884","1329437917","1329437913","1329437897"],"photo_ids_order":["1329437884","1329437890","1329437897","1329437906","1329437913","1329437917"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/84d201195a9cbfa6fc9371d80511eb22.jpg","text":"TemporaryFile(/tmp/multipartBody1239952235729155807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100812252,"filename":"image_17012025_08_58_35_6378.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e5e57aa36a232d6597f8be61d9d4b77d.jpg","text":"TemporaryFile(/tmp/multipartBody6940986200924666916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100812252,"filename":"image_17012025_08_58_47_5197.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ac98f2d265937b38e35fbabb6bf6150f.jpg","text":"TemporaryFile(/tmp/multipartBody9057662810183567302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100812252,"filename":"image_17012025_08_58_53_6382.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5ae76d5562791e74afdc505d086ab0f8.jpg","text":"TemporaryFile(/tmp/multipartBody6998277554252038270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100812252,"filename":"image_17012025_08_58_22_5187.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6b14f7b77793a662fcf41b5ef81e7fee.jpg","text":"TemporaryFile(/tmp/multipartBody5533293807516205400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100812252,"filename":"image_17012025_08_58_29_6380.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b3f92d4dddeba0b3ee03ba9b98e10b1e.jpg","text":"TemporaryFile(/tmp/multipartBody1825853716794133416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100812252,"filename":"image_17012025_08_58_42_6392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329437897","file1":"1329437890","file0":"1329437884","file4":"1329437913","file5":"1329437917","file3":"1329437906"},"map_files_photo_id_array":[{"photo_id":"1329437917","filename":"file5"},{"photo_id":"1329437897","filename":"file2"},{"photo_id":"1329437913","filename":"file4"},{"photo_id":"1329437890","filename":"file1"},{"photo_id":"1329437884","filename":"file0"},{"photo_id":"1329437906","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329437906":["hashtag1","hashtag2"]},{"1329437890":["hashtag1","hashtag2"]},{"1329437884":["hashtag1","hashtag2"]},{"1329437917":["hashtag1","hashtag2"]},{"1329437913":["hashtag1","hashtag2"]},{"1329437897":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329437906, 1329437890, 1329437884, 1329437917, 1329437913, 1329437897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.33315634727478 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:00:02.866688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/59/image_17012025_08_59_54_6378.jpg', '/media/data/images/17012025/08/59/image_17012025_08_59_47_6393.jpg', '/media/data/images/17012025/08/59/image_17012025_08_59_41_5189.jpg', '/media/data/images/17012025/08/59/image_17012025_08_59_36_6400.jpg', '/media/data/images/17012025/08/59/image_17012025_08_59_29_6398.jpg', '/media/data/images/17012025/08/59/image_17012025_08_59_23_5162.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/59/image_17012025_08_59_54_6378.jpg
/media/data/images/17012025/08/59/image_17012025_08_59_47_6393.jpg
/media/data/images/17012025/08/59/image_17012025_08_59_41_5189.jpg
/media/data/images/17012025/08/59/image_17012025_08_59_36_6400.jpg
/media/data/images/17012025/08/59/image_17012025_08_59_29_6398.jpg
/media/data/images/17012025/08/59/image_17012025_08_59_23_5162.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329437968","1329437950","1329437953","1329437947","1329437958","1329437963"],"photo_ids_order":["1329437947","1329437950","1329437953","1329437958","1329437963","1329437968"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bc2b19d9867701f59c11652a82b35522.jpg","text":"TemporaryFile(/tmp/multipartBody7944108887930919342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100870725,"filename":"image_17012025_08_59_23_5162.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1378cbeb1587be5f1767e3674a043dc6.jpg","text":"TemporaryFile(/tmp/multipartBody5301080185920867432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100870725,"filename":"image_17012025_08_59_47_6393.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fb92eb976a24ca2f4426cb1fc877aaf8.jpg","text":"TemporaryFile(/tmp/multipartBody2721319994500760324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100870725,"filename":"image_17012025_08_59_41_5189.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0ee0e8a95d0b49af206a1bcd08093b53.jpg","text":"TemporaryFile(/tmp/multipartBody8683325740799661696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100870725,"filename":"image_17012025_08_59_54_6378.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/67fac3e41f86e600e265cae67455babd.jpg","text":"TemporaryFile(/tmp/multipartBody2911468148761106564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100870725,"filename":"image_17012025_08_59_36_6400.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/908a7f519ece24d46e4371a0c4304f60.jpg","text":"TemporaryFile(/tmp/multipartBody6888911975832629227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100870725,"filename":"image_17012025_08_59_29_6398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329437953","file1":"1329437950","file0":"1329437947","file4":"1329437963","file5":"1329437968","file3":"1329437958"},"map_files_photo_id_array":[{"photo_id":"1329437968","filename":"file5"},{"photo_id":"1329437953","filename":"file2"},{"photo_id":"1329437963","filename":"file4"},{"photo_id":"1329437950","filename":"file1"},{"photo_id":"1329437947","filename":"file0"},{"photo_id":"1329437958","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329437968":["hashtag1","hashtag2"]},{"1329437950":["hashtag1","hashtag2"]},{"1329437953":["hashtag1","hashtag2"]},{"1329437947":["hashtag1","hashtag2"]},{"1329437958":["hashtag1","hashtag2"]},{"1329437963":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329437968, 1329437950, 1329437953, 1329437947, 1329437958, 1329437963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.91531586647034 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:01:02.209378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/00/image_17012025_09_00_54_6390.jpg', '/media/data/images/17012025/09/00/image_17012025_09_00_47_6364.jpg', '/media/data/images/17012025/09/00/image_17012025_09_00_41_6354.jpg', '/media/data/images/17012025/09/00/image_17012025_09_00_35_5177.jpg', '/media/data/images/17012025/09/00/image_17012025_09_00_29_6400.jpg', '/media/data/images/17012025/09/00/image_17012025_09_00_23_6350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/00/image_17012025_09_00_54_6390.jpg
/media/data/images/17012025/09/00/image_17012025_09_00_47_6364.jpg
/media/data/images/17012025/09/00/image_17012025_09_00_41_6354.jpg
/media/data/images/17012025/09/00/image_17012025_09_00_35_5177.jpg
/media/data/images/17012025/09/00/image_17012025_09_00_29_6400.jpg
/media/data/images/17012025/09/00/image_17012025_09_00_23_6350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329438017","1329438010","1329438013","1329438007","1329438016","1329438001"],"photo_ids_order":["1329438001","1329438007","1329438010","1329438013","1329438016","1329438017"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2c2318e5b306838f7a59e30e259697f4.jpg","text":"TemporaryFile(/tmp/multipartBody7008150393633590489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100929060,"filename":"image_17012025_09_00_23_6350.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7945cf80b22ce3f821000bcfceed6e66.jpg","text":"TemporaryFile(/tmp/multipartBody4911598907030772373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100929060,"filename":"image_17012025_09_00_41_6354.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9eaf04a195c33924749c192e1a3a8ee0.jpg","text":"TemporaryFile(/tmp/multipartBody2639191959515820059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100929060,"filename":"image_17012025_09_00_35_5177.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/05e0ace3615b9578cbbc58f3f95412a3.jpg","text":"TemporaryFile(/tmp/multipartBody5445630250547109107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100929060,"filename":"image_17012025_09_00_47_6364.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e4cbae3c343b9de98b156dd6e2f01a19.jpg","text":"TemporaryFile(/tmp/multipartBody6532542689160873280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100929060,"filename":"image_17012025_09_00_29_6400.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/57e0495bae36da7638cbccdc08177e74.jpg","text":"TemporaryFile(/tmp/multipartBody2431147570403270775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100929060,"filename":"image_17012025_09_00_54_6390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329438010","file1":"1329438007","file0":"1329438001","file4":"1329438016","file5":"1329438017","file3":"1329438013"},"map_files_photo_id_array":[{"photo_id":"1329438017","filename":"file5"},{"photo_id":"1329438010","filename":"file2"},{"photo_id":"1329438016","filename":"file4"},{"photo_id":"1329438007","filename":"file1"},{"photo_id":"1329438001","filename":"file0"},{"photo_id":"1329438013","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329438017":["hashtag1","hashtag2"]},{"1329438010":["hashtag1","hashtag2"]},{"1329438013":["hashtag1","hashtag2"]},{"1329438007":["hashtag1","hashtag2"]},{"1329438016":["hashtag1","hashtag2"]},{"1329438001":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329438017, 1329438010, 1329438013, 1329438007, 1329438016, 1329438001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.36841297149658 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:02:02.160447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/01/image_17012025_09_01_53_5155.jpg', '/media/data/images/17012025/09/01/image_17012025_09_01_47_6366.jpg', '/media/data/images/17012025/09/01/image_17012025_09_01_41_6385.jpg', '/media/data/images/17012025/09/01/image_17012025_09_01_35_5181.jpg', '/media/data/images/17012025/09/01/image_17012025_09_01_29_6397.jpg', '/media/data/images/17012025/09/01/image_17012025_09_01_23_6394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/01/image_17012025_09_01_53_5155.jpg
/media/data/images/17012025/09/01/image_17012025_09_01_47_6366.jpg
/media/data/images/17012025/09/01/image_17012025_09_01_41_6385.jpg
/media/data/images/17012025/09/01/image_17012025_09_01_35_5181.jpg
/media/data/images/17012025/09/01/image_17012025_09_01_29_6397.jpg
/media/data/images/17012025/09/01/image_17012025_09_01_23_6394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329438056","1329438040","1329438051","1329438048","1329438045","1329438059"],"photo_ids_order":["1329438040","1329438045","1329438048","1329438051","1329438056","1329438059"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b6691dbc627155abd75aec2b9e2ce805.jpg","text":"TemporaryFile(/tmp/multipartBody8677261362512643307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100989496,"filename":"image_17012025_09_01_29_6397.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3642c3e5c40be1f9d7c27925a8c955ac.jpg","text":"TemporaryFile(/tmp/multipartBody8102084738362922003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100989496,"filename":"image_17012025_09_01_53_5155.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b3013dabcf2da559259f5ee7e53d1fd3.jpg","text":"TemporaryFile(/tmp/multipartBody308066091823658004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100989496,"filename":"image_17012025_09_01_35_5181.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5d83b2db0819ba62815f5c1298eb7642.jpg","text":"TemporaryFile(/tmp/multipartBody8824029326989277979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100989496,"filename":"image_17012025_09_01_41_6385.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1dd47eff014d089b5ddee2472457704b.jpg","text":"TemporaryFile(/tmp/multipartBody2530270987666936880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100989496,"filename":"image_17012025_09_01_47_6366.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/37842a93ecf64ac0765dc51ab1ec0be7.jpg","text":"TemporaryFile(/tmp/multipartBody6553528467711411291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737100989496,"filename":"image_17012025_09_01_23_6394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329438048","file1":"1329438045","file0":"1329438040","file4":"1329438056","file5":"1329438059","file3":"1329438051"},"map_files_photo_id_array":[{"photo_id":"1329438059","filename":"file5"},{"photo_id":"1329438048","filename":"file2"},{"photo_id":"1329438056","filename":"file4"},{"photo_id":"1329438045","filename":"file1"},{"photo_id":"1329438040","filename":"file0"},{"photo_id":"1329438051","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329438056":["hashtag1","hashtag2"]},{"1329438040":["hashtag1","hashtag2"]},{"1329438051":["hashtag1","hashtag2"]},{"1329438048":["hashtag1","hashtag2"]},{"1329438045":["hashtag1","hashtag2"]},{"1329438059":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329438056, 1329438040, 1329438051, 1329438048, 1329438045, 1329438059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.514562368392944 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:03:02.586569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/02/image_17012025_09_02_53_5202.jpg', '/media/data/images/17012025/09/02/image_17012025_09_02_48_6417.jpg', '/media/data/images/17012025/09/02/image_17012025_09_02_41_6372.jpg', '/media/data/images/17012025/09/02/image_17012025_09_02_35_5184.jpg', '/media/data/images/17012025/09/02/image_17012025_09_02_30_6398.jpg', '/media/data/images/17012025/09/02/image_17012025_09_02_23_6390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/02/image_17012025_09_02_53_5202.jpg
/media/data/images/17012025/09/02/image_17012025_09_02_48_6417.jpg
/media/data/images/17012025/09/02/image_17012025_09_02_41_6372.jpg
/media/data/images/17012025/09/02/image_17012025_09_02_35_5184.jpg
/media/data/images/17012025/09/02/image_17012025_09_02_30_6398.jpg
/media/data/images/17012025/09/02/image_17012025_09_02_23_6390.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329438104","1329438088","1329438097","1329438100","1329438093","1329438108"],"photo_ids_order":["1329438088","1329438093","1329438097","1329438100","1329438104","1329438108"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/585395db84e220c1cbdad4ff2d210167.jpg","text":"TemporaryFile(/tmp/multipartBody3564615935316282368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101047548,"filename":"image_17012025_09_02_30_6398.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/713a39180734128802f2c98cea7e2265.jpg","text":"TemporaryFile(/tmp/multipartBody7349707831252158263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101047548,"filename":"image_17012025_09_02_53_5202.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2a8036416592e642fa81071aa295e0c1.jpg","text":"TemporaryFile(/tmp/multipartBody9124592576158460614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101047548,"filename":"image_17012025_09_02_41_6372.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/577612cec8088916be99e96b9c78e3b4.jpg","text":"TemporaryFile(/tmp/multipartBody8716810715970832615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101047548,"filename":"image_17012025_09_02_35_5184.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0bd482e295f62a24e6ffbfc7bd8547e0.jpg","text":"TemporaryFile(/tmp/multipartBody6411939767852862130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101047548,"filename":"image_17012025_09_02_48_6417.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e3f25c78d392d8b95bd6d2f1bf7ff498.jpg","text":"TemporaryFile(/tmp/multipartBody1371636424992648148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101047548,"filename":"image_17012025_09_02_23_6390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329438097","file1":"1329438093","file0":"1329438088","file4":"1329438104","file5":"1329438108","file3":"1329438100"},"map_files_photo_id_array":[{"photo_id":"1329438108","filename":"file5"},{"photo_id":"1329438097","filename":"file2"},{"photo_id":"1329438104","filename":"file4"},{"photo_id":"1329438093","filename":"file1"},{"photo_id":"1329438088","filename":"file0"},{"photo_id":"1329438100","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329438104":["hashtag1","hashtag2"]},{"1329438088":["hashtag1","hashtag2"]},{"1329438097":["hashtag1","hashtag2"]},{"1329438100":["hashtag1","hashtag2"]},{"1329438093":["hashtag1","hashtag2"]},{"1329438108":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329438104, 1329438088, 1329438097, 1329438100, 1329438093, 1329438108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.601009368896484 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:03:42.029334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/03/image_17012025_09_03_53_6367.jpg', '/media/data/images/17012025/09/03/image_17012025_09_03_47_5168.jpg', '/media/data/images/17012025/09/03/image_17012025_09_03_41_6371.jpg', '/media/data/images/17012025/09/03/image_17012025_09_03_35_6377.jpg', '/media/data/images/17012025/09/03/image_17012025_09_03_29_5158.jpg', '/media/data/images/17012025/09/03/image_17012025_09_03_24_6357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/03/image_17012025_09_03_53_6367.jpg
/media/data/images/17012025/09/03/image_17012025_09_03_47_5168.jpg
/media/data/images/17012025/09/03/image_17012025_09_03_41_6371.jpg
/media/data/images/17012025/09/03/image_17012025_09_03_35_6377.jpg
/media/data/images/17012025/09/03/image_17012025_09_03_29_5158.jpg
/media/data/images/17012025/09/03/image_17012025_09_03_24_6357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329438121","1329438133","1329438127","1329438147","1329438138","1329438143"],"photo_ids_order":["1329438121","1329438127","1329438133","1329438138","1329438143","1329438147"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4b80bb998c12047ff13fa81e6b7f595c.jpg","text":"TemporaryFile(/tmp/multipartBody5195730302119226918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101086221,"filename":"image_17012025_09_03_53_6367.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/40661fb6f297ecfe3a55439654a10729.jpg","text":"TemporaryFile(/tmp/multipartBody8557000884733195062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101086221,"filename":"image_17012025_09_03_41_6371.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/62b52ef7ff8512997a7e321cbbca17e5.jpg","text":"TemporaryFile(/tmp/multipartBody1934945685798425395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101086221,"filename":"image_17012025_09_03_47_5168.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/81f5360c88ebd9524c06cce835093a9c.jpg","text":"TemporaryFile(/tmp/multipartBody5321383370443848090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101086221,"filename":"image_17012025_09_03_24_6357.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9a1ccee63db1af41f24b353944004ee2.jpg","text":"TemporaryFile(/tmp/multipartBody1487133521963618691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101086221,"filename":"image_17012025_09_03_35_6377.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2dbc0b1ceca8077437b2800b638ae026.jpg","text":"TemporaryFile(/tmp/multipartBody6117463575365125895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101086221,"filename":"image_17012025_09_03_29_5158.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329438133","file1":"1329438127","file0":"1329438121","file4":"1329438143","file5":"1329438147","file3":"1329438138"},"map_files_photo_id_array":[{"photo_id":"1329438147","filename":"file5"},{"photo_id":"1329438133","filename":"file2"},{"photo_id":"1329438143","filename":"file4"},{"photo_id":"1329438127","filename":"file1"},{"photo_id":"1329438121","filename":"file0"},{"photo_id":"1329438138","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329438121":["hashtag1","hashtag2"]},{"1329438133":["hashtag1","hashtag2"]},{"1329438127":["hashtag1","hashtag2"]},{"1329438147":["hashtag1","hashtag2"]},{"1329438138":["hashtag1","hashtag2"]},{"1329438143":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329438121, 1329438133, 1329438127, 1329438147, 1329438138, 1329438143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.56896686553955 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:04:22.113884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/04/image_17012025_09_04_53_6342.jpg', '/media/data/images/17012025/09/04/image_17012025_09_04_47_6369.jpg', '/media/data/images/17012025/09/04/image_17012025_09_04_41_5189.jpg', '/media/data/images/17012025/09/04/image_17012025_09_04_36_6419.jpg', '/media/data/images/17012025/09/04/image_17012025_09_04_29_6408.jpg', '/media/data/images/17012025/09/04/image_17012025_09_04_23_5208.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/04/image_17012025_09_04_53_6342.jpg
/media/data/images/17012025/09/04/image_17012025_09_04_47_6369.jpg
/media/data/images/17012025/09/04/image_17012025_09_04_41_5189.jpg
/media/data/images/17012025/09/04/image_17012025_09_04_36_6419.jpg
/media/data/images/17012025/09/04/image_17012025_09_04_29_6408.jpg
/media/data/images/17012025/09/04/image_17012025_09_04_23_5208.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329438178","1329438171","1329438161","1329438155","1329438167","1329438152"],"photo_ids_order":["1329438152","1329438155","1329438161","1329438167","1329438171","1329438178"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5d9b14b568571bcbd87eb8442e9b6ea6.jpg","text":"TemporaryFile(/tmp/multipartBody8522410629816594079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101127444,"filename":"image_17012025_09_04_23_5208.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fa99e6aeaba05d758bd8ed659148736f.jpg","text":"TemporaryFile(/tmp/multipartBody62163936354354305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101127444,"filename":"image_17012025_09_04_29_6408.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6e3983a065f10c2c9ac4ff350d08c2c5.jpg","text":"TemporaryFile(/tmp/multipartBody5651804451016869506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101127444,"filename":"image_17012025_09_04_41_5189.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/097023670f4cfc660dcbebf41ee5a1cb.jpg","text":"TemporaryFile(/tmp/multipartBody8929220860474337249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101127444,"filename":"image_17012025_09_04_47_6369.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2f57a08d2442c54303ce899f9609008c.jpg","text":"TemporaryFile(/tmp/multipartBody6978685239576001363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101127444,"filename":"image_17012025_09_04_36_6419.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f7b1eeb6c6ca7ee123b5306da7efbfd9.jpg","text":"TemporaryFile(/tmp/multipartBody1444372962475348296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101127444,"filename":"image_17012025_09_04_53_6342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329438161","file1":"1329438155","file0":"1329438152","file4":"1329438171","file5":"1329438178","file3":"1329438167"},"map_files_photo_id_array":[{"photo_id":"1329438178","filename":"file5"},{"photo_id":"1329438161","filename":"file2"},{"photo_id":"1329438171","filename":"file4"},{"photo_id":"1329438155","filename":"file1"},{"photo_id":"1329438152","filename":"file0"},{"photo_id":"1329438167","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329438178":["hashtag1","hashtag2"]},{"1329438171":["hashtag1","hashtag2"]},{"1329438161":["hashtag1","hashtag2"]},{"1329438155":["hashtag1","hashtag2"]},{"1329438167":["hashtag1","hashtag2"]},{"1329438152":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329438178, 1329438171, 1329438161, 1329438155, 1329438167, 1329438152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.01044964790344 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:05:02.750140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/04/image_17012025_09_04_17_6416.jpg', '/media/data/images/17012025/09/04/image_17012025_09_04_11_6471.jpg', '/media/data/images/17012025/09/04/image_17012025_09_04_05_5213.jpg', '/media/data/images/17012025/09/03/image_17012025_09_03_59_6376.jpg', '/media/data/images/17012025/09/03/image_17012025_09_03_17_6383.jpg', '/media/data/images/17012025/09/03/image_17012025_09_03_11_5205.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/04/image_17012025_09_04_17_6416.jpg
/media/data/images/17012025/09/04/image_17012025_09_04_11_6471.jpg
/media/data/images/17012025/09/04/image_17012025_09_04_05_5213.jpg
/media/data/images/17012025/09/03/image_17012025_09_03_59_6376.jpg
/media/data/images/17012025/09/03/image_17012025_09_03_17_6383.jpg
/media/data/images/17012025/09/03/image_17012025_09_03_11_5205.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329438195","1329438208","1329438198","1329438201","1329438204","1329438207"],"photo_ids_order":["1329438195","1329438198","1329438201","1329438204","1329438207","1329438208"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bc0e653dddb2f9fe4fb5a071ee467f5a.jpg","text":"TemporaryFile(/tmp/multipartBody5647255559394530138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101169265,"filename":"image_17012025_09_04_17_6416.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c31fd99ed52bb354349245ab5312c903.jpg","text":"TemporaryFile(/tmp/multipartBody206721447085353551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101169265,"filename":"image_17012025_09_03_11_5205.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/001b2c172f53cf5112f75af54dc43119.jpg","text":"TemporaryFile(/tmp/multipartBody7278796372516997652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101169265,"filename":"image_17012025_09_04_11_6471.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/90333ac2e52839f6d0b3794db4a39102.jpg","text":"TemporaryFile(/tmp/multipartBody4055019205542218228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101169265,"filename":"image_17012025_09_04_05_5213.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7a15269eea63aeb0ae07aaaeed1e1a3c.jpg","text":"TemporaryFile(/tmp/multipartBody8995212214757620928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101169265,"filename":"image_17012025_09_03_59_6376.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b6feba1aa7a4ad49c4809780856baeca.jpg","text":"TemporaryFile(/tmp/multipartBody1951484636114183843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101169265,"filename":"image_17012025_09_03_17_6383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329438201","file1":"1329438198","file0":"1329438195","file4":"1329438207","file5":"1329438208","file3":"1329438204"},"map_files_photo_id_array":[{"photo_id":"1329438208","filename":"file5"},{"photo_id":"1329438201","filename":"file2"},{"photo_id":"1329438207","filename":"file4"},{"photo_id":"1329438198","filename":"file1"},{"photo_id":"1329438195","filename":"file0"},{"photo_id":"1329438204","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329438195":["hashtag1","hashtag2"]},{"1329438208":["hashtag1","hashtag2"]},{"1329438198":["hashtag1","hashtag2"]},{"1329438201":["hashtag1","hashtag2"]},{"1329438204":["hashtag1","hashtag2"]},{"1329438207":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329438195, 1329438208, 1329438198, 1329438201, 1329438204, 1329438207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.848846197128296 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:06:02.609523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/05/image_17012025_09_05_54_6359.jpg', '/media/data/images/17012025/09/05/image_17012025_09_05_47_6421.jpg', '/media/data/images/17012025/09/05/image_17012025_09_05_41_5209.jpg', '/media/data/images/17012025/09/05/image_17012025_09_05_36_6424.jpg', '/media/data/images/17012025/09/05/image_17012025_09_05_29_6452.jpg', '/media/data/images/17012025/09/05/image_17012025_09_05_23_5166.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/05/image_17012025_09_05_54_6359.jpg
/media/data/images/17012025/09/05/image_17012025_09_05_47_6421.jpg
/media/data/images/17012025/09/05/image_17012025_09_05_41_5209.jpg
/media/data/images/17012025/09/05/image_17012025_09_05_36_6424.jpg
/media/data/images/17012025/09/05/image_17012025_09_05_29_6452.jpg
/media/data/images/17012025/09/05/image_17012025_09_05_23_5166.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329438253","1329438244","1329438264","1329438258","1329438249","1329438245"],"photo_ids_order":["1329438244","1329438245","1329438249","1329438253","1329438258","1329438264"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/75fff596c8e2e6049e9f6c993dc8dfe7.jpg","text":"TemporaryFile(/tmp/multipartBody4479947886902321160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101229537,"filename":"image_17012025_09_05_36_6424.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/81bc1276132a7555bd7354ceab549433.jpg","text":"TemporaryFile(/tmp/multipartBody386294156160850405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101229537,"filename":"image_17012025_09_05_54_6359.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7e51cfd2728fd3643c6c26b18ad8e0f4.jpg","text":"TemporaryFile(/tmp/multipartBody5673294936583226059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101229537,"filename":"image_17012025_09_05_23_5166.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c011b38734c2400686a8a21a712ae112.jpg","text":"TemporaryFile(/tmp/multipartBody8220959808090093730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101229537,"filename":"image_17012025_09_05_29_6452.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7f8d1d81ae8efb7e485fe21f39867179.jpg","text":"TemporaryFile(/tmp/multipartBody5270304798321368581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101229537,"filename":"image_17012025_09_05_41_5209.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e210a4981fb7de97aaaf011f2f511f28.jpg","text":"TemporaryFile(/tmp/multipartBody5730025695256988213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101229537,"filename":"image_17012025_09_05_47_6421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329438249","file1":"1329438245","file0":"1329438244","file4":"1329438258","file5":"1329438264","file3":"1329438253"},"map_files_photo_id_array":[{"photo_id":"1329438264","filename":"file5"},{"photo_id":"1329438249","filename":"file2"},{"photo_id":"1329438258","filename":"file4"},{"photo_id":"1329438245","filename":"file1"},{"photo_id":"1329438244","filename":"file0"},{"photo_id":"1329438253","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329438253":["hashtag1","hashtag2"]},{"1329438244":["hashtag1","hashtag2"]},{"1329438264":["hashtag1","hashtag2"]},{"1329438258":["hashtag1","hashtag2"]},{"1329438249":["hashtag1","hashtag2"]},{"1329438245":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329438253, 1329438244, 1329438264, 1329438258, 1329438249, 1329438245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.04222774505615 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:07:02.969389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/06/image_17012025_09_06_23_6370.jpg', '/media/data/images/17012025/09/06/image_17012025_09_06_17_5170.jpg', '/media/data/images/17012025/09/06/image_17012025_09_06_11_6443.jpg', '/media/data/images/17012025/09/06/image_17012025_09_06_05_6305.jpg', '/media/data/images/17012025/09/05/image_17012025_09_05_59_5186.jpg', '/media/data/images/17012025/09/05/image_17012025_09_05_17_6362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/06/image_17012025_09_06_23_6370.jpg
/media/data/images/17012025/09/06/image_17012025_09_06_17_5170.jpg
/media/data/images/17012025/09/06/image_17012025_09_06_11_6443.jpg
/media/data/images/17012025/09/06/image_17012025_09_06_05_6305.jpg
/media/data/images/17012025/09/05/image_17012025_09_05_59_5186.jpg
/media/data/images/17012025/09/05/image_17012025_09_05_17_6362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329438308","1329438292","1329438289","1329438304","1329438300","1329438296"],"photo_ids_order":["1329438289","1329438292","1329438296","1329438300","1329438304","1329438308"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/eb68dc0048ecd5d4604f8ede426c3a13.jpg","text":"TemporaryFile(/tmp/multipartBody4299012871882071582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101290052,"filename":"image_17012025_09_05_17_6362.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9c121691c8814529e1694dc3b8e0ee27.jpg","text":"TemporaryFile(/tmp/multipartBody8105161245265410370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101290052,"filename":"image_17012025_09_06_17_5170.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1f931a1db646b43ec20da7dde8c05014.jpg","text":"TemporaryFile(/tmp/multipartBody9203395535203736329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101290052,"filename":"image_17012025_09_06_23_6370.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6d668442e8c2faee8031def9d884a112.jpg","text":"TemporaryFile(/tmp/multipartBody4789214288041682229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101290052,"filename":"image_17012025_09_05_59_5186.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/add0a8a6e4dff7b01ee638f0e92b0a0d.jpg","text":"TemporaryFile(/tmp/multipartBody5134231927295266504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101290052,"filename":"image_17012025_09_06_05_6305.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e251e26a3a9ccf1e0328d72b65a05a6e.jpg","text":"TemporaryFile(/tmp/multipartBody4930492621577291906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101290052,"filename":"image_17012025_09_06_11_6443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329438296","file1":"1329438292","file0":"1329438289","file4":"1329438304","file5":"1329438308","file3":"1329438300"},"map_files_photo_id_array":[{"photo_id":"1329438308","filename":"file5"},{"photo_id":"1329438296","filename":"file2"},{"photo_id":"1329438304","filename":"file4"},{"photo_id":"1329438292","filename":"file1"},{"photo_id":"1329438289","filename":"file0"},{"photo_id":"1329438300","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329438308":["hashtag1","hashtag2"]},{"1329438292":["hashtag1","hashtag2"]},{"1329438289":["hashtag1","hashtag2"]},{"1329438304":["hashtag1","hashtag2"]},{"1329438300":["hashtag1","hashtag2"]},{"1329438296":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329438308, 1329438292, 1329438289, 1329438304, 1329438300, 1329438296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.08497428894043 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:08:02.884321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/07/image_17012025_09_07_52_6359.jpg', '/media/data/images/17012025/09/07/image_17012025_09_07_46_6373.jpg', '/media/data/images/17012025/09/07/image_17012025_09_07_40_5165.jpg', '/media/data/images/17012025/09/07/image_17012025_09_07_35_6373.jpg', '/media/data/images/17012025/09/07/image_17012025_09_07_28_6381.jpg', '/media/data/images/17012025/09/07/image_17012025_09_07_22_5207.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/07/image_17012025_09_07_52_6359.jpg
/media/data/images/17012025/09/07/image_17012025_09_07_46_6373.jpg
/media/data/images/17012025/09/07/image_17012025_09_07_40_5165.jpg
/media/data/images/17012025/09/07/image_17012025_09_07_35_6373.jpg
/media/data/images/17012025/09/07/image_17012025_09_07_28_6381.jpg
/media/data/images/17012025/09/07/image_17012025_09_07_22_5207.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: 8.206673622131348 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:08:22.601020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/08/image_17012025_09_08_53_6411.jpg', '/media/data/images/17012025/09/08/image_17012025_09_08_46_6423.jpg', '/media/data/images/17012025/09/08/image_17012025_09_08_40_5158.jpg', '/media/data/images/17012025/09/08/image_17012025_09_08_35_6401.jpg', '/media/data/images/17012025/09/08/image_17012025_09_08_28_6396.jpg', '/media/data/images/17012025/09/08/image_17012025_09_08_22_5173.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/08/image_17012025_09_08_53_6411.jpg
/media/data/images/17012025/09/08/image_17012025_09_08_46_6423.jpg
/media/data/images/17012025/09/08/image_17012025_09_08_40_5158.jpg
/media/data/images/17012025/09/08/image_17012025_09_08_35_6401.jpg
/media/data/images/17012025/09/08/image_17012025_09_08_28_6396.jpg
/media/data/images/17012025/09/08/image_17012025_09_08_22_5173.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329438364","1329438375","1329438372","1329438351","1329438345","1329438359"],"photo_ids_order":["1329438345","1329438351","1329438359","1329438364","1329438372","1329438375"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/db7c99295331258d889adc8ac315f6ee.jpg","text":"TemporaryFile(/tmp/multipartBody2276270079347587703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101366827,"filename":"image_17012025_09_08_35_6401.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/10b832516bccd7def13019bbe8dd5770.jpg","text":"TemporaryFile(/tmp/multipartBody863529978816548773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101366827,"filename":"image_17012025_09_08_22_5173.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a3a33314a161eb324ca3a7d9e036cdcc.jpg","text":"TemporaryFile(/tmp/multipartBody6992244383941143785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101366827,"filename":"image_17012025_09_08_28_6396.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d0dba90d453532456f776c79a8753481.jpg","text":"TemporaryFile(/tmp/multipartBody6405244016117749932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101366827,"filename":"image_17012025_09_08_46_6423.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8db10a18bb035af8ec039d1fe26b68d8.jpg","text":"TemporaryFile(/tmp/multipartBody4514969786133894925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101366827,"filename":"image_17012025_09_08_53_6411.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dec5e1146c74b8a5b3bf7153d6be74f5.jpg","text":"TemporaryFile(/tmp/multipartBody2736465721644829671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101366827,"filename":"image_17012025_09_08_40_5158.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329438359","file1":"1329438351","file0":"1329438345","file4":"1329438372","file5":"1329438375","file3":"1329438364"},"map_files_photo_id_array":[{"photo_id":"1329438375","filename":"file5"},{"photo_id":"1329438359","filename":"file2"},{"photo_id":"1329438372","filename":"file4"},{"photo_id":"1329438351","filename":"file1"},{"photo_id":"1329438345","filename":"file0"},{"photo_id":"1329438364","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329438364":["hashtag1","hashtag2"]},{"1329438375":["hashtag1","hashtag2"]},{"1329438372":["hashtag1","hashtag2"]},{"1329438351":["hashtag1","hashtag2"]},{"1329438345":["hashtag1","hashtag2"]},{"1329438359":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329438364, 1329438375, 1329438372, 1329438351, 1329438345, 1329438359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.172733783721924 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:09:03.311751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/08/image_17012025_09_08_17_6386.jpg', '/media/data/images/17012025/09/08/image_17012025_09_08_10_6402.jpg', '/media/data/images/17012025/09/08/image_17012025_09_08_04_4975.jpg', '/media/data/images/17012025/09/07/image_17012025_09_07_59_6357.jpg', '/media/data/images/17012025/09/07/image_17012025_09_07_52_6359.jpg', '/media/data/images/17012025/09/07/image_17012025_09_07_46_6373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/08/image_17012025_09_08_17_6386.jpg
/media/data/images/17012025/09/08/image_17012025_09_08_10_6402.jpg
/media/data/images/17012025/09/08/image_17012025_09_08_04_4975.jpg
/media/data/images/17012025/09/07/image_17012025_09_07_59_6357.jpg
/media/data/images/17012025/09/07/image_17012025_09_07_52_6359.jpg
/media/data/images/17012025/09/07/image_17012025_09_07_46_6373.jpg
2025-01-17 09:09:03.342523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/08/image_17012025_09_08_17_6386.jpg', '/media/data/images/17012025/09/08/image_17012025_09_08_10_6402.jpg', '/media/data/images/17012025/09/08/image_17012025_09_08_04_4975.jpg', '/media/data/images/17012025/09/07/image_17012025_09_07_59_6357.jpg', '/media/data/images/17012025/09/07/image_17012025_09_07_52_6359.jpg', '/media/data/images/17012025/09/07/image_17012025_09_07_46_6373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/08/image_17012025_09_08_17_6386.jpg
/media/data/images/17012025/09/08/image_17012025_09_08_10_6402.jpg
/media/data/images/17012025/09/08/image_17012025_09_08_04_4975.jpg
/media/data/images/17012025/09/07/image_17012025_09_07_59_6357.jpg
/media/data/images/17012025/09/07/image_17012025_09_07_52_6359.jpg
/media/data/images/17012025/09/07/image_17012025_09_07_46_6373.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: 6.308599233627319 secondes ---
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329438410","1329438404","1329438391","1329438399","1329438386","1329438395"],"photo_ids_order":["1329438386","1329438391","1329438395","1329438399","1329438404","1329438410"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f1d11532c54dfe43246938d38e640eef.jpg","text":"TemporaryFile(/tmp/multipartBody6422264746804289289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101409650,"filename":"image_17012025_09_07_46_6373.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/febf638e6fc238867e0ba79665df385b.jpg","text":"TemporaryFile(/tmp/multipartBody7477091387502230438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101409650,"filename":"image_17012025_09_07_52_6359.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/256da9a3a8252b55403a6ec6b8330a52.jpg","text":"TemporaryFile(/tmp/multipartBody959586760490137637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101409650,"filename":"image_17012025_09_08_10_6402.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/39a5872f0b8b1131d273057007230270.jpg","text":"TemporaryFile(/tmp/multipartBody8866715858402284649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101409650,"filename":"image_17012025_09_07_59_6357.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/04c01d4b2f60f739eb2c66fcafdd248c.jpg","text":"TemporaryFile(/tmp/multipartBody4698156965889209869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101409650,"filename":"image_17012025_09_08_17_6386.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/aa18abe8f0727146f14d6400ce87f345.jpg","text":"TemporaryFile(/tmp/multipartBody5020512509895940065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101409650,"filename":"image_17012025_09_08_04_4975.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329438395","file1":"1329438391","file0":"1329438386","file4":"1329438404","file5":"1329438410","file3":"1329438399"},"map_files_photo_id_array":[{"photo_id":"1329438410","filename":"file5"},{"photo_id":"1329438395","filename":"file2"},{"photo_id":"1329438404","filename":"file4"},{"photo_id":"1329438391","filename":"file1"},{"photo_id":"1329438386","filename":"file0"},{"photo_id":"1329438399","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329438410":["hashtag1","hashtag2"]},{"1329438404":["hashtag1","hashtag2"]},{"1329438391":["hashtag1","hashtag2"]},{"1329438399":["hashtag1","hashtag2"]},{"1329438386":["hashtag1","hashtag2"]},{"1329438395":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329438410, 1329438404, 1329438391, 1329438399, 1329438386, 1329438395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.845332860946655 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:10:02.010982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/09/image_17012025_09_09_52_5207.jpg', '/media/data/images/17012025/09/09/image_17012025_09_09_47_6405.jpg', '/media/data/images/17012025/09/09/image_17012025_09_09_40_6406.jpg', '/media/data/images/17012025/09/09/image_17012025_09_09_34_5174.jpg', '/media/data/images/17012025/09/09/image_17012025_09_09_29_6377.jpg', '/media/data/images/17012025/09/09/image_17012025_09_09_22_6357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/09/image_17012025_09_09_52_5207.jpg
/media/data/images/17012025/09/09/image_17012025_09_09_47_6405.jpg
/media/data/images/17012025/09/09/image_17012025_09_09_40_6406.jpg
/media/data/images/17012025/09/09/image_17012025_09_09_34_5174.jpg
/media/data/images/17012025/09/09/image_17012025_09_09_29_6377.jpg
/media/data/images/17012025/09/09/image_17012025_09_09_22_6357.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329438451","1329438441","1329438444","1329438447","1329438455","1329438437"],"photo_ids_order":["1329438437","1329438441","1329438444","1329438447","1329438451","1329438455"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2945ffde9a00097de4a31a2762948e87.jpg","text":"TemporaryFile(/tmp/multipartBody7492743330747000364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101465803,"filename":"image_17012025_09_09_29_6377.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0fb499970c043d484adc3d784710e93f.jpg","text":"TemporaryFile(/tmp/multipartBody1892290810839240333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101465803,"filename":"image_17012025_09_09_47_6405.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1b1cf90469c2c6d2186fa1ae59868dd0.jpg","text":"TemporaryFile(/tmp/multipartBody1296140398941298259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101465803,"filename":"image_17012025_09_09_40_6406.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4d192976aad95c8d8b5c90b1d59b8c42.jpg","text":"TemporaryFile(/tmp/multipartBody2888560786210746444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101465803,"filename":"image_17012025_09_09_34_5174.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/302877c72bcd7d4f8ac3aab9084f9d83.jpg","text":"TemporaryFile(/tmp/multipartBody281870475522349838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101465803,"filename":"image_17012025_09_09_22_6357.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6d06c6cee68db2a9919bd044f83cd4aa.jpg","text":"TemporaryFile(/tmp/multipartBody7617932644164074368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101465803,"filename":"image_17012025_09_09_52_5207.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329438444","file1":"1329438441","file0":"1329438437","file4":"1329438451","file5":"1329438455","file3":"1329438447"},"map_files_photo_id_array":[{"photo_id":"1329438455","filename":"file5"},{"photo_id":"1329438444","filename":"file2"},{"photo_id":"1329438451","filename":"file4"},{"photo_id":"1329438441","filename":"file1"},{"photo_id":"1329438437","filename":"file0"},{"photo_id":"1329438447","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329438451":["hashtag1","hashtag2"]},{"1329438441":["hashtag1","hashtag2"]},{"1329438444":["hashtag1","hashtag2"]},{"1329438447":["hashtag1","hashtag2"]},{"1329438455":["hashtag1","hashtag2"]},{"1329438437":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329438451, 1329438441, 1329438444, 1329438447, 1329438455, 1329438437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.08053517341614 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:10:41.795638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/10/image_17012025_09_10_52_6388.jpg', '/media/data/images/17012025/09/10/image_17012025_09_10_46_5161.jpg', '/media/data/images/17012025/09/10/image_17012025_09_10_41_6363.jpg', '/media/data/images/17012025/09/10/image_17012025_09_10_34_6383.jpg', '/media/data/images/17012025/09/10/image_17012025_09_10_28_5184.jpg', '/media/data/images/17012025/09/10/image_17012025_09_10_23_6424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/10/image_17012025_09_10_52_6388.jpg
/media/data/images/17012025/09/10/image_17012025_09_10_46_5161.jpg
/media/data/images/17012025/09/10/image_17012025_09_10_41_6363.jpg
/media/data/images/17012025/09/10/image_17012025_09_10_34_6383.jpg
/media/data/images/17012025/09/10/image_17012025_09_10_28_5184.jpg
/media/data/images/17012025/09/10/image_17012025_09_10_23_6424.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329438490","1329438480","1329438483","1329438470","1329438473","1329438476"],"photo_ids_order":["1329438470","1329438473","1329438476","1329438480","1329438483","1329438490"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d321ae51681380507e5381fc2d72b7d1.jpg","text":"TemporaryFile(/tmp/multipartBody2642568379734260311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101505262,"filename":"image_17012025_09_10_23_6424.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0e401c51a5215116fa824e35ddb87b15.jpg","text":"TemporaryFile(/tmp/multipartBody5033552557722674013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101505262,"filename":"image_17012025_09_10_34_6383.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9426f18bf798fbed6048769352ad5f86.jpg","text":"TemporaryFile(/tmp/multipartBody1826823949957782114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101505262,"filename":"image_17012025_09_10_28_5184.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1316d11117c555b36ece0abab255da39.jpg","text":"TemporaryFile(/tmp/multipartBody8294984184871851472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101505262,"filename":"image_17012025_09_10_52_6388.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/afe2ed13597a06699ff4790b33836cac.jpg","text":"TemporaryFile(/tmp/multipartBody6369941129443451525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101505262,"filename":"image_17012025_09_10_46_5161.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/32c10d9a4553ea71319536c252ed0ccb.jpg","text":"TemporaryFile(/tmp/multipartBody4718771091732396606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101505262,"filename":"image_17012025_09_10_41_6363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329438476","file1":"1329438473","file0":"1329438470","file4":"1329438483","file5":"1329438490","file3":"1329438480"},"map_files_photo_id_array":[{"photo_id":"1329438490","filename":"file5"},{"photo_id":"1329438476","filename":"file2"},{"photo_id":"1329438483","filename":"file4"},{"photo_id":"1329438473","filename":"file1"},{"photo_id":"1329438470","filename":"file0"},{"photo_id":"1329438480","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329438490":["hashtag1","hashtag2"]},{"1329438480":["hashtag1","hashtag2"]},{"1329438483":["hashtag1","hashtag2"]},{"1329438470":["hashtag1","hashtag2"]},{"1329438473":["hashtag1","hashtag2"]},{"1329438476":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329438490, 1329438480, 1329438483, 1329438470, 1329438473, 1329438476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.4800591468811 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:11:21.894716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/11/image_17012025_09_11_53_6388.jpg', '/media/data/images/17012025/09/11/image_17012025_09_11_46_6411.jpg', '/media/data/images/17012025/09/11/image_17012025_09_11_40_5228.jpg', '/media/data/images/17012025/09/11/image_17012025_09_11_35_6440.jpg', '/media/data/images/17012025/09/11/image_17012025_09_11_28_6431.jpg', '/media/data/images/17012025/09/11/image_17012025_09_11_22_5215.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/11/image_17012025_09_11_53_6388.jpg
/media/data/images/17012025/09/11/image_17012025_09_11_46_6411.jpg
/media/data/images/17012025/09/11/image_17012025_09_11_40_5228.jpg
/media/data/images/17012025/09/11/image_17012025_09_11_35_6440.jpg
/media/data/images/17012025/09/11/image_17012025_09_11_28_6431.jpg
/media/data/images/17012025/09/11/image_17012025_09_11_22_5215.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329438512","1329438509","1329438514","1329438517","1329438511","1329438521"],"photo_ids_order":["1329438509","1329438511","1329438512","1329438514","1329438517","1329438521"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a12d9b4bbd3c2f7d6d377fbadd3b3a09.jpg","text":"TemporaryFile(/tmp/multipartBody8384112500921516272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101545854,"filename":"image_17012025_09_11_40_5228.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/39f2df6643eae47c7053ebdf9a38b66b.jpg","text":"TemporaryFile(/tmp/multipartBody2756333013180962586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101545854,"filename":"image_17012025_09_11_53_6388.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7711d270ab5dc951bc3b625c989fefad.jpg","text":"TemporaryFile(/tmp/multipartBody4002332102108194438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101545854,"filename":"image_17012025_09_11_35_6440.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5e08e536991c157631378fc1ce30b42d.jpg","text":"TemporaryFile(/tmp/multipartBody6940959591307104897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101545854,"filename":"image_17012025_09_11_28_6431.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d7cbfb7f6d6760ba0252f5b9575d8846.jpg","text":"TemporaryFile(/tmp/multipartBody2388435331646835582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101545854,"filename":"image_17012025_09_11_46_6411.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dd966f14f07bebcff291057ea3926605.jpg","text":"TemporaryFile(/tmp/multipartBody2548200112221993765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101545854,"filename":"image_17012025_09_11_22_5215.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329438512","file1":"1329438511","file0":"1329438509","file4":"1329438517","file5":"1329438521","file3":"1329438514"},"map_files_photo_id_array":[{"photo_id":"1329438521","filename":"file5"},{"photo_id":"1329438512","filename":"file2"},{"photo_id":"1329438517","filename":"file4"},{"photo_id":"1329438511","filename":"file1"},{"photo_id":"1329438509","filename":"file0"},{"photo_id":"1329438514","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329438512":["hashtag1","hashtag2"]},{"1329438509":["hashtag1","hashtag2"]},{"1329438514":["hashtag1","hashtag2"]},{"1329438517":["hashtag1","hashtag2"]},{"1329438511":["hashtag1","hashtag2"]},{"1329438521":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329438512, 1329438509, 1329438514, 1329438517, 1329438511, 1329438521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93612003326416 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:12:02.313182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/11/image_17012025_09_11_17_6426.jpg', '/media/data/images/17012025/09/11/image_17012025_09_11_10_6452.jpg', '/media/data/images/17012025/09/11/image_17012025_09_11_04_5026.jpg', '/media/data/images/17012025/09/10/image_17012025_09_10_59_6399.jpg', '/media/data/images/17012025/09/10/image_17012025_09_10_16_6429.jpg', '/media/data/images/17012025/09/10/image_17012025_09_10_10_5248.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/11/image_17012025_09_11_17_6426.jpg
/media/data/images/17012025/09/11/image_17012025_09_11_10_6452.jpg
/media/data/images/17012025/09/11/image_17012025_09_11_04_5026.jpg
/media/data/images/17012025/09/10/image_17012025_09_10_59_6399.jpg
/media/data/images/17012025/09/10/image_17012025_09_10_16_6429.jpg
/media/data/images/17012025/09/10/image_17012025_09_10_10_5248.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329438538","1329438553","1329438541","1329438546","1329438548","1329438557"],"photo_ids_order":["1329438538","1329438541","1329438546","1329438548","1329438553","1329438557"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d04fe4a96e2c7e97a616b36daa4919de.jpg","text":"TemporaryFile(/tmp/multipartBody7695885362209828914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101586046,"filename":"image_17012025_09_11_17_6426.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2a9938be786c876dfea4563360b87d13.jpg","text":"TemporaryFile(/tmp/multipartBody4722642717991027677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101586046,"filename":"image_17012025_09_10_16_6429.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ec7ed8bdbd5422e9880bf104cf04282f.jpg","text":"TemporaryFile(/tmp/multipartBody2148733483988624642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101586046,"filename":"image_17012025_09_11_10_6452.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2bf23b9a0517129966ed61b4eec2840c.jpg","text":"TemporaryFile(/tmp/multipartBody3727604942128082793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101586046,"filename":"image_17012025_09_11_04_5026.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/53242c39572312cc410a0fd5190eee17.jpg","text":"TemporaryFile(/tmp/multipartBody5613752562442824147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101586046,"filename":"image_17012025_09_10_59_6399.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/05d800fda8109782adc2609e1b6d31cd.jpg","text":"TemporaryFile(/tmp/multipartBody3797873831305438918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101586046,"filename":"image_17012025_09_10_10_5248.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329438546","file1":"1329438541","file0":"1329438538","file4":"1329438553","file5":"1329438557","file3":"1329438548"},"map_files_photo_id_array":[{"photo_id":"1329438557","filename":"file5"},{"photo_id":"1329438546","filename":"file2"},{"photo_id":"1329438553","filename":"file4"},{"photo_id":"1329438541","filename":"file1"},{"photo_id":"1329438538","filename":"file0"},{"photo_id":"1329438548","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329438538":["hashtag1","hashtag2"]},{"1329438553":["hashtag1","hashtag2"]},{"1329438541":["hashtag1","hashtag2"]},{"1329438546":["hashtag1","hashtag2"]},{"1329438548":["hashtag1","hashtag2"]},{"1329438557":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329438538, 1329438553, 1329438541, 1329438546, 1329438548, 1329438557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.854432582855225 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:12:41.998010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/12/image_17012025_09_12_52_5204.jpg', '/media/data/images/17012025/09/12/image_17012025_09_12_47_6412.jpg', '/media/data/images/17012025/09/12/image_17012025_09_12_40_6410.jpg', '/media/data/images/17012025/09/12/image_17012025_09_12_34_5118.jpg', '/media/data/images/17012025/09/12/image_17012025_09_12_29_6393.jpg', '/media/data/images/17012025/09/12/image_17012025_09_12_22_6377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/12/image_17012025_09_12_52_5204.jpg
/media/data/images/17012025/09/12/image_17012025_09_12_47_6412.jpg
/media/data/images/17012025/09/12/image_17012025_09_12_40_6410.jpg
/media/data/images/17012025/09/12/image_17012025_09_12_34_5118.jpg
/media/data/images/17012025/09/12/image_17012025_09_12_29_6393.jpg
/media/data/images/17012025/09/12/image_17012025_09_12_22_6377.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329438589","1329438580","1329438574","1329438577","1329438571","1329438584"],"photo_ids_order":["1329438571","1329438574","1329438577","1329438580","1329438584","1329438589"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/10483625534a4052cee3d40fb2b56f72.jpg","text":"TemporaryFile(/tmp/multipartBody173329691365045774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101626688,"filename":"image_17012025_09_12_22_6377.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cab8e8cdbe1d86aaba551e3e60dc481d.jpg","text":"TemporaryFile(/tmp/multipartBody4595170231284969704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101626688,"filename":"image_17012025_09_12_34_5118.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2937c9afe71535fdd1b91eb4c6cd712d.jpg","text":"TemporaryFile(/tmp/multipartBody7808397564456085029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101626688,"filename":"image_17012025_09_12_47_6412.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3a39454d09a678f14a98274610136df0.jpg","text":"TemporaryFile(/tmp/multipartBody4168066001209767562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101626688,"filename":"image_17012025_09_12_40_6410.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/18ba00021732319d733c58be882c3ee4.jpg","text":"TemporaryFile(/tmp/multipartBody2348311845098115167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101626688,"filename":"image_17012025_09_12_52_5204.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5f57fadc9c8f5c5a397bafdd7c69ebf4.jpg","text":"TemporaryFile(/tmp/multipartBody7041680934283032975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101626688,"filename":"image_17012025_09_12_29_6393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329438577","file1":"1329438574","file0":"1329438571","file4":"1329438584","file5":"1329438589","file3":"1329438580"},"map_files_photo_id_array":[{"photo_id":"1329438589","filename":"file5"},{"photo_id":"1329438577","filename":"file2"},{"photo_id":"1329438584","filename":"file4"},{"photo_id":"1329438574","filename":"file1"},{"photo_id":"1329438571","filename":"file0"},{"photo_id":"1329438580","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329438589":["hashtag1","hashtag2"]},{"1329438580":["hashtag1","hashtag2"]},{"1329438574":["hashtag1","hashtag2"]},{"1329438577":["hashtag1","hashtag2"]},{"1329438571":["hashtag1","hashtag2"]},{"1329438584":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329438589, 1329438580, 1329438574, 1329438577, 1329438571, 1329438584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89956045150757 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:13:22.117259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/13/image_17012025_09_13_52_6416.jpg', '/media/data/images/17012025/09/13/image_17012025_09_13_46_5157.jpg', '/media/data/images/17012025/09/13/image_17012025_09_13_41_6369.jpg', '/media/data/images/17012025/09/13/image_17012025_09_13_34_6381.jpg', '/media/data/images/17012025/09/13/image_17012025_09_13_28_5211.jpg', '/media/data/images/17012025/09/13/image_17012025_09_13_23_6414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/13/image_17012025_09_13_52_6416.jpg
/media/data/images/17012025/09/13/image_17012025_09_13_46_5157.jpg
/media/data/images/17012025/09/13/image_17012025_09_13_41_6369.jpg
/media/data/images/17012025/09/13/image_17012025_09_13_34_6381.jpg
/media/data/images/17012025/09/13/image_17012025_09_13_28_5211.jpg
/media/data/images/17012025/09/13/image_17012025_09_13_23_6414.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329438623","1329438617","1329438611","1329438605","1329438609","1329438614"],"photo_ids_order":["1329438605","1329438609","1329438611","1329438614","1329438617","1329438623"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d5121379d6eedfcb92bbc1336dfea14e.jpg","text":"TemporaryFile(/tmp/multipartBody172657481780129125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101666021,"filename":"image_17012025_09_13_23_6414.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f1b82d9278fc8cbfc603fcc9a84f3988.jpg","text":"TemporaryFile(/tmp/multipartBody5273792599708492436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101666021,"filename":"image_17012025_09_13_28_5211.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2bc9e7cc7c999c30717724223af832d5.jpg","text":"TemporaryFile(/tmp/multipartBody3029404226709939831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101666021,"filename":"image_17012025_09_13_41_6369.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/45a3d521cfb1e05acd78e6113bb84504.jpg","text":"TemporaryFile(/tmp/multipartBody8719847386634355119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101666021,"filename":"image_17012025_09_13_52_6416.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f742cb3f4e8232e0ac7d177ff5a3241a.jpg","text":"TemporaryFile(/tmp/multipartBody1097279027294986204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101666021,"filename":"image_17012025_09_13_46_5157.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/92fbc6a72ada5cd3fd8710c8571c6dd7.jpg","text":"TemporaryFile(/tmp/multipartBody6019967633638598693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101666021,"filename":"image_17012025_09_13_34_6381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329438611","file1":"1329438609","file0":"1329438605","file4":"1329438617","file5":"1329438623","file3":"1329438614"},"map_files_photo_id_array":[{"photo_id":"1329438623","filename":"file5"},{"photo_id":"1329438611","filename":"file2"},{"photo_id":"1329438617","filename":"file4"},{"photo_id":"1329438609","filename":"file1"},{"photo_id":"1329438605","filename":"file0"},{"photo_id":"1329438614","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329438623":["hashtag1","hashtag2"]},{"1329438617":["hashtag1","hashtag2"]},{"1329438611":["hashtag1","hashtag2"]},{"1329438605":["hashtag1","hashtag2"]},{"1329438609":["hashtag1","hashtag2"]},{"1329438614":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329438623, 1329438617, 1329438611, 1329438605, 1329438609, 1329438614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.39288091659546 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:14:02.581569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/13/image_17012025_09_13_16_6389.jpg', '/media/data/images/17012025/09/13/image_17012025_09_13_10_5290.jpg', '/media/data/images/17012025/09/13/image_17012025_09_13_05_6261.jpg', '/media/data/images/17012025/09/12/image_17012025_09_12_58_6420.jpg', '/media/data/images/17012025/09/12/image_17012025_09_12_16_5149.jpg', '/media/data/images/17012025/09/12/image_17012025_09_12_11_6402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/13/image_17012025_09_13_16_6389.jpg
/media/data/images/17012025/09/13/image_17012025_09_13_10_5290.jpg
/media/data/images/17012025/09/13/image_17012025_09_13_05_6261.jpg
/media/data/images/17012025/09/12/image_17012025_09_12_58_6420.jpg
/media/data/images/17012025/09/12/image_17012025_09_12_16_5149.jpg
/media/data/images/17012025/09/12/image_17012025_09_12_11_6402.jpg
2025-01-17 09:14:02.762652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/13/image_17012025_09_13_16_6389.jpg', '/media/data/images/17012025/09/13/image_17012025_09_13_10_5290.jpg', '/media/data/images/17012025/09/13/image_17012025_09_13_05_6261.jpg', '/media/data/images/17012025/09/12/image_17012025_09_12_58_6420.jpg', '/media/data/images/17012025/09/12/image_17012025_09_12_16_5149.jpg', '/media/data/images/17012025/09/12/image_17012025_09_12_11_6402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/13/image_17012025_09_13_16_6389.jpg
/media/data/images/17012025/09/13/image_17012025_09_13_10_5290.jpg
/media/data/images/17012025/09/13/image_17012025_09_13_05_6261.jpg
/media/data/images/17012025/09/12/image_17012025_09_12_58_6420.jpg
/media/data/images/17012025/09/12/image_17012025_09_12_16_5149.jpg
/media/data/images/17012025/09/12/image_17012025_09_12_11_6402.jpg
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329438644","1329438655","1329438640","1329438660","1329438650","1329438647"],"photo_ids_order":["1329438640","1329438644","1329438647","1329438650","1329438655","1329438660"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b3b6435f610fed7f89e8b26be73ccc26.jpg","text":"TemporaryFile(/tmp/multipartBody6357938784040554623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101708399,"filename":"image_17012025_09_13_10_5290.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f4b109c366f5600596cb6e75b1792e6b.jpg","text":"TemporaryFile(/tmp/multipartBody2976770695442839495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101708399,"filename":"image_17012025_09_12_16_5149.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f0f503c26d86e7b25332a474acf66692.jpg","text":"TemporaryFile(/tmp/multipartBody6856223104242974200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101708399,"filename":"image_17012025_09_13_16_6389.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bcc78f5cf98ad6ad171cf2cc2e18bb67.jpg","text":"TemporaryFile(/tmp/multipartBody1129066789545759153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101708399,"filename":"image_17012025_09_12_11_6402.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/98ffea3f636fa7ecda4657b0332fe9f9.jpg","text":"TemporaryFile(/tmp/multipartBody2773354473552897290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101708399,"filename":"image_17012025_09_12_58_6420.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/75fc6d789636632d47c630da055fb584.jpg","text":"TemporaryFile(/tmp/multipartBody5943940790693975368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101708399,"filename":"image_17012025_09_13_05_6261.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329438647","file1":"1329438644","file0":"1329438640","file4":"1329438655","file5":"1329438660","file3":"1329438650"},"map_files_photo_id_array":[{"photo_id":"1329438660","filename":"file5"},{"photo_id":"1329438647","filename":"file2"},{"photo_id":"1329438655","filename":"file4"},{"photo_id":"1329438644","filename":"file1"},{"photo_id":"1329438640","filename":"file0"},{"photo_id":"1329438650","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329438644":["hashtag1","hashtag2"]},{"1329438655":["hashtag1","hashtag2"]},{"1329438640":["hashtag1","hashtag2"]},{"1329438660":["hashtag1","hashtag2"]},{"1329438650":["hashtag1","hashtag2"]},{"1329438647":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329438644, 1329438655, 1329438640, 1329438660, 1329438650, 1329438647)","result":[],"list_datou_current":[]}'
Result OK !
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329438661","1329438643","1329438646","1329438649","1329438639","1329438656"],"photo_ids_order":["1329438639","1329438643","1329438646","1329438649","1329438656","1329438661"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/86245497f6185afae253eb285dbdc639.jpg","text":"TemporaryFile(/tmp/multipartBody1951329657625823583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101707805,"filename":"image_17012025_09_12_11_6402.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e976fe40c16aab81c9f4f99cbddee48a.jpg","text":"TemporaryFile(/tmp/multipartBody4250596995542363714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101707805,"filename":"image_17012025_09_13_10_5290.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f3b41bf0ae616981d22ad5c139430c80.jpg","text":"TemporaryFile(/tmp/multipartBody1224128007918729387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101707805,"filename":"image_17012025_09_13_05_6261.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b7f8f0e897c4fa8951924c7a56383add.jpg","text":"TemporaryFile(/tmp/multipartBody7273702961708241157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101707805,"filename":"image_17012025_09_12_58_6420.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/508ff9261e2d74d4d6fc459fffd84f49.jpg","text":"TemporaryFile(/tmp/multipartBody1561450622656388681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101707805,"filename":"image_17012025_09_13_16_6389.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7971948b4543c59308028fb43edf878e.jpg","text":"TemporaryFile(/tmp/multipartBody4901626031380346077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101707805,"filename":"image_17012025_09_12_16_5149.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329438646","file1":"1329438643","file0":"1329438639","file4":"1329438656","file5":"1329438661","file3":"1329438649"},"map_files_photo_id_array":[{"photo_id":"1329438661","filename":"file5"},{"photo_id":"1329438646","filename":"file2"},{"photo_id":"1329438656","filename":"file4"},{"photo_id":"1329438643","filename":"file1"},{"photo_id":"1329438639","filename":"file0"},{"photo_id":"1329438649","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329438661":["hashtag1","hashtag2"]},{"1329438643":["hashtag1","hashtag2"]},{"1329438646":["hashtag1","hashtag2"]},{"1329438649":["hashtag1","hashtag2"]},{"1329438639":["hashtag1","hashtag2"]},{"1329438656":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329438661, 1329438643, 1329438646, 1329438649, 1329438639, 1329438656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.67381191253662 secondes ---
uploaded 6 photos
time to upload: 37.87757682800293 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:14:42.193058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/14/image_17012025_09_14_52_6384.jpg', '/media/data/images/17012025/09/14/image_17012025_09_14_46_5185.jpg', '/media/data/images/17012025/09/14/image_17012025_09_14_41_6393.jpg', '/media/data/images/17012025/09/14/image_17012025_09_14_34_6398.jpg', '/media/data/images/17012025/09/14/image_17012025_09_14_28_6400.jpg', '/media/data/images/17012025/09/14/image_17012025_09_14_22_5199.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/14/image_17012025_09_14_52_6384.jpg
/media/data/images/17012025/09/14/image_17012025_09_14_46_5185.jpg
/media/data/images/17012025/09/14/image_17012025_09_14_41_6393.jpg
/media/data/images/17012025/09/14/image_17012025_09_14_34_6398.jpg
/media/data/images/17012025/09/14/image_17012025_09_14_28_6400.jpg
/media/data/images/17012025/09/14/image_17012025_09_14_22_5199.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329438685","1329438699","1329438695","1329438689","1329438692","1329438680"],"photo_ids_order":["1329438680","1329438685","1329438689","1329438692","1329438695","1329438699"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bbd26ca604dcf4b870cab9dbffe1eb16.jpg","text":"TemporaryFile(/tmp/multipartBody3389887195975314579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101746359,"filename":"image_17012025_09_14_46_5185.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e70da72d56766d7ebd6873ae14db5e2f.jpg","text":"TemporaryFile(/tmp/multipartBody976483364440364141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101746359,"filename":"image_17012025_09_14_22_5199.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/08da18dbf67bb7c98a7cf0a64f152e98.jpg","text":"TemporaryFile(/tmp/multipartBody5913933978931508370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101746359,"filename":"image_17012025_09_14_28_6400.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/555d509436947ff1814911f59fe31809.jpg","text":"TemporaryFile(/tmp/multipartBody1839674730400337845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101746359,"filename":"image_17012025_09_14_41_6393.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8ce12e9f2a1e5048a2c041e8f7db9e88.jpg","text":"TemporaryFile(/tmp/multipartBody5351136881196818669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101746359,"filename":"image_17012025_09_14_34_6398.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0ab80a776c982e2ad112f5d7642b2733.jpg","text":"TemporaryFile(/tmp/multipartBody7028004067796173249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101746359,"filename":"image_17012025_09_14_52_6384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329438689","file1":"1329438685","file0":"1329438680","file4":"1329438695","file5":"1329438699","file3":"1329438692"},"map_files_photo_id_array":[{"photo_id":"1329438699","filename":"file5"},{"photo_id":"1329438689","filename":"file2"},{"photo_id":"1329438695","filename":"file4"},{"photo_id":"1329438685","filename":"file1"},{"photo_id":"1329438680","filename":"file0"},{"photo_id":"1329438692","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329438685":["hashtag1","hashtag2"]},{"1329438699":["hashtag1","hashtag2"]},{"1329438695":["hashtag1","hashtag2"]},{"1329438689":["hashtag1","hashtag2"]},{"1329438692":["hashtag1","hashtag2"]},{"1329438680":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329438685, 1329438699, 1329438695, 1329438689, 1329438692, 1329438680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.70647621154785 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:15:21.862755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/15/image_17012025_09_15_53_6423.jpg', '/media/data/images/17012025/09/15/image_17012025_09_15_46_6464.jpg', '/media/data/images/17012025/09/15/image_17012025_09_15_40_5203.jpg', '/media/data/images/17012025/09/15/image_17012025_09_15_35_6406.jpg', '/media/data/images/17012025/09/15/image_17012025_09_15_28_6378.jpg', '/media/data/images/17012025/09/15/image_17012025_09_15_22_5140.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/15/image_17012025_09_15_53_6423.jpg
/media/data/images/17012025/09/15/image_17012025_09_15_46_6464.jpg
/media/data/images/17012025/09/15/image_17012025_09_15_40_5203.jpg
/media/data/images/17012025/09/15/image_17012025_09_15_35_6406.jpg
/media/data/images/17012025/09/15/image_17012025_09_15_28_6378.jpg
/media/data/images/17012025/09/15/image_17012025_09_15_22_5140.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329438719","1329438710","1329438724","1329438733","1329438715","1329438728"],"photo_ids_order":["1329438710","1329438715","1329438719","1329438724","1329438728","1329438733"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5321fe472b2531d644f2f5ad26d34df7.jpg","text":"TemporaryFile(/tmp/multipartBody6265404397347550579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101785183,"filename":"image_17012025_09_15_40_5203.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/403e003577ad3542dc931473f6bfcc2b.jpg","text":"TemporaryFile(/tmp/multipartBody1619588517615741572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101785183,"filename":"image_17012025_09_15_53_6423.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4f8ea501954dadee4ec5e7a4c8377cf0.jpg","text":"TemporaryFile(/tmp/multipartBody5266802202409882869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101785183,"filename":"image_17012025_09_15_35_6406.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/02731b0797052326f0aad0e7a92d831f.jpg","text":"TemporaryFile(/tmp/multipartBody5544106470779342079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101785183,"filename":"image_17012025_09_15_22_5140.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/883d57b58f88ffd4c71e0b02a21f0b8d.jpg","text":"TemporaryFile(/tmp/multipartBody6678229897343932111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101785183,"filename":"image_17012025_09_15_46_6464.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d3ed6c66f32a06c731ec979760b12b0d.jpg","text":"TemporaryFile(/tmp/multipartBody6182096178968527188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101785183,"filename":"image_17012025_09_15_28_6378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329438719","file1":"1329438715","file0":"1329438710","file4":"1329438728","file5":"1329438733","file3":"1329438724"},"map_files_photo_id_array":[{"photo_id":"1329438733","filename":"file5"},{"photo_id":"1329438719","filename":"file2"},{"photo_id":"1329438728","filename":"file4"},{"photo_id":"1329438715","filename":"file1"},{"photo_id":"1329438710","filename":"file0"},{"photo_id":"1329438724","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329438719":["hashtag1","hashtag2"]},{"1329438710":["hashtag1","hashtag2"]},{"1329438724":["hashtag1","hashtag2"]},{"1329438733":["hashtag1","hashtag2"]},{"1329438715":["hashtag1","hashtag2"]},{"1329438728":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329438719, 1329438710, 1329438724, 1329438733, 1329438715, 1329438728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.5878369808197 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:16:02.295504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/15/image_17012025_09_15_17_6373.jpg', '/media/data/images/17012025/09/15/image_17012025_09_15_10_6441.jpg', '/media/data/images/17012025/09/15/image_17012025_09_15_04_5128.jpg', '/media/data/images/17012025/09/14/image_17012025_09_14_59_6359.jpg', '/media/data/images/17012025/09/14/image_17012025_09_14_16_6394.jpg', '/media/data/images/17012025/09/14/image_17012025_09_14_10_5228.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/15/image_17012025_09_15_17_6373.jpg
/media/data/images/17012025/09/15/image_17012025_09_15_10_6441.jpg
/media/data/images/17012025/09/15/image_17012025_09_15_04_5128.jpg
/media/data/images/17012025/09/14/image_17012025_09_14_59_6359.jpg
/media/data/images/17012025/09/14/image_17012025_09_14_16_6394.jpg
/media/data/images/17012025/09/14/image_17012025_09_14_10_5228.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329438760","1329438765","1329438753","1329438747","1329438756","1329438750"],"photo_ids_order":["1329438747","1329438750","1329438753","1329438756","1329438760","1329438765"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/71bfeae26aacf35fd400a503559193e7.jpg","text":"TemporaryFile(/tmp/multipartBody699483347391772070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101825389,"filename":"image_17012025_09_14_16_6394.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/feaab31d9d345f00cb0d4c2ce9fda69e.jpg","text":"TemporaryFile(/tmp/multipartBody7516387527848726695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101825389,"filename":"image_17012025_09_14_10_5228.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/544828afc6208b52a32654869b43f36f.jpg","text":"TemporaryFile(/tmp/multipartBody899358153787655030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101825389,"filename":"image_17012025_09_15_04_5128.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/31b30971761e21655c59a10319e90e7a.jpg","text":"TemporaryFile(/tmp/multipartBody2809305104059629923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101825389,"filename":"image_17012025_09_15_17_6373.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0247b3fef40001332e6f5b7118693763.jpg","text":"TemporaryFile(/tmp/multipartBody5882278701592219398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101825389,"filename":"image_17012025_09_14_59_6359.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4c4eb1f896e9fd5ee487a25f37f7d640.jpg","text":"TemporaryFile(/tmp/multipartBody8210803831228296678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101825389,"filename":"image_17012025_09_15_10_6441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329438753","file1":"1329438750","file0":"1329438747","file4":"1329438760","file5":"1329438765","file3":"1329438756"},"map_files_photo_id_array":[{"photo_id":"1329438765","filename":"file5"},{"photo_id":"1329438753","filename":"file2"},{"photo_id":"1329438760","filename":"file4"},{"photo_id":"1329438750","filename":"file1"},{"photo_id":"1329438747","filename":"file0"},{"photo_id":"1329438756","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329438760":["hashtag1","hashtag2"]},{"1329438765":["hashtag1","hashtag2"]},{"1329438753":["hashtag1","hashtag2"]},{"1329438747":["hashtag1","hashtag2"]},{"1329438756":["hashtag1","hashtag2"]},{"1329438750":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329438760, 1329438765, 1329438753, 1329438747, 1329438756, 1329438750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57323431968689 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:16:41.968569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/16/image_17012025_09_16_52_5173.jpg', '/media/data/images/17012025/09/16/image_17012025_09_16_47_6404.jpg', '/media/data/images/17012025/09/16/image_17012025_09_16_40_6370.jpg', '/media/data/images/17012025/09/16/image_17012025_09_16_34_6392.jpg', '/media/data/images/17012025/09/16/image_17012025_09_16_28_5233.jpg', '/media/data/images/17012025/09/16/image_17012025_09_16_22_6458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/16/image_17012025_09_16_52_5173.jpg
/media/data/images/17012025/09/16/image_17012025_09_16_47_6404.jpg
/media/data/images/17012025/09/16/image_17012025_09_16_40_6370.jpg
/media/data/images/17012025/09/16/image_17012025_09_16_34_6392.jpg
/media/data/images/17012025/09/16/image_17012025_09_16_28_5233.jpg
/media/data/images/17012025/09/16/image_17012025_09_16_22_6458.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329438793","1329438781","1329438801","1329438804","1329438788","1329438797"],"photo_ids_order":["1329438781","1329438788","1329438793","1329438797","1329438801","1329438804"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/893b8fec06496bc6774348631020031c.jpg","text":"TemporaryFile(/tmp/multipartBody7505649001818604071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101865067,"filename":"image_17012025_09_16_40_6370.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7aa3c782f06440a7b1d0663170e5e3b2.jpg","text":"TemporaryFile(/tmp/multipartBody4130623951685494947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101865067,"filename":"image_17012025_09_16_52_5173.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/31958cd2997ff84bf8c9ddd17f4879e7.jpg","text":"TemporaryFile(/tmp/multipartBody3079281423304617577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101865067,"filename":"image_17012025_09_16_28_5233.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/30b8767ce914ff8d78eccde1d97c0a22.jpg","text":"TemporaryFile(/tmp/multipartBody7496878204049130685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101865067,"filename":"image_17012025_09_16_22_6458.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9338bab94506c524d13ae3ebb3d1fabd.jpg","text":"TemporaryFile(/tmp/multipartBody8540210125682876508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101865067,"filename":"image_17012025_09_16_47_6404.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2fa4d7835438efdff2b6ef67d5bae1a1.jpg","text":"TemporaryFile(/tmp/multipartBody90388361190427491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101865067,"filename":"image_17012025_09_16_34_6392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329438793","file1":"1329438788","file0":"1329438781","file4":"1329438801","file5":"1329438804","file3":"1329438797"},"map_files_photo_id_array":[{"photo_id":"1329438804","filename":"file5"},{"photo_id":"1329438793","filename":"file2"},{"photo_id":"1329438801","filename":"file4"},{"photo_id":"1329438788","filename":"file1"},{"photo_id":"1329438781","filename":"file0"},{"photo_id":"1329438797","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329438793":["hashtag1","hashtag2"]},{"1329438781":["hashtag1","hashtag2"]},{"1329438801":["hashtag1","hashtag2"]},{"1329438804":["hashtag1","hashtag2"]},{"1329438788":["hashtag1","hashtag2"]},{"1329438797":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329438793, 1329438781, 1329438801, 1329438804, 1329438788, 1329438797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.27080059051514 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:17:22.051160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/17/image_17012025_09_17_52_6404.jpg', '/media/data/images/17012025/09/17/image_17012025_09_17_46_5228.jpg', '/media/data/images/17012025/09/17/image_17012025_09_17_41_6402.jpg', '/media/data/images/17012025/09/17/image_17012025_09_17_34_6389.jpg', '/media/data/images/17012025/09/17/image_17012025_09_17_28_5180.jpg', '/media/data/images/17012025/09/17/image_17012025_09_17_23_6392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/17/image_17012025_09_17_52_6404.jpg
/media/data/images/17012025/09/17/image_17012025_09_17_46_5228.jpg
/media/data/images/17012025/09/17/image_17012025_09_17_41_6402.jpg
/media/data/images/17012025/09/17/image_17012025_09_17_34_6389.jpg
/media/data/images/17012025/09/17/image_17012025_09_17_28_5180.jpg
/media/data/images/17012025/09/17/image_17012025_09_17_23_6392.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329438815","1329438841","1329438820","1329438834","1329438813","1329438827"],"photo_ids_order":["1329438813","1329438815","1329438820","1329438827","1329438834","1329438841"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1b65e647b7a4a1f15ed744d554e71f31.jpg","text":"TemporaryFile(/tmp/multipartBody4857883345106551318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101906184,"filename":"image_17012025_09_17_46_5228.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ac4237b3cd69228516667ebc43cb231c.jpg","text":"TemporaryFile(/tmp/multipartBody5596986720472640530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101906184,"filename":"image_17012025_09_17_23_6392.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/818273cc85d552e2b49159e298b0c4c9.jpg","text":"TemporaryFile(/tmp/multipartBody514817142190050882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101906184,"filename":"image_17012025_09_17_41_6402.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/799be549217af1a43676e69709d0f4bc.jpg","text":"TemporaryFile(/tmp/multipartBody6568236884102990873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101906184,"filename":"image_17012025_09_17_28_5180.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b251d39da58521689ed7599466eb9fa3.jpg","text":"TemporaryFile(/tmp/multipartBody8283574179837846436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101906184,"filename":"image_17012025_09_17_52_6404.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a2b6ee4f17c9db380253862e4b944f9f.jpg","text":"TemporaryFile(/tmp/multipartBody2704509229573547726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101906184,"filename":"image_17012025_09_17_34_6389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329438820","file1":"1329438815","file0":"1329438813","file4":"1329438834","file5":"1329438841","file3":"1329438827"},"map_files_photo_id_array":[{"photo_id":"1329438841","filename":"file5"},{"photo_id":"1329438820","filename":"file2"},{"photo_id":"1329438834","filename":"file4"},{"photo_id":"1329438815","filename":"file1"},{"photo_id":"1329438813","filename":"file0"},{"photo_id":"1329438827","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329438815":["hashtag1","hashtag2"]},{"1329438841":["hashtag1","hashtag2"]},{"1329438820":["hashtag1","hashtag2"]},{"1329438834":["hashtag1","hashtag2"]},{"1329438813":["hashtag1","hashtag2"]},{"1329438827":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329438815, 1329438841, 1329438820, 1329438834, 1329438813, 1329438827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23603081703186 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:18:02.469442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/17/image_17012025_09_17_10_5210.jpg', '/media/data/images/17012025/09/17/image_17012025_09_17_05_6301.jpg', '/media/data/images/17012025/09/16/image_17012025_09_16_58_6417.jpg', '/media/data/images/17012025/09/16/image_17012025_09_16_16_5165.jpg', '/media/data/images/17012025/09/16/image_17012025_09_16_11_6413.jpg', '/media/data/images/17012025/09/15/image_17012025_09_16_04_6438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/17/image_17012025_09_17_10_5210.jpg
/media/data/images/17012025/09/17/image_17012025_09_17_05_6301.jpg
/media/data/images/17012025/09/16/image_17012025_09_16_58_6417.jpg
/media/data/images/17012025/09/16/image_17012025_09_16_16_5165.jpg
/media/data/images/17012025/09/16/image_17012025_09_16_11_6413.jpg
/media/data/images/17012025/09/15/image_17012025_09_16_04_6438.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329438859","1329438852","1329438855","1329438863","1329438857","1329438866"],"photo_ids_order":["1329438852","1329438855","1329438857","1329438859","1329438863","1329438866"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7bf5632b8772b0391a5a26aa88d04f71.jpg","text":"TemporaryFile(/tmp/multipartBody5734425088477200039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101945835,"filename":"image_17012025_09_16_16_5165.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e12c0bf5012e4dc5d317b2570c163309.jpg","text":"TemporaryFile(/tmp/multipartBody3728276850665195507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101945835,"filename":"image_17012025_09_17_10_5210.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dff626acba1220b19bd3708e433bb2c2.jpg","text":"TemporaryFile(/tmp/multipartBody1337654949905111148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101945835,"filename":"image_17012025_09_17_05_6301.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/57c241b259f44de29ca9b187d0f57709.jpg","text":"TemporaryFile(/tmp/multipartBody7434978219054941372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101945835,"filename":"image_17012025_09_16_11_6413.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/aed679878fdfe34db20279123bb88171.jpg","text":"TemporaryFile(/tmp/multipartBody1081199302297069481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101945835,"filename":"image_17012025_09_16_58_6417.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b87ac4d3a0b6b1eba602c13a5b41acd0.jpg","text":"TemporaryFile(/tmp/multipartBody2906696975379380747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101945835,"filename":"image_17012025_09_16_04_6438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329438857","file1":"1329438855","file0":"1329438852","file4":"1329438863","file5":"1329438866","file3":"1329438859"},"map_files_photo_id_array":[{"photo_id":"1329438866","filename":"file5"},{"photo_id":"1329438857","filename":"file2"},{"photo_id":"1329438863","filename":"file4"},{"photo_id":"1329438855","filename":"file1"},{"photo_id":"1329438852","filename":"file0"},{"photo_id":"1329438859","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329438859":["hashtag1","hashtag2"]},{"1329438852":["hashtag1","hashtag2"]},{"1329438855":["hashtag1","hashtag2"]},{"1329438863":["hashtag1","hashtag2"]},{"1329438857":["hashtag1","hashtag2"]},{"1329438866":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329438859, 1329438852, 1329438855, 1329438863, 1329438857, 1329438866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.77972054481506 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:18:42.177175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/18/image_17012025_09_18_52_6412.jpg', '/media/data/images/17012025/09/18/image_17012025_09_18_46_5183.jpg', '/media/data/images/17012025/09/18/image_17012025_09_18_41_6384.jpg', '/media/data/images/17012025/09/18/image_17012025_09_18_34_6392.jpg', '/media/data/images/17012025/09/18/image_17012025_09_18_28_6389.jpg', '/media/data/images/17012025/09/18/image_17012025_09_18_22_5166.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/18/image_17012025_09_18_52_6412.jpg
/media/data/images/17012025/09/18/image_17012025_09_18_46_5183.jpg
/media/data/images/17012025/09/18/image_17012025_09_18_41_6384.jpg
/media/data/images/17012025/09/18/image_17012025_09_18_34_6392.jpg
/media/data/images/17012025/09/18/image_17012025_09_18_28_6389.jpg
/media/data/images/17012025/09/18/image_17012025_09_18_22_5166.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329438902","1329438889","1329438883","1329438897","1329438891","1329438885"],"photo_ids_order":["1329438883","1329438885","1329438889","1329438891","1329438897","1329438902"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6e22c20570227f4ee82655bab34a6767.jpg","text":"TemporaryFile(/tmp/multipartBody8337266366190704740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101986937,"filename":"image_17012025_09_18_22_5166.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4be2a4807d05d134e828a9211e466050.jpg","text":"TemporaryFile(/tmp/multipartBody6269429832953359880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101986937,"filename":"image_17012025_09_18_41_6384.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/55372e4a255f0851ee8a05a68c1b064e.jpg","text":"TemporaryFile(/tmp/multipartBody4097262027599905604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101986937,"filename":"image_17012025_09_18_52_6412.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c32c93c3f53bc229993222b427e03122.jpg","text":"TemporaryFile(/tmp/multipartBody1351757112816216072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101986937,"filename":"image_17012025_09_18_28_6389.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5a9b0331d89b4fd8deb383547c52de9a.jpg","text":"TemporaryFile(/tmp/multipartBody697107983787127653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101986937,"filename":"image_17012025_09_18_34_6392.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2835254cd96a2d03906106e6c5be2e11.jpg","text":"TemporaryFile(/tmp/multipartBody8561752496783603808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737101986937,"filename":"image_17012025_09_18_46_5183.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329438889","file1":"1329438885","file0":"1329438883","file4":"1329438897","file5":"1329438902","file3":"1329438891"},"map_files_photo_id_array":[{"photo_id":"1329438902","filename":"file5"},{"photo_id":"1329438889","filename":"file2"},{"photo_id":"1329438897","filename":"file4"},{"photo_id":"1329438885","filename":"file1"},{"photo_id":"1329438883","filename":"file0"},{"photo_id":"1329438891","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329438902":["hashtag1","hashtag2"]},{"1329438889":["hashtag1","hashtag2"]},{"1329438883":["hashtag1","hashtag2"]},{"1329438897":["hashtag1","hashtag2"]},{"1329438891":["hashtag1","hashtag2"]},{"1329438885":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329438902, 1329438889, 1329438883, 1329438897, 1329438891, 1329438885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.23036217689514 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:19:22.273003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/19/image_17012025_09_19_53_6376.jpg', '/media/data/images/17012025/09/19/image_17012025_09_19_46_6381.jpg', '/media/data/images/17012025/09/19/image_17012025_09_19_40_5162.jpg', '/media/data/images/17012025/09/19/image_17012025_09_19_35_6360.jpg', '/media/data/images/17012025/09/19/image_17012025_09_19_28_6370.jpg', '/media/data/images/17012025/09/19/image_17012025_09_19_22_5167.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/19/image_17012025_09_19_53_6376.jpg
/media/data/images/17012025/09/19/image_17012025_09_19_46_6381.jpg
/media/data/images/17012025/09/19/image_17012025_09_19_40_5162.jpg
/media/data/images/17012025/09/19/image_17012025_09_19_35_6360.jpg
/media/data/images/17012025/09/19/image_17012025_09_19_28_6370.jpg
/media/data/images/17012025/09/19/image_17012025_09_19_22_5167.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329438937","1329438931","1329438925","1329438919","1329438921","1329438923"],"photo_ids_order":["1329438919","1329438921","1329438923","1329438925","1329438931","1329438937"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9a3de1e10473a2d1825e66bc1ba2d4f6.jpg","text":"TemporaryFile(/tmp/multipartBody6398548515457014935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102027913,"filename":"image_17012025_09_19_22_5167.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/afce624055f0a2082f0eee3a1464549e.jpg","text":"TemporaryFile(/tmp/multipartBody4822142077147884685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102027913,"filename":"image_17012025_09_19_28_6370.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/62f4cafd878c9495c26c57cc5e9cd5fd.jpg","text":"TemporaryFile(/tmp/multipartBody6837002222053281288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102027913,"filename":"image_17012025_09_19_35_6360.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a03f97a5b0b9a1a25143f7dfde72654e.jpg","text":"TemporaryFile(/tmp/multipartBody439876248224864622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102027913,"filename":"image_17012025_09_19_53_6376.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dc2c6ead19bda52512a37ae83ebfa58a.jpg","text":"TemporaryFile(/tmp/multipartBody8728213371655802697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102027913,"filename":"image_17012025_09_19_46_6381.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/990f762cf187cef7cb4f0034b27b7e91.jpg","text":"TemporaryFile(/tmp/multipartBody2840356151844544502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102027913,"filename":"image_17012025_09_19_40_5162.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329438923","file1":"1329438921","file0":"1329438919","file4":"1329438931","file5":"1329438937","file3":"1329438925"},"map_files_photo_id_array":[{"photo_id":"1329438937","filename":"file5"},{"photo_id":"1329438923","filename":"file2"},{"photo_id":"1329438931","filename":"file4"},{"photo_id":"1329438921","filename":"file1"},{"photo_id":"1329438919","filename":"file0"},{"photo_id":"1329438925","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329438937":["hashtag1","hashtag2"]},{"1329438931":["hashtag1","hashtag2"]},{"1329438925":["hashtag1","hashtag2"]},{"1329438919":["hashtag1","hashtag2"]},{"1329438921":["hashtag1","hashtag2"]},{"1329438923":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329438937, 1329438931, 1329438925, 1329438919, 1329438921, 1329438923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.06848669052124 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:20:02.511070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/19/image_17012025_09_19_17_6386.jpg', '/media/data/images/17012025/09/19/image_17012025_09_19_10_6422.jpg', '/media/data/images/17012025/09/19/image_17012025_09_19_04_5177.jpg', '/media/data/images/17012025/09/18/image_17012025_09_18_59_6405.jpg', '/media/data/images/17012025/09/18/image_17012025_09_18_16_6359.jpg', '/media/data/images/17012025/09/18/image_17012025_09_18_10_6365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/19/image_17012025_09_19_17_6386.jpg
/media/data/images/17012025/09/19/image_17012025_09_19_10_6422.jpg
/media/data/images/17012025/09/19/image_17012025_09_19_04_5177.jpg
/media/data/images/17012025/09/18/image_17012025_09_18_59_6405.jpg
/media/data/images/17012025/09/18/image_17012025_09_18_16_6359.jpg
/media/data/images/17012025/09/18/image_17012025_09_18_10_6365.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329438957","1329438966","1329438969","1329438960","1329438954","1329438962"],"photo_ids_order":["1329438954","1329438957","1329438960","1329438962","1329438966","1329438969"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/917c69b0bc0d3906d75e675a523bfeeb.jpg","text":"TemporaryFile(/tmp/multipartBody6373195538803031202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102069829,"filename":"image_17012025_09_19_10_6422.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ecf85b1791defcb223cde52c5cd0b189.jpg","text":"TemporaryFile(/tmp/multipartBody6242109489685960389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102069829,"filename":"image_17012025_09_18_16_6359.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0f18294e3865d3ddccbebbeb8e2fbeed.jpg","text":"TemporaryFile(/tmp/multipartBody4890732984812374575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102069829,"filename":"image_17012025_09_18_10_6365.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/eb7e6cc19cecb8b0d2e0ca8712859f41.jpg","text":"TemporaryFile(/tmp/multipartBody4295158276602230740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102069829,"filename":"image_17012025_09_19_04_5177.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f15d939701e779d54ca2fe9bd8298225.jpg","text":"TemporaryFile(/tmp/multipartBody2296883317957806300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102069829,"filename":"image_17012025_09_19_17_6386.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f29b46eaa81ad7bd3f2f50bbb81fc577.jpg","text":"TemporaryFile(/tmp/multipartBody5257720238256240643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102069829,"filename":"image_17012025_09_18_59_6405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329438960","file1":"1329438957","file0":"1329438954","file4":"1329438966","file5":"1329438969","file3":"1329438962"},"map_files_photo_id_array":[{"photo_id":"1329438969","filename":"file5"},{"photo_id":"1329438960","filename":"file2"},{"photo_id":"1329438966","filename":"file4"},{"photo_id":"1329438957","filename":"file1"},{"photo_id":"1329438954","filename":"file0"},{"photo_id":"1329438962","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329438957":["hashtag1","hashtag2"]},{"1329438966":["hashtag1","hashtag2"]},{"1329438969":["hashtag1","hashtag2"]},{"1329438960":["hashtag1","hashtag2"]},{"1329438954":["hashtag1","hashtag2"]},{"1329438962":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329438957, 1329438966, 1329438969, 1329438960, 1329438954, 1329438962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.19668245315552 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:20:42.363635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/20/image_17012025_09_20_52_5183.jpg', '/media/data/images/17012025/09/20/image_17012025_09_20_47_6403.jpg', '/media/data/images/17012025/09/20/image_17012025_09_20_40_6425.jpg', '/media/data/images/17012025/09/20/image_17012025_09_20_34_5184.jpg', '/media/data/images/17012025/09/20/image_17012025_09_20_29_6401.jpg', '/media/data/images/17012025/09/20/image_17012025_09_20_22_6405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/20/image_17012025_09_20_52_5183.jpg
/media/data/images/17012025/09/20/image_17012025_09_20_47_6403.jpg
/media/data/images/17012025/09/20/image_17012025_09_20_40_6425.jpg
/media/data/images/17012025/09/20/image_17012025_09_20_34_5184.jpg
/media/data/images/17012025/09/20/image_17012025_09_20_29_6401.jpg
/media/data/images/17012025/09/20/image_17012025_09_20_22_6405.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329438991","1329439003","1329438987","1329438995","1329438998","1329439007"],"photo_ids_order":["1329438987","1329438991","1329438995","1329438998","1329439003","1329439007"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/25545a7503903b71220903e3d459415e.jpg","text":"TemporaryFile(/tmp/multipartBody1262789136095576694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102106219,"filename":"image_17012025_09_20_47_6403.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/11af09e73e1eff04b527c0786652e343.jpg","text":"TemporaryFile(/tmp/multipartBody5257023108956254053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102106219,"filename":"image_17012025_09_20_29_6401.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/041770aa3d3d5c261011f489e5a6ff63.jpg","text":"TemporaryFile(/tmp/multipartBody6025262541068185138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102106219,"filename":"image_17012025_09_20_52_5183.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0ba622c250affe37b2584e5a5a9290e9.jpg","text":"TemporaryFile(/tmp/multipartBody8169586254516695019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102106219,"filename":"image_17012025_09_20_40_6425.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1de1ef6d888aef2f9d68d1776375b752.jpg","text":"TemporaryFile(/tmp/multipartBody9172227157910553392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102106219,"filename":"image_17012025_09_20_34_5184.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6308df064c68fd8329999c1e56c20d7f.jpg","text":"TemporaryFile(/tmp/multipartBody3121557646339957938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102106219,"filename":"image_17012025_09_20_22_6405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329438995","file1":"1329438991","file0":"1329438987","file4":"1329439003","file5":"1329439007","file3":"1329438998"},"map_files_photo_id_array":[{"photo_id":"1329439007","filename":"file5"},{"photo_id":"1329438995","filename":"file2"},{"photo_id":"1329439003","filename":"file4"},{"photo_id":"1329438991","filename":"file1"},{"photo_id":"1329438987","filename":"file0"},{"photo_id":"1329438998","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329438991":["hashtag1","hashtag2"]},{"1329439003":["hashtag1","hashtag2"]},{"1329438987":["hashtag1","hashtag2"]},{"1329438995":["hashtag1","hashtag2"]},{"1329438998":["hashtag1","hashtag2"]},{"1329439007":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329438991, 1329439003, 1329438987, 1329438995, 1329438998, 1329439007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.55736207962036 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:21:22.458171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/21/image_17012025_09_21_52_5175.jpg', '/media/data/images/17012025/09/21/image_17012025_09_21_47_6397.jpg', '/media/data/images/17012025/09/21/image_17012025_09_21_40_6375.jpg', '/media/data/images/17012025/09/21/image_17012025_09_21_34_5176.jpg', '/media/data/images/17012025/09/21/image_17012025_09_21_29_6390.jpg', '/media/data/images/17012025/09/21/image_17012025_09_21_22_6361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/21/image_17012025_09_21_52_5175.jpg
/media/data/images/17012025/09/21/image_17012025_09_21_47_6397.jpg
/media/data/images/17012025/09/21/image_17012025_09_21_40_6375.jpg
/media/data/images/17012025/09/21/image_17012025_09_21_34_5176.jpg
/media/data/images/17012025/09/21/image_17012025_09_21_29_6390.jpg
/media/data/images/17012025/09/21/image_17012025_09_21_22_6361.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.3135812282562256 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:21:42.462881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/21/image_17012025_09_21_52_5175.jpg', '/media/data/images/17012025/09/21/image_17012025_09_21_47_6397.jpg', '/media/data/images/17012025/09/21/image_17012025_09_21_40_6375.jpg', '/media/data/images/17012025/09/21/image_17012025_09_21_34_5176.jpg', '/media/data/images/17012025/09/21/image_17012025_09_21_29_6390.jpg', '/media/data/images/17012025/09/21/image_17012025_09_21_22_6361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/21/image_17012025_09_21_52_5175.jpg
/media/data/images/17012025/09/21/image_17012025_09_21_47_6397.jpg
/media/data/images/17012025/09/21/image_17012025_09_21_40_6375.jpg
/media/data/images/17012025/09/21/image_17012025_09_21_34_5176.jpg
/media/data/images/17012025/09/21/image_17012025_09_21_29_6390.jpg
/media/data/images/17012025/09/21/image_17012025_09_21_22_6361.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329439042","1329439062","1329439053","1329439047","1329439058","1329439037"],"photo_ids_order":["1329439037","1329439042","1329439047","1329439053","1329439058","1329439062"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8422fabb40fd92c9ef5e0252ffae697e.jpg","text":"TemporaryFile(/tmp/multipartBody2774171544205569583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102166549,"filename":"image_17012025_09_21_47_6397.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5c043d1106136db4c4b227e2b18103a9.jpg","text":"TemporaryFile(/tmp/multipartBody2837562516911356382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102166549,"filename":"image_17012025_09_21_22_6361.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a97cc6bb3592dddfe8e1cb68402aa62a.jpg","text":"TemporaryFile(/tmp/multipartBody4681127781241711870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102166549,"filename":"image_17012025_09_21_34_5176.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6ddc9aa5d2512c73221ef86bfe5cb228.jpg","text":"TemporaryFile(/tmp/multipartBody4380010057072430170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102166549,"filename":"image_17012025_09_21_40_6375.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/44f73a03241906123fb20fe42636f9d8.jpg","text":"TemporaryFile(/tmp/multipartBody7098311428513462386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102166549,"filename":"image_17012025_09_21_29_6390.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f1c7d17655ec5c100d274605276571a3.jpg","text":"TemporaryFile(/tmp/multipartBody4905031545727389192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102166549,"filename":"image_17012025_09_21_52_5175.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329439047","file1":"1329439042","file0":"1329439037","file4":"1329439058","file5":"1329439062","file3":"1329439053"},"map_files_photo_id_array":[{"photo_id":"1329439062","filename":"file5"},{"photo_id":"1329439047","filename":"file2"},{"photo_id":"1329439058","filename":"file4"},{"photo_id":"1329439042","filename":"file1"},{"photo_id":"1329439037","filename":"file0"},{"photo_id":"1329439053","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329439042":["hashtag1","hashtag2"]},{"1329439062":["hashtag1","hashtag2"]},{"1329439053":["hashtag1","hashtag2"]},{"1329439047":["hashtag1","hashtag2"]},{"1329439058":["hashtag1","hashtag2"]},{"1329439037":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329439042, 1329439062, 1329439053, 1329439047, 1329439058, 1329439037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.71331810951233 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:22:22.597635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/22/image_17012025_09_22_52_6411.jpg', '/media/data/images/17012025/09/22/image_17012025_09_22_46_5192.jpg', '/media/data/images/17012025/09/22/image_17012025_09_22_41_6403.jpg', '/media/data/images/17012025/09/22/image_17012025_09_22_34_6402.jpg', '/media/data/images/17012025/09/22/image_17012025_09_22_28_5221.jpg', '/media/data/images/17012025/09/22/image_17012025_09_22_23_6404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/22/image_17012025_09_22_52_6411.jpg
/media/data/images/17012025/09/22/image_17012025_09_22_46_5192.jpg
/media/data/images/17012025/09/22/image_17012025_09_22_41_6403.jpg
/media/data/images/17012025/09/22/image_17012025_09_22_34_6402.jpg
/media/data/images/17012025/09/22/image_17012025_09_22_28_5221.jpg
/media/data/images/17012025/09/22/image_17012025_09_22_23_6404.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329439072","1329439081","1329439092","1329439086","1329439068","1329439076"],"photo_ids_order":["1329439068","1329439072","1329439076","1329439081","1329439086","1329439092"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fe5d7a608422b9dd3efee664e0f20309.jpg","text":"TemporaryFile(/tmp/multipartBody3065001105955436560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102205550,"filename":"image_17012025_09_22_46_5192.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4c9c9a77cee396aab57f4611304415ee.jpg","text":"TemporaryFile(/tmp/multipartBody9051158487975731031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102205550,"filename":"image_17012025_09_22_34_6402.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bfadbbcd883d4afbf293aa498a100581.jpg","text":"TemporaryFile(/tmp/multipartBody6345702163695930792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102205550,"filename":"image_17012025_09_22_23_6404.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/062043d8903fe1caba13c12498f4bbdf.jpg","text":"TemporaryFile(/tmp/multipartBody8377608062500605912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102205550,"filename":"image_17012025_09_22_28_5221.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6d3871e8a37523608ac604bcdf98d2c9.jpg","text":"TemporaryFile(/tmp/multipartBody1317524091368519357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102205550,"filename":"image_17012025_09_22_52_6411.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/50a349dd8d875b920268a2ca60c9b99b.jpg","text":"TemporaryFile(/tmp/multipartBody468661540441890577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102205550,"filename":"image_17012025_09_22_41_6403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329439076","file1":"1329439072","file0":"1329439068","file4":"1329439086","file5":"1329439092","file3":"1329439081"},"map_files_photo_id_array":[{"photo_id":"1329439092","filename":"file5"},{"photo_id":"1329439076","filename":"file2"},{"photo_id":"1329439086","filename":"file4"},{"photo_id":"1329439072","filename":"file1"},{"photo_id":"1329439068","filename":"file0"},{"photo_id":"1329439081","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329439072":["hashtag1","hashtag2"]},{"1329439081":["hashtag1","hashtag2"]},{"1329439092":["hashtag1","hashtag2"]},{"1329439086":["hashtag1","hashtag2"]},{"1329439068":["hashtag1","hashtag2"]},{"1329439076":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329439072, 1329439081, 1329439092, 1329439086, 1329439068, 1329439076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.56740927696228 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:23:03.054969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/22/image_17012025_09_22_16_6419.jpg', '/media/data/images/17012025/09/22/image_17012025_09_22_10_5204.jpg', '/media/data/images/17012025/09/22/image_17012025_09_22_04_6220.jpg', '/media/data/images/17012025/09/21/image_17012025_09_21_58_6381.jpg', '/media/data/images/17012025/09/21/image_17012025_09_21_16_6365.jpg', '/media/data/images/17012025/09/21/image_17012025_09_21_10_5157.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/22/image_17012025_09_22_16_6419.jpg
/media/data/images/17012025/09/22/image_17012025_09_22_10_5204.jpg
/media/data/images/17012025/09/22/image_17012025_09_22_04_6220.jpg
/media/data/images/17012025/09/21/image_17012025_09_21_58_6381.jpg
/media/data/images/17012025/09/21/image_17012025_09_21_16_6365.jpg
/media/data/images/17012025/09/21/image_17012025_09_21_10_5157.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329439114","1329439117","1329439108","1329439125","1329439121","1329439130"],"photo_ids_order":["1329439108","1329439114","1329439117","1329439121","1329439125","1329439130"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5845885e870055646fb7a7efa689f79a.jpg","text":"TemporaryFile(/tmp/multipartBody2285429179203685141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102246909,"filename":"image_17012025_09_22_10_5204.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9d027142ea477fb7a0990ba4cda4720c.jpg","text":"TemporaryFile(/tmp/multipartBody5142286579560652699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102246909,"filename":"image_17012025_09_22_04_6220.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/359947fbad094b3fd6dda3960200d9df.jpg","text":"TemporaryFile(/tmp/multipartBody2680161739332335537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102246909,"filename":"image_17012025_09_22_16_6419.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2a456b1130df17302ea6eba265d6f6cb.jpg","text":"TemporaryFile(/tmp/multipartBody4490700671482063575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102246909,"filename":"image_17012025_09_21_16_6365.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/208db75db484455bcad5afdc951fbf1e.jpg","text":"TemporaryFile(/tmp/multipartBody9106091923373081096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102246909,"filename":"image_17012025_09_21_58_6381.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e7af6d6dfa57d5a7e97ac4f7208189ba.jpg","text":"TemporaryFile(/tmp/multipartBody7139294635646868793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102246909,"filename":"image_17012025_09_21_10_5157.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329439117","file1":"1329439114","file0":"1329439108","file4":"1329439125","file5":"1329439130","file3":"1329439121"},"map_files_photo_id_array":[{"photo_id":"1329439130","filename":"file5"},{"photo_id":"1329439117","filename":"file2"},{"photo_id":"1329439125","filename":"file4"},{"photo_id":"1329439114","filename":"file1"},{"photo_id":"1329439108","filename":"file0"},{"photo_id":"1329439121","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329439114":["hashtag1","hashtag2"]},{"1329439117":["hashtag1","hashtag2"]},{"1329439108":["hashtag1","hashtag2"]},{"1329439125":["hashtag1","hashtag2"]},{"1329439121":["hashtag1","hashtag2"]},{"1329439130":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329439114, 1329439117, 1329439108, 1329439125, 1329439121, 1329439130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1996054649353 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:23:42.658589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/23/image_17012025_09_23_52_6386.jpg', '/media/data/images/17012025/09/23/image_17012025_09_23_46_6388.jpg', '/media/data/images/17012025/09/23/image_17012025_09_23_40_5213.jpg', '/media/data/images/17012025/09/23/image_17012025_09_23_34_6413.jpg', '/media/data/images/17012025/09/23/image_17012025_09_23_28_5252.jpg', '/media/data/images/17012025/09/23/image_17012025_09_23_23_6427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/23/image_17012025_09_23_52_6386.jpg
/media/data/images/17012025/09/23/image_17012025_09_23_46_6388.jpg
/media/data/images/17012025/09/23/image_17012025_09_23_40_5213.jpg
/media/data/images/17012025/09/23/image_17012025_09_23_34_6413.jpg
/media/data/images/17012025/09/23/image_17012025_09_23_28_5252.jpg
/media/data/images/17012025/09/23/image_17012025_09_23_23_6427.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329439150","1329439162","1329439155","1329439146","1329439166","1329439142"],"photo_ids_order":["1329439142","1329439146","1329439150","1329439155","1329439162","1329439166"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7e84213da0578800f6b62c31d4c5c0f9.jpg","text":"TemporaryFile(/tmp/multipartBody6195788972028523259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102287036,"filename":"image_17012025_09_23_40_5213.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d4e8c655eac472461f8d32d3b929e583.jpg","text":"TemporaryFile(/tmp/multipartBody5759323245474149459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102287036,"filename":"image_17012025_09_23_28_5252.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/99038a8242556f4d9eb3d6a8ef5212ea.jpg","text":"TemporaryFile(/tmp/multipartBody7234212147766684945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102287036,"filename":"image_17012025_09_23_34_6413.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8fd66ff63690a685acbbd170a13997cc.jpg","text":"TemporaryFile(/tmp/multipartBody3802569846898855675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102287036,"filename":"image_17012025_09_23_46_6388.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b0283fdea9166df07740e919df53928b.jpg","text":"TemporaryFile(/tmp/multipartBody8575058674992464257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102287036,"filename":"image_17012025_09_23_23_6427.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/511b130d2914dbd56c73c4bb79ab477f.jpg","text":"TemporaryFile(/tmp/multipartBody2683084317256381332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102287036,"filename":"image_17012025_09_23_52_6386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329439150","file1":"1329439146","file0":"1329439142","file4":"1329439162","file5":"1329439166","file3":"1329439155"},"map_files_photo_id_array":[{"photo_id":"1329439166","filename":"file5"},{"photo_id":"1329439150","filename":"file2"},{"photo_id":"1329439162","filename":"file4"},{"photo_id":"1329439146","filename":"file1"},{"photo_id":"1329439142","filename":"file0"},{"photo_id":"1329439155","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329439150":["hashtag1","hashtag2"]},{"1329439162":["hashtag1","hashtag2"]},{"1329439155":["hashtag1","hashtag2"]},{"1329439146":["hashtag1","hashtag2"]},{"1329439166":["hashtag1","hashtag2"]},{"1329439142":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329439150, 1329439162, 1329439155, 1329439146, 1329439166, 1329439142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10045075416565 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:24:22.770498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/24/image_17012025_09_24_53_6397.jpg', '/media/data/images/17012025/09/24/image_17012025_09_24_46_6418.jpg', '/media/data/images/17012025/09/24/image_17012025_09_24_40_5184.jpg', '/media/data/images/17012025/09/24/image_17012025_09_24_35_6386.jpg', '/media/data/images/17012025/09/24/image_17012025_09_24_28_6394.jpg', '/media/data/images/17012025/09/24/image_17012025_09_24_22_5171.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/24/image_17012025_09_24_53_6397.jpg
/media/data/images/17012025/09/24/image_17012025_09_24_46_6418.jpg
/media/data/images/17012025/09/24/image_17012025_09_24_40_5184.jpg
/media/data/images/17012025/09/24/image_17012025_09_24_35_6386.jpg
/media/data/images/17012025/09/24/image_17012025_09_24_28_6394.jpg
/media/data/images/17012025/09/24/image_17012025_09_24_22_5171.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329439180","1329439201","1329439191","1329439196","1329439183","1329439177"],"photo_ids_order":["1329439177","1329439180","1329439183","1329439191","1329439196","1329439201"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e54f391f08830b23e5593d68d3dcc434.jpg","text":"TemporaryFile(/tmp/multipartBody5244801722333862637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102327602,"filename":"image_17012025_09_24_46_6418.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8d9f7448b41e37a1e1b054da00f3f055.jpg","text":"TemporaryFile(/tmp/multipartBody5874952044089879514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102327602,"filename":"image_17012025_09_24_22_5171.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a41f4f01ff6849fdfb339335e7c0e4bd.jpg","text":"TemporaryFile(/tmp/multipartBody7080141974008736295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102327602,"filename":"image_17012025_09_24_35_6386.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/27d24bf233cded59319973a3f2d0936a.jpg","text":"TemporaryFile(/tmp/multipartBody1534670065954309726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102327602,"filename":"image_17012025_09_24_28_6394.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/08f81c3660f001b708db001702160bad.jpg","text":"TemporaryFile(/tmp/multipartBody4383121337791123004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102327602,"filename":"image_17012025_09_24_40_5184.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/50ac180086f27744073dd5ccc8675246.jpg","text":"TemporaryFile(/tmp/multipartBody7797307819687255465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102327602,"filename":"image_17012025_09_24_53_6397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329439183","file1":"1329439180","file0":"1329439177","file4":"1329439196","file5":"1329439201","file3":"1329439191"},"map_files_photo_id_array":[{"photo_id":"1329439201","filename":"file5"},{"photo_id":"1329439183","filename":"file2"},{"photo_id":"1329439196","filename":"file4"},{"photo_id":"1329439180","filename":"file1"},{"photo_id":"1329439177","filename":"file0"},{"photo_id":"1329439191","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329439180":["hashtag1","hashtag2"]},{"1329439201":["hashtag1","hashtag2"]},{"1329439191":["hashtag1","hashtag2"]},{"1329439196":["hashtag1","hashtag2"]},{"1329439183":["hashtag1","hashtag2"]},{"1329439177":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329439180, 1329439201, 1329439191, 1329439196, 1329439183, 1329439177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.485655546188354 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:25:02.396338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/24/image_17012025_09_24_17_6370.jpg', '/media/data/images/17012025/09/24/image_17012025_09_24_10_6394.jpg', '/media/data/images/17012025/09/24/image_17012025_09_24_04_4980.jpg', '/media/data/images/17012025/09/23/image_17012025_09_23_59_6371.jpg', '/media/data/images/17012025/09/23/image_17012025_09_23_16_6411.jpg', '/media/data/images/17012025/09/23/image_17012025_09_23_10_5195.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/24/image_17012025_09_24_17_6370.jpg
/media/data/images/17012025/09/24/image_17012025_09_24_10_6394.jpg
/media/data/images/17012025/09/24/image_17012025_09_24_04_4980.jpg
/media/data/images/17012025/09/23/image_17012025_09_23_59_6371.jpg
/media/data/images/17012025/09/23/image_17012025_09_23_16_6411.jpg
/media/data/images/17012025/09/23/image_17012025_09_23_10_5195.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329439222","1329439219","1329439224","1329439212","1329439215","1329439217"],"photo_ids_order":["1329439212","1329439215","1329439217","1329439219","1329439222","1329439224"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f8052a9709367af174aeafc3ea1ad5f4.jpg","text":"TemporaryFile(/tmp/multipartBody8604227946122779203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102366219,"filename":"image_17012025_09_23_16_6411.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0f73a0999f6c230e8167d7d6d1d38083.jpg","text":"TemporaryFile(/tmp/multipartBody319407276513433916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102366219,"filename":"image_17012025_09_23_59_6371.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/eb12b667f50909beeed481290e00f93e.jpg","text":"TemporaryFile(/tmp/multipartBody7925307416945688501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102366219,"filename":"image_17012025_09_23_10_5195.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3cc0334da709944aabd5e8ec49149021.jpg","text":"TemporaryFile(/tmp/multipartBody3959745648470474862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102366219,"filename":"image_17012025_09_24_17_6370.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/290630737b0711d3efbd939fab7ffdd5.jpg","text":"TemporaryFile(/tmp/multipartBody3398640102699356378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102366219,"filename":"image_17012025_09_24_10_6394.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3294828b609c31f4829985b990764497.jpg","text":"TemporaryFile(/tmp/multipartBody3305513742470061065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102366219,"filename":"image_17012025_09_24_04_4980.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329439217","file1":"1329439215","file0":"1329439212","file4":"1329439222","file5":"1329439224","file3":"1329439219"},"map_files_photo_id_array":[{"photo_id":"1329439224","filename":"file5"},{"photo_id":"1329439217","filename":"file2"},{"photo_id":"1329439222","filename":"file4"},{"photo_id":"1329439215","filename":"file1"},{"photo_id":"1329439212","filename":"file0"},{"photo_id":"1329439219","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329439222":["hashtag1","hashtag2"]},{"1329439219":["hashtag1","hashtag2"]},{"1329439224":["hashtag1","hashtag2"]},{"1329439212":["hashtag1","hashtag2"]},{"1329439215":["hashtag1","hashtag2"]},{"1329439217":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329439222, 1329439219, 1329439224, 1329439212, 1329439215, 1329439217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.36231827735901 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:25:41.884249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/25/image_17012025_09_25_53_6350.jpg', '/media/data/images/17012025/09/25/image_17012025_09_25_46_6358.jpg', '/media/data/images/17012025/09/25/image_17012025_09_25_40_6378.jpg', '/media/data/images/17012025/09/25/image_17012025_09_25_34_5190.jpg', '/media/data/images/17012025/09/25/image_17012025_09_25_29_6397.jpg', '/media/data/images/17012025/09/25/image_17012025_09_25_22_6359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/25/image_17012025_09_25_53_6350.jpg
/media/data/images/17012025/09/25/image_17012025_09_25_46_6358.jpg
/media/data/images/17012025/09/25/image_17012025_09_25_40_6378.jpg
/media/data/images/17012025/09/25/image_17012025_09_25_34_5190.jpg
/media/data/images/17012025/09/25/image_17012025_09_25_29_6397.jpg
/media/data/images/17012025/09/25/image_17012025_09_25_22_6359.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329439257","1329439265","1329439253","1329439247","1329439241","1329439261"],"photo_ids_order":["1329439241","1329439247","1329439253","1329439257","1329439261","1329439265"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/acaff53c89290739c5a7e8f55a86f11b.jpg","text":"TemporaryFile(/tmp/multipartBody3458736193089439362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102405436,"filename":"image_17012025_09_25_34_5190.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/db01ae87e213a2890a83f0159e544b43.jpg","text":"TemporaryFile(/tmp/multipartBody3653963627519936116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102405436,"filename":"image_17012025_09_25_22_6359.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3c6b739b2cda590c2888431acdf9ee30.jpg","text":"TemporaryFile(/tmp/multipartBody5209212121412338754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102405436,"filename":"image_17012025_09_25_40_6378.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e0bedddfcbfbba187b741d725fea0cd9.jpg","text":"TemporaryFile(/tmp/multipartBody1137489936139561034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102405436,"filename":"image_17012025_09_25_46_6358.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f20dd7eb84981232b85cb6fda66d3efb.jpg","text":"TemporaryFile(/tmp/multipartBody4124755154276946064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102405436,"filename":"image_17012025_09_25_53_6350.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b1fdc3f7b335cbeb3cb60c579bfcdc91.jpg","text":"TemporaryFile(/tmp/multipartBody4045366306109476897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102405436,"filename":"image_17012025_09_25_29_6397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329439253","file1":"1329439247","file0":"1329439241","file4":"1329439261","file5":"1329439265","file3":"1329439257"},"map_files_photo_id_array":[{"photo_id":"1329439265","filename":"file5"},{"photo_id":"1329439253","filename":"file2"},{"photo_id":"1329439261","filename":"file4"},{"photo_id":"1329439247","filename":"file1"},{"photo_id":"1329439241","filename":"file0"},{"photo_id":"1329439257","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329439257":["hashtag1","hashtag2"]},{"1329439265":["hashtag1","hashtag2"]},{"1329439253":["hashtag1","hashtag2"]},{"1329439247":["hashtag1","hashtag2"]},{"1329439241":["hashtag1","hashtag2"]},{"1329439261":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329439257, 1329439265, 1329439253, 1329439247, 1329439241, 1329439261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.666998624801636 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:26:21.986481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/26/image_17012025_09_26_52_6478.jpg', '/media/data/images/17012025/09/26/image_17012025_09_26_46_5265.jpg', '/media/data/images/17012025/09/26/image_17012025_09_26_40_6489.jpg', '/media/data/images/17012025/09/26/image_17012025_09_26_34_5227.jpg', '/media/data/images/17012025/09/26/image_17012025_09_26_29_6438.jpg', '/media/data/images/17012025/09/26/image_17012025_09_26_22_6216.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/26/image_17012025_09_26_52_6478.jpg
/media/data/images/17012025/09/26/image_17012025_09_26_46_5265.jpg
/media/data/images/17012025/09/26/image_17012025_09_26_40_6489.jpg
/media/data/images/17012025/09/26/image_17012025_09_26_34_5227.jpg
/media/data/images/17012025/09/26/image_17012025_09_26_29_6438.jpg
/media/data/images/17012025/09/26/image_17012025_09_26_22_6216.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329439285","1329439290","1329439281","1329439295","1329439274","1329439276"],"photo_ids_order":["1329439274","1329439276","1329439281","1329439285","1329439290","1329439295"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/404b8c4562ec1fa794d04e46d610ca59.jpg","text":"TemporaryFile(/tmp/multipartBody8277327732184662988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102447508,"filename":"image_17012025_09_26_34_5227.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/43fe9689a0d1f3420fc6bdd235135e85.jpg","text":"TemporaryFile(/tmp/multipartBody2724802166746802076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102447508,"filename":"image_17012025_09_26_29_6438.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e3f6e9815fbc7af192e56fa8fe01c974.jpg","text":"TemporaryFile(/tmp/multipartBody4438859813900499372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102447508,"filename":"image_17012025_09_26_40_6489.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a5d10b85e71d590586e640635f037121.jpg","text":"TemporaryFile(/tmp/multipartBody5495023864115329185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102447508,"filename":"image_17012025_09_26_22_6216.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f99157a83205c556b294a6e91c50d7db.jpg","text":"TemporaryFile(/tmp/multipartBody2039668566338226086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102447508,"filename":"image_17012025_09_26_52_6478.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/30be8c2d5ee0d7e39c6c7fcf264a4566.jpg","text":"TemporaryFile(/tmp/multipartBody8987579311819418060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102447508,"filename":"image_17012025_09_26_46_5265.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329439281","file1":"1329439276","file0":"1329439274","file4":"1329439290","file5":"1329439295","file3":"1329439285"},"map_files_photo_id_array":[{"photo_id":"1329439295","filename":"file5"},{"photo_id":"1329439281","filename":"file2"},{"photo_id":"1329439290","filename":"file4"},{"photo_id":"1329439276","filename":"file1"},{"photo_id":"1329439274","filename":"file0"},{"photo_id":"1329439285","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329439285":["hashtag1","hashtag2"]},{"1329439290":["hashtag1","hashtag2"]},{"1329439281":["hashtag1","hashtag2"]},{"1329439295":["hashtag1","hashtag2"]},{"1329439274":["hashtag1","hashtag2"]},{"1329439276":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329439285, 1329439290, 1329439281, 1329439295, 1329439274, 1329439276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.72173476219177 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:27:02.560503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/26/image_17012025_09_26_16_6419.jpg', '/media/data/images/17012025/09/26/image_17012025_09_26_10_5211.jpg', '/media/data/images/17012025/09/25/image_17012025_09_26_04_6525.jpg', '/media/data/images/17012025/09/25/image_17012025_09_25_58_5165.jpg', '/media/data/images/17012025/09/25/image_17012025_09_25_16_5162.jpg', '/media/data/images/17012025/09/25/image_17012025_09_25_11_6405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/26/image_17012025_09_26_16_6419.jpg
/media/data/images/17012025/09/26/image_17012025_09_26_10_5211.jpg
/media/data/images/17012025/09/25/image_17012025_09_26_04_6525.jpg
/media/data/images/17012025/09/25/image_17012025_09_25_58_5165.jpg
/media/data/images/17012025/09/25/image_17012025_09_25_16_5162.jpg
/media/data/images/17012025/09/25/image_17012025_09_25_11_6405.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329439333","1329439315","1329439309","1329439323","1329439328","1329439319"],"photo_ids_order":["1329439309","1329439315","1329439319","1329439323","1329439328","1329439333"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bdddcb7c5b334de6c1eff8077dfcc8c2.jpg","text":"TemporaryFile(/tmp/multipartBody9130277497014341083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102486080,"filename":"image_17012025_09_25_11_6405.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8f90094d6f4143fd6674f9353560427d.jpg","text":"TemporaryFile(/tmp/multipartBody3607290391212831399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102486080,"filename":"image_17012025_09_26_10_5211.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/24c76367b397b132ee1d58fae2b11915.jpg","text":"TemporaryFile(/tmp/multipartBody2907307708380780996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102486080,"filename":"image_17012025_09_26_16_6419.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a3d57ae8bd34ee6933d73fe7cbc5fa32.jpg","text":"TemporaryFile(/tmp/multipartBody3963494866768570993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102486080,"filename":"image_17012025_09_25_58_5165.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9e2ecf5c41a08211c29d64de8dea9841.jpg","text":"TemporaryFile(/tmp/multipartBody2389092163752252403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102486080,"filename":"image_17012025_09_25_16_5162.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c823c041e149e4410ebb354f49f1a599.jpg","text":"TemporaryFile(/tmp/multipartBody7029811509528901981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102486080,"filename":"image_17012025_09_26_04_6525.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329439319","file1":"1329439315","file0":"1329439309","file4":"1329439328","file5":"1329439333","file3":"1329439323"},"map_files_photo_id_array":[{"photo_id":"1329439333","filename":"file5"},{"photo_id":"1329439319","filename":"file2"},{"photo_id":"1329439328","filename":"file4"},{"photo_id":"1329439315","filename":"file1"},{"photo_id":"1329439309","filename":"file0"},{"photo_id":"1329439323","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329439333":["hashtag1","hashtag2"]},{"1329439315":["hashtag1","hashtag2"]},{"1329439309":["hashtag1","hashtag2"]},{"1329439323":["hashtag1","hashtag2"]},{"1329439328":["hashtag1","hashtag2"]},{"1329439319":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329439333, 1329439315, 1329439309, 1329439323, 1329439328, 1329439319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.176793813705444 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:27:42.074408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/27/image_17012025_09_27_52_6528.jpg', '/media/data/images/17012025/09/27/image_17012025_09_27_46_5349.jpg', '/media/data/images/17012025/09/27/image_17012025_09_27_40_6579.jpg', '/media/data/images/17012025/09/27/image_17012025_09_27_34_5288.jpg', '/media/data/images/17012025/09/27/image_17012025_09_27_29_6520.jpg', '/media/data/images/17012025/09/27/image_17012025_09_27_22_5281.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/27/image_17012025_09_27_52_6528.jpg
/media/data/images/17012025/09/27/image_17012025_09_27_46_5349.jpg
/media/data/images/17012025/09/27/image_17012025_09_27_40_6579.jpg
/media/data/images/17012025/09/27/image_17012025_09_27_34_5288.jpg
/media/data/images/17012025/09/27/image_17012025_09_27_29_6520.jpg
/media/data/images/17012025/09/27/image_17012025_09_27_22_5281.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329439354","1329439365","1329439359","1329439350","1329439347","1329439370"],"photo_ids_order":["1329439347","1329439350","1329439354","1329439359","1329439365","1329439370"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ea981426d87841127aeab1b0dc53d599.jpg","text":"TemporaryFile(/tmp/multipartBody517752250677215625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102529580,"filename":"image_17012025_09_27_40_6579.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d28b10bc8bce4debc918f4880f7520b6.jpg","text":"TemporaryFile(/tmp/multipartBody751014428941570814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102529580,"filename":"image_17012025_09_27_29_6520.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e76eb2b81a4f299019367dfed438a109.jpg","text":"TemporaryFile(/tmp/multipartBody4437679337953648245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102529580,"filename":"image_17012025_09_27_34_5288.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d9a7e33794c7568615318708593dd3a0.jpg","text":"TemporaryFile(/tmp/multipartBody4937545717365847493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102529580,"filename":"image_17012025_09_27_46_5349.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bd83e576797654b70d3d0e47c2054b01.jpg","text":"TemporaryFile(/tmp/multipartBody2186047022211372732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102529580,"filename":"image_17012025_09_27_52_6528.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/67b08ba5bb4aa7d3fe1a15583852d892.jpg","text":"TemporaryFile(/tmp/multipartBody3282785861499961284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102529580,"filename":"image_17012025_09_27_22_5281.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329439354","file1":"1329439350","file0":"1329439347","file4":"1329439365","file5":"1329439370","file3":"1329439359"},"map_files_photo_id_array":[{"photo_id":"1329439370","filename":"file5"},{"photo_id":"1329439354","filename":"file2"},{"photo_id":"1329439365","filename":"file4"},{"photo_id":"1329439350","filename":"file1"},{"photo_id":"1329439347","filename":"file0"},{"photo_id":"1329439359","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329439354":["hashtag1","hashtag2"]},{"1329439365":["hashtag1","hashtag2"]},{"1329439359":["hashtag1","hashtag2"]},{"1329439350":["hashtag1","hashtag2"]},{"1329439347":["hashtag1","hashtag2"]},{"1329439370":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329439354, 1329439365, 1329439359, 1329439350, 1329439347, 1329439370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.44928216934204 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:28:42.156012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/28/image_17012025_09_28_52_5270.jpg', '/media/data/images/17012025/09/28/image_17012025_09_28_46_6512.jpg', '/media/data/images/17012025/09/28/image_17012025_09_28_40_5348.jpg', '/media/data/images/17012025/09/28/image_17012025_09_28_35_6605.jpg', '/media/data/images/17012025/09/28/image_17012025_09_28_28_5350.jpg', '/media/data/images/17012025/09/28/image_17012025_09_28_23_6552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/28/image_17012025_09_28_52_5270.jpg
/media/data/images/17012025/09/28/image_17012025_09_28_46_6512.jpg
/media/data/images/17012025/09/28/image_17012025_09_28_40_5348.jpg
/media/data/images/17012025/09/28/image_17012025_09_28_35_6605.jpg
/media/data/images/17012025/09/28/image_17012025_09_28_28_5350.jpg
/media/data/images/17012025/09/28/image_17012025_09_28_23_6552.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329439405","1329439420","1329439425","1329439410","1329439401","1329439415"],"photo_ids_order":["1329439401","1329439405","1329439410","1329439415","1329439420","1329439425"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8795dc7fdafebb2e60f15dee45f29561.jpg","text":"TemporaryFile(/tmp/multipartBody6147263761738236093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102591446,"filename":"image_17012025_09_28_46_6512.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/30c8e499f5ebf838f9ada2cc0c1c0429.jpg","text":"TemporaryFile(/tmp/multipartBody6307482670630343317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102591446,"filename":"image_17012025_09_28_28_5350.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a6d07ce42a3a7a21a4fbfa0cbf2109f3.jpg","text":"TemporaryFile(/tmp/multipartBody8543374450081218888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102591446,"filename":"image_17012025_09_28_23_6552.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f1d8bf9dde518aece4cd661314ed82ce.jpg","text":"TemporaryFile(/tmp/multipartBody4141395700220002422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102591446,"filename":"image_17012025_09_28_40_5348.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/187eaf4f128904dde319bce8426dbaf1.jpg","text":"TemporaryFile(/tmp/multipartBody5555509983311369688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102591446,"filename":"image_17012025_09_28_52_5270.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/df4e7d1c53da96eabf91fbfa666a7b00.jpg","text":"TemporaryFile(/tmp/multipartBody5279763142670378354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102591446,"filename":"image_17012025_09_28_35_6605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329439410","file1":"1329439405","file0":"1329439401","file4":"1329439420","file5":"1329439425","file3":"1329439415"},"map_files_photo_id_array":[{"photo_id":"1329439425","filename":"file5"},{"photo_id":"1329439410","filename":"file2"},{"photo_id":"1329439420","filename":"file4"},{"photo_id":"1329439405","filename":"file1"},{"photo_id":"1329439401","filename":"file0"},{"photo_id":"1329439415","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329439405":["hashtag1","hashtag2"]},{"1329439420":["hashtag1","hashtag2"]},{"1329439425":["hashtag1","hashtag2"]},{"1329439410":["hashtag1","hashtag2"]},{"1329439401":["hashtag1","hashtag2"]},{"1329439415":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329439405, 1329439420, 1329439425, 1329439410, 1329439401, 1329439415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.333627700805664 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:29:42.246914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/29/image_17012025_09_29_40_5267.jpg', '/media/data/images/17012025/09/29/image_17012025_09_29_35_6527.jpg', '/media/data/images/17012025/09/29/image_17012025_09_29_28_6538.jpg', '/media/data/images/17012025/09/29/image_17012025_09_29_22_5326.jpg', '/media/data/images/17012025/09/29/image_17012025_09_29_16_6563.jpg', '/media/data/images/17012025/09/29/image_17012025_09_29_10_5348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/29/image_17012025_09_29_40_5267.jpg
/media/data/images/17012025/09/29/image_17012025_09_29_35_6527.jpg
/media/data/images/17012025/09/29/image_17012025_09_29_28_6538.jpg
/media/data/images/17012025/09/29/image_17012025_09_29_22_5326.jpg
/media/data/images/17012025/09/29/image_17012025_09_29_16_6563.jpg
/media/data/images/17012025/09/29/image_17012025_09_29_10_5348.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329439471","1329439485","1329439461","1329439475","1329439466","1329439480"],"photo_ids_order":["1329439461","1329439466","1329439471","1329439475","1329439480","1329439485"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/331172cde8d9f279c98e51656d4472d1.jpg","text":"TemporaryFile(/tmp/multipartBody7595285975004283982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102648544,"filename":"image_17012025_09_29_28_6538.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e7d3f582c1343881db86e3db2cfc4262.jpg","text":"TemporaryFile(/tmp/multipartBody3026056222994545931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102648544,"filename":"image_17012025_09_29_10_5348.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/28b32f7f1ebbb2d6161fe90e8199ee5c.jpg","text":"TemporaryFile(/tmp/multipartBody2760433398047961838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102648544,"filename":"image_17012025_09_29_40_5267.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/764409ae6686d398fd1a6b8298e284b9.jpg","text":"TemporaryFile(/tmp/multipartBody8176028232199887886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102648544,"filename":"image_17012025_09_29_22_5326.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6928725cd711b711639d652b05ef2b86.jpg","text":"TemporaryFile(/tmp/multipartBody424977550420817614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102648544,"filename":"image_17012025_09_29_35_6527.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/22b39533e3d0926fe55d1e9fac45ed4b.jpg","text":"TemporaryFile(/tmp/multipartBody147021298803692220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102648544,"filename":"image_17012025_09_29_16_6563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329439471","file1":"1329439466","file0":"1329439461","file4":"1329439480","file5":"1329439485","file3":"1329439475"},"map_files_photo_id_array":[{"photo_id":"1329439485","filename":"file5"},{"photo_id":"1329439471","filename":"file2"},{"photo_id":"1329439480","filename":"file4"},{"photo_id":"1329439466","filename":"file1"},{"photo_id":"1329439461","filename":"file0"},{"photo_id":"1329439475","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329439471":["hashtag1","hashtag2"]},{"1329439485":["hashtag1","hashtag2"]},{"1329439461":["hashtag1","hashtag2"]},{"1329439475":["hashtag1","hashtag2"]},{"1329439466":["hashtag1","hashtag2"]},{"1329439480":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329439471, 1329439485, 1329439461, 1329439475, 1329439466, 1329439480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.229743242263794 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:30:22.333325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/30/image_17012025_09_30_53_6680.jpg', '/media/data/images/17012025/09/30/image_17012025_09_30_46_5379.jpg', '/media/data/images/17012025/09/30/image_17012025_09_30_41_6590.jpg', '/media/data/images/17012025/09/30/image_17012025_09_30_34_5382.jpg', '/media/data/images/17012025/09/30/image_17012025_09_30_22_5358.jpg', '/media/data/images/17012025/09/30/image_17012025_09_30_17_6537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/30/image_17012025_09_30_53_6680.jpg
/media/data/images/17012025/09/30/image_17012025_09_30_46_5379.jpg
/media/data/images/17012025/09/30/image_17012025_09_30_41_6590.jpg
/media/data/images/17012025/09/30/image_17012025_09_30_34_5382.jpg
/media/data/images/17012025/09/30/image_17012025_09_30_22_5358.jpg
/media/data/images/17012025/09/30/image_17012025_09_30_17_6537.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329439525","1329439536","1329439530","1329439538","1329439520","1329439517"],"photo_ids_order":["1329439517","1329439520","1329439525","1329439530","1329439536","1329439538"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8d46b707d4e17fbf03b1fc954fd41aaf.jpg","text":"TemporaryFile(/tmp/multipartBody2792728932583245429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102710961,"filename":"image_17012025_09_30_41_6590.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a4719673c84cff2c5ed07dc757789c24.jpg","text":"TemporaryFile(/tmp/multipartBody2937610355518746828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102710961,"filename":"image_17012025_09_30_22_5358.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3fda234f3ec3df92a8af1eeb92a0c99c.jpg","text":"TemporaryFile(/tmp/multipartBody2475978345052840699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102710961,"filename":"image_17012025_09_30_34_5382.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ae0269e98484d27d6196cc2f8fa9fe55.jpg","text":"TemporaryFile(/tmp/multipartBody8130802255178968243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102710961,"filename":"image_17012025_09_30_17_6537.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f7a3b152d30254a44205b2606d176ccc.jpg","text":"TemporaryFile(/tmp/multipartBody7374094440776969629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102710961,"filename":"image_17012025_09_30_46_5379.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7cc34ee8619926365c449296010d8445.jpg","text":"TemporaryFile(/tmp/multipartBody6653973344389865595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102710961,"filename":"image_17012025_09_30_53_6680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329439525","file1":"1329439520","file0":"1329439517","file4":"1329439536","file5":"1329439538","file3":"1329439530"},"map_files_photo_id_array":[{"photo_id":"1329439538","filename":"file5"},{"photo_id":"1329439525","filename":"file2"},{"photo_id":"1329439536","filename":"file4"},{"photo_id":"1329439520","filename":"file1"},{"photo_id":"1329439517","filename":"file0"},{"photo_id":"1329439530","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329439525":["hashtag1","hashtag2"]},{"1329439536":["hashtag1","hashtag2"]},{"1329439530":["hashtag1","hashtag2"]},{"1329439538":["hashtag1","hashtag2"]},{"1329439520":["hashtag1","hashtag2"]},{"1329439517":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329439525, 1329439536, 1329439530, 1329439538, 1329439520, 1329439517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.982914209365845 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:31:42.418739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/31/image_17012025_09_31_52_5353.jpg', '/media/data/images/17012025/09/31/image_17012025_09_31_47_6541.jpg', '/media/data/images/17012025/09/31/image_17012025_09_31_40_6584.jpg', '/media/data/images/17012025/09/31/image_17012025_09_31_34_5333.jpg', '/media/data/images/17012025/09/31/image_17012025_09_31_28_6542.jpg', '/media/data/images/17012025/09/31/image_17012025_09_31_22_5322.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/31/image_17012025_09_31_52_5353.jpg
/media/data/images/17012025/09/31/image_17012025_09_31_47_6541.jpg
/media/data/images/17012025/09/31/image_17012025_09_31_40_6584.jpg
/media/data/images/17012025/09/31/image_17012025_09_31_34_5333.jpg
/media/data/images/17012025/09/31/image_17012025_09_31_28_6542.jpg
/media/data/images/17012025/09/31/image_17012025_09_31_22_5322.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329439581","1329439599","1329439608","1329439589","1329439604","1329439594"],"photo_ids_order":["1329439581","1329439589","1329439594","1329439599","1329439604","1329439608"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/782fa0ccad3c5d889c1f655f12060abd.jpg","text":"TemporaryFile(/tmp/multipartBody3320395737846831538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102784444,"filename":"image_17012025_09_31_52_5353.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/97d1b7cf2dc284f415bfa7770c4f8474.jpg","text":"TemporaryFile(/tmp/multipartBody502511804486191157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102784444,"filename":"image_17012025_09_31_34_5333.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/36983e659e6c22af8cad024ed6e8eb0a.jpg","text":"TemporaryFile(/tmp/multipartBody6023959503277131605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102784444,"filename":"image_17012025_09_31_22_5322.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ac93e9bc2ae6397e1f8be4330b54e636.jpg","text":"TemporaryFile(/tmp/multipartBody7676430085216402055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102784444,"filename":"image_17012025_09_31_47_6541.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d004f466498eca614329d2ab2820210f.jpg","text":"TemporaryFile(/tmp/multipartBody723468504357202793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102784444,"filename":"image_17012025_09_31_28_6542.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c3a7db8d5140f43b270d7c649b716dd8.jpg","text":"TemporaryFile(/tmp/multipartBody4197933475999201659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102784444,"filename":"image_17012025_09_31_40_6584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329439594","file1":"1329439589","file0":"1329439581","file4":"1329439604","file5":"1329439608","file3":"1329439599"},"map_files_photo_id_array":[{"photo_id":"1329439608","filename":"file5"},{"photo_id":"1329439594","filename":"file2"},{"photo_id":"1329439604","filename":"file4"},{"photo_id":"1329439589","filename":"file1"},{"photo_id":"1329439581","filename":"file0"},{"photo_id":"1329439599","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329439581":["hashtag1","hashtag2"]},{"1329439599":["hashtag1","hashtag2"]},{"1329439608":["hashtag1","hashtag2"]},{"1329439589":["hashtag1","hashtag2"]},{"1329439604":["hashtag1","hashtag2"]},{"1329439594":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329439581, 1329439599, 1329439608, 1329439589, 1329439604, 1329439594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.007431507110596 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:32:42.518303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/32/image_17012025_09_32_53_6547.jpg', '/media/data/images/17012025/09/32/image_17012025_09_32_46_6611.jpg', '/media/data/images/17012025/09/32/image_17012025_09_32_34_6598.jpg', '/media/data/images/17012025/09/32/image_17012025_09_32_22_6607.jpg', '/media/data/images/17012025/09/32/image_17012025_09_32_16_5302.jpg', '/media/data/images/17012025/09/32/image_17012025_09_32_10_6541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/32/image_17012025_09_32_53_6547.jpg
/media/data/images/17012025/09/32/image_17012025_09_32_46_6611.jpg
/media/data/images/17012025/09/32/image_17012025_09_32_34_6598.jpg
/media/data/images/17012025/09/32/image_17012025_09_32_22_6607.jpg
/media/data/images/17012025/09/32/image_17012025_09_32_16_5302.jpg
/media/data/images/17012025/09/32/image_17012025_09_32_10_6541.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329439635","1329439655","1329439652","1329439646","1329439649","1329439640"],"photo_ids_order":["1329439635","1329439640","1329439646","1329439649","1329439652","1329439655"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7a5d6eda20b19be9091e895752cc6b35.jpg","text":"TemporaryFile(/tmp/multipartBody4388537621297433458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102839422,"filename":"image_17012025_09_32_53_6547.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/deeb333dd67a1def888b08afba0d7767.jpg","text":"TemporaryFile(/tmp/multipartBody2681276300864301252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102839422,"filename":"image_17012025_09_32_10_6541.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5474a2f586d840bad837cbeb0d9616e5.jpg","text":"TemporaryFile(/tmp/multipartBody3090556314979985235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102839422,"filename":"image_17012025_09_32_16_5302.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/498144d7cbe3a2ecfe9d7ae68ed4d83b.jpg","text":"TemporaryFile(/tmp/multipartBody2958973187944567428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102839422,"filename":"image_17012025_09_32_34_6598.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/28c9c1a56ca6d905fe90bbf4be8dc617.jpg","text":"TemporaryFile(/tmp/multipartBody1663350909186351006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102839422,"filename":"image_17012025_09_32_22_6607.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/86ddba46cfcf10e9535dba73dc95062d.jpg","text":"TemporaryFile(/tmp/multipartBody7926979070313911695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102839422,"filename":"image_17012025_09_32_46_6611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329439646","file1":"1329439640","file0":"1329439635","file4":"1329439652","file5":"1329439655","file3":"1329439649"},"map_files_photo_id_array":[{"photo_id":"1329439655","filename":"file5"},{"photo_id":"1329439646","filename":"file2"},{"photo_id":"1329439652","filename":"file4"},{"photo_id":"1329439640","filename":"file1"},{"photo_id":"1329439635","filename":"file0"},{"photo_id":"1329439649","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329439635":["hashtag1","hashtag2"]},{"1329439655":["hashtag1","hashtag2"]},{"1329439652":["hashtag1","hashtag2"]},{"1329439646":["hashtag1","hashtag2"]},{"1329439649":["hashtag1","hashtag2"]},{"1329439640":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329439635, 1329439655, 1329439652, 1329439646, 1329439649, 1329439640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.42254304885864 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:33:42.614942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/33/image_17012025_09_33_52_5230.jpg', '/media/data/images/17012025/09/33/image_17012025_09_33_47_6414.jpg', '/media/data/images/17012025/09/33/image_17012025_09_33_40_6508.jpg', '/media/data/images/17012025/09/33/image_17012025_09_33_34_5272.jpg', '/media/data/images/17012025/09/33/image_17012025_09_33_28_6563.jpg', '/media/data/images/17012025/09/33/image_17012025_09_33_22_5311.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/33/image_17012025_09_33_52_5230.jpg
/media/data/images/17012025/09/33/image_17012025_09_33_47_6414.jpg
/media/data/images/17012025/09/33/image_17012025_09_33_40_6508.jpg
/media/data/images/17012025/09/33/image_17012025_09_33_34_5272.jpg
/media/data/images/17012025/09/33/image_17012025_09_33_28_6563.jpg
/media/data/images/17012025/09/33/image_17012025_09_33_22_5311.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329439695","1329439683","1329439677","1329439688","1329439679","1329439703"],"photo_ids_order":["1329439677","1329439679","1329439683","1329439688","1329439695","1329439703"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/872f5044d99dcec9b6e1ed91fa04305b.jpg","text":"TemporaryFile(/tmp/multipartBody2304126855805987450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102891628,"filename":"image_17012025_09_33_28_6563.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/43835e7f2aaec208763f9c0a5d91f12a.jpg","text":"TemporaryFile(/tmp/multipartBody3527690443260203317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102891628,"filename":"image_17012025_09_33_40_6508.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/690ee7ab51e2f8b80451e5127495d8cd.jpg","text":"TemporaryFile(/tmp/multipartBody6715929842318711604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102891628,"filename":"image_17012025_09_33_52_5230.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7987d5c085debea3f6f1b723e5513012.jpg","text":"TemporaryFile(/tmp/multipartBody1386264994814864432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102891628,"filename":"image_17012025_09_33_34_5272.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/31950b4e909c44da0e774b873c25cbdb.jpg","text":"TemporaryFile(/tmp/multipartBody5710779830693843074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102891628,"filename":"image_17012025_09_33_47_6414.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/32792b34de03a3027556adc0073c28a6.jpg","text":"TemporaryFile(/tmp/multipartBody6745813419560428110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102891628,"filename":"image_17012025_09_33_22_5311.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329439683","file1":"1329439679","file0":"1329439677","file4":"1329439695","file5":"1329439703","file3":"1329439688"},"map_files_photo_id_array":[{"photo_id":"1329439703","filename":"file5"},{"photo_id":"1329439683","filename":"file2"},{"photo_id":"1329439695","filename":"file4"},{"photo_id":"1329439679","filename":"file1"},{"photo_id":"1329439677","filename":"file0"},{"photo_id":"1329439688","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329439695":["hashtag1","hashtag2"]},{"1329439683":["hashtag1","hashtag2"]},{"1329439677":["hashtag1","hashtag2"]},{"1329439688":["hashtag1","hashtag2"]},{"1329439679":["hashtag1","hashtag2"]},{"1329439703":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329439695, 1329439683, 1329439677, 1329439688, 1329439679, 1329439703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.159401655197144 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:34:42.718374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/34/image_17012025_09_34_53_6405.jpg', '/media/data/images/17012025/09/34/image_17012025_09_34_46_6451.jpg', '/media/data/images/17012025/09/34/image_17012025_09_34_40_5236.jpg', '/media/data/images/17012025/09/34/image_17012025_09_34_34_6430.jpg', '/media/data/images/17012025/09/34/image_17012025_09_34_28_5231.jpg', '/media/data/images/17012025/09/34/image_17012025_09_34_23_6394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/34/image_17012025_09_34_53_6405.jpg
/media/data/images/17012025/09/34/image_17012025_09_34_46_6451.jpg
/media/data/images/17012025/09/34/image_17012025_09_34_40_5236.jpg
/media/data/images/17012025/09/34/image_17012025_09_34_34_6430.jpg
/media/data/images/17012025/09/34/image_17012025_09_34_28_5231.jpg
/media/data/images/17012025/09/34/image_17012025_09_34_23_6394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329439744","1329439738","1329439732","1329439752","1329439728","1329439757"],"photo_ids_order":["1329439728","1329439732","1329439738","1329439744","1329439752","1329439757"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/222ed0f7c27fa2329664cea84f8ec6a8.jpg","text":"TemporaryFile(/tmp/multipartBody679349963480077760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102949664,"filename":"image_17012025_09_34_34_6430.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0d69a7b0de701ffea21ccefd174e4897.jpg","text":"TemporaryFile(/tmp/multipartBody7165747666249333885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102949664,"filename":"image_17012025_09_34_40_5236.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c060989faea9d16ddba3d709fc0edacc.jpg","text":"TemporaryFile(/tmp/multipartBody913144917903887538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102949664,"filename":"image_17012025_09_34_46_6451.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7c545573e3cd628c95aa32e89a54623f.jpg","text":"TemporaryFile(/tmp/multipartBody8328977774640859358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102949664,"filename":"image_17012025_09_34_28_5231.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/492478d7611c30b7a2d4ff29a87e7d3e.jpg","text":"TemporaryFile(/tmp/multipartBody5882863952287240811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102949664,"filename":"image_17012025_09_34_53_6405.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/46d683ca36f26b3f5afb44194f7b665a.jpg","text":"TemporaryFile(/tmp/multipartBody7251573980566830193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737102949664,"filename":"image_17012025_09_34_23_6394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329439738","file1":"1329439732","file0":"1329439728","file4":"1329439752","file5":"1329439757","file3":"1329439744"},"map_files_photo_id_array":[{"photo_id":"1329439757","filename":"file5"},{"photo_id":"1329439738","filename":"file2"},{"photo_id":"1329439752","filename":"file4"},{"photo_id":"1329439732","filename":"file1"},{"photo_id":"1329439728","filename":"file0"},{"photo_id":"1329439744","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329439744":["hashtag1","hashtag2"]},{"1329439738":["hashtag1","hashtag2"]},{"1329439732":["hashtag1","hashtag2"]},{"1329439752":["hashtag1","hashtag2"]},{"1329439728":["hashtag1","hashtag2"]},{"1329439757":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329439744, 1329439738, 1329439732, 1329439752, 1329439728, 1329439757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.10213899612427 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:35:41.829293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/35/image_17012025_09_35_53_6380.jpg', '/media/data/images/17012025/09/35/image_17012025_09_35_46_6369.jpg', '/media/data/images/17012025/09/35/image_17012025_09_35_40_6369.jpg', '/media/data/images/17012025/09/35/image_17012025_09_35_34_5207.jpg', '/media/data/images/17012025/09/35/image_17012025_09_35_28_6403.jpg', '/media/data/images/17012025/09/35/image_17012025_09_35_22_5252.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/35/image_17012025_09_35_53_6380.jpg
/media/data/images/17012025/09/35/image_17012025_09_35_46_6369.jpg
/media/data/images/17012025/09/35/image_17012025_09_35_40_6369.jpg
/media/data/images/17012025/09/35/image_17012025_09_35_34_5207.jpg
/media/data/images/17012025/09/35/image_17012025_09_35_28_6403.jpg
/media/data/images/17012025/09/35/image_17012025_09_35_22_5252.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329439813","1329439788","1329439807","1329439791","1329439800","1329439795"],"photo_ids_order":["1329439788","1329439791","1329439795","1329439800","1329439807","1329439813"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0b632e93c72a6b8106816704dfc63df8.jpg","text":"TemporaryFile(/tmp/multipartBody5092572746432336778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103007046,"filename":"image_17012025_09_35_22_5252.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2d07cff570e862f0a0634da04415200b.jpg","text":"TemporaryFile(/tmp/multipartBody3097274767062942658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103007046,"filename":"image_17012025_09_35_53_6380.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/104f4f4cc908afd50d65170770bfad32.jpg","text":"TemporaryFile(/tmp/multipartBody9202390681044355917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103007046,"filename":"image_17012025_09_35_28_6403.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c4e46cef1fa8ecca61bdbc1b09a442ad.jpg","text":"TemporaryFile(/tmp/multipartBody6336201044201785724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103007046,"filename":"image_17012025_09_35_46_6369.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ac166897227c485e43eaf90f3f2dcfa0.jpg","text":"TemporaryFile(/tmp/multipartBody372887264377601870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103007046,"filename":"image_17012025_09_35_34_5207.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/86fa2c7eea50a96578083ab799c9214b.jpg","text":"TemporaryFile(/tmp/multipartBody1462688355851773787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103007046,"filename":"image_17012025_09_35_40_6369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329439795","file1":"1329439791","file0":"1329439788","file4":"1329439807","file5":"1329439813","file3":"1329439800"},"map_files_photo_id_array":[{"photo_id":"1329439813","filename":"file5"},{"photo_id":"1329439795","filename":"file2"},{"photo_id":"1329439807","filename":"file4"},{"photo_id":"1329439791","filename":"file1"},{"photo_id":"1329439788","filename":"file0"},{"photo_id":"1329439800","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329439813":["hashtag1","hashtag2"]},{"1329439788":["hashtag1","hashtag2"]},{"1329439807":["hashtag1","hashtag2"]},{"1329439791":["hashtag1","hashtag2"]},{"1329439800":["hashtag1","hashtag2"]},{"1329439795":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329439813, 1329439788, 1329439807, 1329439791, 1329439800, 1329439795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.04301619529724 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:36:21.974291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/36/image_17012025_09_36_52_5151.jpg', '/media/data/images/17012025/09/36/image_17012025_09_36_47_6377.jpg', '/media/data/images/17012025/09/36/image_17012025_09_36_40_6436.jpg', '/media/data/images/17012025/09/36/image_17012025_09_36_34_5142.jpg', '/media/data/images/17012025/09/36/image_17012025_09_36_29_6353.jpg', '/media/data/images/17012025/09/36/image_17012025_09_36_22_6368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/36/image_17012025_09_36_52_5151.jpg
/media/data/images/17012025/09/36/image_17012025_09_36_47_6377.jpg
/media/data/images/17012025/09/36/image_17012025_09_36_40_6436.jpg
/media/data/images/17012025/09/36/image_17012025_09_36_34_5142.jpg
/media/data/images/17012025/09/36/image_17012025_09_36_29_6353.jpg
/media/data/images/17012025/09/36/image_17012025_09_36_22_6368.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329439849","1329439839","1329439835","1329439844","1329439832","1329439829"],"photo_ids_order":["1329439829","1329439832","1329439835","1329439839","1329439844","1329439849"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ed548d3797461fd877ba780fe1343aa0.jpg","text":"TemporaryFile(/tmp/multipartBody3333167543363070388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103045518,"filename":"image_17012025_09_36_22_6368.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4c9d497d33da506edcfbf2c13d506b63.jpg","text":"TemporaryFile(/tmp/multipartBody3916911913165235082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103045518,"filename":"image_17012025_09_36_34_5142.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b7e1434dbdcb7264c8927539c2c36be4.jpg","text":"TemporaryFile(/tmp/multipartBody999399739871415444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103045518,"filename":"image_17012025_09_36_40_6436.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0604f89913c7ef8e584f5783427dd4b4.jpg","text":"TemporaryFile(/tmp/multipartBody5910083803135871905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103045518,"filename":"image_17012025_09_36_29_6353.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7665712844164f8e5df830fba169a64d.jpg","text":"TemporaryFile(/tmp/multipartBody987419963131428152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103045518,"filename":"image_17012025_09_36_47_6377.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/32b636cdac1e27395acafb0f0b636ecd.jpg","text":"TemporaryFile(/tmp/multipartBody2211009166089257253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103045518,"filename":"image_17012025_09_36_52_5151.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329439835","file1":"1329439832","file0":"1329439829","file4":"1329439844","file5":"1329439849","file3":"1329439839"},"map_files_photo_id_array":[{"photo_id":"1329439849","filename":"file5"},{"photo_id":"1329439835","filename":"file2"},{"photo_id":"1329439844","filename":"file4"},{"photo_id":"1329439832","filename":"file1"},{"photo_id":"1329439829","filename":"file0"},{"photo_id":"1329439839","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329439849":["hashtag1","hashtag2"]},{"1329439839":["hashtag1","hashtag2"]},{"1329439835":["hashtag1","hashtag2"]},{"1329439844":["hashtag1","hashtag2"]},{"1329439832":["hashtag1","hashtag2"]},{"1329439829":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329439849, 1329439839, 1329439835, 1329439844, 1329439832, 1329439829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02746343612671 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:37:02.357906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/36/image_17012025_09_36_16_5197.jpg', '/media/data/images/17012025/09/36/image_17012025_09_36_11_6425.jpg', '/media/data/images/17012025/09/35/image_17012025_09_36_04_6403.jpg', '/media/data/images/17012025/09/35/image_17012025_09_35_58_5179.jpg', '/media/data/images/17012025/09/35/image_17012025_09_35_17_6444.jpg', '/media/data/images/17012025/09/35/image_17012025_09_35_10_6452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/36/image_17012025_09_36_16_5197.jpg
/media/data/images/17012025/09/36/image_17012025_09_36_11_6425.jpg
/media/data/images/17012025/09/35/image_17012025_09_36_04_6403.jpg
/media/data/images/17012025/09/35/image_17012025_09_35_58_5179.jpg
/media/data/images/17012025/09/35/image_17012025_09_35_17_6444.jpg
/media/data/images/17012025/09/35/image_17012025_09_35_10_6452.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329439873","1329439866","1329439889","1329439880","1329439877","1329439885"],"photo_ids_order":["1329439866","1329439873","1329439877","1329439880","1329439885","1329439889"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a58e3f53aace4ba5420e2f453390015b.jpg","text":"TemporaryFile(/tmp/multipartBody1593070745668104907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103086835,"filename":"image_17012025_09_36_11_6425.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a1af9c58b9cf3b773e01aeb6ea5d34ff.jpg","text":"TemporaryFile(/tmp/multipartBody871636756944856621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103086835,"filename":"image_17012025_09_36_16_5197.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6c3cceae9b12aa68ccabba630b17a519.jpg","text":"TemporaryFile(/tmp/multipartBody3424047206898398817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103086835,"filename":"image_17012025_09_35_10_6452.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1a50f4f175b29c2e0d49f120164a032e.jpg","text":"TemporaryFile(/tmp/multipartBody3193160741263856146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103086835,"filename":"image_17012025_09_35_58_5179.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e66b588442cab9641cb4d60eb9c6d03b.jpg","text":"TemporaryFile(/tmp/multipartBody1425808110050047098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103086835,"filename":"image_17012025_09_36_04_6403.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2454ea5fd5ec746308e3dfb613ca11a3.jpg","text":"TemporaryFile(/tmp/multipartBody1210912091595117826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103086835,"filename":"image_17012025_09_35_17_6444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329439877","file1":"1329439873","file0":"1329439866","file4":"1329439885","file5":"1329439889","file3":"1329439880"},"map_files_photo_id_array":[{"photo_id":"1329439889","filename":"file5"},{"photo_id":"1329439877","filename":"file2"},{"photo_id":"1329439885","filename":"file4"},{"photo_id":"1329439873","filename":"file1"},{"photo_id":"1329439866","filename":"file0"},{"photo_id":"1329439880","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329439873":["hashtag1","hashtag2"]},{"1329439866":["hashtag1","hashtag2"]},{"1329439889":["hashtag1","hashtag2"]},{"1329439880":["hashtag1","hashtag2"]},{"1329439877":["hashtag1","hashtag2"]},{"1329439885":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329439873, 1329439866, 1329439889, 1329439880, 1329439877, 1329439885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.350831747055054 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:37:42.081717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/37/image_17012025_09_37_52_5157.jpg', '/media/data/images/17012025/09/37/image_17012025_09_37_47_6355.jpg', '/media/data/images/17012025/09/37/image_17012025_09_37_40_6374.jpg', '/media/data/images/17012025/09/37/image_17012025_09_37_34_5160.jpg', '/media/data/images/17012025/09/37/image_17012025_09_37_29_6382.jpg', '/media/data/images/17012025/09/37/image_17012025_09_37_22_6386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/37/image_17012025_09_37_52_5157.jpg
/media/data/images/17012025/09/37/image_17012025_09_37_47_6355.jpg
/media/data/images/17012025/09/37/image_17012025_09_37_40_6374.jpg
/media/data/images/17012025/09/37/image_17012025_09_37_34_5160.jpg
/media/data/images/17012025/09/37/image_17012025_09_37_29_6382.jpg
/media/data/images/17012025/09/37/image_17012025_09_37_22_6386.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329439930","1329439918","1329439906","1329439923","1329439914","1329439910"],"photo_ids_order":["1329439906","1329439910","1329439914","1329439918","1329439923","1329439930"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c8d4489d85aa031b809cc95a6f4a341a.jpg","text":"TemporaryFile(/tmp/multipartBody5916404676183569957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103126998,"filename":"image_17012025_09_37_22_6386.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/656e1f376cbfa7f253ee5b5e810125a5.jpg","text":"TemporaryFile(/tmp/multipartBody6019410850129114115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103126998,"filename":"image_17012025_09_37_34_5160.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2550075ec9d0347dd1bd845937d2c648.jpg","text":"TemporaryFile(/tmp/multipartBody5151442970654820707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103126998,"filename":"image_17012025_09_37_52_5157.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1a37ca1fe486c29a1429eaf5c8526801.jpg","text":"TemporaryFile(/tmp/multipartBody5500713120059002591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103126998,"filename":"image_17012025_09_37_29_6382.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1eb518d8da01beb0b8aa648c975848d7.jpg","text":"TemporaryFile(/tmp/multipartBody7096748493441853202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103126998,"filename":"image_17012025_09_37_40_6374.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8e8b7ef3c561ca8971221d33b4b1e10e.jpg","text":"TemporaryFile(/tmp/multipartBody6581280348521334467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103126998,"filename":"image_17012025_09_37_47_6355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329439914","file1":"1329439910","file0":"1329439906","file4":"1329439923","file5":"1329439930","file3":"1329439918"},"map_files_photo_id_array":[{"photo_id":"1329439930","filename":"file5"},{"photo_id":"1329439914","filename":"file2"},{"photo_id":"1329439923","filename":"file4"},{"photo_id":"1329439910","filename":"file1"},{"photo_id":"1329439906","filename":"file0"},{"photo_id":"1329439918","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329439930":["hashtag1","hashtag2"]},{"1329439918":["hashtag1","hashtag2"]},{"1329439906":["hashtag1","hashtag2"]},{"1329439923":["hashtag1","hashtag2"]},{"1329439914":["hashtag1","hashtag2"]},{"1329439910":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329439930, 1329439918, 1329439906, 1329439923, 1329439914, 1329439910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91021132469177 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:38:22.155005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/38/image_17012025_09_38_23_6440.jpg', '/media/data/images/17012025/09/38/image_17012025_09_38_16_6353.jpg', '/media/data/images/17012025/09/38/image_17012025_09_38_10_5188.jpg', '/media/data/images/17012025/09/37/image_17012025_09_38_05_6484.jpg', '/media/data/images/17012025/09/37/image_17012025_09_37_58_6386.jpg', '/media/data/images/17012025/09/37/image_17012025_09_37_16_5121.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/38/image_17012025_09_38_23_6440.jpg
/media/data/images/17012025/09/38/image_17012025_09_38_16_6353.jpg
/media/data/images/17012025/09/38/image_17012025_09_38_10_5188.jpg
/media/data/images/17012025/09/37/image_17012025_09_38_05_6484.jpg
/media/data/images/17012025/09/37/image_17012025_09_37_58_6386.jpg
/media/data/images/17012025/09/37/image_17012025_09_37_16_5121.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329439951","1329439971","1329439959","1329439946","1329439955","1329439949"],"photo_ids_order":["1329439946","1329439949","1329439951","1329439955","1329439959","1329439971"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/69db8d992cd489325e51f9bbc1cdf3f6.jpg","text":"TemporaryFile(/tmp/multipartBody20299027618106564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103166021,"filename":"image_17012025_09_38_10_5188.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0d55d5beaec71110bac078309c943515.jpg","text":"TemporaryFile(/tmp/multipartBody7809625635079639250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103166021,"filename":"image_17012025_09_37_16_5121.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2409c6d39046580ba46c597a5c3a762c.jpg","text":"TemporaryFile(/tmp/multipartBody6464359905815396881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103166021,"filename":"image_17012025_09_37_58_6386.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d17c66b5a0e98a58d3057b7bd16fa04b.jpg","text":"TemporaryFile(/tmp/multipartBody7442779650822668394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103166021,"filename":"image_17012025_09_38_23_6440.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/567fc601d2fd0abb23335348088823f0.jpg","text":"TemporaryFile(/tmp/multipartBody8208215844978411157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103166021,"filename":"image_17012025_09_38_05_6484.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3fabe80ebdee468cf79de48acb3c2f82.jpg","text":"TemporaryFile(/tmp/multipartBody2842262670269191546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103166021,"filename":"image_17012025_09_38_16_6353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329439951","file1":"1329439949","file0":"1329439946","file4":"1329439959","file5":"1329439971","file3":"1329439955"},"map_files_photo_id_array":[{"photo_id":"1329439971","filename":"file5"},{"photo_id":"1329439951","filename":"file2"},{"photo_id":"1329439959","filename":"file4"},{"photo_id":"1329439949","filename":"file1"},{"photo_id":"1329439946","filename":"file0"},{"photo_id":"1329439955","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329439951":["hashtag1","hashtag2"]},{"1329439971":["hashtag1","hashtag2"]},{"1329439959":["hashtag1","hashtag2"]},{"1329439946":["hashtag1","hashtag2"]},{"1329439955":["hashtag1","hashtag2"]},{"1329439949":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329439951, 1329439971, 1329439959, 1329439946, 1329439955, 1329439949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.59649896621704 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:39:22.262899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/38/image_17012025_09_38_46_5275.jpg', '/media/data/images/17012025/09/37/image_17012025_09_37_11_6401.jpg', '/media/data/images/17012025/09/37/image_17012025_09_37_04_6172.jpg', '/media/data/images/17012025/09/36/image_17012025_09_36_58_6357.jpg', '/media/data/images/17012025/09/34/image_17012025_09_35_04_6214.jpg', '/media/data/images/17012025/09/34/image_17012025_09_34_58_5171.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/38/image_17012025_09_38_46_5275.jpg
/media/data/images/17012025/09/37/image_17012025_09_37_11_6401.jpg
/media/data/images/17012025/09/37/image_17012025_09_37_04_6172.jpg
/media/data/images/17012025/09/36/image_17012025_09_36_58_6357.jpg
/media/data/images/17012025/09/34/image_17012025_09_35_04_6214.jpg
/media/data/images/17012025/09/34/image_17012025_09_34_58_5171.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329440005","1329440010","1329439994","1329440015","1329439999","1329439990"],"photo_ids_order":["1329439990","1329439994","1329439999","1329440005","1329440010","1329440015"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1a0ac833c80478115f903e59c4f3f646.jpg","text":"TemporaryFile(/tmp/multipartBody7054293338704328672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103226025,"filename":"image_17012025_09_36_58_6357.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/da72ad117f0e26195efce3f4ec609861.jpg","text":"TemporaryFile(/tmp/multipartBody2882383706550012439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103226025,"filename":"image_17012025_09_35_04_6214.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/97538c70c708c0c5acce5169ca403c7a.jpg","text":"TemporaryFile(/tmp/multipartBody2041918100225888501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103226025,"filename":"image_17012025_09_37_11_6401.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6fdace2ac2ba72f370606eceb403b309.jpg","text":"TemporaryFile(/tmp/multipartBody25222736725555712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103226025,"filename":"image_17012025_09_34_58_5171.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/10973149ca3aa24bc98d6d41ab75d27d.jpg","text":"TemporaryFile(/tmp/multipartBody6403345491642496254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103226025,"filename":"image_17012025_09_37_04_6172.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ad134cb2d3604de3d5b23f07f89d4109.jpg","text":"TemporaryFile(/tmp/multipartBody4734653257668470779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103226025,"filename":"image_17012025_09_38_46_5275.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329439999","file1":"1329439994","file0":"1329439990","file4":"1329440010","file5":"1329440015","file3":"1329440005"},"map_files_photo_id_array":[{"photo_id":"1329440015","filename":"file5"},{"photo_id":"1329439999","filename":"file2"},{"photo_id":"1329440010","filename":"file4"},{"photo_id":"1329439994","filename":"file1"},{"photo_id":"1329439990","filename":"file0"},{"photo_id":"1329440005","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329440005":["hashtag1","hashtag2"]},{"1329440010":["hashtag1","hashtag2"]},{"1329439994":["hashtag1","hashtag2"]},{"1329440015":["hashtag1","hashtag2"]},{"1329439999":["hashtag1","hashtag2"]},{"1329439990":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329440005, 1329440010, 1329439994, 1329440015, 1329439999, 1329439990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28308606147766 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:40:02.641737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/34/image_17012025_09_34_16_6493.jpg', '/media/data/images/17012025/09/34/image_17012025_09_34_10_5240.jpg', '/media/data/images/17012025/09/34/image_17012025_09_34_05_6212.jpg', '/media/data/images/17012025/09/33/image_17012025_09_33_58_6586.jpg', '/media/data/images/17012025/09/33/image_17012025_09_33_17_6552.jpg', '/media/data/images/17012025/09/33/image_17012025_09_33_10_5334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/34/image_17012025_09_34_16_6493.jpg
/media/data/images/17012025/09/34/image_17012025_09_34_10_5240.jpg
/media/data/images/17012025/09/34/image_17012025_09_34_05_6212.jpg
/media/data/images/17012025/09/33/image_17012025_09_33_58_6586.jpg
/media/data/images/17012025/09/33/image_17012025_09_33_17_6552.jpg
/media/data/images/17012025/09/33/image_17012025_09_33_10_5334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329440038","1329440052","1329440034","1329440028","1329440048","1329440042"],"photo_ids_order":["1329440028","1329440034","1329440038","1329440042","1329440048","1329440052"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/637f57638f9594bcbd2761cc81e697fd.jpg","text":"TemporaryFile(/tmp/multipartBody1934403377123991317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103269963,"filename":"image_17012025_09_34_05_6212.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9612dbbf93467f5db51b7ec9ed9c64a1.jpg","text":"TemporaryFile(/tmp/multipartBody8929872735253188634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103269963,"filename":"image_17012025_09_33_10_5334.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7e5a07a2a500b5d0b636c1920b902126.jpg","text":"TemporaryFile(/tmp/multipartBody6191849660177919911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103269963,"filename":"image_17012025_09_34_10_5240.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d92419039952a29dcf7218d22e5cc476.jpg","text":"TemporaryFile(/tmp/multipartBody724640145466303677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103269963,"filename":"image_17012025_09_34_16_6493.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7e61bf7eca4abeb8923070de0f76ed7e.jpg","text":"TemporaryFile(/tmp/multipartBody3992863261681605060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103269963,"filename":"image_17012025_09_33_17_6552.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/480dd3d1658866e0ec8220bf9775b127.jpg","text":"TemporaryFile(/tmp/multipartBody4933807248738512760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103269963,"filename":"image_17012025_09_33_58_6586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329440038","file1":"1329440034","file0":"1329440028","file4":"1329440048","file5":"1329440052","file3":"1329440042"},"map_files_photo_id_array":[{"photo_id":"1329440052","filename":"file5"},{"photo_id":"1329440038","filename":"file2"},{"photo_id":"1329440048","filename":"file4"},{"photo_id":"1329440034","filename":"file1"},{"photo_id":"1329440028","filename":"file0"},{"photo_id":"1329440042","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329440038":["hashtag1","hashtag2"]},{"1329440052":["hashtag1","hashtag2"]},{"1329440034":["hashtag1","hashtag2"]},{"1329440028":["hashtag1","hashtag2"]},{"1329440048":["hashtag1","hashtag2"]},{"1329440042":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329440038, 1329440052, 1329440034, 1329440028, 1329440048, 1329440042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.481714963912964 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:41:02.796308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/40/image_17012025_09_40_52_5275.jpg', '/media/data/images/17012025/09/40/image_17012025_09_40_23_6528.jpg', '/media/data/images/17012025/09/38/image_17012025_09_39_04_6514.jpg', '/media/data/images/17012025/09/32/image_17012025_09_33_05_6554.jpg', '/media/data/images/17012025/09/32/image_17012025_09_32_58_5279.jpg', '/media/data/images/17012025/09/32/image_17012025_09_32_04_5161.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/40/image_17012025_09_40_52_5275.jpg
/media/data/images/17012025/09/40/image_17012025_09_40_23_6528.jpg
/media/data/images/17012025/09/38/image_17012025_09_39_04_6514.jpg
/media/data/images/17012025/09/32/image_17012025_09_33_05_6554.jpg
/media/data/images/17012025/09/32/image_17012025_09_32_58_5279.jpg
/media/data/images/17012025/09/32/image_17012025_09_32_04_5161.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329440102","1329440089","1329440106","1329440099","1329440084","1329440093"],"photo_ids_order":["1329440084","1329440089","1329440093","1329440099","1329440102","1329440106"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c9f110f903b8548c57833d85090f8514.jpg","text":"TemporaryFile(/tmp/multipartBody7312650650822166022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103330395,"filename":"image_17012025_09_32_58_5279.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b924051f9c263955a18b27e8293ab70b.jpg","text":"TemporaryFile(/tmp/multipartBody6934724166356752274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103330395,"filename":"image_17012025_09_40_23_6528.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d7e09a14783bb1f7db0f10a509980cfa.jpg","text":"TemporaryFile(/tmp/multipartBody5253651550069879134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103330395,"filename":"image_17012025_09_32_04_5161.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/124f8fb5127949c5d7ab5f4eb19c9156.jpg","text":"TemporaryFile(/tmp/multipartBody5558228698525453956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103330395,"filename":"image_17012025_09_33_05_6554.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ddef7be13a534b5115ae0921f7d0e6c5.jpg","text":"TemporaryFile(/tmp/multipartBody6268233114711098366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103330395,"filename":"image_17012025_09_40_52_5275.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9132d16070c85eb20f199d6f39e5e1fa.jpg","text":"TemporaryFile(/tmp/multipartBody3489997787942262337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103330395,"filename":"image_17012025_09_39_04_6514.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329440093","file1":"1329440089","file0":"1329440084","file4":"1329440102","file5":"1329440106","file3":"1329440099"},"map_files_photo_id_array":[{"photo_id":"1329440106","filename":"file5"},{"photo_id":"1329440093","filename":"file2"},{"photo_id":"1329440102","filename":"file4"},{"photo_id":"1329440089","filename":"file1"},{"photo_id":"1329440084","filename":"file0"},{"photo_id":"1329440099","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329440102":["hashtag1","hashtag2"]},{"1329440089":["hashtag1","hashtag2"]},{"1329440106":["hashtag1","hashtag2"]},{"1329440099":["hashtag1","hashtag2"]},{"1329440084":["hashtag1","hashtag2"]},{"1329440093":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329440102, 1329440089, 1329440106, 1329440099, 1329440084, 1329440093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.62349057197571 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:42:02.655296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/40/image_17012025_09_40_58_6509.jpg', '/media/data/images/17012025/09/31/image_17012025_09_31_59_6601.jpg', '/media/data/images/17012025/09/31/image_17012025_09_31_16_6632.jpg', '/media/data/images/17012025/09/31/image_17012025_09_31_10_5355.jpg', '/media/data/images/17012025/09/30/image_17012025_09_31_04_6531.jpg', '/media/data/images/17012025/09/30/image_17012025_09_30_58_5312.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/40/image_17012025_09_40_58_6509.jpg
/media/data/images/17012025/09/31/image_17012025_09_31_59_6601.jpg
/media/data/images/17012025/09/31/image_17012025_09_31_16_6632.jpg
/media/data/images/17012025/09/31/image_17012025_09_31_10_5355.jpg
/media/data/images/17012025/09/30/image_17012025_09_31_04_6531.jpg
/media/data/images/17012025/09/30/image_17012025_09_30_58_5312.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329440152","1329440137","1329440154","1329440157","1329440142","1329440147"],"photo_ids_order":["1329440137","1329440142","1329440147","1329440152","1329440154","1329440157"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f8e7bbb5f2974968a8426373d941d232.jpg","text":"TemporaryFile(/tmp/multipartBody8933051782685802917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103389943,"filename":"image_17012025_09_31_10_5355.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/45bf0fbf0540684291cd929b56afe200.jpg","text":"TemporaryFile(/tmp/multipartBody6915003276446801430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103389943,"filename":"image_17012025_09_40_58_6509.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/80e43392b70bded73469cab2dd3485f9.jpg","text":"TemporaryFile(/tmp/multipartBody7340625807814981994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103389943,"filename":"image_17012025_09_31_04_6531.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/309dc29cde15d2b73d15cd56b4bb9e23.jpg","text":"TemporaryFile(/tmp/multipartBody2947902847828891283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103389943,"filename":"image_17012025_09_30_58_5312.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4de853604a3f742ed17840fef17f2b00.jpg","text":"TemporaryFile(/tmp/multipartBody1704535321942766195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103389943,"filename":"image_17012025_09_31_59_6601.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/74740e9c3749a084d2a4006579866297.jpg","text":"TemporaryFile(/tmp/multipartBody2573231883885188464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103389943,"filename":"image_17012025_09_31_16_6632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329440147","file1":"1329440142","file0":"1329440137","file4":"1329440154","file5":"1329440157","file3":"1329440152"},"map_files_photo_id_array":[{"photo_id":"1329440157","filename":"file5"},{"photo_id":"1329440147","filename":"file2"},{"photo_id":"1329440154","filename":"file4"},{"photo_id":"1329440142","filename":"file1"},{"photo_id":"1329440137","filename":"file0"},{"photo_id":"1329440152","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329440152":["hashtag1","hashtag2"]},{"1329440137":["hashtag1","hashtag2"]},{"1329440154":["hashtag1","hashtag2"]},{"1329440157":["hashtag1","hashtag2"]},{"1329440142":["hashtag1","hashtag2"]},{"1329440147":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329440152, 1329440137, 1329440154, 1329440157, 1329440142, 1329440147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.77056646347046 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:43:03.116891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/30/image_17012025_09_30_10_5292.jpg', '/media/data/images/17012025/09/29/image_17012025_09_29_58_6527.jpg', '/media/data/images/17012025/09/29/image_17012025_09_29_05_6312.jpg', '/media/data/images/17012025/09/28/image_17012025_09_28_58_6523.jpg', '/media/data/images/17012025/09/28/image_17012025_09_28_16_5295.jpg', '/media/data/images/17012025/09/28/image_17012025_09_28_11_6595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/30/image_17012025_09_30_10_5292.jpg
/media/data/images/17012025/09/29/image_17012025_09_29_58_6527.jpg
/media/data/images/17012025/09/29/image_17012025_09_29_05_6312.jpg
/media/data/images/17012025/09/28/image_17012025_09_28_58_6523.jpg
/media/data/images/17012025/09/28/image_17012025_09_28_16_5295.jpg
/media/data/images/17012025/09/28/image_17012025_09_28_11_6595.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329440210","1329440194","1329440215","1329440199","1329440218","1329440205"],"photo_ids_order":["1329440194","1329440199","1329440205","1329440210","1329440215","1329440218"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/147b0303cfba0c01c139f786537311e8.jpg","text":"TemporaryFile(/tmp/multipartBody6621277381671453361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103449255,"filename":"image_17012025_09_28_58_6523.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2a2d412c668a300874918b8633d6e03a.jpg","text":"TemporaryFile(/tmp/multipartBody1308369106461485745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103449255,"filename":"image_17012025_09_30_10_5292.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f8088635e3c29118bbfb1fde7627d143.jpg","text":"TemporaryFile(/tmp/multipartBody6892840703996308430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103449255,"filename":"image_17012025_09_28_16_5295.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d86b6f8f94473d01f6b9433f5cc9693c.jpg","text":"TemporaryFile(/tmp/multipartBody6212138414935112119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103449255,"filename":"image_17012025_09_29_58_6527.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3cef2654a397031bddac5ff7071c4a3f.jpg","text":"TemporaryFile(/tmp/multipartBody6826845971638452048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103449255,"filename":"image_17012025_09_28_11_6595.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8683efd9526a29168aca9fa5bb2889c5.jpg","text":"TemporaryFile(/tmp/multipartBody3782772075767004060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103449255,"filename":"image_17012025_09_29_05_6312.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329440205","file1":"1329440199","file0":"1329440194","file4":"1329440215","file5":"1329440218","file3":"1329440210"},"map_files_photo_id_array":[{"photo_id":"1329440218","filename":"file5"},{"photo_id":"1329440205","filename":"file2"},{"photo_id":"1329440215","filename":"file4"},{"photo_id":"1329440199","filename":"file1"},{"photo_id":"1329440194","filename":"file0"},{"photo_id":"1329440210","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329440210":["hashtag1","hashtag2"]},{"1329440194":["hashtag1","hashtag2"]},{"1329440215":["hashtag1","hashtag2"]},{"1329440199":["hashtag1","hashtag2"]},{"1329440218":["hashtag1","hashtag2"]},{"1329440205":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329440210, 1329440194, 1329440215, 1329440199, 1329440218, 1329440205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.08746409416199 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 09:44:03.229199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/28/image_17012025_09_28_04_5317.jpg', '/media/data/images/17012025/09/27/image_17012025_09_27_59_6505.jpg', '/media/data/images/17012025/09/27/image_17012025_09_27_17_6514.jpg', '/media/data/images/17012025/09/27/image_17012025_09_27_10_6479.jpg', '/media/data/images/17012025/09/27/image_17012025_09_27_04_5041.jpg', '/media/data/images/17012025/09/26/image_17012025_09_26_59_6523.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/28/image_17012025_09_28_04_5317.jpg
/media/data/images/17012025/09/27/image_17012025_09_27_59_6505.jpg
/media/data/images/17012025/09/27/image_17012025_09_27_17_6514.jpg
/media/data/images/17012025/09/27/image_17012025_09_27_10_6479.jpg
/media/data/images/17012025/09/27/image_17012025_09_27_04_5041.jpg
/media/data/images/17012025/09/26/image_17012025_09_26_59_6523.jpg
2025-01-17 09:44:03.300804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/28/image_17012025_09_28_04_5317.jpg', '/media/data/images/17012025/09/27/image_17012025_09_27_59_6505.jpg', '/media/data/images/17012025/09/27/image_17012025_09_27_17_6514.jpg', '/media/data/images/17012025/09/27/image_17012025_09_27_10_6479.jpg', '/media/data/images/17012025/09/27/image_17012025_09_27_04_5041.jpg', '/media/data/images/17012025/09/26/image_17012025_09_26_59_6523.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/28/image_17012025_09_28_04_5317.jpg
/media/data/images/17012025/09/27/image_17012025_09_27_59_6505.jpg
/media/data/images/17012025/09/27/image_17012025_09_27_17_6514.jpg
/media/data/images/17012025/09/27/image_17012025_09_27_10_6479.jpg
/media/data/images/17012025/09/27/image_17012025_09_27_04_5041.jpg
/media/data/images/17012025/09/26/image_17012025_09_26_59_6523.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329440275","1329440280","1329440253","1329440262","1329440270","1329440258"],"photo_ids_order":["1329440253","1329440258","1329440262","1329440270","1329440275","1329440280"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c2948aada9e33c5fdf19a88372bc480a.jpg","text":"TemporaryFile(/tmp/multipartBody7959159980874214845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103512812,"filename":"image_17012025_09_27_04_5041.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fe1d7bfb883feebdb1c78c09708b1849.jpg","text":"TemporaryFile(/tmp/multipartBody8894304665659867205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103512812,"filename":"image_17012025_09_26_59_6523.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0c60608102274941d5805f9525e155a3.jpg","text":"TemporaryFile(/tmp/multipartBody8620976248456463991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103512812,"filename":"image_17012025_09_28_04_5317.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bfa0a2733f740de7688c10d22b127213.jpg","text":"TemporaryFile(/tmp/multipartBody4825129757300940258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103512812,"filename":"image_17012025_09_27_17_6514.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f903c3964cc0ba639bc8a7f3a32093e7.jpg","text":"TemporaryFile(/tmp/multipartBody1556452144215390565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103512812,"filename":"image_17012025_09_27_10_6479.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/862874d9350b14c061729d70e2487bd5.jpg","text":"TemporaryFile(/tmp/multipartBody835818906216997594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103512812,"filename":"image_17012025_09_27_59_6505.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329440262","file1":"1329440258","file0":"1329440253","file4":"1329440275","file5":"1329440280","file3":"1329440270"},"map_files_photo_id_array":[{"photo_id":"1329440280","filename":"file5"},{"photo_id":"1329440262","filename":"file2"},{"photo_id":"1329440275","filename":"file4"},{"photo_id":"1329440258","filename":"file1"},{"photo_id":"1329440253","filename":"file0"},{"photo_id":"1329440270","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329440275":["hashtag1","hashtag2"]},{"1329440280":["hashtag1","hashtag2"]},{"1329440253":["hashtag1","hashtag2"]},{"1329440262":["hashtag1","hashtag2"]},{"1329440270":["hashtag1","hashtag2"]},{"1329440258":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329440275, 1329440280, 1329440253, 1329440262, 1329440270, 1329440258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.34682369232178 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329440281","1329440260","1329440271","1329440265","1329440277","1329440255"],"photo_ids_order":["1329440255","1329440260","1329440265","1329440271","1329440277","1329440281"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5cbd133fef47138f0162832958e272fe.jpg","text":"TemporaryFile(/tmp/multipartBody7402431721765863466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103513735,"filename":"image_17012025_09_26_59_6523.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e5c3369d089a6e4d4a34d53cf77f3d94.jpg","text":"TemporaryFile(/tmp/multipartBody2872987178007757976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103513735,"filename":"image_17012025_09_27_59_6505.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2bcb638efe6e802d49d3c3df968e3f25.jpg","text":"TemporaryFile(/tmp/multipartBody6390793969272441828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103513735,"filename":"image_17012025_09_27_10_6479.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b2a574c47eea67fcc45dfbbcf34040bb.jpg","text":"TemporaryFile(/tmp/multipartBody5482614629900159836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103513735,"filename":"image_17012025_09_27_17_6514.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bd1b44e38fbb61b7b696deeadcd33625.jpg","text":"TemporaryFile(/tmp/multipartBody7512370437007299766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103513735,"filename":"image_17012025_09_27_04_5041.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/718f2624391c1a3cb9c304b6d5993489.jpg","text":"TemporaryFile(/tmp/multipartBody8187584314569202495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103513735,"filename":"image_17012025_09_28_04_5317.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329440265","file1":"1329440260","file0":"1329440255","file4":"1329440277","file5":"1329440281","file3":"1329440271"},"map_files_photo_id_array":[{"photo_id":"1329440281","filename":"file5"},{"photo_id":"1329440265","filename":"file2"},{"photo_id":"1329440277","filename":"file4"},{"photo_id":"1329440260","filename":"file1"},{"photo_id":"1329440255","filename":"file0"},{"photo_id":"1329440271","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329440281":["hashtag1","hashtag2"]},{"1329440260":["hashtag1","hashtag2"]},{"1329440271":["hashtag1","hashtag2"]},{"1329440265":["hashtag1","hashtag2"]},{"1329440277":["hashtag1","hashtag2"]},{"1329440255":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329440281, 1329440260, 1329440271, 1329440265, 1329440277, 1329440255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.43251299858093 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:45:02.226929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/24/image_17012025_09_25_04_6475.jpg', '/media/data/images/17012025/09/24/image_17012025_09_24_58_5183.jpg', '/media/data/images/17012025/09/23/image_17012025_09_23_05_6205.jpg', '/media/data/images/17012025/09/22/image_17012025_09_22_59_6426.jpg', '/media/data/images/17012025/09/21/image_17012025_09_21_04_6176.jpg', '/media/data/images/17012025/09/20/image_17012025_09_20_58_6348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/24/image_17012025_09_25_04_6475.jpg
/media/data/images/17012025/09/24/image_17012025_09_24_58_5183.jpg
/media/data/images/17012025/09/23/image_17012025_09_23_05_6205.jpg
/media/data/images/17012025/09/22/image_17012025_09_22_59_6426.jpg
/media/data/images/17012025/09/21/image_17012025_09_21_04_6176.jpg
/media/data/images/17012025/09/20/image_17012025_09_20_58_6348.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329440309","1329440318","1329440306","1329440320","1329440314","1329440312"],"photo_ids_order":["1329440306","1329440309","1329440312","1329440314","1329440318","1329440320"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f7bd27fae82b3d67f6b6fd6184edd9d9.jpg","text":"TemporaryFile(/tmp/multipartBody3026935846090068975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103566065,"filename":"image_17012025_09_24_58_5183.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3fa42aab44d12aa739670292d43cde16.jpg","text":"TemporaryFile(/tmp/multipartBody1217924942537189641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103566065,"filename":"image_17012025_09_21_04_6176.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/40dbcd1c2486cebabdd7a6b678d3e556.jpg","text":"TemporaryFile(/tmp/multipartBody5653249270500274829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103566065,"filename":"image_17012025_09_25_04_6475.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/492ff9ba285caf8e99d6e881c9bdc390.jpg","text":"TemporaryFile(/tmp/multipartBody9033840013985190492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103566065,"filename":"image_17012025_09_20_58_6348.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/58130b44e98003f4e2de8120d9e1a752.jpg","text":"TemporaryFile(/tmp/multipartBody7306556290892190775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103566065,"filename":"image_17012025_09_22_59_6426.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/57337beb3beca47ef26f6095027698b3.jpg","text":"TemporaryFile(/tmp/multipartBody5695359263956382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103566065,"filename":"image_17012025_09_23_05_6205.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329440312","file1":"1329440309","file0":"1329440306","file4":"1329440318","file5":"1329440320","file3":"1329440314"},"map_files_photo_id_array":[{"photo_id":"1329440320","filename":"file5"},{"photo_id":"1329440312","filename":"file2"},{"photo_id":"1329440318","filename":"file4"},{"photo_id":"1329440309","filename":"file1"},{"photo_id":"1329440306","filename":"file0"},{"photo_id":"1329440314","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329440309":["hashtag1","hashtag2"]},{"1329440318":["hashtag1","hashtag2"]},{"1329440306":["hashtag1","hashtag2"]},{"1329440320":["hashtag1","hashtag2"]},{"1329440314":["hashtag1","hashtag2"]},{"1329440312":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329440309, 1329440318, 1329440306, 1329440320, 1329440314, 1329440312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.184900760650635 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:45:41.798648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/45/image_17012025_09_45_53_6492.jpg', '/media/data/images/17012025/09/20/image_17012025_09_20_16_5189.jpg', '/media/data/images/17012025/09/20/image_17012025_09_20_11_6421.jpg', '/media/data/images/17012025/09/19/image_17012025_09_20_04_6539.jpg', '/media/data/images/17012025/09/19/image_17012025_09_19_58_5171.jpg', '/media/data/images/17012025/09/18/image_17012025_09_18_04_5108.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/45/image_17012025_09_45_53_6492.jpg
/media/data/images/17012025/09/20/image_17012025_09_20_16_5189.jpg
/media/data/images/17012025/09/20/image_17012025_09_20_11_6421.jpg
/media/data/images/17012025/09/19/image_17012025_09_20_04_6539.jpg
/media/data/images/17012025/09/19/image_17012025_09_19_58_5171.jpg
/media/data/images/17012025/09/18/image_17012025_09_18_04_5108.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: 4.018956899642944 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:46:02.160527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/45/image_17012025_09_45_53_6492.jpg', '/media/data/images/17012025/09/20/image_17012025_09_20_16_5189.jpg', '/media/data/images/17012025/09/20/image_17012025_09_20_11_6421.jpg', '/media/data/images/17012025/09/19/image_17012025_09_20_04_6539.jpg', '/media/data/images/17012025/09/19/image_17012025_09_19_58_5171.jpg', '/media/data/images/17012025/09/18/image_17012025_09_18_04_5108.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/45/image_17012025_09_45_53_6492.jpg
/media/data/images/17012025/09/20/image_17012025_09_20_16_5189.jpg
/media/data/images/17012025/09/20/image_17012025_09_20_11_6421.jpg
/media/data/images/17012025/09/19/image_17012025_09_20_04_6539.jpg
/media/data/images/17012025/09/19/image_17012025_09_19_58_5171.jpg
/media/data/images/17012025/09/18/image_17012025_09_18_04_5108.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329440374","1329440368","1329440371","1329440365","1329440382","1329440378"],"photo_ids_order":["1329440365","1329440368","1329440371","1329440374","1329440378","1329440382"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2618b99f430cabcdd663aaca9b71a0c6.jpg","text":"TemporaryFile(/tmp/multipartBody8280325407046088337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103626953,"filename":"image_17012025_09_20_04_6539.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b7357b624506c25b2e7748e44b6f6158.jpg","text":"TemporaryFile(/tmp/multipartBody6633432608756508115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103626953,"filename":"image_17012025_09_20_16_5189.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/19b1c220417571a744d908adffe3e38f.jpg","text":"TemporaryFile(/tmp/multipartBody2620557965776466711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103626953,"filename":"image_17012025_09_20_11_6421.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6ec851fc2e4787c69185276602ea72e0.jpg","text":"TemporaryFile(/tmp/multipartBody8139486257371531491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103626953,"filename":"image_17012025_09_45_53_6492.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7f40143fa4271390ac7e1b52a217eae6.jpg","text":"TemporaryFile(/tmp/multipartBody6179934858131349057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103626953,"filename":"image_17012025_09_18_04_5108.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dfff8c2b3ff36be8e901855ecb941c89.jpg","text":"TemporaryFile(/tmp/multipartBody2491807840915274395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103626953,"filename":"image_17012025_09_19_58_5171.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329440371","file1":"1329440368","file0":"1329440365","file4":"1329440378","file5":"1329440382","file3":"1329440374"},"map_files_photo_id_array":[{"photo_id":"1329440382","filename":"file5"},{"photo_id":"1329440371","filename":"file2"},{"photo_id":"1329440378","filename":"file4"},{"photo_id":"1329440368","filename":"file1"},{"photo_id":"1329440365","filename":"file0"},{"photo_id":"1329440374","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329440374":["hashtag1","hashtag2"]},{"1329440368":["hashtag1","hashtag2"]},{"1329440371":["hashtag1","hashtag2"]},{"1329440365":["hashtag1","hashtag2"]},{"1329440382":["hashtag1","hashtag2"]},{"1329440378":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329440374, 1329440368, 1329440371, 1329440365, 1329440382, 1329440378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00040531158447 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:46:41.869196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/17/image_17012025_09_17_59_6356.jpg', '/media/data/images/17012025/09/15/image_17012025_09_15_58_5208.jpg', '/media/data/images/17012025/09/14/image_17012025_09_14_05_6317.jpg', '/media/data/images/17012025/09/13/image_17012025_09_13_59_6376.jpg', '/media/data/images/17012025/09/11/image_17012025_09_12_04_6426.jpg', '/media/data/images/17012025/09/11/image_17012025_09_11_58_5167.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/17/image_17012025_09_17_59_6356.jpg
/media/data/images/17012025/09/15/image_17012025_09_15_58_5208.jpg
/media/data/images/17012025/09/14/image_17012025_09_14_05_6317.jpg
/media/data/images/17012025/09/13/image_17012025_09_13_59_6376.jpg
/media/data/images/17012025/09/11/image_17012025_09_12_04_6426.jpg
/media/data/images/17012025/09/11/image_17012025_09_11_58_5167.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329440405","1329440395","1329440401","1329440421","1329440415","1329440411"],"photo_ids_order":["1329440395","1329440401","1329440405","1329440411","1329440415","1329440421"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/04f7bc9eef4cd3dfc69cba1262783803.jpg","text":"TemporaryFile(/tmp/multipartBody5421544156103031761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103665523,"filename":"image_17012025_09_14_05_6317.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6441f468f73be8709de844459aee7af4.jpg","text":"TemporaryFile(/tmp/multipartBody1065491562000241876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103665523,"filename":"image_17012025_09_17_59_6356.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c469e8f04831196b5dfe7590f28ca91b.jpg","text":"TemporaryFile(/tmp/multipartBody1157690788740912738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103665523,"filename":"image_17012025_09_15_58_5208.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/530ab59102319aea5209ae038174fbf6.jpg","text":"TemporaryFile(/tmp/multipartBody2778145971007115507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103665523,"filename":"image_17012025_09_11_58_5167.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e34c62602904e1368c8d65326660e1ac.jpg","text":"TemporaryFile(/tmp/multipartBody1843587988654349832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103665523,"filename":"image_17012025_09_12_04_6426.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ff4610eb848639c4c25d7378d992d1d5.jpg","text":"TemporaryFile(/tmp/multipartBody767177357360132525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103665523,"filename":"image_17012025_09_13_59_6376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329440405","file1":"1329440401","file0":"1329440395","file4":"1329440415","file5":"1329440421","file3":"1329440411"},"map_files_photo_id_array":[{"photo_id":"1329440421","filename":"file5"},{"photo_id":"1329440405","filename":"file2"},{"photo_id":"1329440415","filename":"file4"},{"photo_id":"1329440401","filename":"file1"},{"photo_id":"1329440395","filename":"file0"},{"photo_id":"1329440411","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329440405":["hashtag1","hashtag2"]},{"1329440395":["hashtag1","hashtag2"]},{"1329440401":["hashtag1","hashtag2"]},{"1329440421":["hashtag1","hashtag2"]},{"1329440415":["hashtag1","hashtag2"]},{"1329440411":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329440405, 1329440395, 1329440401, 1329440421, 1329440415, 1329440411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.02644443511963 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:47:21.987329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/41/image_17012025_09_41_35_6485.jpg', '/media/data/images/17012025/09/09/image_17012025_09_10_05_6581.jpg', '/media/data/images/17012025/09/09/image_17012025_09_09_58_6400.jpg', '/media/data/images/17012025/09/09/image_17012025_09_09_16_5163.jpg', '/media/data/images/17012025/09/09/image_17012025_09_09_11_6400.jpg', '/media/data/images/17012025/09/08/image_17012025_09_09_04_6537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/41/image_17012025_09_41_35_6485.jpg
/media/data/images/17012025/09/09/image_17012025_09_10_05_6581.jpg
/media/data/images/17012025/09/09/image_17012025_09_09_58_6400.jpg
/media/data/images/17012025/09/09/image_17012025_09_09_16_5163.jpg
/media/data/images/17012025/09/09/image_17012025_09_09_11_6400.jpg
/media/data/images/17012025/09/08/image_17012025_09_09_04_6537.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329440441","1329440449","1329440446","1329440460","1329440454","1329440444"],"photo_ids_order":["1329440441","1329440444","1329440446","1329440449","1329440454","1329440460"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cdbb3388fd8f018a6468f78c6167e013.jpg","text":"TemporaryFile(/tmp/multipartBody5937288716501112192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103706986,"filename":"image_17012025_09_41_35_6485.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dd4c32d1f2ba185c1dd34ef7ba0d0cdf.jpg","text":"TemporaryFile(/tmp/multipartBody1290922495179135232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103706986,"filename":"image_17012025_09_09_16_5163.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/06bda4419a3a88e4c1b6343fd21ecf04.jpg","text":"TemporaryFile(/tmp/multipartBody3411209427393471427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103706986,"filename":"image_17012025_09_09_58_6400.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ccf7ccf5209eac7a67b09fd85190709d.jpg","text":"TemporaryFile(/tmp/multipartBody6477965613096276652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103706986,"filename":"image_17012025_09_09_04_6537.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5a6340e503b48e6ff13d3fb3890c7370.jpg","text":"TemporaryFile(/tmp/multipartBody7101347033125558015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103706986,"filename":"image_17012025_09_09_11_6400.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8e74d4218deb22d0f69992945634b777.jpg","text":"TemporaryFile(/tmp/multipartBody4509223670749732112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103706986,"filename":"image_17012025_09_10_05_6581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329440446","file1":"1329440444","file0":"1329440441","file4":"1329440454","file5":"1329440460","file3":"1329440449"},"map_files_photo_id_array":[{"photo_id":"1329440460","filename":"file5"},{"photo_id":"1329440446","filename":"file2"},{"photo_id":"1329440454","filename":"file4"},{"photo_id":"1329440444","filename":"file1"},{"photo_id":"1329440441","filename":"file0"},{"photo_id":"1329440449","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329440441":["hashtag1","hashtag2"]},{"1329440449":["hashtag1","hashtag2"]},{"1329440446":["hashtag1","hashtag2"]},{"1329440460":["hashtag1","hashtag2"]},{"1329440454":["hashtag1","hashtag2"]},{"1329440444":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329440441, 1329440449, 1329440446, 1329440460, 1329440454, 1329440444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.89548921585083 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:48:02.363552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/08/image_17012025_09_08_58_5193.jpg', '/media/data/images/17012025/09/07/image_17012025_09_07_40_5165.jpg', '/media/data/images/17012025/09/07/image_17012025_09_07_35_6373.jpg', '/media/data/images/17012025/09/07/image_17012025_09_07_28_6381.jpg', '/media/data/images/17012025/09/07/image_17012025_09_07_22_5207.jpg', '/media/data/images/17012025/09/07/image_17012025_09_07_17_6442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/08/image_17012025_09_08_58_5193.jpg
/media/data/images/17012025/09/07/image_17012025_09_07_40_5165.jpg
/media/data/images/17012025/09/07/image_17012025_09_07_35_6373.jpg
/media/data/images/17012025/09/07/image_17012025_09_07_28_6381.jpg
/media/data/images/17012025/09/07/image_17012025_09_07_22_5207.jpg
/media/data/images/17012025/09/07/image_17012025_09_07_17_6442.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329440496","1329440484","1329440487","1329440492","1329440489","1329440480"],"photo_ids_order":["1329440480","1329440484","1329440487","1329440489","1329440492","1329440496"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dd7e0ca83823441cfc1db02897a85b0c.jpg","text":"TemporaryFile(/tmp/multipartBody5248860874995360803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103746149,"filename":"image_17012025_09_07_17_6442.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/03d8e862d14375da802daeb1189e1b2b.jpg","text":"TemporaryFile(/tmp/multipartBody7661024942714667313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103746149,"filename":"image_17012025_09_07_40_5165.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d049f3266de1c45975453b98319992e5.jpg","text":"TemporaryFile(/tmp/multipartBody1933704840206409210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103746149,"filename":"image_17012025_09_07_35_6373.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/19e4c74bed737b2627216ed3cd8fc093.jpg","text":"TemporaryFile(/tmp/multipartBody5907211735961254117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103746149,"filename":"image_17012025_09_07_22_5207.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c719951360002daa3ef15dc3cdc11b12.jpg","text":"TemporaryFile(/tmp/multipartBody2020810369901289056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103746149,"filename":"image_17012025_09_07_28_6381.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/56bf7bf43b0e3af15c2e28e730fa11ae.jpg","text":"TemporaryFile(/tmp/multipartBody1064884139995009797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103746149,"filename":"image_17012025_09_08_58_5193.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329440487","file1":"1329440484","file0":"1329440480","file4":"1329440492","file5":"1329440496","file3":"1329440489"},"map_files_photo_id_array":[{"photo_id":"1329440496","filename":"file5"},{"photo_id":"1329440487","filename":"file2"},{"photo_id":"1329440492","filename":"file4"},{"photo_id":"1329440484","filename":"file1"},{"photo_id":"1329440480","filename":"file0"},{"photo_id":"1329440489","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329440496":["hashtag1","hashtag2"]},{"1329440484":["hashtag1","hashtag2"]},{"1329440487":["hashtag1","hashtag2"]},{"1329440492":["hashtag1","hashtag2"]},{"1329440489":["hashtag1","hashtag2"]},{"1329440480":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329440496, 1329440484, 1329440487, 1329440492, 1329440489, 1329440480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.922194480895996 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:48:42.061315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/48/image_17012025_09_48_52_6390.jpg', '/media/data/images/17012025/09/48/image_17012025_09_48_46_5144.jpg', '/media/data/images/17012025/09/48/image_17012025_09_48_41_6371.jpg', '/media/data/images/17012025/09/48/image_17012025_09_48_34_6340.jpg', '/media/data/images/17012025/09/48/image_17012025_09_48_28_6364.jpg', '/media/data/images/17012025/09/48/image_17012025_09_48_22_5157.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/48/image_17012025_09_48_52_6390.jpg
/media/data/images/17012025/09/48/image_17012025_09_48_46_5144.jpg
/media/data/images/17012025/09/48/image_17012025_09_48_41_6371.jpg
/media/data/images/17012025/09/48/image_17012025_09_48_34_6340.jpg
/media/data/images/17012025/09/48/image_17012025_09_48_28_6364.jpg
/media/data/images/17012025/09/48/image_17012025_09_48_22_5157.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329440533","1329440542","1329440521","1329440526","1329440514","1329440538"],"photo_ids_order":["1329440514","1329440521","1329440526","1329440533","1329440538","1329440542"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7ca7695c15e87df5cf1cae0e783b95f4.jpg","text":"TemporaryFile(/tmp/multipartBody7468779308816890101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103786100,"filename":"image_17012025_09_48_34_6340.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5747511c175395dd61489254d22506be.jpg","text":"TemporaryFile(/tmp/multipartBody4705248299457276279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103786100,"filename":"image_17012025_09_48_22_5157.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ee9632f1ba1d9238f6b0d1d411537416.jpg","text":"TemporaryFile(/tmp/multipartBody7822525898831530802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103786100,"filename":"image_17012025_09_48_46_5144.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5fd780a42e6619eb679c608c331559bf.jpg","text":"TemporaryFile(/tmp/multipartBody7763796045724529163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103786100,"filename":"image_17012025_09_48_41_6371.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dffb69eead1fd355713f22c8a0723193.jpg","text":"TemporaryFile(/tmp/multipartBody5257388352267506381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103786100,"filename":"image_17012025_09_48_52_6390.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/876ef895dd055b96cd29458848a49ac2.jpg","text":"TemporaryFile(/tmp/multipartBody4972435372075442112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103786100,"filename":"image_17012025_09_48_28_6364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329440526","file1":"1329440521","file0":"1329440514","file4":"1329440538","file5":"1329440542","file3":"1329440533"},"map_files_photo_id_array":[{"photo_id":"1329440542","filename":"file5"},{"photo_id":"1329440526","filename":"file2"},{"photo_id":"1329440538","filename":"file4"},{"photo_id":"1329440521","filename":"file1"},{"photo_id":"1329440514","filename":"file0"},{"photo_id":"1329440533","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329440533":["hashtag1","hashtag2"]},{"1329440542":["hashtag1","hashtag2"]},{"1329440521":["hashtag1","hashtag2"]},{"1329440526":["hashtag1","hashtag2"]},{"1329440514":["hashtag1","hashtag2"]},{"1329440538":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329440533, 1329440542, 1329440521, 1329440526, 1329440514, 1329440538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42189931869507 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:49:22.170351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/49/image_17012025_09_49_52_6379.jpg', '/media/data/images/17012025/09/49/image_17012025_09_49_46_6384.jpg', '/media/data/images/17012025/09/49/image_17012025_09_49_40_5178.jpg', '/media/data/images/17012025/09/49/image_17012025_09_49_35_6355.jpg', '/media/data/images/17012025/09/49/image_17012025_09_49_28_6361.jpg', '/media/data/images/17012025/09/49/image_17012025_09_49_22_5206.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/49/image_17012025_09_49_52_6379.jpg
/media/data/images/17012025/09/49/image_17012025_09_49_46_6384.jpg
/media/data/images/17012025/09/49/image_17012025_09_49_40_5178.jpg
/media/data/images/17012025/09/49/image_17012025_09_49_35_6355.jpg
/media/data/images/17012025/09/49/image_17012025_09_49_28_6361.jpg
/media/data/images/17012025/09/49/image_17012025_09_49_22_5206.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329440565","1329440561","1329440555","1329440570","1329440558","1329440552"],"photo_ids_order":["1329440552","1329440555","1329440558","1329440561","1329440565","1329440570"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/51f6fd8b5c336cb27c783715da36321e.jpg","text":"TemporaryFile(/tmp/multipartBody8904524381249977122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103825670,"filename":"image_17012025_09_49_28_6361.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/04aa4e0d16336be2a14ebb04cd8d9a00.jpg","text":"TemporaryFile(/tmp/multipartBody1806798468809522857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103825670,"filename":"image_17012025_09_49_35_6355.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/66cf72844c55413b20be868e00e2a7f1.jpg","text":"TemporaryFile(/tmp/multipartBody3981341390019851362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103825670,"filename":"image_17012025_09_49_46_6384.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e9f0397ca04da6cfa6ff8d43a3cd6cf1.jpg","text":"TemporaryFile(/tmp/multipartBody7284598989838850010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103825670,"filename":"image_17012025_09_49_22_5206.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a41d860488c6af06ddb3d3e599e2e07f.jpg","text":"TemporaryFile(/tmp/multipartBody9112616045742931184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103825670,"filename":"image_17012025_09_49_40_5178.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c71da570dbae822a9d45bd55815c09e0.jpg","text":"TemporaryFile(/tmp/multipartBody7795841685403364396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103825670,"filename":"image_17012025_09_49_52_6379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329440558","file1":"1329440555","file0":"1329440552","file4":"1329440565","file5":"1329440570","file3":"1329440561"},"map_files_photo_id_array":[{"photo_id":"1329440570","filename":"file5"},{"photo_id":"1329440558","filename":"file2"},{"photo_id":"1329440565","filename":"file4"},{"photo_id":"1329440555","filename":"file1"},{"photo_id":"1329440552","filename":"file0"},{"photo_id":"1329440561","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329440565":["hashtag1","hashtag2"]},{"1329440561":["hashtag1","hashtag2"]},{"1329440555":["hashtag1","hashtag2"]},{"1329440570":["hashtag1","hashtag2"]},{"1329440558":["hashtag1","hashtag2"]},{"1329440552":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329440565, 1329440561, 1329440555, 1329440570, 1329440558, 1329440552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.338170289993286 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:50:02.523009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/49/image_17012025_09_49_17_6403.jpg', '/media/data/images/17012025/09/49/image_17012025_09_49_10_6423.jpg', '/media/data/images/17012025/09/49/image_17012025_09_49_04_5050.jpg', '/media/data/images/17012025/09/48/image_17012025_09_48_59_6390.jpg', '/media/data/images/17012025/09/48/image_17012025_09_48_17_6374.jpg', '/media/data/images/17012025/09/48/image_17012025_09_48_10_6470.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/49/image_17012025_09_49_17_6403.jpg
/media/data/images/17012025/09/49/image_17012025_09_49_10_6423.jpg
/media/data/images/17012025/09/49/image_17012025_09_49_04_5050.jpg
/media/data/images/17012025/09/48/image_17012025_09_48_59_6390.jpg
/media/data/images/17012025/09/48/image_17012025_09_48_17_6374.jpg
/media/data/images/17012025/09/48/image_17012025_09_48_10_6470.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329440606","1329440609","1329440584","1329440592","1329440601","1329440597"],"photo_ids_order":["1329440584","1329440592","1329440597","1329440601","1329440606","1329440609"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d2ff06bc9fef08f781615af3513f5b3d.jpg","text":"TemporaryFile(/tmp/multipartBody9172159091238720073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103867489,"filename":"image_17012025_09_48_17_6374.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ded4256ca3d4398a6aabad15908c7f2d.jpg","text":"TemporaryFile(/tmp/multipartBody4980402796715140409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103867489,"filename":"image_17012025_09_48_10_6470.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/72d1aa7a12b87262ca32d2f688c081ed.jpg","text":"TemporaryFile(/tmp/multipartBody4769164790315489628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103867489,"filename":"image_17012025_09_49_17_6403.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5a486db193d35551c5523836819cd10c.jpg","text":"TemporaryFile(/tmp/multipartBody4020540520730441999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103867489,"filename":"image_17012025_09_49_10_6423.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2b37fe34f8797fabba038292ffc4eed9.jpg","text":"TemporaryFile(/tmp/multipartBody7487842888336311017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103867489,"filename":"image_17012025_09_48_59_6390.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c42ba6ad1c7f1fdba16d778e2d785129.jpg","text":"TemporaryFile(/tmp/multipartBody2720648892595758080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103867489,"filename":"image_17012025_09_49_04_5050.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329440597","file1":"1329440592","file0":"1329440584","file4":"1329440606","file5":"1329440609","file3":"1329440601"},"map_files_photo_id_array":[{"photo_id":"1329440609","filename":"file5"},{"photo_id":"1329440597","filename":"file2"},{"photo_id":"1329440606","filename":"file4"},{"photo_id":"1329440592","filename":"file1"},{"photo_id":"1329440584","filename":"file0"},{"photo_id":"1329440601","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329440606":["hashtag1","hashtag2"]},{"1329440609":["hashtag1","hashtag2"]},{"1329440584":["hashtag1","hashtag2"]},{"1329440592":["hashtag1","hashtag2"]},{"1329440601":["hashtag1","hashtag2"]},{"1329440597":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329440606, 1329440609, 1329440584, 1329440592, 1329440601, 1329440597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.564826011657715 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:50:42.261625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/50/image_17012025_09_50_52_5200.jpg', '/media/data/images/17012025/09/50/image_17012025_09_50_47_6436.jpg', '/media/data/images/17012025/09/50/image_17012025_09_50_40_6428.jpg', '/media/data/images/17012025/09/50/image_17012025_09_50_34_5199.jpg', '/media/data/images/17012025/09/50/image_17012025_09_50_29_6394.jpg', '/media/data/images/17012025/09/50/image_17012025_09_50_22_6430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/50/image_17012025_09_50_52_5200.jpg
/media/data/images/17012025/09/50/image_17012025_09_50_47_6436.jpg
/media/data/images/17012025/09/50/image_17012025_09_50_40_6428.jpg
/media/data/images/17012025/09/50/image_17012025_09_50_34_5199.jpg
/media/data/images/17012025/09/50/image_17012025_09_50_29_6394.jpg
/media/data/images/17012025/09/50/image_17012025_09_50_22_6430.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329440627","1329440632","1329440644","1329440638","1329440623","1329440619"],"photo_ids_order":["1329440619","1329440623","1329440627","1329440632","1329440638","1329440644"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dfae8559654881ece4740725358370cd.jpg","text":"TemporaryFile(/tmp/multipartBody3246114759993161829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103906295,"filename":"image_17012025_09_50_40_6428.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4a217aee7a797089c22968337cc69a05.jpg","text":"TemporaryFile(/tmp/multipartBody8378444369738187483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103906295,"filename":"image_17012025_09_50_34_5199.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/00c055b0d342af4fafffd95a33a96c4d.jpg","text":"TemporaryFile(/tmp/multipartBody899391061185882491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103906295,"filename":"image_17012025_09_50_22_6430.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cdcda4814c6ff5a00a563a4b8120bfba.jpg","text":"TemporaryFile(/tmp/multipartBody4816948256756302829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103906295,"filename":"image_17012025_09_50_29_6394.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/84f7c6aca47401a1dcaf6d2d1b86d03c.jpg","text":"TemporaryFile(/tmp/multipartBody901744931407666103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103906295,"filename":"image_17012025_09_50_47_6436.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cea6144911a95bcc8df3ef22e2872e71.jpg","text":"TemporaryFile(/tmp/multipartBody2164298311116653448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103906295,"filename":"image_17012025_09_50_52_5200.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329440627","file1":"1329440623","file0":"1329440619","file4":"1329440638","file5":"1329440644","file3":"1329440632"},"map_files_photo_id_array":[{"photo_id":"1329440644","filename":"file5"},{"photo_id":"1329440627","filename":"file2"},{"photo_id":"1329440638","filename":"file4"},{"photo_id":"1329440623","filename":"file1"},{"photo_id":"1329440619","filename":"file0"},{"photo_id":"1329440632","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329440627":["hashtag1","hashtag2"]},{"1329440632":["hashtag1","hashtag2"]},{"1329440644":["hashtag1","hashtag2"]},{"1329440638":["hashtag1","hashtag2"]},{"1329440623":["hashtag1","hashtag2"]},{"1329440619":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329440627, 1329440632, 1329440644, 1329440638, 1329440623, 1329440619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00679540634155 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:51:22.354187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/51/image_17012025_09_51_52_5185.jpg', '/media/data/images/17012025/09/51/image_17012025_09_51_47_6386.jpg', '/media/data/images/17012025/09/51/image_17012025_09_51_40_6406.jpg', '/media/data/images/17012025/09/51/image_17012025_09_51_34_5171.jpg', '/media/data/images/17012025/09/51/image_17012025_09_51_29_6358.jpg', '/media/data/images/17012025/09/51/image_17012025_09_51_22_6357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/51/image_17012025_09_51_52_5185.jpg
/media/data/images/17012025/09/51/image_17012025_09_51_47_6386.jpg
/media/data/images/17012025/09/51/image_17012025_09_51_40_6406.jpg
/media/data/images/17012025/09/51/image_17012025_09_51_34_5171.jpg
/media/data/images/17012025/09/51/image_17012025_09_51_29_6358.jpg
/media/data/images/17012025/09/51/image_17012025_09_51_22_6357.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329440665","1329440662","1329440670","1329440675","1329440660","1329440657"],"photo_ids_order":["1329440657","1329440660","1329440662","1329440665","1329440670","1329440675"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dd20e7dc749a6901960f785541051bc5.jpg","text":"TemporaryFile(/tmp/multipartBody7297343165228589730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103945873,"filename":"image_17012025_09_51_34_5171.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9f770062a0e1093e08047ad0cff74487.jpg","text":"TemporaryFile(/tmp/multipartBody7602436747735549277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103945873,"filename":"image_17012025_09_51_40_6406.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a697b52d7f898927c40ed5f1c555e95e.jpg","text":"TemporaryFile(/tmp/multipartBody2656860179513487421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103945873,"filename":"image_17012025_09_51_29_6358.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/67de837334ba09abc36ef49a15a51fe6.jpg","text":"TemporaryFile(/tmp/multipartBody7712733318634750388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103945873,"filename":"image_17012025_09_51_22_6357.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2b1a0991dd72be37f44ea2cc706fc631.jpg","text":"TemporaryFile(/tmp/multipartBody994494168317648840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103945873,"filename":"image_17012025_09_51_47_6386.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9cca35894070679586ec40295ffa6fd2.jpg","text":"TemporaryFile(/tmp/multipartBody5693713888036022890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103945873,"filename":"image_17012025_09_51_52_5185.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329440662","file1":"1329440660","file0":"1329440657","file4":"1329440670","file5":"1329440675","file3":"1329440665"},"map_files_photo_id_array":[{"photo_id":"1329440675","filename":"file5"},{"photo_id":"1329440662","filename":"file2"},{"photo_id":"1329440670","filename":"file4"},{"photo_id":"1329440660","filename":"file1"},{"photo_id":"1329440657","filename":"file0"},{"photo_id":"1329440665","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329440665":["hashtag1","hashtag2"]},{"1329440662":["hashtag1","hashtag2"]},{"1329440670":["hashtag1","hashtag2"]},{"1329440675":["hashtag1","hashtag2"]},{"1329440660":["hashtag1","hashtag2"]},{"1329440657":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329440665, 1329440662, 1329440670, 1329440675, 1329440660, 1329440657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.300275564193726 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:52:02.708179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/51/image_17012025_09_51_16_6366.jpg', '/media/data/images/17012025/09/51/image_17012025_09_51_10_5171.jpg', '/media/data/images/17012025/09/51/image_17012025_09_51_04_6157.jpg', '/media/data/images/17012025/09/50/image_17012025_09_50_58_6371.jpg', '/media/data/images/17012025/09/50/image_17012025_09_50_16_5208.jpg', '/media/data/images/17012025/09/50/image_17012025_09_50_11_6443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/51/image_17012025_09_51_16_6366.jpg
/media/data/images/17012025/09/51/image_17012025_09_51_10_5171.jpg
/media/data/images/17012025/09/51/image_17012025_09_51_04_6157.jpg
/media/data/images/17012025/09/50/image_17012025_09_50_58_6371.jpg
/media/data/images/17012025/09/50/image_17012025_09_50_16_5208.jpg
/media/data/images/17012025/09/50/image_17012025_09_50_11_6443.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329440695","1329440704","1329440707","1329440709","1329440699","1329440690"],"photo_ids_order":["1329440690","1329440695","1329440699","1329440704","1329440707","1329440709"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9ca28366ac34315e6878fa2f2596c9ea.jpg","text":"TemporaryFile(/tmp/multipartBody6778318905704321365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103986493,"filename":"image_17012025_09_51_10_5171.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fd292c73a353598afd597ed7480f46c8.jpg","text":"TemporaryFile(/tmp/multipartBody3664327500318045522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103986493,"filename":"image_17012025_09_50_58_6371.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fab74112bfb5c5baf4711222d4dac133.jpg","text":"TemporaryFile(/tmp/multipartBody2347729686776423842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103986493,"filename":"image_17012025_09_50_16_5208.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/60da6c295e0dae3ee960a4c65629c110.jpg","text":"TemporaryFile(/tmp/multipartBody5631183758412499598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103986493,"filename":"image_17012025_09_50_11_6443.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/191a6c6ddc9c11e2e2f9c3f87ee5e5af.jpg","text":"TemporaryFile(/tmp/multipartBody7122098330837860871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103986493,"filename":"image_17012025_09_51_04_6157.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0b9d7b1e99366ac5b1361b16036cc05d.jpg","text":"TemporaryFile(/tmp/multipartBody5985368859512754082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737103986493,"filename":"image_17012025_09_51_16_6366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329440699","file1":"1329440695","file0":"1329440690","file4":"1329440707","file5":"1329440709","file3":"1329440704"},"map_files_photo_id_array":[{"photo_id":"1329440709","filename":"file5"},{"photo_id":"1329440699","filename":"file2"},{"photo_id":"1329440707","filename":"file4"},{"photo_id":"1329440695","filename":"file1"},{"photo_id":"1329440690","filename":"file0"},{"photo_id":"1329440704","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329440695":["hashtag1","hashtag2"]},{"1329440704":["hashtag1","hashtag2"]},{"1329440707":["hashtag1","hashtag2"]},{"1329440709":["hashtag1","hashtag2"]},{"1329440699":["hashtag1","hashtag2"]},{"1329440690":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329440695, 1329440704, 1329440707, 1329440709, 1329440699, 1329440690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28339099884033 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:52:42.455275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/52/image_17012025_09_52_52_6370.jpg', '/media/data/images/17012025/09/52/image_17012025_09_52_46_5153.jpg', '/media/data/images/17012025/09/52/image_17012025_09_52_41_6346.jpg', '/media/data/images/17012025/09/52/image_17012025_09_52_34_6424.jpg', '/media/data/images/17012025/09/52/image_17012025_09_52_28_5330.jpg', '/media/data/images/17012025/09/52/image_17012025_09_52_23_6524.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/52/image_17012025_09_52_52_6370.jpg
/media/data/images/17012025/09/52/image_17012025_09_52_46_5153.jpg
/media/data/images/17012025/09/52/image_17012025_09_52_41_6346.jpg
/media/data/images/17012025/09/52/image_17012025_09_52_34_6424.jpg
/media/data/images/17012025/09/52/image_17012025_09_52_28_5330.jpg
/media/data/images/17012025/09/52/image_17012025_09_52_23_6524.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329440728","1329440737","1329440724","1329440733","1329440720","1329440717"],"photo_ids_order":["1329440717","1329440720","1329440724","1329440728","1329440733","1329440737"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/86b0feecbff880c12341d5f716be013d.jpg","text":"TemporaryFile(/tmp/multipartBody5295449881567564017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104027224,"filename":"image_17012025_09_52_34_6424.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/50c097ea7b0b2ba6a33e207424f0ad2e.jpg","text":"TemporaryFile(/tmp/multipartBody3122657826226713368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104027224,"filename":"image_17012025_09_52_23_6524.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8d2d8fb9618b03897df8334424228a40.jpg","text":"TemporaryFile(/tmp/multipartBody5497895688440587911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104027224,"filename":"image_17012025_09_52_41_6346.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/84150828626cc5d3d568b4bdb58dcfac.jpg","text":"TemporaryFile(/tmp/multipartBody4331767805993515894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104027224,"filename":"image_17012025_09_52_28_5330.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1a14f9cea2b13630c5928e3f32f44db0.jpg","text":"TemporaryFile(/tmp/multipartBody8318366456356514346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104027224,"filename":"image_17012025_09_52_46_5153.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8225c511e61bc91dabca3eca18c1ac21.jpg","text":"TemporaryFile(/tmp/multipartBody1326915656263438401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104027224,"filename":"image_17012025_09_52_52_6370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329440724","file1":"1329440720","file0":"1329440717","file4":"1329440733","file5":"1329440737","file3":"1329440728"},"map_files_photo_id_array":[{"photo_id":"1329440737","filename":"file5"},{"photo_id":"1329440724","filename":"file2"},{"photo_id":"1329440733","filename":"file4"},{"photo_id":"1329440720","filename":"file1"},{"photo_id":"1329440717","filename":"file0"},{"photo_id":"1329440728","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329440728":["hashtag1","hashtag2"]},{"1329440737":["hashtag1","hashtag2"]},{"1329440724":["hashtag1","hashtag2"]},{"1329440733":["hashtag1","hashtag2"]},{"1329440720":["hashtag1","hashtag2"]},{"1329440717":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329440728, 1329440737, 1329440724, 1329440733, 1329440720, 1329440717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.04464340209961 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:53:22.577693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/53/image_17012025_09_53_52_6406.jpg', '/media/data/images/17012025/09/53/image_17012025_09_53_46_5181.jpg', '/media/data/images/17012025/09/53/image_17012025_09_53_41_6389.jpg', '/media/data/images/17012025/09/53/image_17012025_09_53_34_6401.jpg', '/media/data/images/17012025/09/53/image_17012025_09_53_28_5181.jpg', '/media/data/images/17012025/09/53/image_17012025_09_53_23_6400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/53/image_17012025_09_53_52_6406.jpg
/media/data/images/17012025/09/53/image_17012025_09_53_46_5181.jpg
/media/data/images/17012025/09/53/image_17012025_09_53_41_6389.jpg
/media/data/images/17012025/09/53/image_17012025_09_53_34_6401.jpg
/media/data/images/17012025/09/53/image_17012025_09_53_28_5181.jpg
/media/data/images/17012025/09/53/image_17012025_09_53_23_6400.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329440761","1329440742","1329440751","1329440747","1329440756","1329440744"],"photo_ids_order":["1329440742","1329440744","1329440747","1329440751","1329440756","1329440761"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d04a5d5b44ded532b9eb197c170d91d2.jpg","text":"TemporaryFile(/tmp/multipartBody2878502722782959410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104066200,"filename":"image_17012025_09_53_23_6400.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bbc6d08cecc4cc89883b8b4f3bd372a0.jpg","text":"TemporaryFile(/tmp/multipartBody4367974389262013011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104066200,"filename":"image_17012025_09_53_52_6406.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/88befeab835e2dc6c823d662c6c8b51a.jpg","text":"TemporaryFile(/tmp/multipartBody7071539700741343702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104066200,"filename":"image_17012025_09_53_34_6401.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5f3f57d86e74337f2667a4983bc8b96b.jpg","text":"TemporaryFile(/tmp/multipartBody7658181945119459484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104066200,"filename":"image_17012025_09_53_41_6389.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6fc8b86b89c35012593f00f55403e6fb.jpg","text":"TemporaryFile(/tmp/multipartBody3990819515635739337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104066200,"filename":"image_17012025_09_53_28_5181.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/09cf9c4bd0aae4dd916c64055c4ddcc1.jpg","text":"TemporaryFile(/tmp/multipartBody4466381958813143963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104066200,"filename":"image_17012025_09_53_46_5181.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329440747","file1":"1329440744","file0":"1329440742","file4":"1329440756","file5":"1329440761","file3":"1329440751"},"map_files_photo_id_array":[{"photo_id":"1329440761","filename":"file5"},{"photo_id":"1329440747","filename":"file2"},{"photo_id":"1329440756","filename":"file4"},{"photo_id":"1329440744","filename":"file1"},{"photo_id":"1329440742","filename":"file0"},{"photo_id":"1329440751","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329440761":["hashtag1","hashtag2"]},{"1329440742":["hashtag1","hashtag2"]},{"1329440751":["hashtag1","hashtag2"]},{"1329440747":["hashtag1","hashtag2"]},{"1329440756":["hashtag1","hashtag2"]},{"1329440744":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329440761, 1329440742, 1329440751, 1329440747, 1329440756, 1329440744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5754828453064 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
 val : 1 : upload photos already in processing! 
2025-01-17 09:54:03.001612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/53/image_17012025_09_53_16_6391.jpg', '/media/data/images/17012025/09/53/image_17012025_09_53_10_5201.jpg', '/media/data/images/17012025/09/53/image_17012025_09_53_05_6182.jpg', '/media/data/images/17012025/09/52/image_17012025_09_52_59_6370.jpg', '/media/data/images/17012025/09/52/image_17012025_09_52_16_6434.jpg', '/media/data/images/17012025/09/52/image_17012025_09_52_10_5187.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/53/image_17012025_09_53_16_6391.jpg
/media/data/images/17012025/09/53/image_17012025_09_53_10_5201.jpg
/media/data/images/17012025/09/53/image_17012025_09_53_05_6182.jpg
/media/data/images/17012025/09/52/image_17012025_09_52_59_6370.jpg
/media/data/images/17012025/09/52/image_17012025_09_52_16_6434.jpg
/media/data/images/17012025/09/52/image_17012025_09_52_10_5187.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329440790","1329440787","1329440781","1329440775","1329440784","1329440778"],"photo_ids_order":["1329440775","1329440778","1329440781","1329440784","1329440787","1329440790"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8c4732516b63417f5a7fd7feca1f68fa.jpg","text":"TemporaryFile(/tmp/multipartBody3488100236873161112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104108626,"filename":"image_17012025_09_52_10_5187.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a243b7704305e7857c8018056f82bda6.jpg","text":"TemporaryFile(/tmp/multipartBody4721886046182866489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104108626,"filename":"image_17012025_09_52_16_6434.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c85cff0663f15e9c14fa0ededd9fd181.jpg","text":"TemporaryFile(/tmp/multipartBody2960949508633387964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104108626,"filename":"image_17012025_09_53_05_6182.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/aae60a7721f9c925182dc30c1b5e23e6.jpg","text":"TemporaryFile(/tmp/multipartBody5850874898850983606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104108626,"filename":"image_17012025_09_53_16_6391.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b8ed41c627ce6648be5cab1268fb600b.jpg","text":"TemporaryFile(/tmp/multipartBody1301459542279172029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104108626,"filename":"image_17012025_09_52_59_6370.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5a21f1f4862951f560c76b2ca445645a.jpg","text":"TemporaryFile(/tmp/multipartBody4090196324864219684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104108626,"filename":"image_17012025_09_53_10_5201.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329440781","file1":"1329440778","file0":"1329440775","file4":"1329440787","file5":"1329440790","file3":"1329440784"},"map_files_photo_id_array":[{"photo_id":"1329440790","filename":"file5"},{"photo_id":"1329440781","filename":"file2"},{"photo_id":"1329440787","filename":"file4"},{"photo_id":"1329440778","filename":"file1"},{"photo_id":"1329440775","filename":"file0"},{"photo_id":"1329440784","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329440790":["hashtag1","hashtag2"]},{"1329440787":["hashtag1","hashtag2"]},{"1329440781":["hashtag1","hashtag2"]},{"1329440775":["hashtag1","hashtag2"]},{"1329440784":["hashtag1","hashtag2"]},{"1329440778":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329440790, 1329440787, 1329440781, 1329440775, 1329440784, 1329440778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.77805995941162 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:54:42.631499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/54/image_17012025_09_54_53_6437.jpg', '/media/data/images/17012025/09/54/image_17012025_09_54_46_6463.jpg', '/media/data/images/17012025/09/54/image_17012025_09_54_40_5170.jpg', '/media/data/images/17012025/09/54/image_17012025_09_54_35_6384.jpg', '/media/data/images/17012025/09/54/image_17012025_09_54_28_6423.jpg', '/media/data/images/17012025/09/54/image_17012025_09_54_22_5191.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/54/image_17012025_09_54_53_6437.jpg
/media/data/images/17012025/09/54/image_17012025_09_54_46_6463.jpg
/media/data/images/17012025/09/54/image_17012025_09_54_40_5170.jpg
/media/data/images/17012025/09/54/image_17012025_09_54_35_6384.jpg
/media/data/images/17012025/09/54/image_17012025_09_54_28_6423.jpg
/media/data/images/17012025/09/54/image_17012025_09_54_22_5191.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329440812","1329440817","1329440805","1329440808","1329440822","1329440801"],"photo_ids_order":["1329440801","1329440805","1329440808","1329440812","1329440817","1329440822"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/916a00a74c647b52fba6540a810bdc38.jpg","text":"TemporaryFile(/tmp/multipartBody501491791290423935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104146990,"filename":"image_17012025_09_54_35_6384.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cdd4db183fd2f763d91f058e2bd668e7.jpg","text":"TemporaryFile(/tmp/multipartBody1863959506182717914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104146990,"filename":"image_17012025_09_54_28_6423.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f9ff9e51fcb9356ba44451542a38c80b.jpg","text":"TemporaryFile(/tmp/multipartBody2015415149352137726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104146990,"filename":"image_17012025_09_54_46_6463.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/458aa5f422cb9a8f0bf7334ad85337ad.jpg","text":"TemporaryFile(/tmp/multipartBody7226311616469318919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104146990,"filename":"image_17012025_09_54_40_5170.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7f4623d715402dadcf5c8aef1851c93a.jpg","text":"TemporaryFile(/tmp/multipartBody7241322734083874180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104146990,"filename":"image_17012025_09_54_22_5191.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ea88c0cbb24312d247fe4150fd000922.jpg","text":"TemporaryFile(/tmp/multipartBody2568970171989082049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104146990,"filename":"image_17012025_09_54_53_6437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329440808","file1":"1329440805","file0":"1329440801","file4":"1329440817","file5":"1329440822","file3":"1329440812"},"map_files_photo_id_array":[{"photo_id":"1329440822","filename":"file5"},{"photo_id":"1329440808","filename":"file2"},{"photo_id":"1329440817","filename":"file4"},{"photo_id":"1329440805","filename":"file1"},{"photo_id":"1329440801","filename":"file0"},{"photo_id":"1329440812","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329440812":["hashtag1","hashtag2"]},{"1329440817":["hashtag1","hashtag2"]},{"1329440805":["hashtag1","hashtag2"]},{"1329440808":["hashtag1","hashtag2"]},{"1329440822":["hashtag1","hashtag2"]},{"1329440801":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329440812, 1329440817, 1329440805, 1329440808, 1329440822, 1329440801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58023500442505 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:55:22.694871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/55/image_17012025_09_55_52_5179.jpg', '/media/data/images/17012025/09/55/image_17012025_09_55_47_6385.jpg', '/media/data/images/17012025/09/55/image_17012025_09_55_40_6375.jpg', '/media/data/images/17012025/09/55/image_17012025_09_55_34_5167.jpg', '/media/data/images/17012025/09/55/image_17012025_09_55_29_6372.jpg', '/media/data/images/17012025/09/55/image_17012025_09_55_22_6386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/55/image_17012025_09_55_52_5179.jpg
/media/data/images/17012025/09/55/image_17012025_09_55_47_6385.jpg
/media/data/images/17012025/09/55/image_17012025_09_55_40_6375.jpg
/media/data/images/17012025/09/55/image_17012025_09_55_34_5167.jpg
/media/data/images/17012025/09/55/image_17012025_09_55_29_6372.jpg
/media/data/images/17012025/09/55/image_17012025_09_55_22_6386.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329440831","1329440839","1329440856","1329440835","1329440850","1329440844"],"photo_ids_order":["1329440831","1329440835","1329440839","1329440844","1329440850","1329440856"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/71b179feb6d79f9a7cc015a5549ed0d7.jpg","text":"TemporaryFile(/tmp/multipartBody9178720270500088096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104186651,"filename":"image_17012025_09_55_52_5179.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7326cc7a8ca38081b45818376c6a6952.jpg","text":"TemporaryFile(/tmp/multipartBody9068847698067235859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104186651,"filename":"image_17012025_09_55_40_6375.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/46482462c28b4f6f18d58ae5e81ca0c4.jpg","text":"TemporaryFile(/tmp/multipartBody1586949598204265097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104186651,"filename":"image_17012025_09_55_22_6386.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c9c888680d03004b4142eb326ef97962.jpg","text":"TemporaryFile(/tmp/multipartBody804509294038292157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104186651,"filename":"image_17012025_09_55_47_6385.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a91565f7415537fdd18384ae453bb976.jpg","text":"TemporaryFile(/tmp/multipartBody3471937580982731334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104186651,"filename":"image_17012025_09_55_29_6372.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6fe4e18d7b5c23e290def620f3723557.jpg","text":"TemporaryFile(/tmp/multipartBody6009644999354565106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104186651,"filename":"image_17012025_09_55_34_5167.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329440839","file1":"1329440835","file0":"1329440831","file4":"1329440850","file5":"1329440856","file3":"1329440844"},"map_files_photo_id_array":[{"photo_id":"1329440856","filename":"file5"},{"photo_id":"1329440839","filename":"file2"},{"photo_id":"1329440850","filename":"file4"},{"photo_id":"1329440835","filename":"file1"},{"photo_id":"1329440831","filename":"file0"},{"photo_id":"1329440844","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329440831":["hashtag1","hashtag2"]},{"1329440839":["hashtag1","hashtag2"]},{"1329440856":["hashtag1","hashtag2"]},{"1329440835":["hashtag1","hashtag2"]},{"1329440850":["hashtag1","hashtag2"]},{"1329440844":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329440831, 1329440839, 1329440856, 1329440835, 1329440850, 1329440844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.258872985839844 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:56:01.935589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/55/image_17012025_09_55_16_5199.jpg', '/media/data/images/17012025/09/55/image_17012025_09_55_11_6482.jpg', '/media/data/images/17012025/09/54/image_17012025_09_55_04_6566.jpg', '/media/data/images/17012025/09/54/image_17012025_09_54_58_5213.jpg', '/media/data/images/17012025/09/54/image_17012025_09_54_17_6368.jpg', '/media/data/images/17012025/09/54/image_17012025_09_54_10_6381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/55/image_17012025_09_55_16_5199.jpg
/media/data/images/17012025/09/55/image_17012025_09_55_11_6482.jpg
/media/data/images/17012025/09/54/image_17012025_09_55_04_6566.jpg
/media/data/images/17012025/09/54/image_17012025_09_54_58_5213.jpg
/media/data/images/17012025/09/54/image_17012025_09_54_17_6368.jpg
/media/data/images/17012025/09/54/image_17012025_09_54_10_6381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329440887","1329440875","1329440869","1329440872","1329440883","1329440879"],"photo_ids_order":["1329440869","1329440872","1329440875","1329440879","1329440883","1329440887"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e0cb72ffee38da24e60096df210558d1.jpg","text":"TemporaryFile(/tmp/multipartBody3435008659561385238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104230673,"filename":"image_17012025_09_54_10_6381.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/eda79bfa5a0b6e71b1150d40db3d15ec.jpg","text":"TemporaryFile(/tmp/multipartBody6628200023426727694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104230673,"filename":"image_17012025_09_55_04_6566.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4c688c09d1874aa735be151bcb09f4f6.jpg","text":"TemporaryFile(/tmp/multipartBody9010179274290608807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104230673,"filename":"image_17012025_09_55_16_5199.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/34d79a76f90bb32a8e6e92a29600fe60.jpg","text":"TemporaryFile(/tmp/multipartBody8837857759369895885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104230673,"filename":"image_17012025_09_55_11_6482.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f2b24d55e989ba00a2ac22779f6ae7e9.jpg","text":"TemporaryFile(/tmp/multipartBody689954430518258544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104230673,"filename":"image_17012025_09_54_17_6368.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0a966624c7ea8ea55a41354fad4af1ca.jpg","text":"TemporaryFile(/tmp/multipartBody790142019145145322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104230673,"filename":"image_17012025_09_54_58_5213.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329440875","file1":"1329440872","file0":"1329440869","file4":"1329440883","file5":"1329440887","file3":"1329440879"},"map_files_photo_id_array":[{"photo_id":"1329440887","filename":"file5"},{"photo_id":"1329440875","filename":"file2"},{"photo_id":"1329440883","filename":"file4"},{"photo_id":"1329440872","filename":"file1"},{"photo_id":"1329440869","filename":"file0"},{"photo_id":"1329440879","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329440887":["hashtag1","hashtag2"]},{"1329440875":["hashtag1","hashtag2"]},{"1329440869":["hashtag1","hashtag2"]},{"1329440872":["hashtag1","hashtag2"]},{"1329440883":["hashtag1","hashtag2"]},{"1329440879":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329440887, 1329440875, 1329440869, 1329440872, 1329440883, 1329440879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.362499475479126 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:57:02.344235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/56/image_17012025_09_56_52_6403.jpg', '/media/data/images/17012025/09/56/image_17012025_09_56_46_5170.jpg', '/media/data/images/17012025/09/56/image_17012025_09_56_40_6395.jpg', '/media/data/images/17012025/09/56/image_17012025_09_56_34_6400.jpg', '/media/data/images/17012025/09/56/image_17012025_09_56_28_5162.jpg', '/media/data/images/17012025/09/56/image_17012025_09_56_23_6394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/56/image_17012025_09_56_52_6403.jpg
/media/data/images/17012025/09/56/image_17012025_09_56_46_5170.jpg
/media/data/images/17012025/09/56/image_17012025_09_56_40_6395.jpg
/media/data/images/17012025/09/56/image_17012025_09_56_34_6400.jpg
/media/data/images/17012025/09/56/image_17012025_09_56_28_5162.jpg
/media/data/images/17012025/09/56/image_17012025_09_56_23_6394.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329440930","1329440920","1329440925","1329440928","1329440933","1329440936"],"photo_ids_order":["1329440920","1329440925","1329440928","1329440930","1329440933","1329440936"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/47007336bfeeed06577a7925c259a379.jpg","text":"TemporaryFile(/tmp/multipartBody3742470682119397937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104285882,"filename":"image_17012025_09_56_34_6400.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3cce2ac16afc359bd2cdb36a76919b68.jpg","text":"TemporaryFile(/tmp/multipartBody8552418543294913965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104285882,"filename":"image_17012025_09_56_52_6403.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1550d4cb498b66bfaf4f7b6ce4d2e1f1.jpg","text":"TemporaryFile(/tmp/multipartBody539027247049995257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104285882,"filename":"image_17012025_09_56_46_5170.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0b06d03045fcd94f50b5057ab762333b.jpg","text":"TemporaryFile(/tmp/multipartBody1999380261545182290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104285882,"filename":"image_17012025_09_56_40_6395.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e42107ac8c00bfa11183bdaa913a55c7.jpg","text":"TemporaryFile(/tmp/multipartBody262252618401667526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104285882,"filename":"image_17012025_09_56_28_5162.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ca0a4d15030a351c4ae31a5208cf6466.jpg","text":"TemporaryFile(/tmp/multipartBody678073505855649698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104285882,"filename":"image_17012025_09_56_23_6394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329440928","file1":"1329440925","file0":"1329440920","file4":"1329440933","file5":"1329440936","file3":"1329440930"},"map_files_photo_id_array":[{"photo_id":"1329440936","filename":"file5"},{"photo_id":"1329440928","filename":"file2"},{"photo_id":"1329440933","filename":"file4"},{"photo_id":"1329440925","filename":"file1"},{"photo_id":"1329440920","filename":"file0"},{"photo_id":"1329440930","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329440930":["hashtag1","hashtag2"]},{"1329440920":["hashtag1","hashtag2"]},{"1329440925":["hashtag1","hashtag2"]},{"1329440928":["hashtag1","hashtag2"]},{"1329440933":["hashtag1","hashtag2"]},{"1329440936":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329440930, 1329440920, 1329440925, 1329440928, 1329440933, 1329440936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.623507499694824 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:57:41.935803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/57/image_17012025_09_57_52_5361.jpg', '/media/data/images/17012025/09/57/image_17012025_09_57_46_6614.jpg', '/media/data/images/17012025/09/57/image_17012025_09_57_40_5366.jpg', '/media/data/images/17012025/09/57/image_17012025_09_57_34_6444.jpg', '/media/data/images/17012025/09/57/image_17012025_09_57_28_5173.jpg', '/media/data/images/17012025/09/57/image_17012025_09_57_23_6388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/57/image_17012025_09_57_52_5361.jpg
/media/data/images/17012025/09/57/image_17012025_09_57_46_6614.jpg
/media/data/images/17012025/09/57/image_17012025_09_57_40_5366.jpg
/media/data/images/17012025/09/57/image_17012025_09_57_34_6444.jpg
/media/data/images/17012025/09/57/image_17012025_09_57_28_5173.jpg
/media/data/images/17012025/09/57/image_17012025_09_57_23_6388.jpg
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 09:59:03.034748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/58/image_17012025_09_58_47_6643.jpg', '/media/data/images/17012025/09/58/image_17012025_09_58_40_5373.jpg', '/media/data/images/17012025/09/58/image_17012025_09_58_34_6625.jpg', '/media/data/images/17012025/09/58/image_17012025_09_58_28_5401.jpg', '/media/data/images/17012025/09/58/image_17012025_09_58_22_6676.jpg', '/media/data/images/17012025/09/58/image_17012025_09_58_16_5423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/58/image_17012025_09_58_47_6643.jpg
/media/data/images/17012025/09/58/image_17012025_09_58_40_5373.jpg
/media/data/images/17012025/09/58/image_17012025_09_58_34_6625.jpg
/media/data/images/17012025/09/58/image_17012025_09_58_28_5401.jpg
/media/data/images/17012025/09/58/image_17012025_09_58_22_6676.jpg
/media/data/images/17012025/09/58/image_17012025_09_58_16_5423.jpg
2025-01-17 09:59:03.055847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/58/image_17012025_09_58_47_6643.jpg', '/media/data/images/17012025/09/58/image_17012025_09_58_40_5373.jpg', '/media/data/images/17012025/09/58/image_17012025_09_58_34_6625.jpg', '/media/data/images/17012025/09/58/image_17012025_09_58_28_5401.jpg', '/media/data/images/17012025/09/58/image_17012025_09_58_22_6676.jpg', '/media/data/images/17012025/09/58/image_17012025_09_58_16_5423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/58/image_17012025_09_58_47_6643.jpg
/media/data/images/17012025/09/58/image_17012025_09_58_40_5373.jpg
/media/data/images/17012025/09/58/image_17012025_09_58_34_6625.jpg
/media/data/images/17012025/09/58/image_17012025_09_58_28_5401.jpg
/media/data/images/17012025/09/58/image_17012025_09_58_22_6676.jpg
/media/data/images/17012025/09/58/image_17012025_09_58_16_5423.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329441031","1329441007","1329441022","1329441015","1329441027","1329441035"],"photo_ids_order":["1329441007","1329441015","1329441022","1329441027","1329441031","1329441035"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1c61182f7ed6b640c4422635df9850bf.jpg","text":"TemporaryFile(/tmp/multipartBody561770120536701356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104420208,"filename":"image_17012025_09_58_22_6676.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/421a5e1ade73ad89972dad54325cbe3f.jpg","text":"TemporaryFile(/tmp/multipartBody2555714454989459044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104420208,"filename":"image_17012025_09_58_47_6643.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4d0704547f7e3d402ddb2549aaca0c77.jpg","text":"TemporaryFile(/tmp/multipartBody6364482896227559170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104420208,"filename":"image_17012025_09_58_34_6625.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cf5adf2957c540060646dd31fbdf897a.jpg","text":"TemporaryFile(/tmp/multipartBody6440836476601421177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104420208,"filename":"image_17012025_09_58_40_5373.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a882f47f29cd78a53ccaa050d876162f.jpg","text":"TemporaryFile(/tmp/multipartBody777300479231150648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104420208,"filename":"image_17012025_09_58_28_5401.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8c8002bad5e6ecbdc0708ee0a132a5ba.jpg","text":"TemporaryFile(/tmp/multipartBody505011163469109507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104420208,"filename":"image_17012025_09_58_16_5423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329441022","file1":"1329441015","file0":"1329441007","file4":"1329441031","file5":"1329441035","file3":"1329441027"},"map_files_photo_id_array":[{"photo_id":"1329441035","filename":"file5"},{"photo_id":"1329441022","filename":"file2"},{"photo_id":"1329441031","filename":"file4"},{"photo_id":"1329441015","filename":"file1"},{"photo_id":"1329441007","filename":"file0"},{"photo_id":"1329441027","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329441031":["hashtag1","hashtag2"]},{"1329441007":["hashtag1","hashtag2"]},{"1329441022":["hashtag1","hashtag2"]},{"1329441015":["hashtag1","hashtag2"]},{"1329441027":["hashtag1","hashtag2"]},{"1329441035":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329441031, 1329441007, 1329441022, 1329441015, 1329441027, 1329441035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.68546175956726 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329441028","1329441016","1329441033","1329441039","1329441009","1329441023"],"photo_ids_order":["1329441009","1329441016","1329441023","1329441028","1329441033","1329441039"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/57977c8aa62820cace8d5f4ddd25234a.jpg","text":"TemporaryFile(/tmp/multipartBody866060280407119934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104421032,"filename":"image_17012025_09_58_28_5401.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e87bad8a20be92bafbd765e44df4ff97.jpg","text":"TemporaryFile(/tmp/multipartBody6103026664212500502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104421032,"filename":"image_17012025_09_58_40_5373.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/102c17ef41172f987e0d4218d8bccc8f.jpg","text":"TemporaryFile(/tmp/multipartBody1260712562157481298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104421032,"filename":"image_17012025_09_58_22_6676.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1685d661cbd5289c99381dd6c235ef6a.jpg","text":"TemporaryFile(/tmp/multipartBody3794348673273281529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104421032,"filename":"image_17012025_09_58_16_5423.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e27933bd8af213f973f95bcf06b47942.jpg","text":"TemporaryFile(/tmp/multipartBody4126619791513754484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104421032,"filename":"image_17012025_09_58_47_6643.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/382707f8aab1d7224d3e4357d2601b0c.jpg","text":"TemporaryFile(/tmp/multipartBody5351926723374644948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104421032,"filename":"image_17012025_09_58_34_6625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329441023","file1":"1329441016","file0":"1329441009","file4":"1329441033","file5":"1329441039","file3":"1329441028"},"map_files_photo_id_array":[{"photo_id":"1329441039","filename":"file5"},{"photo_id":"1329441023","filename":"file2"},{"photo_id":"1329441033","filename":"file4"},{"photo_id":"1329441016","filename":"file1"},{"photo_id":"1329441009","filename":"file0"},{"photo_id":"1329441028","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329441028":["hashtag1","hashtag2"]},{"1329441016":["hashtag1","hashtag2"]},{"1329441033":["hashtag1","hashtag2"]},{"1329441039":["hashtag1","hashtag2"]},{"1329441009":["hashtag1","hashtag2"]},{"1329441023":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329441028, 1329441016, 1329441033, 1329441039, 1329441009, 1329441023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.04344892501831 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:00:02.624767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/59/image_17012025_09_59_53_6585.jpg', '/media/data/images/17012025/09/59/image_17012025_09_59_16_5265.jpg', '/media/data/images/17012025/09/59/image_17012025_09_59_11_6654.jpg', '/media/data/images/17012025/09/58/image_17012025_09_58_52_5441.jpg', '/media/data/images/17012025/09/58/image_17012025_09_58_10_5509.jpg', '/media/data/images/17012025/09/58/image_17012025_09_58_05_6483.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/59/image_17012025_09_59_53_6585.jpg
/media/data/images/17012025/09/59/image_17012025_09_59_16_5265.jpg
/media/data/images/17012025/09/59/image_17012025_09_59_11_6654.jpg
/media/data/images/17012025/09/58/image_17012025_09_58_52_5441.jpg
/media/data/images/17012025/09/58/image_17012025_09_58_10_5509.jpg
/media/data/images/17012025/09/58/image_17012025_09_58_05_6483.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329441084","1329441093","1329441066","1329441102","1329441098","1329441073"],"photo_ids_order":["1329441066","1329441073","1329441084","1329441093","1329441098","1329441102"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e0e4cadd261690b855bfd82053b1f22a.jpg","text":"TemporaryFile(/tmp/multipartBody8914202132907512526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104491590,"filename":"image_17012025_09_59_11_6654.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d21e0735d1ff9f23b4ea017d79be7159.jpg","text":"TemporaryFile(/tmp/multipartBody3231659043000396019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104491590,"filename":"image_17012025_09_58_52_5441.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fa10c6de7d34b19087b4d1fac1af2e97.jpg","text":"TemporaryFile(/tmp/multipartBody376510027932646743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104491590,"filename":"image_17012025_09_59_53_6585.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fbd3223075ca0f629b43ef3a7084bc16.jpg","text":"TemporaryFile(/tmp/multipartBody5825995769094870991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104491590,"filename":"image_17012025_09_58_05_6483.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/806e112cb12c6392de3fcbc140647a0b.jpg","text":"TemporaryFile(/tmp/multipartBody8758684447261745847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104491590,"filename":"image_17012025_09_58_10_5509.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9a097e68ef9e238649f951869ad64d4b.jpg","text":"TemporaryFile(/tmp/multipartBody616167255029876526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104491590,"filename":"image_17012025_09_59_16_5265.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329441084","file1":"1329441073","file0":"1329441066","file4":"1329441098","file5":"1329441102","file3":"1329441093"},"map_files_photo_id_array":[{"photo_id":"1329441102","filename":"file5"},{"photo_id":"1329441084","filename":"file2"},{"photo_id":"1329441098","filename":"file4"},{"photo_id":"1329441073","filename":"file1"},{"photo_id":"1329441066","filename":"file0"},{"photo_id":"1329441093","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329441084":["hashtag1","hashtag2"]},{"1329441093":["hashtag1","hashtag2"]},{"1329441066":["hashtag1","hashtag2"]},{"1329441102":["hashtag1","hashtag2"]},{"1329441098":["hashtag1","hashtag2"]},{"1329441073":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329441084, 1329441093, 1329441066, 1329441102, 1329441098, 1329441073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.64193391799927 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:01:22.526432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/01/image_17012025_10_01_40_5302.jpg', '/media/data/images/17012025/10/01/image_17012025_10_01_35_6499.jpg', '/media/data/images/17012025/10/01/image_17012025_10_01_28_6536.jpg', '/media/data/images/17012025/10/01/image_17012025_10_01_22_5299.jpg', '/media/data/images/17012025/10/01/image_17012025_10_01_16_6558.jpg', '/media/data/images/17012025/10/01/image_17012025_10_01_10_5361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/01/image_17012025_10_01_40_5302.jpg
/media/data/images/17012025/10/01/image_17012025_10_01_35_6499.jpg
/media/data/images/17012025/10/01/image_17012025_10_01_28_6536.jpg
/media/data/images/17012025/10/01/image_17012025_10_01_22_5299.jpg
/media/data/images/17012025/10/01/image_17012025_10_01_16_6558.jpg
/media/data/images/17012025/10/01/image_17012025_10_01_10_5361.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: 15.111305952072144 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:01:42.517345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/01/image_17012025_10_01_40_5302.jpg', '/media/data/images/17012025/10/01/image_17012025_10_01_35_6499.jpg', '/media/data/images/17012025/10/01/image_17012025_10_01_28_6536.jpg', '/media/data/images/17012025/10/01/image_17012025_10_01_22_5299.jpg', '/media/data/images/17012025/10/01/image_17012025_10_01_16_6558.jpg', '/media/data/images/17012025/10/01/image_17012025_10_01_10_5361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/01/image_17012025_10_01_40_5302.jpg
/media/data/images/17012025/10/01/image_17012025_10_01_35_6499.jpg
/media/data/images/17012025/10/01/image_17012025_10_01_28_6536.jpg
/media/data/images/17012025/10/01/image_17012025_10_01_22_5299.jpg
/media/data/images/17012025/10/01/image_17012025_10_01_16_6558.jpg
/media/data/images/17012025/10/01/image_17012025_10_01_10_5361.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329441157","1329441144","1329441138","1329441170","1329441152","1329441166"],"photo_ids_order":["1329441138","1329441144","1329441152","1329441157","1329441166","1329441170"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a8f2cdc10c1b1a5e74da66b2bb6b2c1e.jpg","text":"TemporaryFile(/tmp/multipartBody6480330573464060758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104568104,"filename":"image_17012025_10_01_22_5299.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6c2c202e0dc86b493fcf1827d0a8f895.jpg","text":"TemporaryFile(/tmp/multipartBody3999175798532281152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104568104,"filename":"image_17012025_10_01_35_6499.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ea5bb6e19e2f6fce2d13f8fc6e930d9e.jpg","text":"TemporaryFile(/tmp/multipartBody6111505405636602799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104568104,"filename":"image_17012025_10_01_40_5302.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8343676f9eb73f5f42c1e32d3141d5be.jpg","text":"TemporaryFile(/tmp/multipartBody5725544219922287198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104568104,"filename":"image_17012025_10_01_10_5361.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5322dd751e8f7b007ff509fe24df68cc.jpg","text":"TemporaryFile(/tmp/multipartBody8352734668423014018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104568104,"filename":"image_17012025_10_01_28_6536.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b6eb6e0e04fc7bac4bec2cc12851c1ca.jpg","text":"TemporaryFile(/tmp/multipartBody406810045967012959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104568104,"filename":"image_17012025_10_01_16_6558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329441152","file1":"1329441144","file0":"1329441138","file4":"1329441166","file5":"1329441170","file3":"1329441157"},"map_files_photo_id_array":[{"photo_id":"1329441170","filename":"file5"},{"photo_id":"1329441152","filename":"file2"},{"photo_id":"1329441166","filename":"file4"},{"photo_id":"1329441144","filename":"file1"},{"photo_id":"1329441138","filename":"file0"},{"photo_id":"1329441157","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329441157":["hashtag1","hashtag2"]},{"1329441144":["hashtag1","hashtag2"]},{"1329441138":["hashtag1","hashtag2"]},{"1329441170":["hashtag1","hashtag2"]},{"1329441152":["hashtag1","hashtag2"]},{"1329441166":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329441157, 1329441144, 1329441138, 1329441170, 1329441152, 1329441166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.335100412368774 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:02:22.636165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/02/image_17012025_10_02_52_5268.jpg', '/media/data/images/17012025/10/02/image_17012025_10_02_47_6291.jpg', '/media/data/images/17012025/10/02/image_17012025_10_02_41_6621.jpg', '/media/data/images/17012025/10/02/image_17012025_10_02_29_6602.jpg', '/media/data/images/17012025/10/02/image_17012025_10_02_22_5283.jpg', '/media/data/images/17012025/10/02/image_17012025_10_02_17_6567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/02/image_17012025_10_02_52_5268.jpg
/media/data/images/17012025/10/02/image_17012025_10_02_47_6291.jpg
/media/data/images/17012025/10/02/image_17012025_10_02_41_6621.jpg
/media/data/images/17012025/10/02/image_17012025_10_02_29_6602.jpg
/media/data/images/17012025/10/02/image_17012025_10_02_22_5283.jpg
/media/data/images/17012025/10/02/image_17012025_10_02_17_6567.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329441177","1329441189","1329441180","1329441201","1329441197","1329441184"],"photo_ids_order":["1329441177","1329441180","1329441184","1329441189","1329441197","1329441201"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/148f99ac30e84b2b8840c67e32f13885.jpg","text":"TemporaryFile(/tmp/multipartBody5036940543806404690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104608681,"filename":"image_17012025_10_02_52_5268.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/88f08dd014d4d5ba671a83d9b49ef3d9.jpg","text":"TemporaryFile(/tmp/multipartBody4103694610975549275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104608681,"filename":"image_17012025_10_02_29_6602.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ef563e671cf279854c8f6afe77daac30.jpg","text":"TemporaryFile(/tmp/multipartBody7700107343135481052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104608681,"filename":"image_17012025_10_02_47_6291.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a0308ae2339ba64c135f63471993c3c4.jpg","text":"TemporaryFile(/tmp/multipartBody2989449355041095088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104608681,"filename":"image_17012025_10_02_17_6567.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6192f52d3e4e292f0b41afb60acf80cc.jpg","text":"TemporaryFile(/tmp/multipartBody559433640653846250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104608681,"filename":"image_17012025_10_02_22_5283.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d14358a6759d885057b920ff5703110b.jpg","text":"TemporaryFile(/tmp/multipartBody290094889504656670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104608681,"filename":"image_17012025_10_02_41_6621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329441184","file1":"1329441180","file0":"1329441177","file4":"1329441197","file5":"1329441201","file3":"1329441189"},"map_files_photo_id_array":[{"photo_id":"1329441201","filename":"file5"},{"photo_id":"1329441184","filename":"file2"},{"photo_id":"1329441197","filename":"file4"},{"photo_id":"1329441180","filename":"file1"},{"photo_id":"1329441177","filename":"file0"},{"photo_id":"1329441189","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329441177":["hashtag1","hashtag2"]},{"1329441189":["hashtag1","hashtag2"]},{"1329441180":["hashtag1","hashtag2"]},{"1329441201":["hashtag1","hashtag2"]},{"1329441197":["hashtag1","hashtag2"]},{"1329441184":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329441177, 1329441189, 1329441180, 1329441201, 1329441197, 1329441184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.74708294868469 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:03:22.740326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/03/image_17012025_10_03_52_6577.jpg', '/media/data/images/17012025/10/03/image_17012025_10_03_46_5339.jpg', '/media/data/images/17012025/10/03/image_17012025_10_03_41_6580.jpg', '/media/data/images/17012025/10/03/image_17012025_10_03_34_5310.jpg', '/media/data/images/17012025/10/03/image_17012025_10_03_29_6553.jpg', '/media/data/images/17012025/10/03/image_17012025_10_03_22_5309.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/03/image_17012025_10_03_52_6577.jpg
/media/data/images/17012025/10/03/image_17012025_10_03_46_5339.jpg
/media/data/images/17012025/10/03/image_17012025_10_03_41_6580.jpg
/media/data/images/17012025/10/03/image_17012025_10_03_34_5310.jpg
/media/data/images/17012025/10/03/image_17012025_10_03_29_6553.jpg
/media/data/images/17012025/10/03/image_17012025_10_03_22_5309.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329441258","1329441273","1329441267","1329441249","1329441254","1329441263"],"photo_ids_order":["1329441249","1329441254","1329441258","1329441263","1329441267","1329441273"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/002e38c3147892666799ec86bf590fb7.jpg","text":"TemporaryFile(/tmp/multipartBody1028127419491989120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104683458,"filename":"image_17012025_10_03_41_6580.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/959c43ab5b104b1edd8df10e1f7ae2b1.jpg","text":"TemporaryFile(/tmp/multipartBody4559503256845655452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104683458,"filename":"image_17012025_10_03_22_5309.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a860125072f0a98c7beebcf1f7c04130.jpg","text":"TemporaryFile(/tmp/multipartBody8468515243207100506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104683458,"filename":"image_17012025_10_03_29_6553.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a02f89c81d2ae859f5520c00cb352506.jpg","text":"TemporaryFile(/tmp/multipartBody34144977384561062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104683458,"filename":"image_17012025_10_03_52_6577.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/eab949ff355b7ac4b82efeb14637fdb5.jpg","text":"TemporaryFile(/tmp/multipartBody8823974814576720351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104683458,"filename":"image_17012025_10_03_46_5339.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/eb15dcdc1428605115edb21c5a51f440.jpg","text":"TemporaryFile(/tmp/multipartBody1518848451851143288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104683458,"filename":"image_17012025_10_03_34_5310.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329441258","file1":"1329441254","file0":"1329441249","file4":"1329441267","file5":"1329441273","file3":"1329441263"},"map_files_photo_id_array":[{"photo_id":"1329441273","filename":"file5"},{"photo_id":"1329441258","filename":"file2"},{"photo_id":"1329441267","filename":"file4"},{"photo_id":"1329441254","filename":"file1"},{"photo_id":"1329441249","filename":"file0"},{"photo_id":"1329441263","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329441258":["hashtag1","hashtag2"]},{"1329441273":["hashtag1","hashtag2"]},{"1329441267":["hashtag1","hashtag2"]},{"1329441249":["hashtag1","hashtag2"]},{"1329441254":["hashtag1","hashtag2"]},{"1329441263":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329441258, 1329441273, 1329441267, 1329441249, 1329441254, 1329441263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.66173219680786 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:04:21.805596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/04/image_17012025_10_04_40_5273.jpg', '/media/data/images/17012025/10/04/image_17012025_10_04_28_6537.jpg', '/media/data/images/17012025/10/04/image_17012025_10_04_22_5271.jpg', '/media/data/images/17012025/10/04/image_17012025_10_04_16_6539.jpg', '/media/data/images/17012025/10/03/image_17012025_10_04_05_6755.jpg', '/media/data/images/17012025/10/03/image_17012025_10_03_58_5279.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/04/image_17012025_10_04_40_5273.jpg
/media/data/images/17012025/10/04/image_17012025_10_04_28_6537.jpg
/media/data/images/17012025/10/04/image_17012025_10_04_22_5271.jpg
/media/data/images/17012025/10/04/image_17012025_10_04_16_6539.jpg
/media/data/images/17012025/10/03/image_17012025_10_04_05_6755.jpg
/media/data/images/17012025/10/03/image_17012025_10_03_58_5279.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329441319","1329441313","1329441300","1329441306","1329441292","1329441286"],"photo_ids_order":["1329441286","1329441292","1329441300","1329441306","1329441313","1329441319"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9a61bc51e241be82b6333ab194c41705.jpg","text":"TemporaryFile(/tmp/multipartBody7936197037089490774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104733659,"filename":"image_17012025_10_03_58_5279.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f0a830d658c61d4c88a95192badb1cf4.jpg","text":"TemporaryFile(/tmp/multipartBody8196573005390971599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104733659,"filename":"image_17012025_10_04_05_6755.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fbb828caac92f9737005bd2ce6cf57ab.jpg","text":"TemporaryFile(/tmp/multipartBody8439193794843401485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104733659,"filename":"image_17012025_10_04_22_5271.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b4456a472dda909abb02558e56b70856.jpg","text":"TemporaryFile(/tmp/multipartBody5414747722119230343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104733659,"filename":"image_17012025_10_04_16_6539.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f4b1817d34bf6741b00744a0b47e5ea0.jpg","text":"TemporaryFile(/tmp/multipartBody1402085148284315805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104733659,"filename":"image_17012025_10_04_28_6537.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ce86b130556ee45f6200dec4e4b4ab2c.jpg","text":"TemporaryFile(/tmp/multipartBody6995292437677545784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104733659,"filename":"image_17012025_10_04_40_5273.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329441300","file1":"1329441292","file0":"1329441286","file4":"1329441313","file5":"1329441319","file3":"1329441306"},"map_files_photo_id_array":[{"photo_id":"1329441319","filename":"file5"},{"photo_id":"1329441300","filename":"file2"},{"photo_id":"1329441313","filename":"file4"},{"photo_id":"1329441292","filename":"file1"},{"photo_id":"1329441286","filename":"file0"},{"photo_id":"1329441306","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329441319":["hashtag1","hashtag2"]},{"1329441313":["hashtag1","hashtag2"]},{"1329441300":["hashtag1","hashtag2"]},{"1329441306":["hashtag1","hashtag2"]},{"1329441292":["hashtag1","hashtag2"]},{"1329441286":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329441319, 1329441313, 1329441300, 1329441306, 1329441292, 1329441286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.21510863304138 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:05:21.930624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/05/image_17012025_10_05_52_6521.jpg', '/media/data/images/17012025/10/05/image_17012025_10_05_29_6567.jpg', '/media/data/images/17012025/10/05/image_17012025_10_05_22_5325.jpg', '/media/data/images/17012025/10/05/image_17012025_10_05_10_5349.jpg', '/media/data/images/17012025/10/05/image_17012025_10_05_05_6396.jpg', '/media/data/images/17012025/10/04/image_17012025_10_04_47_6512.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/05/image_17012025_10_05_52_6521.jpg
/media/data/images/17012025/10/05/image_17012025_10_05_29_6567.jpg
/media/data/images/17012025/10/05/image_17012025_10_05_22_5325.jpg
/media/data/images/17012025/10/05/image_17012025_10_05_10_5349.jpg
/media/data/images/17012025/10/05/image_17012025_10_05_05_6396.jpg
/media/data/images/17012025/10/04/image_17012025_10_04_47_6512.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329441367","1329441352","1329441339","1329441341","1329441359","1329441344"],"photo_ids_order":["1329441339","1329441341","1329441344","1329441352","1329441359","1329441367"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2e692e6e9c0c48c5a1dfdfb1bb5c2f90.jpg","text":"TemporaryFile(/tmp/multipartBody4586888467525370012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104788816,"filename":"image_17012025_10_04_47_6512.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/274201dc9b2aa7a52a5b74db9c6f0006.jpg","text":"TemporaryFile(/tmp/multipartBody6886329114974488907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104788816,"filename":"image_17012025_10_05_10_5349.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bbf69164e17ef7f9444a863f48dcd7cd.jpg","text":"TemporaryFile(/tmp/multipartBody6613921159531037563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104788816,"filename":"image_17012025_10_05_52_6521.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0641a6da5f6fffb3b3266177c9523116.jpg","text":"TemporaryFile(/tmp/multipartBody7093171542640064508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104788816,"filename":"image_17012025_10_05_29_6567.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6c6d295a5c66fdf4a178abef7fc796d3.jpg","text":"TemporaryFile(/tmp/multipartBody6909106768758695919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104788816,"filename":"image_17012025_10_05_05_6396.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c97e1815062ac66f988304f97c2675c5.jpg","text":"TemporaryFile(/tmp/multipartBody6135857504027917276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104788816,"filename":"image_17012025_10_05_22_5325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329441344","file1":"1329441341","file0":"1329441339","file4":"1329441359","file5":"1329441367","file3":"1329441352"},"map_files_photo_id_array":[{"photo_id":"1329441367","filename":"file5"},{"photo_id":"1329441344","filename":"file2"},{"photo_id":"1329441359","filename":"file4"},{"photo_id":"1329441341","filename":"file1"},{"photo_id":"1329441339","filename":"file0"},{"photo_id":"1329441352","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329441367":["hashtag1","hashtag2"]},{"1329441352":["hashtag1","hashtag2"]},{"1329441339":["hashtag1","hashtag2"]},{"1329441341":["hashtag1","hashtag2"]},{"1329441359":["hashtag1","hashtag2"]},{"1329441344":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329441367, 1329441352, 1329441339, 1329441341, 1329441359, 1329441344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.03942680358887 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:06:22.049630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/06/image_17012025_10_06_52_5187.jpg', '/media/data/images/17012025/10/06/image_17012025_10_06_47_6404.jpg', '/media/data/images/17012025/10/06/image_17012025_10_06_40_6411.jpg', '/media/data/images/17012025/10/06/image_17012025_10_06_34_5204.jpg', '/media/data/images/17012025/10/06/image_17012025_10_06_29_6404.jpg', '/media/data/images/17012025/10/06/image_17012025_10_06_22_6377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/06/image_17012025_10_06_52_5187.jpg
/media/data/images/17012025/10/06/image_17012025_10_06_47_6404.jpg
/media/data/images/17012025/10/06/image_17012025_10_06_40_6411.jpg
/media/data/images/17012025/10/06/image_17012025_10_06_34_5204.jpg
/media/data/images/17012025/10/06/image_17012025_10_06_29_6404.jpg
/media/data/images/17012025/10/06/image_17012025_10_06_22_6377.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329441392","1329441389","1329441416","1329441410","1329441404","1329441397"],"photo_ids_order":["1329441389","1329441392","1329441397","1329441404","1329441410","1329441416"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/928c063e8f47727e5e1e42ce12868798.jpg","text":"TemporaryFile(/tmp/multipartBody1455018152705814085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104846917,"filename":"image_17012025_10_06_47_6404.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/984218e9eb72cdaca48814d48b77391b.jpg","text":"TemporaryFile(/tmp/multipartBody3208094855034752617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104846917,"filename":"image_17012025_10_06_52_5187.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/02d3296d52ed2842d96a93ee80509945.jpg","text":"TemporaryFile(/tmp/multipartBody4997356240312238579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104846917,"filename":"image_17012025_10_06_22_6377.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bc555a07c4cabccbb085423e40f775ab.jpg","text":"TemporaryFile(/tmp/multipartBody7639986256709481628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104846917,"filename":"image_17012025_10_06_29_6404.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8e395d1069d306c89dbd22f46701eef5.jpg","text":"TemporaryFile(/tmp/multipartBody6776613251893758153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104846917,"filename":"image_17012025_10_06_34_5204.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3a22dedea37a8f631da199c1f411a0a9.jpg","text":"TemporaryFile(/tmp/multipartBody8910896881737885534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104846917,"filename":"image_17012025_10_06_40_6411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329441397","file1":"1329441392","file0":"1329441389","file4":"1329441410","file5":"1329441416","file3":"1329441404"},"map_files_photo_id_array":[{"photo_id":"1329441416","filename":"file5"},{"photo_id":"1329441397","filename":"file2"},{"photo_id":"1329441410","filename":"file4"},{"photo_id":"1329441392","filename":"file1"},{"photo_id":"1329441389","filename":"file0"},{"photo_id":"1329441404","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329441392":["hashtag1","hashtag2"]},{"1329441389":["hashtag1","hashtag2"]},{"1329441416":["hashtag1","hashtag2"]},{"1329441410":["hashtag1","hashtag2"]},{"1329441404":["hashtag1","hashtag2"]},{"1329441397":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329441392, 1329441389, 1329441416, 1329441410, 1329441404, 1329441397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.943559885025024 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:07:02.411431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/06/image_17012025_10_06_16_5157.jpg', '/media/data/images/17012025/10/06/image_17012025_10_06_11_6552.jpg', '/media/data/images/17012025/10/05/image_17012025_10_06_04_6528.jpg', '/media/data/images/17012025/10/05/image_17012025_10_05_58_5230.jpg', '/media/data/images/17012025/10/03/image_17012025_10_03_17_6543.jpg', '/media/data/images/17012025/10/03/image_17012025_10_03_10_6542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/06/image_17012025_10_06_16_5157.jpg
/media/data/images/17012025/10/06/image_17012025_10_06_11_6552.jpg
/media/data/images/17012025/10/05/image_17012025_10_06_04_6528.jpg
/media/data/images/17012025/10/05/image_17012025_10_05_58_5230.jpg
/media/data/images/17012025/10/03/image_17012025_10_03_17_6543.jpg
/media/data/images/17012025/10/03/image_17012025_10_03_10_6542.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329441436","1329441441","1329441452","1329441455","1329441449","1329441446"],"photo_ids_order":["1329441436","1329441441","1329441446","1329441449","1329441452","1329441455"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a8841a54749849413760745b8d2c1bb7.jpg","text":"TemporaryFile(/tmp/multipartBody7044024835460294673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104888211,"filename":"image_17012025_10_06_16_5157.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e18d1f3e72edaf92c2c92e3ddd95e6bf.jpg","text":"TemporaryFile(/tmp/multipartBody2497350025114563591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104888211,"filename":"image_17012025_10_06_11_6552.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d0cbb90e9d10845c7c48048a39dda9f9.jpg","text":"TemporaryFile(/tmp/multipartBody8298790440388678298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104888211,"filename":"image_17012025_10_03_17_6543.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/42cd147de4790a97e61a67c17999f8ec.jpg","text":"TemporaryFile(/tmp/multipartBody2641482276669069460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104888211,"filename":"image_17012025_10_03_10_6542.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/500986564b9f87d785750bf57f39e9b9.jpg","text":"TemporaryFile(/tmp/multipartBody8665853224396173243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104888211,"filename":"image_17012025_10_05_58_5230.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ce8c032698f15052bd9c6b3df4d9a881.jpg","text":"TemporaryFile(/tmp/multipartBody3087920854569647853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104888211,"filename":"image_17012025_10_06_04_6528.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329441446","file1":"1329441441","file0":"1329441436","file4":"1329441452","file5":"1329441455","file3":"1329441449"},"map_files_photo_id_array":[{"photo_id":"1329441455","filename":"file5"},{"photo_id":"1329441446","filename":"file2"},{"photo_id":"1329441452","filename":"file4"},{"photo_id":"1329441441","filename":"file1"},{"photo_id":"1329441436","filename":"file0"},{"photo_id":"1329441449","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329441436":["hashtag1","hashtag2"]},{"1329441441":["hashtag1","hashtag2"]},{"1329441452":["hashtag1","hashtag2"]},{"1329441455":["hashtag1","hashtag2"]},{"1329441449":["hashtag1","hashtag2"]},{"1329441446":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329441436, 1329441441, 1329441452, 1329441455, 1329441449, 1329441446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.85430908203125 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:07:42.095107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/07/image_17012025_10_07_52_6217.jpg', '/media/data/images/17012025/10/07/image_17012025_10_07_46_5176.jpg', '/media/data/images/17012025/10/07/image_17012025_10_07_41_6448.jpg', '/media/data/images/17012025/10/07/image_17012025_10_07_34_6434.jpg', '/media/data/images/17012025/10/07/image_17012025_10_07_28_5206.jpg', '/media/data/images/17012025/10/07/image_17012025_10_07_22_6388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/07/image_17012025_10_07_52_6217.jpg
/media/data/images/17012025/10/07/image_17012025_10_07_46_5176.jpg
/media/data/images/17012025/10/07/image_17012025_10_07_41_6448.jpg
/media/data/images/17012025/10/07/image_17012025_10_07_34_6434.jpg
/media/data/images/17012025/10/07/image_17012025_10_07_28_5206.jpg
/media/data/images/17012025/10/07/image_17012025_10_07_22_6388.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329441472","1329441489","1329441468","1329441483","1329441476","1329441463"],"photo_ids_order":["1329441463","1329441468","1329441472","1329441476","1329441483","1329441489"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cd6f3a15d40e2c4bab06a863f1e48ec0.jpg","text":"TemporaryFile(/tmp/multipartBody3735756062263787865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104927404,"filename":"image_17012025_10_07_41_6448.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c08e94f473a52f95e934073c30ba9938.jpg","text":"TemporaryFile(/tmp/multipartBody316646514653920943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104927404,"filename":"image_17012025_10_07_22_6388.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c3eb22eb2e423a69fdb2580af05c7b73.jpg","text":"TemporaryFile(/tmp/multipartBody2673547455868404223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104927404,"filename":"image_17012025_10_07_46_5176.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1b039bdf645773f0e0a6bb2613338985.jpg","text":"TemporaryFile(/tmp/multipartBody7965250847154033410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104927404,"filename":"image_17012025_10_07_28_5206.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/84480064102f9426565b7dc87d569b9d.jpg","text":"TemporaryFile(/tmp/multipartBody3344489132507281496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104927404,"filename":"image_17012025_10_07_34_6434.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ede5814fe878e57b5cde125ed55259d9.jpg","text":"TemporaryFile(/tmp/multipartBody7069382013767469125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104927404,"filename":"image_17012025_10_07_52_6217.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329441472","file1":"1329441468","file0":"1329441463","file4":"1329441483","file5":"1329441489","file3":"1329441476"},"map_files_photo_id_array":[{"photo_id":"1329441489","filename":"file5"},{"photo_id":"1329441472","filename":"file2"},{"photo_id":"1329441483","filename":"file4"},{"photo_id":"1329441468","filename":"file1"},{"photo_id":"1329441463","filename":"file0"},{"photo_id":"1329441476","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329441472":["hashtag1","hashtag2"]},{"1329441489":["hashtag1","hashtag2"]},{"1329441468":["hashtag1","hashtag2"]},{"1329441483":["hashtag1","hashtag2"]},{"1329441476":["hashtag1","hashtag2"]},{"1329441463":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329441472, 1329441489, 1329441468, 1329441483, 1329441476, 1329441463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.934881925582886 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:08:22.169970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/08/image_17012025_10_08_52_6192.jpg', '/media/data/images/17012025/10/08/image_17012025_10_08_46_5211.jpg', '/media/data/images/17012025/10/08/image_17012025_10_08_41_6439.jpg', '/media/data/images/17012025/10/08/image_17012025_10_08_34_6413.jpg', '/media/data/images/17012025/10/08/image_17012025_10_08_28_5174.jpg', '/media/data/images/17012025/10/08/image_17012025_10_08_23_6407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/08/image_17012025_10_08_52_6192.jpg
/media/data/images/17012025/10/08/image_17012025_10_08_46_5211.jpg
/media/data/images/17012025/10/08/image_17012025_10_08_41_6439.jpg
/media/data/images/17012025/10/08/image_17012025_10_08_34_6413.jpg
/media/data/images/17012025/10/08/image_17012025_10_08_28_5174.jpg
/media/data/images/17012025/10/08/image_17012025_10_08_23_6407.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.899780035018921 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:08:42.202077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/08/image_17012025_10_08_52_6192.jpg', '/media/data/images/17012025/10/08/image_17012025_10_08_46_5211.jpg', '/media/data/images/17012025/10/08/image_17012025_10_08_41_6439.jpg', '/media/data/images/17012025/10/08/image_17012025_10_08_34_6413.jpg', '/media/data/images/17012025/10/08/image_17012025_10_08_28_5174.jpg', '/media/data/images/17012025/10/08/image_17012025_10_08_23_6407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/08/image_17012025_10_08_52_6192.jpg
/media/data/images/17012025/10/08/image_17012025_10_08_46_5211.jpg
/media/data/images/17012025/10/08/image_17012025_10_08_41_6439.jpg
/media/data/images/17012025/10/08/image_17012025_10_08_34_6413.jpg
/media/data/images/17012025/10/08/image_17012025_10_08_28_5174.jpg
/media/data/images/17012025/10/08/image_17012025_10_08_23_6407.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329441532","1329441526","1329441529","1329441523","1329441536","1329441539"],"photo_ids_order":["1329441523","1329441526","1329441529","1329441532","1329441536","1329441539"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e7f9b0ea49521e45dd335dee3151e89a.jpg","text":"TemporaryFile(/tmp/multipartBody955685568962815909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104986835,"filename":"image_17012025_10_08_34_6413.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3b24f215d73491a045816948e782ac20.jpg","text":"TemporaryFile(/tmp/multipartBody364763921759553495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104986835,"filename":"image_17012025_10_08_46_5211.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/24492254455aacdfbb376d42d659a677.jpg","text":"TemporaryFile(/tmp/multipartBody1023642820332385797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104986835,"filename":"image_17012025_10_08_41_6439.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b06fb6fc767a8d0b7195486e110f7db6.jpg","text":"TemporaryFile(/tmp/multipartBody5958650527752110781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104986835,"filename":"image_17012025_10_08_52_6192.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/aa69baef7d873d7dc9bdfeea026d7ad8.jpg","text":"TemporaryFile(/tmp/multipartBody2045629280009465620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104986835,"filename":"image_17012025_10_08_28_5174.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/aaae3f65df762db49bc76f1770034e60.jpg","text":"TemporaryFile(/tmp/multipartBody81850356463500981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737104986835,"filename":"image_17012025_10_08_23_6407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329441529","file1":"1329441526","file0":"1329441523","file4":"1329441536","file5":"1329441539","file3":"1329441532"},"map_files_photo_id_array":[{"photo_id":"1329441539","filename":"file5"},{"photo_id":"1329441529","filename":"file2"},{"photo_id":"1329441536","filename":"file4"},{"photo_id":"1329441526","filename":"file1"},{"photo_id":"1329441523","filename":"file0"},{"photo_id":"1329441532","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329441532":["hashtag1","hashtag2"]},{"1329441526":["hashtag1","hashtag2"]},{"1329441529":["hashtag1","hashtag2"]},{"1329441523":["hashtag1","hashtag2"]},{"1329441536":["hashtag1","hashtag2"]},{"1329441539":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329441532, 1329441526, 1329441529, 1329441523, 1329441536, 1329441539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42792582511902 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:09:22.277406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/09/image_17012025_10_09_52_5177.jpg', '/media/data/images/17012025/10/09/image_17012025_10_09_46_6413.jpg', '/media/data/images/17012025/10/09/image_17012025_10_09_40_6216.jpg', '/media/data/images/17012025/10/09/image_17012025_10_09_34_5174.jpg', '/media/data/images/17012025/10/09/image_17012025_10_09_29_6389.jpg', '/media/data/images/17012025/10/09/image_17012025_10_09_22_6195.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/09/image_17012025_10_09_52_5177.jpg
/media/data/images/17012025/10/09/image_17012025_10_09_46_6413.jpg
/media/data/images/17012025/10/09/image_17012025_10_09_40_6216.jpg
/media/data/images/17012025/10/09/image_17012025_10_09_34_5174.jpg
/media/data/images/17012025/10/09/image_17012025_10_09_29_6389.jpg
/media/data/images/17012025/10/09/image_17012025_10_09_22_6195.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329441550","1329441553","1329441573","1329441567","1329441561","1329441556"],"photo_ids_order":["1329441550","1329441553","1329441556","1329441561","1329441567","1329441573"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2529c2ca777f43d5b7db63af42035081.jpg","text":"TemporaryFile(/tmp/multipartBody3787598980150411010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105026436,"filename":"image_17012025_10_09_52_5177.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a7dbbc65f684b8d2e3b2c734298df612.jpg","text":"TemporaryFile(/tmp/multipartBody7360629268247318902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105026436,"filename":"image_17012025_10_09_46_6413.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/981fc61f5eb886d755af951af484477b.jpg","text":"TemporaryFile(/tmp/multipartBody6699168999488299949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105026436,"filename":"image_17012025_10_09_22_6195.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d5268aa8c0acb44f954e1f01c2d432c6.jpg","text":"TemporaryFile(/tmp/multipartBody6606808434200203069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105026436,"filename":"image_17012025_10_09_29_6389.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e5f915015d4d3623b5fca9b96bae0af3.jpg","text":"TemporaryFile(/tmp/multipartBody8682222653910419561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105026436,"filename":"image_17012025_10_09_34_5174.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ae1c313f7ecc0aadc8463b8b4742d5cf.jpg","text":"TemporaryFile(/tmp/multipartBody3743598968324090516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105026436,"filename":"image_17012025_10_09_40_6216.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329441556","file1":"1329441553","file0":"1329441550","file4":"1329441567","file5":"1329441573","file3":"1329441561"},"map_files_photo_id_array":[{"photo_id":"1329441573","filename":"file5"},{"photo_id":"1329441556","filename":"file2"},{"photo_id":"1329441567","filename":"file4"},{"photo_id":"1329441553","filename":"file1"},{"photo_id":"1329441550","filename":"file0"},{"photo_id":"1329441561","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329441550":["hashtag1","hashtag2"]},{"1329441553":["hashtag1","hashtag2"]},{"1329441573":["hashtag1","hashtag2"]},{"1329441567":["hashtag1","hashtag2"]},{"1329441561":["hashtag1","hashtag2"]},{"1329441556":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329441550, 1329441553, 1329441573, 1329441567, 1329441561, 1329441556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0478241443634 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:10:02.537859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/09/image_17012025_10_09_16_6400.jpg', '/media/data/images/17012025/10/09/image_17012025_10_09_10_5202.jpg', '/media/data/images/17012025/10/09/image_17012025_10_09_04_6169.jpg', '/media/data/images/17012025/10/08/image_17012025_10_08_58_6357.jpg', '/media/data/images/17012025/10/08/image_17012025_10_08_16_6380.jpg', '/media/data/images/17012025/10/08/image_17012025_10_08_10_5235.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/09/image_17012025_10_09_16_6400.jpg
/media/data/images/17012025/10/09/image_17012025_10_09_10_5202.jpg
/media/data/images/17012025/10/09/image_17012025_10_09_04_6169.jpg
/media/data/images/17012025/10/08/image_17012025_10_08_58_6357.jpg
/media/data/images/17012025/10/08/image_17012025_10_08_16_6380.jpg
/media/data/images/17012025/10/08/image_17012025_10_08_10_5235.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329441591","1329441596","1329441599","1329441587","1329441592","1329441589"],"photo_ids_order":["1329441587","1329441589","1329441591","1329441592","1329441596","1329441599"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7ab15d943a45a1f9c2465a2b302f133f.jpg","text":"TemporaryFile(/tmp/multipartBody5703296721013555377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105066805,"filename":"image_17012025_10_09_04_6169.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1cc075c97b0bfe2f257a64aa28b4f876.jpg","text":"TemporaryFile(/tmp/multipartBody2902307810735872497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105066805,"filename":"image_17012025_10_08_16_6380.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7a5f9b8874e8b46cca52be909fa449ef.jpg","text":"TemporaryFile(/tmp/multipartBody7759187702209618027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105066805,"filename":"image_17012025_10_08_10_5235.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/62c708d8784f0b70237c33e0f10f8fdc.jpg","text":"TemporaryFile(/tmp/multipartBody4566302782933630183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105066805,"filename":"image_17012025_10_09_16_6400.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/86d85a4c9b14e1c90ae249cdd4d3d7b3.jpg","text":"TemporaryFile(/tmp/multipartBody164722587997894212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105066805,"filename":"image_17012025_10_08_58_6357.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/59cfe192649993087c1d38f32f5541c2.jpg","text":"TemporaryFile(/tmp/multipartBody8415316375044493051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105066805,"filename":"image_17012025_10_09_10_5202.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329441591","file1":"1329441589","file0":"1329441587","file4":"1329441596","file5":"1329441599","file3":"1329441592"},"map_files_photo_id_array":[{"photo_id":"1329441599","filename":"file5"},{"photo_id":"1329441591","filename":"file2"},{"photo_id":"1329441596","filename":"file4"},{"photo_id":"1329441589","filename":"file1"},{"photo_id":"1329441587","filename":"file0"},{"photo_id":"1329441592","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329441591":["hashtag1","hashtag2"]},{"1329441596":["hashtag1","hashtag2"]},{"1329441599":["hashtag1","hashtag2"]},{"1329441587":["hashtag1","hashtag2"]},{"1329441592":["hashtag1","hashtag2"]},{"1329441589":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329441591, 1329441596, 1329441599, 1329441587, 1329441592, 1329441589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.059412479400635 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:10:42.362529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/10/image_17012025_10_10_52_4976.jpg', '/media/data/images/17012025/10/10/image_17012025_10_10_47_6390.jpg', '/media/data/images/17012025/10/10/image_17012025_10_10_40_6367.jpg', '/media/data/images/17012025/10/10/image_17012025_10_10_34_5160.jpg', '/media/data/images/17012025/10/10/image_17012025_10_10_29_6366.jpg', '/media/data/images/17012025/10/10/image_17012025_10_10_22_6335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/10/image_17012025_10_10_52_4976.jpg
/media/data/images/17012025/10/10/image_17012025_10_10_47_6390.jpg
/media/data/images/17012025/10/10/image_17012025_10_10_40_6367.jpg
/media/data/images/17012025/10/10/image_17012025_10_10_34_5160.jpg
/media/data/images/17012025/10/10/image_17012025_10_10_29_6366.jpg
/media/data/images/17012025/10/10/image_17012025_10_10_22_6335.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329441642","1329441636","1329441621","1329441639","1329441633","1329441626"],"photo_ids_order":["1329441621","1329441626","1329441633","1329441636","1329441639","1329441642"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c82c5b266facb7488edf3dd067f64b5b.jpg","text":"TemporaryFile(/tmp/multipartBody5460291975826953534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105106233,"filename":"image_17012025_10_10_22_6335.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0b2a045bf7ad5a6012d8cb9e02577171.jpg","text":"TemporaryFile(/tmp/multipartBody7733127605134160958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105106233,"filename":"image_17012025_10_10_34_5160.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6147c7ceaa549dde12d7c9d974d38377.jpg","text":"TemporaryFile(/tmp/multipartBody1377637749139972426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105106233,"filename":"image_17012025_10_10_52_4976.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a87a600da3f3cafd8aeb5158aae9a6de.jpg","text":"TemporaryFile(/tmp/multipartBody4323675179206423482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105106233,"filename":"image_17012025_10_10_29_6366.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6c74f8e60b4092c0e3df66fca51de141.jpg","text":"TemporaryFile(/tmp/multipartBody2327507383616699331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105106233,"filename":"image_17012025_10_10_40_6367.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7d6601c817452bf33dcf8942957bbe65.jpg","text":"TemporaryFile(/tmp/multipartBody8170006139864985848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105106233,"filename":"image_17012025_10_10_47_6390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329441633","file1":"1329441626","file0":"1329441621","file4":"1329441639","file5":"1329441642","file3":"1329441636"},"map_files_photo_id_array":[{"photo_id":"1329441642","filename":"file5"},{"photo_id":"1329441633","filename":"file2"},{"photo_id":"1329441639","filename":"file4"},{"photo_id":"1329441626","filename":"file1"},{"photo_id":"1329441621","filename":"file0"},{"photo_id":"1329441636","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329441642":["hashtag1","hashtag2"]},{"1329441636":["hashtag1","hashtag2"]},{"1329441621":["hashtag1","hashtag2"]},{"1329441639":["hashtag1","hashtag2"]},{"1329441633":["hashtag1","hashtag2"]},{"1329441626":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329441642, 1329441636, 1329441621, 1329441639, 1329441633, 1329441626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.06217336654663 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:11:22.497104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/11/image_17012025_10_11_46_5329.jpg', '/media/data/images/17012025/10/11/image_17012025_10_11_34_6560.jpg', '/media/data/images/17012025/10/11/image_17012025_10_11_28_5324.jpg', '/media/data/images/17012025/10/11/image_17012025_10_11_22_6563.jpg', '/media/data/images/17012025/10/11/image_17012025_10_11_16_6201.jpg', '/media/data/images/17012025/10/11/image_17012025_10_11_10_5198.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/11/image_17012025_10_11_46_5329.jpg
/media/data/images/17012025/10/11/image_17012025_10_11_34_6560.jpg
/media/data/images/17012025/10/11/image_17012025_10_11_28_5324.jpg
/media/data/images/17012025/10/11/image_17012025_10_11_22_6563.jpg
/media/data/images/17012025/10/11/image_17012025_10_11_16_6201.jpg
/media/data/images/17012025/10/11/image_17012025_10_11_10_5198.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329441658","1329441654","1329441663","1329441650","1329441668","1329441673"],"photo_ids_order":["1329441650","1329441654","1329441658","1329441663","1329441668","1329441673"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c22c0fedfd7241adc611438773d1b794.jpg","text":"TemporaryFile(/tmp/multipartBody7399646059532981257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105149195,"filename":"image_17012025_10_11_28_5324.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a05aa6248b0ddd353054c1f5adad2dbb.jpg","text":"TemporaryFile(/tmp/multipartBody2662410851962581821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105149195,"filename":"image_17012025_10_11_34_6560.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3f9cf68c018b60dc629337a6bf81fd61.jpg","text":"TemporaryFile(/tmp/multipartBody4158552070232187940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105149195,"filename":"image_17012025_10_11_22_6563.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6e4d6dda820a7b4a5e33264168052b74.jpg","text":"TemporaryFile(/tmp/multipartBody8441331800718993454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105149195,"filename":"image_17012025_10_11_46_5329.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ac14d64c09f526981bd38265790cc0ba.jpg","text":"TemporaryFile(/tmp/multipartBody6492264425179957085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105149195,"filename":"image_17012025_10_11_16_6201.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/34b73d845d783fcfc2cb64451781fab7.jpg","text":"TemporaryFile(/tmp/multipartBody3099918731624687056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105149195,"filename":"image_17012025_10_11_10_5198.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329441658","file1":"1329441654","file0":"1329441650","file4":"1329441668","file5":"1329441673","file3":"1329441663"},"map_files_photo_id_array":[{"photo_id":"1329441673","filename":"file5"},{"photo_id":"1329441658","filename":"file2"},{"photo_id":"1329441668","filename":"file4"},{"photo_id":"1329441654","filename":"file1"},{"photo_id":"1329441650","filename":"file0"},{"photo_id":"1329441663","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329441658":["hashtag1","hashtag2"]},{"1329441654":["hashtag1","hashtag2"]},{"1329441663":["hashtag1","hashtag2"]},{"1329441650":["hashtag1","hashtag2"]},{"1329441668":["hashtag1","hashtag2"]},{"1329441673":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329441658, 1329441654, 1329441663, 1329441650, 1329441668, 1329441673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.74456310272217 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:12:02.806802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/10/image_17012025_10_11_04_6400.jpg', '/media/data/images/17012025/10/10/image_17012025_10_10_58_6400.jpg', '/media/data/images/17012025/10/10/image_17012025_10_10_16_6361.jpg', '/media/data/images/17012025/10/10/image_17012025_10_10_10_5204.jpg', '/media/data/images/17012025/10/09/image_17012025_10_10_04_6453.jpg', '/media/data/images/17012025/10/09/image_17012025_10_09_58_6393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/10/image_17012025_10_11_04_6400.jpg
/media/data/images/17012025/10/10/image_17012025_10_10_58_6400.jpg
/media/data/images/17012025/10/10/image_17012025_10_10_16_6361.jpg
/media/data/images/17012025/10/10/image_17012025_10_10_10_5204.jpg
/media/data/images/17012025/10/09/image_17012025_10_10_04_6453.jpg
/media/data/images/17012025/10/09/image_17012025_10_09_58_6393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329441690","1329441698","1329441692","1329441701","1329441704","1329441694"],"photo_ids_order":["1329441690","1329441692","1329441694","1329441698","1329441701","1329441704"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2f40a4dc5d098361cb90aabc9563bef4.jpg","text":"TemporaryFile(/tmp/multipartBody5727876066921408398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105192632,"filename":"image_17012025_10_11_04_6400.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/87037f202ea19c4ea9f5a52256059f7e.jpg","text":"TemporaryFile(/tmp/multipartBody2540710439733124193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105192632,"filename":"image_17012025_10_10_10_5204.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0f4fd06e95ac7fae58d32b690b4842bb.jpg","text":"TemporaryFile(/tmp/multipartBody8930197922722672945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105192632,"filename":"image_17012025_10_10_58_6400.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/685a99e461992fb4fe5963a00cf1185d.jpg","text":"TemporaryFile(/tmp/multipartBody1299045949095692373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105192632,"filename":"image_17012025_10_10_04_6453.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f6366b9daff80611e1995b563c02863e.jpg","text":"TemporaryFile(/tmp/multipartBody7290108493890962776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105192632,"filename":"image_17012025_10_09_58_6393.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f5d190a245fa49a1f51aa75a0a6405dd.jpg","text":"TemporaryFile(/tmp/multipartBody4841917284037820331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105192632,"filename":"image_17012025_10_10_16_6361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329441694","file1":"1329441692","file0":"1329441690","file4":"1329441701","file5":"1329441704","file3":"1329441698"},"map_files_photo_id_array":[{"photo_id":"1329441704","filename":"file5"},{"photo_id":"1329441694","filename":"file2"},{"photo_id":"1329441701","filename":"file4"},{"photo_id":"1329441692","filename":"file1"},{"photo_id":"1329441690","filename":"file0"},{"photo_id":"1329441698","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329441690":["hashtag1","hashtag2"]},{"1329441698":["hashtag1","hashtag2"]},{"1329441692":["hashtag1","hashtag2"]},{"1329441701":["hashtag1","hashtag2"]},{"1329441704":["hashtag1","hashtag2"]},{"1329441694":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329441690, 1329441698, 1329441692, 1329441701, 1329441704, 1329441694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.45154881477356 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:13:02.901467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/12/image_17012025_10_12_52_5314.jpg', '/media/data/images/17012025/10/12/image_17012025_10_12_47_6567.jpg', '/media/data/images/17012025/10/12/image_17012025_10_12_22_5346.jpg', '/media/data/images/17012025/10/12/image_17012025_10_12_16_6566.jpg', '/media/data/images/17012025/10/12/image_17012025_10_12_10_5371.jpg', '/media/data/images/17012025/10/12/image_17012025_10_12_05_6381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/12/image_17012025_10_12_52_5314.jpg
/media/data/images/17012025/10/12/image_17012025_10_12_47_6567.jpg
/media/data/images/17012025/10/12/image_17012025_10_12_22_5346.jpg
/media/data/images/17012025/10/12/image_17012025_10_12_16_6566.jpg
/media/data/images/17012025/10/12/image_17012025_10_12_10_5371.jpg
/media/data/images/17012025/10/12/image_17012025_10_12_05_6381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329441756","1329441752","1329441746","1329441740","1329441737","1329441754"],"photo_ids_order":["1329441737","1329441740","1329441746","1329441752","1329441754","1329441756"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9d8308f9c3bb6f24befb94d60a599c53.jpg","text":"TemporaryFile(/tmp/multipartBody7259114402199799164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105254158,"filename":"image_17012025_10_12_05_6381.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/add62203089b8d78e4e31a3ab9ec3d07.jpg","text":"TemporaryFile(/tmp/multipartBody9099315326454398610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105254158,"filename":"image_17012025_10_12_16_6566.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4b35a8f3d5ddffd142def6f318961a0d.jpg","text":"TemporaryFile(/tmp/multipartBody7755511066326762686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105254158,"filename":"image_17012025_10_12_22_5346.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7b54549dff9f66573bfb7e9c81572c0c.jpg","text":"TemporaryFile(/tmp/multipartBody1420272753497260847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105254158,"filename":"image_17012025_10_12_47_6567.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8ca6267d28a5e3b5b4cea0dab2d531c2.jpg","text":"TemporaryFile(/tmp/multipartBody5547884646572485117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105254158,"filename":"image_17012025_10_12_52_5314.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dcc8525b0197f0f013014e659e3a8be8.jpg","text":"TemporaryFile(/tmp/multipartBody3680431878209692181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105254158,"filename":"image_17012025_10_12_10_5371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329441746","file1":"1329441740","file0":"1329441737","file4":"1329441754","file5":"1329441756","file3":"1329441752"},"map_files_photo_id_array":[{"photo_id":"1329441756","filename":"file5"},{"photo_id":"1329441746","filename":"file2"},{"photo_id":"1329441754","filename":"file4"},{"photo_id":"1329441740","filename":"file1"},{"photo_id":"1329441737","filename":"file0"},{"photo_id":"1329441752","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329441756":["hashtag1","hashtag2"]},{"1329441752":["hashtag1","hashtag2"]},{"1329441746":["hashtag1","hashtag2"]},{"1329441740":["hashtag1","hashtag2"]},{"1329441737":["hashtag1","hashtag2"]},{"1329441754":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329441756, 1329441752, 1329441746, 1329441740, 1329441737, 1329441754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.09856200218201 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 10:14:03.228602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/13/image_17012025_10_13_52_6520.jpg', '/media/data/images/17012025/10/13/image_17012025_10_13_41_6516.jpg', '/media/data/images/17012025/10/13/image_17012025_10_13_34_5285.jpg', '/media/data/images/17012025/10/13/image_17012025_10_13_29_6573.jpg', '/media/data/images/17012025/10/13/image_17012025_10_13_10_6585.jpg', '/media/data/images/17012025/10/13/image_17012025_10_13_04_5066.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/13/image_17012025_10_13_52_6520.jpg
/media/data/images/17012025/10/13/image_17012025_10_13_41_6516.jpg
/media/data/images/17012025/10/13/image_17012025_10_13_34_5285.jpg
/media/data/images/17012025/10/13/image_17012025_10_13_29_6573.jpg
/media/data/images/17012025/10/13/image_17012025_10_13_10_6585.jpg
/media/data/images/17012025/10/13/image_17012025_10_13_04_5066.jpg
2025-01-17 10:14:03.229642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/13/image_17012025_10_13_52_6520.jpg', '/media/data/images/17012025/10/13/image_17012025_10_13_41_6516.jpg', '/media/data/images/17012025/10/13/image_17012025_10_13_34_5285.jpg', '/media/data/images/17012025/10/13/image_17012025_10_13_29_6573.jpg', '/media/data/images/17012025/10/13/image_17012025_10_13_10_6585.jpg', '/media/data/images/17012025/10/13/image_17012025_10_13_04_5066.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/13/image_17012025_10_13_52_6520.jpg
/media/data/images/17012025/10/13/image_17012025_10_13_41_6516.jpg
/media/data/images/17012025/10/13/image_17012025_10_13_34_5285.jpg
/media/data/images/17012025/10/13/image_17012025_10_13_29_6573.jpg
/media/data/images/17012025/10/13/image_17012025_10_13_10_6585.jpg
/media/data/images/17012025/10/13/image_17012025_10_13_04_5066.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329441823","1329441817","1329441811","1329441797","1329441803","1329441793"],"photo_ids_order":["1329441793","1329441797","1329441803","1329441811","1329441817","1329441823"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d12e1cd1d0991e56bdf571c902248754.jpg","text":"TemporaryFile(/tmp/multipartBody2542218674480373317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105328245,"filename":"image_17012025_10_13_04_5066.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/be8a442c9574535ba602f89b3124c08b.jpg","text":"TemporaryFile(/tmp/multipartBody1530193049302031919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105328245,"filename":"image_17012025_10_13_10_6585.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7c9be2d1e3df5111ad2af15bc56d264e.jpg","text":"TemporaryFile(/tmp/multipartBody6393462426870847649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105328245,"filename":"image_17012025_10_13_29_6573.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e0e775e50ceca660f13ebed1371a83bd.jpg","text":"TemporaryFile(/tmp/multipartBody1212755175190295445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105328245,"filename":"image_17012025_10_13_41_6516.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/68f0973d491c631d5e465d6c1d44ffe7.jpg","text":"TemporaryFile(/tmp/multipartBody8006723644966514311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105328245,"filename":"image_17012025_10_13_34_5285.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7dd2f6b8e50e6a966f002de95c4ef62e.jpg","text":"TemporaryFile(/tmp/multipartBody8097343004917633531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105328245,"filename":"image_17012025_10_13_52_6520.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329441803","file1":"1329441797","file0":"1329441793","file4":"1329441817","file5":"1329441823","file3":"1329441811"},"map_files_photo_id_array":[{"photo_id":"1329441823","filename":"file5"},{"photo_id":"1329441803","filename":"file2"},{"photo_id":"1329441817","filename":"file4"},{"photo_id":"1329441797","filename":"file1"},{"photo_id":"1329441793","filename":"file0"},{"photo_id":"1329441811","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329441823":["hashtag1","hashtag2"]},{"1329441817":["hashtag1","hashtag2"]},{"1329441811":["hashtag1","hashtag2"]},{"1329441797":["hashtag1","hashtag2"]},{"1329441803":["hashtag1","hashtag2"]},{"1329441793":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329441823, 1329441817, 1329441811, 1329441797, 1329441803, 1329441793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.98336052894592 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329441805","1329441792","1329441825","1329441819","1329441812","1329441796"],"photo_ids_order":["1329441792","1329441796","1329441805","1329441812","1329441819","1329441825"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8fe7e87a4bc248d2cbd1b8027672ca4f.jpg","text":"TemporaryFile(/tmp/multipartBody8136305946520096444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105328391,"filename":"image_17012025_10_13_34_5285.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/847c488ee5e707fe19955fa32596d8f2.jpg","text":"TemporaryFile(/tmp/multipartBody1744681698114779222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105328391,"filename":"image_17012025_10_13_52_6520.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0247c4c44b759fa0ef76195d6cc8a85e.jpg","text":"TemporaryFile(/tmp/multipartBody1206507879626120178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105328391,"filename":"image_17012025_10_13_04_5066.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5db51c12b3976333800a4babb0077998.jpg","text":"TemporaryFile(/tmp/multipartBody6241090567062150410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105328391,"filename":"image_17012025_10_13_10_6585.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d712aa0a93b4b732eac94bafc8a2482a.jpg","text":"TemporaryFile(/tmp/multipartBody6264308007501718271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105328391,"filename":"image_17012025_10_13_29_6573.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6a6b7667a14d7d4101189e605f2bef09.jpg","text":"TemporaryFile(/tmp/multipartBody2824340549231451247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105328391,"filename":"image_17012025_10_13_41_6516.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329441805","file1":"1329441796","file0":"1329441792","file4":"1329441819","file5":"1329441825","file3":"1329441812"},"map_files_photo_id_array":[{"photo_id":"1329441825","filename":"file5"},{"photo_id":"1329441805","filename":"file2"},{"photo_id":"1329441819","filename":"file4"},{"photo_id":"1329441796","filename":"file1"},{"photo_id":"1329441792","filename":"file0"},{"photo_id":"1329441812","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329441805":["hashtag1","hashtag2"]},{"1329441792":["hashtag1","hashtag2"]},{"1329441825":["hashtag1","hashtag2"]},{"1329441819":["hashtag1","hashtag2"]},{"1329441812":["hashtag1","hashtag2"]},{"1329441796":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329441805, 1329441792, 1329441825, 1329441819, 1329441812, 1329441796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.888213872909546 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:15:21.793967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/15/image_17012025_10_15_47_6522.jpg', '/media/data/images/17012025/10/15/image_17012025_10_15_35_6513.jpg', '/media/data/images/17012025/10/15/image_17012025_10_15_16_6521.jpg', '/media/data/images/17012025/10/15/image_17012025_10_15_10_5302.jpg', '/media/data/images/17012025/10/14/image_17012025_10_15_05_6803.jpg', '/media/data/images/17012025/10/14/image_17012025_10_14_46_5316.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/15/image_17012025_10_15_47_6522.jpg
/media/data/images/17012025/10/15/image_17012025_10_15_35_6513.jpg
/media/data/images/17012025/10/15/image_17012025_10_15_16_6521.jpg
/media/data/images/17012025/10/15/image_17012025_10_15_10_5302.jpg
/media/data/images/17012025/10/14/image_17012025_10_15_05_6803.jpg
/media/data/images/17012025/10/14/image_17012025_10_14_46_5316.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329441862","1329441865","1329441855","1329441858","1329441851","1329441848"],"photo_ids_order":["1329441848","1329441851","1329441855","1329441858","1329441862","1329441865"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3ae471a076e624cfa0075717f5bfaa38.jpg","text":"TemporaryFile(/tmp/multipartBody7880742141869856814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105396499,"filename":"image_17012025_10_15_05_6803.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f66ee38cf2ec9e187c5e94e322b3735f.jpg","text":"TemporaryFile(/tmp/multipartBody5395914766483943515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105396499,"filename":"image_17012025_10_14_46_5316.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/071cf8fa7fe72c86f4c7f2feb8add88a.jpg","text":"TemporaryFile(/tmp/multipartBody5120105250319919592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105396499,"filename":"image_17012025_10_15_16_6521.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6f92323c9abc507d0e54d2b263fd055f.jpg","text":"TemporaryFile(/tmp/multipartBody8906020672502162079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105396499,"filename":"image_17012025_10_15_10_5302.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/243f8ef7e263f947b714ceda4f9e49c6.jpg","text":"TemporaryFile(/tmp/multipartBody2100520734037682529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105396499,"filename":"image_17012025_10_15_35_6513.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f42dfaa409a421c75b61c6b3008f40ea.jpg","text":"TemporaryFile(/tmp/multipartBody2964698577671003192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105396499,"filename":"image_17012025_10_15_47_6522.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329441855","file1":"1329441851","file0":"1329441848","file4":"1329441862","file5":"1329441865","file3":"1329441858"},"map_files_photo_id_array":[{"photo_id":"1329441865","filename":"file5"},{"photo_id":"1329441855","filename":"file2"},{"photo_id":"1329441862","filename":"file4"},{"photo_id":"1329441851","filename":"file1"},{"photo_id":"1329441848","filename":"file0"},{"photo_id":"1329441858","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329441862":["hashtag1","hashtag2"]},{"1329441865":["hashtag1","hashtag2"]},{"1329441855":["hashtag1","hashtag2"]},{"1329441858":["hashtag1","hashtag2"]},{"1329441851":["hashtag1","hashtag2"]},{"1329441848":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329441862, 1329441865, 1329441855, 1329441858, 1329441851, 1329441848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.584046363830566 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:16:21.905358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/16/image_17012025_10_16_34_5343.jpg', '/media/data/images/17012025/10/16/image_17012025_10_16_05_6455.jpg', '/media/data/images/17012025/10/15/image_17012025_10_15_52_5284.jpg', '/media/data/images/17012025/10/14/image_17012025_10_14_34_5288.jpg', '/media/data/images/17012025/10/14/image_17012025_10_14_29_6517.jpg', '/media/data/images/17012025/10/14/image_17012025_10_14_22_6520.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/16/image_17012025_10_16_34_5343.jpg
/media/data/images/17012025/10/16/image_17012025_10_16_05_6455.jpg
/media/data/images/17012025/10/15/image_17012025_10_15_52_5284.jpg
/media/data/images/17012025/10/14/image_17012025_10_14_34_5288.jpg
/media/data/images/17012025/10/14/image_17012025_10_14_29_6517.jpg
/media/data/images/17012025/10/14/image_17012025_10_14_22_6520.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329441906","1329441899","1329441905","1329441908","1329441902","1329441895"],"photo_ids_order":["1329441895","1329441899","1329441902","1329441905","1329441906","1329441908"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ab22bd1bcffafb9d08defaab732c7b89.jpg","text":"TemporaryFile(/tmp/multipartBody2095510490028401033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105458534,"filename":"image_17012025_10_14_29_6517.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e4c314a5188f1b0152155247bcfec654.jpg","text":"TemporaryFile(/tmp/multipartBody1312616488201079685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105458534,"filename":"image_17012025_10_16_05_6455.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b4e6e0d7823fcc41bdbba54c1de5a251.jpg","text":"TemporaryFile(/tmp/multipartBody1529862788112087755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105458534,"filename":"image_17012025_10_14_34_5288.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/13538aa3c7f10c8d19ab8d6c2ca3d6d9.jpg","text":"TemporaryFile(/tmp/multipartBody110997934458539707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105458534,"filename":"image_17012025_10_14_22_6520.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d9686279cfb2e529d76777a097deecd2.jpg","text":"TemporaryFile(/tmp/multipartBody3662897248185182514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105458534,"filename":"image_17012025_10_15_52_5284.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3504cadbbce6c1b47893d13b2dc430bf.jpg","text":"TemporaryFile(/tmp/multipartBody2333147685725666386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105458534,"filename":"image_17012025_10_16_34_5343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329441902","file1":"1329441899","file0":"1329441895","file4":"1329441906","file5":"1329441908","file3":"1329441905"},"map_files_photo_id_array":[{"photo_id":"1329441908","filename":"file5"},{"photo_id":"1329441902","filename":"file2"},{"photo_id":"1329441906","filename":"file4"},{"photo_id":"1329441899","filename":"file1"},{"photo_id":"1329441895","filename":"file0"},{"photo_id":"1329441905","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329441906":["hashtag1","hashtag2"]},{"1329441899":["hashtag1","hashtag2"]},{"1329441905":["hashtag1","hashtag2"]},{"1329441908":["hashtag1","hashtag2"]},{"1329441902":["hashtag1","hashtag2"]},{"1329441895":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329441906, 1329441899, 1329441905, 1329441908, 1329441902, 1329441895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.78967499732971 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:17:22.002260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/17/image_17012025_10_17_53_6373.jpg', '/media/data/images/17012025/10/17/image_17012025_10_17_46_6391.jpg', '/media/data/images/17012025/10/17/image_17012025_10_17_40_5176.jpg', '/media/data/images/17012025/10/17/image_17012025_10_17_35_6370.jpg', '/media/data/images/17012025/10/17/image_17012025_10_17_28_6392.jpg', '/media/data/images/17012025/10/17/image_17012025_10_17_22_6270.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/17/image_17012025_10_17_53_6373.jpg
/media/data/images/17012025/10/17/image_17012025_10_17_46_6391.jpg
/media/data/images/17012025/10/17/image_17012025_10_17_40_5176.jpg
/media/data/images/17012025/10/17/image_17012025_10_17_35_6370.jpg
/media/data/images/17012025/10/17/image_17012025_10_17_28_6392.jpg
/media/data/images/17012025/10/17/image_17012025_10_17_22_6270.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329441943","1329441937","1329441948","1329441927","1329441924","1329441932"],"photo_ids_order":["1329441924","1329441927","1329441932","1329441937","1329441943","1329441948"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/64fcffe3ec81723a04fe5748042f5b39.jpg","text":"TemporaryFile(/tmp/multipartBody3164086769341148580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105506367,"filename":"image_17012025_10_17_28_6392.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/84ede19de4b08272ca07f869d9736642.jpg","text":"TemporaryFile(/tmp/multipartBody6386028779685775645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105506367,"filename":"image_17012025_10_17_35_6370.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1836ce37d0f4c9244f6df4443320bf32.jpg","text":"TemporaryFile(/tmp/multipartBody9122085605752907080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105506367,"filename":"image_17012025_10_17_22_6270.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/844f39af77887ffc10c3a05f2ae31380.jpg","text":"TemporaryFile(/tmp/multipartBody8311908106474427237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105506367,"filename":"image_17012025_10_17_46_6391.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e0ac7b93964abc1e944ce93b2a3de3e4.jpg","text":"TemporaryFile(/tmp/multipartBody1733698928071221052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105506367,"filename":"image_17012025_10_17_53_6373.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8b5bde8e64602a76cc6502bcc83eb730.jpg","text":"TemporaryFile(/tmp/multipartBody6574946849052776487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105506367,"filename":"image_17012025_10_17_40_5176.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329441932","file1":"1329441927","file0":"1329441924","file4":"1329441943","file5":"1329441948","file3":"1329441937"},"map_files_photo_id_array":[{"photo_id":"1329441948","filename":"file5"},{"photo_id":"1329441932","filename":"file2"},{"photo_id":"1329441943","filename":"file4"},{"photo_id":"1329441927","filename":"file1"},{"photo_id":"1329441924","filename":"file0"},{"photo_id":"1329441937","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329441943":["hashtag1","hashtag2"]},{"1329441937":["hashtag1","hashtag2"]},{"1329441948":["hashtag1","hashtag2"]},{"1329441927":["hashtag1","hashtag2"]},{"1329441924":["hashtag1","hashtag2"]},{"1329441932":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329441943, 1329441937, 1329441948, 1329441927, 1329441924, 1329441932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58690643310547 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:18:02.379830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/17/image_17012025_10_17_16_5323.jpg', '/media/data/images/17012025/10/17/image_17012025_10_17_10_6547.jpg', '/media/data/images/17012025/10/17/image_17012025_10_17_04_5068.jpg', '/media/data/images/17012025/10/16/image_17012025_10_16_52_6531.jpg', '/media/data/images/17012025/10/14/image_17012025_10_14_16_5294.jpg', '/media/data/images/17012025/10/14/image_17012025_10_14_10_6536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/17/image_17012025_10_17_16_5323.jpg
/media/data/images/17012025/10/17/image_17012025_10_17_10_6547.jpg
/media/data/images/17012025/10/17/image_17012025_10_17_04_5068.jpg
/media/data/images/17012025/10/16/image_17012025_10_16_52_6531.jpg
/media/data/images/17012025/10/14/image_17012025_10_14_16_5294.jpg
/media/data/images/17012025/10/14/image_17012025_10_14_10_6536.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329441981","1329441978","1329441974","1329441965","1329441970","1329441967"],"photo_ids_order":["1329441965","1329441967","1329441970","1329441974","1329441978","1329441981"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/01eea1f70312866928c1aca2f73a3413.jpg","text":"TemporaryFile(/tmp/multipartBody745367872927590972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105550140,"filename":"image_17012025_10_14_10_6536.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1f4c65e4a7f75b0fc177a43d6938f18d.jpg","text":"TemporaryFile(/tmp/multipartBody8797244377382993473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105550140,"filename":"image_17012025_10_14_16_5294.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8baa2718225e48dbe3350d30d24b7f97.jpg","text":"TemporaryFile(/tmp/multipartBody1400615296672616597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105550140,"filename":"image_17012025_10_16_52_6531.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/293063c85f5357bae1828d15761ba341.jpg","text":"TemporaryFile(/tmp/multipartBody9098120944084045203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105550140,"filename":"image_17012025_10_17_16_5323.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ec3625438e26c6062e8c1eb4033ffaf7.jpg","text":"TemporaryFile(/tmp/multipartBody1887152175277754971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105550140,"filename":"image_17012025_10_17_04_5068.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6a8c11d415349e0b1086230a98724a9c.jpg","text":"TemporaryFile(/tmp/multipartBody2165820679006785695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105550140,"filename":"image_17012025_10_17_10_6547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329441970","file1":"1329441967","file0":"1329441965","file4":"1329441978","file5":"1329441981","file3":"1329441974"},"map_files_photo_id_array":[{"photo_id":"1329441981","filename":"file5"},{"photo_id":"1329441970","filename":"file2"},{"photo_id":"1329441978","filename":"file4"},{"photo_id":"1329441967","filename":"file1"},{"photo_id":"1329441965","filename":"file0"},{"photo_id":"1329441974","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329441981":["hashtag1","hashtag2"]},{"1329441978":["hashtag1","hashtag2"]},{"1329441974":["hashtag1","hashtag2"]},{"1329441965":["hashtag1","hashtag2"]},{"1329441970":["hashtag1","hashtag2"]},{"1329441967":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329441981, 1329441978, 1329441974, 1329441965, 1329441970, 1329441967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.93849563598633 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 10:19:02.792525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/18/image_17012025_10_18_52_5204.jpg', '/media/data/images/17012025/10/18/image_17012025_10_18_46_6394.jpg', '/media/data/images/17012025/10/18/image_17012025_10_18_40_6389.jpg', '/media/data/images/17012025/10/18/image_17012025_10_18_34_5167.jpg', '/media/data/images/17012025/10/18/image_17012025_10_18_29_6365.jpg', '/media/data/images/17012025/10/18/image_17012025_10_18_22_6342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/18/image_17012025_10_18_52_5204.jpg
/media/data/images/17012025/10/18/image_17012025_10_18_46_6394.jpg
/media/data/images/17012025/10/18/image_17012025_10_18_40_6389.jpg
/media/data/images/17012025/10/18/image_17012025_10_18_34_5167.jpg
/media/data/images/17012025/10/18/image_17012025_10_18_29_6365.jpg
/media/data/images/17012025/10/18/image_17012025_10_18_22_6342.jpg
2025-01-17 10:19:03.051045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/18/image_17012025_10_18_52_5204.jpg', '/media/data/images/17012025/10/18/image_17012025_10_18_46_6394.jpg', '/media/data/images/17012025/10/18/image_17012025_10_18_40_6389.jpg', '/media/data/images/17012025/10/18/image_17012025_10_18_34_5167.jpg', '/media/data/images/17012025/10/18/image_17012025_10_18_29_6365.jpg', '/media/data/images/17012025/10/18/image_17012025_10_18_22_6342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/18/image_17012025_10_18_52_5204.jpg
/media/data/images/17012025/10/18/image_17012025_10_18_46_6394.jpg
/media/data/images/17012025/10/18/image_17012025_10_18_40_6389.jpg
/media/data/images/17012025/10/18/image_17012025_10_18_34_5167.jpg
/media/data/images/17012025/10/18/image_17012025_10_18_29_6365.jpg
/media/data/images/17012025/10/18/image_17012025_10_18_22_6342.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329442018","1329442035","1329442029","1329442022","1329442025","1329442033"],"photo_ids_order":["1329442018","1329442022","1329442025","1329442029","1329442033","1329442035"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f7ee07ef35535cefe7aea4ec0976f9ca.jpg","text":"TemporaryFile(/tmp/multipartBody3340085227335554315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105611989,"filename":"image_17012025_10_18_52_5204.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/16f2841991d7f837011d37bdf4f91539.jpg","text":"TemporaryFile(/tmp/multipartBody3720137126679387858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105611989,"filename":"image_17012025_10_18_22_6342.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f89e2f4ce089d224b46ee4ff68fc1139.jpg","text":"TemporaryFile(/tmp/multipartBody6987000431686590954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105611989,"filename":"image_17012025_10_18_34_5167.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/59cba728957c1ac63f050b13f6aff45c.jpg","text":"TemporaryFile(/tmp/multipartBody3577124317210544611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105611989,"filename":"image_17012025_10_18_46_6394.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/57686d97320fbb7ab252e149356dd272.jpg","text":"TemporaryFile(/tmp/multipartBody4578989893570505973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105611989,"filename":"image_17012025_10_18_40_6389.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7aa6ceacf129950809480d70ca30d778.jpg","text":"TemporaryFile(/tmp/multipartBody2743539649770159055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105611989,"filename":"image_17012025_10_18_29_6365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329442025","file1":"1329442022","file0":"1329442018","file4":"1329442033","file5":"1329442035","file3":"1329442029"},"map_files_photo_id_array":[{"photo_id":"1329442035","filename":"file5"},{"photo_id":"1329442025","filename":"file2"},{"photo_id":"1329442033","filename":"file4"},{"photo_id":"1329442022","filename":"file1"},{"photo_id":"1329442018","filename":"file0"},{"photo_id":"1329442029","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329442018":["hashtag1","hashtag2"]},{"1329442035":["hashtag1","hashtag2"]},{"1329442029":["hashtag1","hashtag2"]},{"1329442022":["hashtag1","hashtag2"]},{"1329442025":["hashtag1","hashtag2"]},{"1329442033":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329442018, 1329442035, 1329442029, 1329442022, 1329442025, 1329442033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.37034797668457 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329442030","1329442026","1329442034","1329442016","1329442036","1329442021"],"photo_ids_order":["1329442016","1329442021","1329442026","1329442030","1329442034","1329442036"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/804d6ff37c9df011bedf78ba8eff521f.jpg","text":"TemporaryFile(/tmp/multipartBody6991874938510875240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105611568,"filename":"image_17012025_10_18_34_5167.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0ad1949c7ead0d5991edd69d6b3fe24e.jpg","text":"TemporaryFile(/tmp/multipartBody2203362282386494111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105611568,"filename":"image_17012025_10_18_40_6389.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/17bee59f197f0f5f57301f7d86187c95.jpg","text":"TemporaryFile(/tmp/multipartBody8418756729764694752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105611568,"filename":"image_17012025_10_18_29_6365.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5b80a4bfeb9235ab2015b73137ed5e69.jpg","text":"TemporaryFile(/tmp/multipartBody2007895099597009611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105611568,"filename":"image_17012025_10_18_52_5204.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/367acb7aaeab109a18fcc3ee8ebd8504.jpg","text":"TemporaryFile(/tmp/multipartBody3325677278148755214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105611568,"filename":"image_17012025_10_18_22_6342.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4609dd2543672d1cba83cd493c057736.jpg","text":"TemporaryFile(/tmp/multipartBody7938575959887814387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105611568,"filename":"image_17012025_10_18_46_6394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329442026","file1":"1329442021","file0":"1329442016","file4":"1329442034","file5":"1329442036","file3":"1329442030"},"map_files_photo_id_array":[{"photo_id":"1329442036","filename":"file5"},{"photo_id":"1329442026","filename":"file2"},{"photo_id":"1329442034","filename":"file4"},{"photo_id":"1329442021","filename":"file1"},{"photo_id":"1329442016","filename":"file0"},{"photo_id":"1329442030","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329442030":["hashtag1","hashtag2"]},{"1329442026":["hashtag1","hashtag2"]},{"1329442034":["hashtag1","hashtag2"]},{"1329442016":["hashtag1","hashtag2"]},{"1329442036":["hashtag1","hashtag2"]},{"1329442021":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329442030, 1329442026, 1329442034, 1329442016, 1329442036, 1329442021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.269745111465454 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:20:02.540064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/19/image_17012025_10_19_52_6423.jpg', '/media/data/images/17012025/10/19/image_17012025_10_19_46_5207.jpg', '/media/data/images/17012025/10/19/image_17012025_10_19_41_6387.jpg', '/media/data/images/17012025/10/19/image_17012025_10_19_34_6400.jpg', '/media/data/images/17012025/10/19/image_17012025_10_19_28_5295.jpg', '/media/data/images/17012025/10/19/image_17012025_10_19_23_6394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/19/image_17012025_10_19_52_6423.jpg
/media/data/images/17012025/10/19/image_17012025_10_19_46_5207.jpg
/media/data/images/17012025/10/19/image_17012025_10_19_41_6387.jpg
/media/data/images/17012025/10/19/image_17012025_10_19_34_6400.jpg
/media/data/images/17012025/10/19/image_17012025_10_19_28_5295.jpg
/media/data/images/17012025/10/19/image_17012025_10_19_23_6394.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329442080","1329442073","1329442076","1329442084","1329442078","1329442087"],"photo_ids_order":["1329442073","1329442076","1329442078","1329442080","1329442084","1329442087"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1477213c378ec68ac165d57394a5b13b.jpg","text":"TemporaryFile(/tmp/multipartBody7982622012976232521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105667136,"filename":"image_17012025_10_19_34_6400.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/55f83c92019bf30a2400adaa01f15341.jpg","text":"TemporaryFile(/tmp/multipartBody4329979494431700194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105667136,"filename":"image_17012025_10_19_52_6423.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/134377fc9dfe34c63c41ce75c1c7a28d.jpg","text":"TemporaryFile(/tmp/multipartBody2663269521049896538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105667136,"filename":"image_17012025_10_19_46_5207.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/83df00fcd5a7dd0ebb9434185a6782d1.jpg","text":"TemporaryFile(/tmp/multipartBody5700895277872471035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105667136,"filename":"image_17012025_10_19_28_5295.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/583741cbbcf3105026913efb02a75a49.jpg","text":"TemporaryFile(/tmp/multipartBody9056546904503512640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105667136,"filename":"image_17012025_10_19_41_6387.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8ef9235010ef5e2d6c4b7a9ca1b2612c.jpg","text":"TemporaryFile(/tmp/multipartBody2008264274779119582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105667136,"filename":"image_17012025_10_19_23_6394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329442078","file1":"1329442076","file0":"1329442073","file4":"1329442084","file5":"1329442087","file3":"1329442080"},"map_files_photo_id_array":[{"photo_id":"1329442087","filename":"file5"},{"photo_id":"1329442078","filename":"file2"},{"photo_id":"1329442084","filename":"file4"},{"photo_id":"1329442076","filename":"file1"},{"photo_id":"1329442073","filename":"file0"},{"photo_id":"1329442080","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329442080":["hashtag1","hashtag2"]},{"1329442073":["hashtag1","hashtag2"]},{"1329442076":["hashtag1","hashtag2"]},{"1329442084":["hashtag1","hashtag2"]},{"1329442078":["hashtag1","hashtag2"]},{"1329442087":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329442080, 1329442073, 1329442076, 1329442084, 1329442078, 1329442087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.665817737579346 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:20:42.265080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/20/image_17012025_10_20_52_6389.jpg', '/media/data/images/17012025/10/20/image_17012025_10_20_46_5197.jpg', '/media/data/images/17012025/10/20/image_17012025_10_20_41_6547.jpg', '/media/data/images/17012025/10/20/image_17012025_10_20_34_6375.jpg', '/media/data/images/17012025/10/20/image_17012025_10_20_28_5227.jpg', '/media/data/images/17012025/10/20/image_17012025_10_20_23_6632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/20/image_17012025_10_20_52_6389.jpg
/media/data/images/17012025/10/20/image_17012025_10_20_46_5197.jpg
/media/data/images/17012025/10/20/image_17012025_10_20_41_6547.jpg
/media/data/images/17012025/10/20/image_17012025_10_20_34_6375.jpg
/media/data/images/17012025/10/20/image_17012025_10_20_28_5227.jpg
/media/data/images/17012025/10/20/image_17012025_10_20_23_6632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329442105","1329442122","1329442116","1329442101","1329442110","1329442099"],"photo_ids_order":["1329442099","1329442101","1329442105","1329442110","1329442116","1329442122"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/687f63737adc22d0a967ce24a6366794.jpg","text":"TemporaryFile(/tmp/multipartBody2508403255664290641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105707848,"filename":"image_17012025_10_20_41_6547.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a18224a6b8a32bfa6911493a1bed79c0.jpg","text":"TemporaryFile(/tmp/multipartBody7125648494151193296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105707848,"filename":"image_17012025_10_20_23_6632.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b25e0bded11b5f364672ef51edd50f68.jpg","text":"TemporaryFile(/tmp/multipartBody3909853125252109607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105707848,"filename":"image_17012025_10_20_28_5227.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/72bb486d83c20e3e4bc0a2fbb4f7471e.jpg","text":"TemporaryFile(/tmp/multipartBody6433393539372372474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105707848,"filename":"image_17012025_10_20_46_5197.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/721adecedb3b81819cc847f4d7e1af91.jpg","text":"TemporaryFile(/tmp/multipartBody6745544265072383464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105707848,"filename":"image_17012025_10_20_34_6375.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/706af7614853fcf5383798907bfb9673.jpg","text":"TemporaryFile(/tmp/multipartBody4234977195164055773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105707848,"filename":"image_17012025_10_20_52_6389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329442105","file1":"1329442101","file0":"1329442099","file4":"1329442116","file5":"1329442122","file3":"1329442110"},"map_files_photo_id_array":[{"photo_id":"1329442122","filename":"file5"},{"photo_id":"1329442105","filename":"file2"},{"photo_id":"1329442116","filename":"file4"},{"photo_id":"1329442101","filename":"file1"},{"photo_id":"1329442099","filename":"file0"},{"photo_id":"1329442110","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329442105":["hashtag1","hashtag2"]},{"1329442122":["hashtag1","hashtag2"]},{"1329442116":["hashtag1","hashtag2"]},{"1329442101":["hashtag1","hashtag2"]},{"1329442110":["hashtag1","hashtag2"]},{"1329442099":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329442105, 1329442122, 1329442116, 1329442101, 1329442110, 1329442099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.606202125549316 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:21:22.392831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/21/image_17012025_10_21_52_6511.jpg', '/media/data/images/17012025/10/21/image_17012025_10_21_46_5303.jpg', '/media/data/images/17012025/10/21/image_17012025_10_21_40_6458.jpg', '/media/data/images/17012025/10/21/image_17012025_10_21_34_5131.jpg', '/media/data/images/17012025/10/21/image_17012025_10_21_29_6368.jpg', '/media/data/images/17012025/10/21/image_17012025_10_21_22_6356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/21/image_17012025_10_21_52_6511.jpg
/media/data/images/17012025/10/21/image_17012025_10_21_46_5303.jpg
/media/data/images/17012025/10/21/image_17012025_10_21_40_6458.jpg
/media/data/images/17012025/10/21/image_17012025_10_21_34_5131.jpg
/media/data/images/17012025/10/21/image_17012025_10_21_29_6368.jpg
/media/data/images/17012025/10/21/image_17012025_10_21_22_6356.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329442149","1329442136","1329442145","1329442139","1329442153","1329442141"],"photo_ids_order":["1329442136","1329442139","1329442141","1329442145","1329442149","1329442153"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/57c32e2c73823b1d4a323089c815d731.jpg","text":"TemporaryFile(/tmp/multipartBody563488327199900657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105747092,"filename":"image_17012025_10_21_29_6368.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/13403e621fbc413264df093ba558496c.jpg","text":"TemporaryFile(/tmp/multipartBody3688846947567326320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105747092,"filename":"image_17012025_10_21_52_6511.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/de7d3fcfab7ba246568d20d9b6d5bb7b.jpg","text":"TemporaryFile(/tmp/multipartBody4334340052572159790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105747092,"filename":"image_17012025_10_21_34_5131.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5209fe5a0efeb21b0f3ab0ee571537e0.jpg","text":"TemporaryFile(/tmp/multipartBody3896191154956561221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105747092,"filename":"image_17012025_10_21_46_5303.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1065303d73f6015b0b6c9490d983bfd0.jpg","text":"TemporaryFile(/tmp/multipartBody3577948997283360447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105747092,"filename":"image_17012025_10_21_22_6356.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7bccf453d989f43c1749841917934c0a.jpg","text":"TemporaryFile(/tmp/multipartBody3854548636888999551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105747092,"filename":"image_17012025_10_21_40_6458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329442141","file1":"1329442139","file0":"1329442136","file4":"1329442149","file5":"1329442153","file3":"1329442145"},"map_files_photo_id_array":[{"photo_id":"1329442153","filename":"file5"},{"photo_id":"1329442141","filename":"file2"},{"photo_id":"1329442149","filename":"file4"},{"photo_id":"1329442139","filename":"file1"},{"photo_id":"1329442136","filename":"file0"},{"photo_id":"1329442145","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329442149":["hashtag1","hashtag2"]},{"1329442136":["hashtag1","hashtag2"]},{"1329442145":["hashtag1","hashtag2"]},{"1329442139":["hashtag1","hashtag2"]},{"1329442153":["hashtag1","hashtag2"]},{"1329442141":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329442149, 1329442136, 1329442145, 1329442139, 1329442153, 1329442141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76765775680542 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:22:02.697588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/21/image_17012025_10_21_16_5289.jpg', '/media/data/images/17012025/10/21/image_17012025_10_21_11_6518.jpg', '/media/data/images/17012025/10/20/image_17012025_10_21_04_6543.jpg', '/media/data/images/17012025/10/20/image_17012025_10_20_58_5259.jpg', '/media/data/images/17012025/10/20/image_17012025_10_20_16_5296.jpg', '/media/data/images/17012025/10/20/image_17012025_10_20_11_6541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/21/image_17012025_10_21_16_5289.jpg
/media/data/images/17012025/10/21/image_17012025_10_21_11_6518.jpg
/media/data/images/17012025/10/20/image_17012025_10_21_04_6543.jpg
/media/data/images/17012025/10/20/image_17012025_10_20_58_5259.jpg
/media/data/images/17012025/10/20/image_17012025_10_20_16_5296.jpg
/media/data/images/17012025/10/20/image_17012025_10_20_11_6541.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329442176","1329442181","1329442178","1329442183","1329442171","1329442174"],"photo_ids_order":["1329442171","1329442174","1329442176","1329442178","1329442181","1329442183"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/eeafc64f343ef13e1ae0e1d1acee35e0.jpg","text":"TemporaryFile(/tmp/multipartBody4034117383251103211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105788761,"filename":"image_17012025_10_21_04_6543.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2112d213706375d8b9c71fe323edb525.jpg","text":"TemporaryFile(/tmp/multipartBody7985151107288100700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105788761,"filename":"image_17012025_10_20_16_5296.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ba17876632276579a8910db52303e6fb.jpg","text":"TemporaryFile(/tmp/multipartBody7126692408761670844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105788761,"filename":"image_17012025_10_20_58_5259.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/754afa10ba72d0d6461bb9fee5c6cde5.jpg","text":"TemporaryFile(/tmp/multipartBody7831024169993275754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105788761,"filename":"image_17012025_10_20_11_6541.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/afdf469fbc06a131cb0c37f2ef1a2fe3.jpg","text":"TemporaryFile(/tmp/multipartBody3210911102049912072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105788761,"filename":"image_17012025_10_21_16_5289.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/24d18c9e1395a0e01e6ccca3062119c9.jpg","text":"TemporaryFile(/tmp/multipartBody9097598598758971883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105788761,"filename":"image_17012025_10_21_11_6518.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329442176","file1":"1329442174","file0":"1329442171","file4":"1329442181","file5":"1329442183","file3":"1329442178"},"map_files_photo_id_array":[{"photo_id":"1329442183","filename":"file5"},{"photo_id":"1329442176","filename":"file2"},{"photo_id":"1329442181","filename":"file4"},{"photo_id":"1329442174","filename":"file1"},{"photo_id":"1329442171","filename":"file0"},{"photo_id":"1329442178","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329442176":["hashtag1","hashtag2"]},{"1329442181":["hashtag1","hashtag2"]},{"1329442178":["hashtag1","hashtag2"]},{"1329442183":["hashtag1","hashtag2"]},{"1329442171":["hashtag1","hashtag2"]},{"1329442174":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329442176, 1329442181, 1329442178, 1329442183, 1329442171, 1329442174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.35500717163086 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:22:42.446037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/22/image_17012025_10_22_52_6523.jpg', '/media/data/images/17012025/10/22/image_17012025_10_22_46_5209.jpg', '/media/data/images/17012025/10/22/image_17012025_10_22_41_6583.jpg', '/media/data/images/17012025/10/22/image_17012025_10_22_34_5296.jpg', '/media/data/images/17012025/10/22/image_17012025_10_22_29_6590.jpg', '/media/data/images/17012025/10/22/image_17012025_10_22_22_5305.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/22/image_17012025_10_22_52_6523.jpg
/media/data/images/17012025/10/22/image_17012025_10_22_46_5209.jpg
/media/data/images/17012025/10/22/image_17012025_10_22_41_6583.jpg
/media/data/images/17012025/10/22/image_17012025_10_22_34_5296.jpg
/media/data/images/17012025/10/22/image_17012025_10_22_29_6590.jpg
/media/data/images/17012025/10/22/image_17012025_10_22_22_5305.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329442204","1329442212","1329442199","1329442223","1329442217","1329442208"],"photo_ids_order":["1329442199","1329442204","1329442208","1329442212","1329442217","1329442223"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/652ccede42c233690cde67e9e1d3f14c.jpg","text":"TemporaryFile(/tmp/multipartBody8042924392341725161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105828259,"filename":"image_17012025_10_22_46_5209.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/785b47c2e544e2c5d0c83579217db158.jpg","text":"TemporaryFile(/tmp/multipartBody5053291413900345810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105828259,"filename":"image_17012025_10_22_34_5296.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ab658c37a8ae03f310b635ed7712095e.jpg","text":"TemporaryFile(/tmp/multipartBody3903264157878545071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105828259,"filename":"image_17012025_10_22_52_6523.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/32fb28b39e4d77839309aab65d96a3d4.jpg","text":"TemporaryFile(/tmp/multipartBody8785042808638265086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105828259,"filename":"image_17012025_10_22_22_5305.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7e46b9a70a59583428c049aaaee1f2e2.jpg","text":"TemporaryFile(/tmp/multipartBody4619776666487048620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105828259,"filename":"image_17012025_10_22_29_6590.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2d94aa1c65c3a8a244bf87eb0826e47b.jpg","text":"TemporaryFile(/tmp/multipartBody6133465147728468855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105828259,"filename":"image_17012025_10_22_41_6583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329442208","file1":"1329442204","file0":"1329442199","file4":"1329442217","file5":"1329442223","file3":"1329442212"},"map_files_photo_id_array":[{"photo_id":"1329442223","filename":"file5"},{"photo_id":"1329442208","filename":"file2"},{"photo_id":"1329442217","filename":"file4"},{"photo_id":"1329442204","filename":"file1"},{"photo_id":"1329442199","filename":"file0"},{"photo_id":"1329442212","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329442204":["hashtag1","hashtag2"]},{"1329442212":["hashtag1","hashtag2"]},{"1329442199":["hashtag1","hashtag2"]},{"1329442223":["hashtag1","hashtag2"]},{"1329442217":["hashtag1","hashtag2"]},{"1329442208":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329442204, 1329442212, 1329442199, 1329442223, 1329442217, 1329442208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.30242156982422 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:23:22.533557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/23/image_17012025_10_23_53_6625.jpg', '/media/data/images/17012025/10/23/image_17012025_10_23_34_5330.jpg', '/media/data/images/17012025/10/23/image_17012025_10_23_29_6579.jpg', '/media/data/images/17012025/10/23/image_17012025_10_23_22_6414.jpg', '/media/data/images/17012025/10/23/image_17012025_10_23_16_5288.jpg', '/media/data/images/17012025/10/22/image_17012025_10_22_59_6395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/23/image_17012025_10_23_53_6625.jpg
/media/data/images/17012025/10/23/image_17012025_10_23_34_5330.jpg
/media/data/images/17012025/10/23/image_17012025_10_23_29_6579.jpg
/media/data/images/17012025/10/23/image_17012025_10_23_22_6414.jpg
/media/data/images/17012025/10/23/image_17012025_10_23_16_5288.jpg
/media/data/images/17012025/10/22/image_17012025_10_22_59_6395.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329442236","1329442251","1329442233","1329442246","1329442231","1329442240"],"photo_ids_order":["1329442231","1329442233","1329442236","1329442240","1329442246","1329442251"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fb6a751320cc2ba5f562493c627c3f05.jpg","text":"TemporaryFile(/tmp/multipartBody297240359358973376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105868873,"filename":"image_17012025_10_23_29_6579.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/21c6e82aff154bb7ec93e87145ff3f37.jpg","text":"TemporaryFile(/tmp/multipartBody2640047068556810347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105868873,"filename":"image_17012025_10_22_59_6395.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/eaa03fe2f98d0c3a553f6eba19dbe5df.jpg","text":"TemporaryFile(/tmp/multipartBody2630148023502070072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105868873,"filename":"image_17012025_10_23_34_5330.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a4bf9fb4547a31b4349f47f94aa8c340.jpg","text":"TemporaryFile(/tmp/multipartBody5696401851889405796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105868873,"filename":"image_17012025_10_23_16_5288.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f11b50d0f0cde08bbb649a3ef5480880.jpg","text":"TemporaryFile(/tmp/multipartBody6267898779792982271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105868873,"filename":"image_17012025_10_23_53_6625.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/218af5dda8cf130880c2910a3a191007.jpg","text":"TemporaryFile(/tmp/multipartBody4951309535179714869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105868873,"filename":"image_17012025_10_23_22_6414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329442236","file1":"1329442233","file0":"1329442231","file4":"1329442246","file5":"1329442251","file3":"1329442240"},"map_files_photo_id_array":[{"photo_id":"1329442251","filename":"file5"},{"photo_id":"1329442236","filename":"file2"},{"photo_id":"1329442246","filename":"file4"},{"photo_id":"1329442233","filename":"file1"},{"photo_id":"1329442231","filename":"file0"},{"photo_id":"1329442240","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329442236":["hashtag1","hashtag2"]},{"1329442251":["hashtag1","hashtag2"]},{"1329442233":["hashtag1","hashtag2"]},{"1329442246":["hashtag1","hashtag2"]},{"1329442231":["hashtag1","hashtag2"]},{"1329442240":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329442236, 1329442251, 1329442233, 1329442246, 1329442231, 1329442240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.60710644721985 secondes ---
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:24:22.632769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/24/image_17012025_10_24_52_5323.jpg', '/media/data/images/17012025/10/24/image_17012025_10_24_47_6528.jpg', '/media/data/images/17012025/10/24/image_17012025_10_24_40_5279.jpg', '/media/data/images/17012025/10/24/image_17012025_10_24_35_6515.jpg', '/media/data/images/17012025/10/24/image_17012025_10_24_28_6552.jpg', '/media/data/images/17012025/10/24/image_17012025_10_24_22_5296.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/24/image_17012025_10_24_52_5323.jpg
/media/data/images/17012025/10/24/image_17012025_10_24_47_6528.jpg
/media/data/images/17012025/10/24/image_17012025_10_24_40_5279.jpg
/media/data/images/17012025/10/24/image_17012025_10_24_35_6515.jpg
/media/data/images/17012025/10/24/image_17012025_10_24_28_6552.jpg
/media/data/images/17012025/10/24/image_17012025_10_24_22_5296.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329442290","1329442284","1329442302","1329442297","1329442276","1329442279"],"photo_ids_order":["1329442276","1329442279","1329442284","1329442290","1329442297","1329442302"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0f28cc45da92d7c6684e3a33a86780f9.jpg","text":"TemporaryFile(/tmp/multipartBody262397234466749341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105928925,"filename":"image_17012025_10_24_35_6515.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ad9558a8e5289ee37b533f4549228029.jpg","text":"TemporaryFile(/tmp/multipartBody2897842867278091637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105928925,"filename":"image_17012025_10_24_40_5279.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4847d7659dfd42b402f735332af3c929.jpg","text":"TemporaryFile(/tmp/multipartBody3095768942958768132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105928925,"filename":"image_17012025_10_24_22_5296.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5202bc58fd7284e71031723496706b27.jpg","text":"TemporaryFile(/tmp/multipartBody7318030699043894831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105928925,"filename":"image_17012025_10_24_28_6552.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2f7eda5558491f9f0bf8fb8026046318.jpg","text":"TemporaryFile(/tmp/multipartBody1338710742291993722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105928925,"filename":"image_17012025_10_24_52_5323.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ae25147ef462d8fd74cc3e041d0568ac.jpg","text":"TemporaryFile(/tmp/multipartBody9120548668772594752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105928925,"filename":"image_17012025_10_24_47_6528.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329442284","file1":"1329442279","file0":"1329442276","file4":"1329442297","file5":"1329442302","file3":"1329442290"},"map_files_photo_id_array":[{"photo_id":"1329442302","filename":"file5"},{"photo_id":"1329442284","filename":"file2"},{"photo_id":"1329442297","filename":"file4"},{"photo_id":"1329442279","filename":"file1"},{"photo_id":"1329442276","filename":"file0"},{"photo_id":"1329442290","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329442290":["hashtag1","hashtag2"]},{"1329442284":["hashtag1","hashtag2"]},{"1329442302":["hashtag1","hashtag2"]},{"1329442297":["hashtag1","hashtag2"]},{"1329442276":["hashtag1","hashtag2"]},{"1329442279":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329442290, 1329442284, 1329442302, 1329442297, 1329442276, 1329442279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.244656562805176 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:25:22.835352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/25/image_17012025_10_25_52_5323.jpg', '/media/data/images/17012025/10/25/image_17012025_10_25_40_5342.jpg', '/media/data/images/17012025/10/25/image_17012025_10_25_35_6582.jpg', '/media/data/images/17012025/10/25/image_17012025_10_25_28_6444.jpg', '/media/data/images/17012025/10/25/image_17012025_10_25_22_5124.jpg', '/media/data/images/17012025/10/25/image_17012025_10_25_17_6500.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/25/image_17012025_10_25_52_5323.jpg
/media/data/images/17012025/10/25/image_17012025_10_25_40_5342.jpg
/media/data/images/17012025/10/25/image_17012025_10_25_35_6582.jpg
/media/data/images/17012025/10/25/image_17012025_10_25_28_6444.jpg
/media/data/images/17012025/10/25/image_17012025_10_25_22_5124.jpg
/media/data/images/17012025/10/25/image_17012025_10_25_17_6500.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329442344","1329442338","1329442329","1329442351","1329442333","1329442327"],"photo_ids_order":["1329442327","1329442329","1329442333","1329442338","1329442344","1329442351"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e4a738bc3145b9b230f4d3d38ed33975.jpg","text":"TemporaryFile(/tmp/multipartBody3602994952703640387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105989422,"filename":"image_17012025_10_25_22_5124.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f5fc7a570e95253223be06dd26e744a5.jpg","text":"TemporaryFile(/tmp/multipartBody3962706179942891457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105989422,"filename":"image_17012025_10_25_28_6444.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c9c62e6af8cc7d1ae9af8f5d5f077eb7.jpg","text":"TemporaryFile(/tmp/multipartBody4253797795426771101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105989422,"filename":"image_17012025_10_25_40_5342.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b1b19c4a94fb4ac0b25dd24f01e3800a.jpg","text":"TemporaryFile(/tmp/multipartBody835066861478364622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105989422,"filename":"image_17012025_10_25_17_6500.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/86a44fbd8ff86ee0feb69edda2abb02e.jpg","text":"TemporaryFile(/tmp/multipartBody3246242361082901392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105989422,"filename":"image_17012025_10_25_35_6582.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d8f71eff3235d3310b9c4a21c6a55a2f.jpg","text":"TemporaryFile(/tmp/multipartBody5064409787620903803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737105989422,"filename":"image_17012025_10_25_52_5323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329442333","file1":"1329442329","file0":"1329442327","file4":"1329442344","file5":"1329442351","file3":"1329442338"},"map_files_photo_id_array":[{"photo_id":"1329442351","filename":"file5"},{"photo_id":"1329442333","filename":"file2"},{"photo_id":"1329442344","filename":"file4"},{"photo_id":"1329442329","filename":"file1"},{"photo_id":"1329442327","filename":"file0"},{"photo_id":"1329442338","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329442344":["hashtag1","hashtag2"]},{"1329442338":["hashtag1","hashtag2"]},{"1329442329":["hashtag1","hashtag2"]},{"1329442351":["hashtag1","hashtag2"]},{"1329442333":["hashtag1","hashtag2"]},{"1329442327":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329442344, 1329442338, 1329442329, 1329442351, 1329442333, 1329442327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.43861508369446 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:26:21.897418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/26/image_17012025_10_26_52_6602.jpg', '/media/data/images/17012025/10/26/image_17012025_10_26_40_6616.jpg', '/media/data/images/17012025/10/26/image_17012025_10_26_34_5306.jpg', '/media/data/images/17012025/10/26/image_17012025_10_26_28_6518.jpg', '/media/data/images/17012025/10/26/image_17012025_10_26_22_5161.jpg', '/media/data/images/17012025/10/26/image_17012025_10_26_17_6414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/26/image_17012025_10_26_52_6602.jpg
/media/data/images/17012025/10/26/image_17012025_10_26_40_6616.jpg
/media/data/images/17012025/10/26/image_17012025_10_26_34_5306.jpg
/media/data/images/17012025/10/26/image_17012025_10_26_28_6518.jpg
/media/data/images/17012025/10/26/image_17012025_10_26_22_5161.jpg
/media/data/images/17012025/10/26/image_17012025_10_26_17_6414.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329442383","1329442404","1329442397","1329442373","1329442376","1329442390"],"photo_ids_order":["1329442373","1329442376","1329442383","1329442390","1329442397","1329442404"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b4ca6e9f8f60cc5f0ac605a29e36aab8.jpg","text":"TemporaryFile(/tmp/multipartBody3411267865474053083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106047808,"filename":"image_17012025_10_26_34_5306.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/38252e3e67895b2951324f11cafbbedc.jpg","text":"TemporaryFile(/tmp/multipartBody1752970244101575022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106047808,"filename":"image_17012025_10_26_17_6414.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f62465ad1f734dd753e0772decb49d54.jpg","text":"TemporaryFile(/tmp/multipartBody4652383661880452338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106047808,"filename":"image_17012025_10_26_22_5161.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f757a17922d3f86a50600c2306f83b28.jpg","text":"TemporaryFile(/tmp/multipartBody2011234953597826557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106047808,"filename":"image_17012025_10_26_52_6602.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/16b08ad8d535b86ad8310da3b0f55ed2.jpg","text":"TemporaryFile(/tmp/multipartBody225314276804780315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106047808,"filename":"image_17012025_10_26_40_6616.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e7244a9fd27c3cb5b437e35c7f0815e1.jpg","text":"TemporaryFile(/tmp/multipartBody8667254848404554734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106047808,"filename":"image_17012025_10_26_28_6518.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329442383","file1":"1329442376","file0":"1329442373","file4":"1329442397","file5":"1329442404","file3":"1329442390"},"map_files_photo_id_array":[{"photo_id":"1329442404","filename":"file5"},{"photo_id":"1329442383","filename":"file2"},{"photo_id":"1329442397","filename":"file4"},{"photo_id":"1329442376","filename":"file1"},{"photo_id":"1329442373","filename":"file0"},{"photo_id":"1329442390","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329442383":["hashtag1","hashtag2"]},{"1329442404":["hashtag1","hashtag2"]},{"1329442397":["hashtag1","hashtag2"]},{"1329442373":["hashtag1","hashtag2"]},{"1329442376":["hashtag1","hashtag2"]},{"1329442390":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329442383, 1329442404, 1329442397, 1329442373, 1329442376, 1329442390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.587833404541016 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:27:22.012645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/27/image_17012025_10_27_52_5394.jpg', '/media/data/images/17012025/10/27/image_17012025_10_27_35_6641.jpg', '/media/data/images/17012025/10/27/image_17012025_10_27_11_6617.jpg', '/media/data/images/17012025/10/27/image_17012025_10_27_04_5117.jpg', '/media/data/images/17012025/10/26/image_17012025_10_26_59_6579.jpg', '/media/data/images/17012025/10/26/image_17012025_10_26_10_6577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/27/image_17012025_10_27_52_5394.jpg
/media/data/images/17012025/10/27/image_17012025_10_27_35_6641.jpg
/media/data/images/17012025/10/27/image_17012025_10_27_11_6617.jpg
/media/data/images/17012025/10/27/image_17012025_10_27_04_5117.jpg
/media/data/images/17012025/10/26/image_17012025_10_26_59_6579.jpg
/media/data/images/17012025/10/26/image_17012025_10_26_10_6577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329442464","1329442454","1329442468","1329442471","1329442459","1329442447"],"photo_ids_order":["1329442447","1329442454","1329442459","1329442464","1329442468","1329442471"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3cff93fde580fbbd75cd94f234fa2361.jpg","text":"TemporaryFile(/tmp/multipartBody4433713027877239470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106129291,"filename":"image_17012025_10_27_04_5117.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/040ba85023fa9e969f5a9afeba2632e5.jpg","text":"TemporaryFile(/tmp/multipartBody5644591244222512556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106129291,"filename":"image_17012025_10_27_35_6641.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/936ec82d9b4004730c96a3ebf560ccb4.jpg","text":"TemporaryFile(/tmp/multipartBody5220191118665503911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106129291,"filename":"image_17012025_10_26_59_6579.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fa07e63c25fd41c6059f1e6bb8590c65.jpg","text":"TemporaryFile(/tmp/multipartBody525400937954485730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106129291,"filename":"image_17012025_10_26_10_6577.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b515d1dc39e5501d453bca8c48185a97.jpg","text":"TemporaryFile(/tmp/multipartBody5888196279615289783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106129291,"filename":"image_17012025_10_27_11_6617.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/31ec61fbd2ecd9b688db9a90d40a657d.jpg","text":"TemporaryFile(/tmp/multipartBody2472135581478627863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106129291,"filename":"image_17012025_10_27_52_5394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329442459","file1":"1329442454","file0":"1329442447","file4":"1329442468","file5":"1329442471","file3":"1329442464"},"map_files_photo_id_array":[{"photo_id":"1329442471","filename":"file5"},{"photo_id":"1329442459","filename":"file2"},{"photo_id":"1329442468","filename":"file4"},{"photo_id":"1329442454","filename":"file1"},{"photo_id":"1329442447","filename":"file0"},{"photo_id":"1329442464","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329442464":["hashtag1","hashtag2"]},{"1329442454":["hashtag1","hashtag2"]},{"1329442468":["hashtag1","hashtag2"]},{"1329442471":["hashtag1","hashtag2"]},{"1329442459":["hashtag1","hashtag2"]},{"1329442447":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329442464, 1329442454, 1329442468, 1329442471, 1329442459, 1329442447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.93036413192749 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:28:22.075599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/28/image_17012025_10_28_23_6588.jpg', '/media/data/images/17012025/10/27/image_17012025_10_27_59_6632.jpg', '/media/data/images/17012025/10/26/image_17012025_10_26_04_5096.jpg', '/media/data/images/17012025/10/25/image_17012025_10_25_59_6545.jpg', '/media/data/images/17012025/10/25/image_17012025_10_25_10_5325.jpg', '/media/data/images/17012025/10/25/image_17012025_10_25_05_6371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/28/image_17012025_10_28_23_6588.jpg
/media/data/images/17012025/10/27/image_17012025_10_27_59_6632.jpg
/media/data/images/17012025/10/26/image_17012025_10_26_04_5096.jpg
/media/data/images/17012025/10/25/image_17012025_10_25_59_6545.jpg
/media/data/images/17012025/10/25/image_17012025_10_25_10_5325.jpg
/media/data/images/17012025/10/25/image_17012025_10_25_05_6371.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329442497","1329442491","1329442503","1329442508","1329442486","1329442483"],"photo_ids_order":["1329442483","1329442486","1329442491","1329442497","1329442503","1329442508"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/39ffd971dd2604514c410efe5f9d4636.jpg","text":"TemporaryFile(/tmp/multipartBody36981260911938007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106169525,"filename":"image_17012025_10_25_59_6545.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c7d8a6737a71b14a57d9273896ba95bd.jpg","text":"TemporaryFile(/tmp/multipartBody1908183948440504175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106169525,"filename":"image_17012025_10_26_04_5096.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/20ed625ea1e92b16110614d2d3bf183b.jpg","text":"TemporaryFile(/tmp/multipartBody5411661841839771578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106169525,"filename":"image_17012025_10_25_10_5325.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/acf164a1d0386604a564f852ee58c965.jpg","text":"TemporaryFile(/tmp/multipartBody3354539696253402565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106169525,"filename":"image_17012025_10_25_05_6371.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/da412795414190c87eac55c283fa31fd.jpg","text":"TemporaryFile(/tmp/multipartBody1718751590351201607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106169525,"filename":"image_17012025_10_27_59_6632.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c498ea2ff1e0e5eb1e25190d6ecb3dac.jpg","text":"TemporaryFile(/tmp/multipartBody1299027928882249573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106169525,"filename":"image_17012025_10_28_23_6588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329442491","file1":"1329442486","file0":"1329442483","file4":"1329442503","file5":"1329442508","file3":"1329442497"},"map_files_photo_id_array":[{"photo_id":"1329442508","filename":"file5"},{"photo_id":"1329442491","filename":"file2"},{"photo_id":"1329442503","filename":"file4"},{"photo_id":"1329442486","filename":"file1"},{"photo_id":"1329442483","filename":"file0"},{"photo_id":"1329442497","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329442497":["hashtag1","hashtag2"]},{"1329442491":["hashtag1","hashtag2"]},{"1329442503":["hashtag1","hashtag2"]},{"1329442508":["hashtag1","hashtag2"]},{"1329442486":["hashtag1","hashtag2"]},{"1329442483":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329442497, 1329442491, 1329442503, 1329442508, 1329442486, 1329442483)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.79660773277283 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:29:22.218312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/29/image_17012025_10_29_29_6704.jpg', '/media/data/images/17012025/10/29/image_17012025_10_29_05_6374.jpg', '/media/data/images/17012025/10/28/image_17012025_10_28_47_6635.jpg', '/media/data/images/17012025/10/24/image_17012025_10_24_59_6619.jpg', '/media/data/images/17012025/10/24/image_17012025_10_24_16_6530.jpg', '/media/data/images/17012025/10/24/image_17012025_10_24_10_5319.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/29/image_17012025_10_29_29_6704.jpg
/media/data/images/17012025/10/29/image_17012025_10_29_05_6374.jpg
/media/data/images/17012025/10/28/image_17012025_10_28_47_6635.jpg
/media/data/images/17012025/10/24/image_17012025_10_24_59_6619.jpg
/media/data/images/17012025/10/24/image_17012025_10_24_16_6530.jpg
/media/data/images/17012025/10/24/image_17012025_10_24_10_5319.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329442578","1329442575","1329442554","1329442562","1329442547","1329442570"],"photo_ids_order":["1329442547","1329442554","1329442562","1329442570","1329442575","1329442578"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fd0fd2959790d668995a083a94665058.jpg","text":"TemporaryFile(/tmp/multipartBody7166742766433608702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106240284,"filename":"image_17012025_10_24_10_5319.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f9aacd93cd3dea49eab8b004b19c0a34.jpg","text":"TemporaryFile(/tmp/multipartBody6813960289708998664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106240284,"filename":"image_17012025_10_24_16_6530.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/041368c1f5d3cf249f97d228f3325a53.jpg","text":"TemporaryFile(/tmp/multipartBody7020493570682891322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106240284,"filename":"image_17012025_10_29_05_6374.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/61dddacf552fe9b4a12c379d2f2c92fa.jpg","text":"TemporaryFile(/tmp/multipartBody2466734700575060683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106240284,"filename":"image_17012025_10_28_47_6635.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e47405c3d9ef823a133fef3bd54e6304.jpg","text":"TemporaryFile(/tmp/multipartBody19034660866787373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106240284,"filename":"image_17012025_10_29_29_6704.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/09798d872ed1b95d5156301ec5b4a68b.jpg","text":"TemporaryFile(/tmp/multipartBody1272084826847254699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106240284,"filename":"image_17012025_10_24_59_6619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329442562","file1":"1329442554","file0":"1329442547","file4":"1329442575","file5":"1329442578","file3":"1329442570"},"map_files_photo_id_array":[{"photo_id":"1329442578","filename":"file5"},{"photo_id":"1329442562","filename":"file2"},{"photo_id":"1329442575","filename":"file4"},{"photo_id":"1329442554","filename":"file1"},{"photo_id":"1329442547","filename":"file0"},{"photo_id":"1329442570","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329442578":["hashtag1","hashtag2"]},{"1329442575":["hashtag1","hashtag2"]},{"1329442554":["hashtag1","hashtag2"]},{"1329442562":["hashtag1","hashtag2"]},{"1329442547":["hashtag1","hashtag2"]},{"1329442570":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329442578, 1329442575, 1329442554, 1329442562, 1329442547, 1329442570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.86966896057129 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:30:22.342451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/29/image_17012025_10_29_58_5368.jpg', '/media/data/images/17012025/10/23/image_17012025_10_24_05_6583.jpg', '/media/data/images/17012025/10/23/image_17012025_10_23_58_5350.jpg', '/media/data/images/17012025/10/22/image_17012025_10_22_17_6512.jpg', '/media/data/images/17012025/10/22/image_17012025_10_22_10_6546.jpg', '/media/data/images/17012025/10/22/image_17012025_10_22_04_5099.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/29/image_17012025_10_29_58_5368.jpg
/media/data/images/17012025/10/23/image_17012025_10_24_05_6583.jpg
/media/data/images/17012025/10/23/image_17012025_10_23_58_5350.jpg
/media/data/images/17012025/10/22/image_17012025_10_22_17_6512.jpg
/media/data/images/17012025/10/22/image_17012025_10_22_10_6546.jpg
/media/data/images/17012025/10/22/image_17012025_10_22_04_5099.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329442596","1329442609","1329442600","1329442593","1329442614","1329442604"],"photo_ids_order":["1329442593","1329442596","1329442600","1329442604","1329442609","1329442614"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6ead112492a571b0c031ce3137f9c6f5.jpg","text":"TemporaryFile(/tmp/multipartBody6937089835297755276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106287793,"filename":"image_17012025_10_24_05_6583.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/23573e064c4a8c726ee0efc6a6213b95.jpg","text":"TemporaryFile(/tmp/multipartBody6667376384351258722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106287793,"filename":"image_17012025_10_22_10_6546.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/03f087356b62e0dd5b2cefd3f559a4c1.jpg","text":"TemporaryFile(/tmp/multipartBody7766011291681182782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106287793,"filename":"image_17012025_10_23_58_5350.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/06ca1bbcc44e8d407e44057763d90864.jpg","text":"TemporaryFile(/tmp/multipartBody1930412517040795354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106287793,"filename":"image_17012025_10_29_58_5368.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/501f8fd3559ac59891c15707bafb808e.jpg","text":"TemporaryFile(/tmp/multipartBody3669469557908125157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106287793,"filename":"image_17012025_10_22_04_5099.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d5356f3465dd2fecad895848d2074348.jpg","text":"TemporaryFile(/tmp/multipartBody8760690687787357315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106287793,"filename":"image_17012025_10_22_17_6512.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329442600","file1":"1329442596","file0":"1329442593","file4":"1329442609","file5":"1329442614","file3":"1329442604"},"map_files_photo_id_array":[{"photo_id":"1329442614","filename":"file5"},{"photo_id":"1329442600","filename":"file2"},{"photo_id":"1329442609","filename":"file4"},{"photo_id":"1329442596","filename":"file1"},{"photo_id":"1329442593","filename":"file0"},{"photo_id":"1329442604","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329442596":["hashtag1","hashtag2"]},{"1329442609":["hashtag1","hashtag2"]},{"1329442600":["hashtag1","hashtag2"]},{"1329442593":["hashtag1","hashtag2"]},{"1329442614":["hashtag1","hashtag2"]},{"1329442604":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329442596, 1329442609, 1329442600, 1329442593, 1329442614, 1329442604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.620410203933716 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:31:02.672444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/21/image_17012025_10_21_59_6508.jpg', '/media/data/images/17012025/10/20/image_17012025_10_20_04_5392.jpg', '/media/data/images/17012025/10/19/image_17012025_10_19_59_6544.jpg', '/media/data/images/17012025/10/19/image_17012025_10_19_16_6351.jpg', '/media/data/images/17012025/10/19/image_17012025_10_19_10_5206.jpg', '/media/data/images/17012025/10/18/image_17012025_10_19_05_6534.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/21/image_17012025_10_21_59_6508.jpg
/media/data/images/17012025/10/20/image_17012025_10_20_04_5392.jpg
/media/data/images/17012025/10/19/image_17012025_10_19_59_6544.jpg
/media/data/images/17012025/10/19/image_17012025_10_19_16_6351.jpg
/media/data/images/17012025/10/19/image_17012025_10_19_10_5206.jpg
/media/data/images/17012025/10/18/image_17012025_10_19_05_6534.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329442644","1329442656","1329442646","1329442634","1329442651","1329442639"],"photo_ids_order":["1329442634","1329442639","1329442644","1329442646","1329442651","1329442656"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fe70d4140e95826d94b7f7a4d6b840da.jpg","text":"TemporaryFile(/tmp/multipartBody3648184041245419467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106326918,"filename":"image_17012025_10_19_59_6544.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1a8b1b6340eb678eef03f7230b7d53a8.jpg","text":"TemporaryFile(/tmp/multipartBody3062614808473223630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106326918,"filename":"image_17012025_10_19_05_6534.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4a5f9c7e9a2c49ae04e37623f2eca3c8.jpg","text":"TemporaryFile(/tmp/multipartBody1066704555865031885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106326918,"filename":"image_17012025_10_19_16_6351.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/03c5626c8cfc29680b27a5cfdb199e67.jpg","text":"TemporaryFile(/tmp/multipartBody7046382962029689508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106326918,"filename":"image_17012025_10_21_59_6508.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7f73861287784e852376be5370159108.jpg","text":"TemporaryFile(/tmp/multipartBody2344437200594035770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106326918,"filename":"image_17012025_10_19_10_5206.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/574a98b1840b2861a3973c523130fbff.jpg","text":"TemporaryFile(/tmp/multipartBody6111391627763878386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106326918,"filename":"image_17012025_10_20_04_5392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329442644","file1":"1329442639","file0":"1329442634","file4":"1329442651","file5":"1329442656","file3":"1329442646"},"map_files_photo_id_array":[{"photo_id":"1329442656","filename":"file5"},{"photo_id":"1329442644","filename":"file2"},{"photo_id":"1329442651","filename":"file4"},{"photo_id":"1329442639","filename":"file1"},{"photo_id":"1329442634","filename":"file0"},{"photo_id":"1329442646","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329442644":["hashtag1","hashtag2"]},{"1329442656":["hashtag1","hashtag2"]},{"1329442646":["hashtag1","hashtag2"]},{"1329442634":["hashtag1","hashtag2"]},{"1329442651":["hashtag1","hashtag2"]},{"1329442639":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329442644, 1329442656, 1329442646, 1329442634, 1329442651, 1329442639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16625380516052 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:31:42.442860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/30/image_17012025_10_30_59_6578.jpg', '/media/data/images/17012025/10/18/image_17012025_10_18_58_6388.jpg', '/media/data/images/17012025/10/18/image_17012025_10_18_16_5123.jpg', '/media/data/images/17012025/10/18/image_17012025_10_18_11_6391.jpg', '/media/data/images/17012025/10/17/image_17012025_10_18_04_6412.jpg', '/media/data/images/17012025/10/17/image_17012025_10_17_58_5155.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/30/image_17012025_10_30_59_6578.jpg
/media/data/images/17012025/10/18/image_17012025_10_18_58_6388.jpg
/media/data/images/17012025/10/18/image_17012025_10_18_16_5123.jpg
/media/data/images/17012025/10/18/image_17012025_10_18_11_6391.jpg
/media/data/images/17012025/10/17/image_17012025_10_18_04_6412.jpg
/media/data/images/17012025/10/17/image_17012025_10_17_58_5155.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329442695","1329442708","1329442683","1329442688","1329442679","1329442703"],"photo_ids_order":["1329442679","1329442683","1329442688","1329442695","1329442703","1329442708"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e26f9a4f5b1ae428eed2c7496ea486ff.jpg","text":"TemporaryFile(/tmp/multipartBody724940111946150780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106372907,"filename":"image_17012025_10_18_11_6391.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a6d3d09a41eb788925d015b025abfefe.jpg","text":"TemporaryFile(/tmp/multipartBody6476345232930344414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106372907,"filename":"image_17012025_10_17_58_5155.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/80d0a7bf96aecc40353c5d31c37bb12d.jpg","text":"TemporaryFile(/tmp/multipartBody4827513545595887371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106372907,"filename":"image_17012025_10_18_58_6388.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8bb3fce30627810faf0611cdf0b32259.jpg","text":"TemporaryFile(/tmp/multipartBody8501225135738368649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106372907,"filename":"image_17012025_10_18_16_5123.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/63207d3ba6ad051994c3acae8e33231e.jpg","text":"TemporaryFile(/tmp/multipartBody2128813794638988662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106372907,"filename":"image_17012025_10_30_59_6578.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b1c828c30702bdcf244dc947ec741bd4.jpg","text":"TemporaryFile(/tmp/multipartBody8389055600580076404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106372907,"filename":"image_17012025_10_18_04_6412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329442688","file1":"1329442683","file0":"1329442679","file4":"1329442703","file5":"1329442708","file3":"1329442695"},"map_files_photo_id_array":[{"photo_id":"1329442708","filename":"file5"},{"photo_id":"1329442688","filename":"file2"},{"photo_id":"1329442703","filename":"file4"},{"photo_id":"1329442683","filename":"file1"},{"photo_id":"1329442679","filename":"file0"},{"photo_id":"1329442695","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329442695":["hashtag1","hashtag2"]},{"1329442708":["hashtag1","hashtag2"]},{"1329442683":["hashtag1","hashtag2"]},{"1329442688":["hashtag1","hashtag2"]},{"1329442679":["hashtag1","hashtag2"]},{"1329442703":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329442695, 1329442708, 1329442683, 1329442688, 1329442679, 1329442703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.44906401634216 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:32:42.535245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/32/image_17012025_10_32_29_6618.jpg', '/media/data/images/17012025/10/14/image_17012025_10_14_04_5068.jpg', '/media/data/images/17012025/10/13/image_17012025_10_13_59_6516.jpg', '/media/data/images/17012025/10/12/image_17012025_10_12_59_6530.jpg', '/media/data/images/17012025/10/11/image_17012025_10_11_53_6568.jpg', '/media/data/images/17012025/10/08/image_17012025_10_08_04_6176.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/32/image_17012025_10_32_29_6618.jpg
/media/data/images/17012025/10/14/image_17012025_10_14_04_5068.jpg
/media/data/images/17012025/10/13/image_17012025_10_13_59_6516.jpg
/media/data/images/17012025/10/12/image_17012025_10_12_59_6530.jpg
/media/data/images/17012025/10/11/image_17012025_10_11_53_6568.jpg
/media/data/images/17012025/10/08/image_17012025_10_08_04_6176.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329442754","1329442757","1329442739","1329442747","1329442735","1329442744"],"photo_ids_order":["1329442735","1329442739","1329442744","1329442747","1329442754","1329442757"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a3235aea11d7210436376f63ac98a3f8.jpg","text":"TemporaryFile(/tmp/multipartBody5586044211682129447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106427778,"filename":"image_17012025_10_11_53_6568.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2f50e47a2ffc9c6c332eeee70b859df3.jpg","text":"TemporaryFile(/tmp/multipartBody8085075864668937117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106427778,"filename":"image_17012025_10_08_04_6176.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ad6dbb5d09047aac861fa47c875bfb05.jpg","text":"TemporaryFile(/tmp/multipartBody6196853004419088920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106427778,"filename":"image_17012025_10_14_04_5068.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/adb4963f8e1ceb64ada50f3521dcc33c.jpg","text":"TemporaryFile(/tmp/multipartBody7945642142948029324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106427778,"filename":"image_17012025_10_12_59_6530.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9a8a8a2fe7460aa8542645e700dabc3a.jpg","text":"TemporaryFile(/tmp/multipartBody3637112904005935103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106427778,"filename":"image_17012025_10_32_29_6618.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6e2df3596f78eaf7dc184073117795c3.jpg","text":"TemporaryFile(/tmp/multipartBody1622548133716969063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106427778,"filename":"image_17012025_10_13_59_6516.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329442744","file1":"1329442739","file0":"1329442735","file4":"1329442754","file5":"1329442757","file3":"1329442747"},"map_files_photo_id_array":[{"photo_id":"1329442757","filename":"file5"},{"photo_id":"1329442744","filename":"file2"},{"photo_id":"1329442754","filename":"file4"},{"photo_id":"1329442739","filename":"file1"},{"photo_id":"1329442735","filename":"file0"},{"photo_id":"1329442747","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329442754":["hashtag1","hashtag2"]},{"1329442757":["hashtag1","hashtag2"]},{"1329442739":["hashtag1","hashtag2"]},{"1329442747":["hashtag1","hashtag2"]},{"1329442735":["hashtag1","hashtag2"]},{"1329442744":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329442754, 1329442757, 1329442739, 1329442747, 1329442735, 1329442744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.49355959892273 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:33:22.667311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/33/image_17012025_10_33_40_6591.jpg', '/media/data/images/17012025/10/33/image_17012025_10_33_22_5341.jpg', '/media/data/images/17012025/10/32/image_17012025_10_33_05_6608.jpg', '/media/data/images/17012025/10/31/image_17012025_10_31_58_6612.jpg', '/media/data/images/17012025/10/07/image_17012025_10_07_58_6378.jpg', '/media/data/images/17012025/10/07/image_17012025_10_07_16_6395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/33/image_17012025_10_33_40_6591.jpg
/media/data/images/17012025/10/33/image_17012025_10_33_22_5341.jpg
/media/data/images/17012025/10/32/image_17012025_10_33_05_6608.jpg
/media/data/images/17012025/10/31/image_17012025_10_31_58_6612.jpg
/media/data/images/17012025/10/07/image_17012025_10_07_58_6378.jpg
/media/data/images/17012025/10/07/image_17012025_10_07_16_6395.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329442773","1329442800","1329442790","1329442796","1329442786","1329442780"],"photo_ids_order":["1329442773","1329442780","1329442786","1329442790","1329442796","1329442800"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6ed4841b4b229de4b74704d699e6ec1e.jpg","text":"TemporaryFile(/tmp/multipartBody7686772275012496759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106466905,"filename":"image_17012025_10_33_40_6591.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c90606951c7ee38d62de997f893bd0a8.jpg","text":"TemporaryFile(/tmp/multipartBody38502740968534590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106466905,"filename":"image_17012025_10_07_16_6395.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7577062acb60034ebef063a2efd7a0af.jpg","text":"TemporaryFile(/tmp/multipartBody5736032942531503407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106466905,"filename":"image_17012025_10_31_58_6612.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/18f82525f48725b04424a6ce31a0353b.jpg","text":"TemporaryFile(/tmp/multipartBody5621151279365316424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106466905,"filename":"image_17012025_10_07_58_6378.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8af14bb3ee78b82b23fd765eca7373a1.jpg","text":"TemporaryFile(/tmp/multipartBody3934257088799877741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106466905,"filename":"image_17012025_10_33_05_6608.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/486e72530832f713c0d390adacab53ef.jpg","text":"TemporaryFile(/tmp/multipartBody66909807281891940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106466905,"filename":"image_17012025_10_33_22_5341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329442786","file1":"1329442780","file0":"1329442773","file4":"1329442796","file5":"1329442800","file3":"1329442790"},"map_files_photo_id_array":[{"photo_id":"1329442800","filename":"file5"},{"photo_id":"1329442786","filename":"file2"},{"photo_id":"1329442796","filename":"file4"},{"photo_id":"1329442780","filename":"file1"},{"photo_id":"1329442773","filename":"file0"},{"photo_id":"1329442790","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329442773":["hashtag1","hashtag2"]},{"1329442800":["hashtag1","hashtag2"]},{"1329442790":["hashtag1","hashtag2"]},{"1329442796":["hashtag1","hashtag2"]},{"1329442786":["hashtag1","hashtag2"]},{"1329442780":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329442773, 1329442800, 1329442790, 1329442796, 1329442786, 1329442780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.035557985305786 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 10:34:02.984514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/07/image_17012025_10_07_10_5197.jpg', '/media/data/images/17012025/10/07/image_17012025_10_07_04_6192.jpg', '/media/data/images/17012025/10/06/image_17012025_10_06_58_6408.jpg', '/media/data/images/17012025/10/03/image_17012025_10_03_04_5073.jpg', '/media/data/images/17012025/10/02/image_17012025_10_02_59_6560.jpg', '/media/data/images/17012025/10/02/image_17012025_10_02_05_6321.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/07/image_17012025_10_07_10_5197.jpg
/media/data/images/17012025/10/07/image_17012025_10_07_04_6192.jpg
/media/data/images/17012025/10/06/image_17012025_10_06_58_6408.jpg
/media/data/images/17012025/10/03/image_17012025_10_03_04_5073.jpg
/media/data/images/17012025/10/02/image_17012025_10_02_59_6560.jpg
/media/data/images/17012025/10/02/image_17012025_10_02_05_6321.jpg
2025-01-17 10:34:03.291241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/07/image_17012025_10_07_10_5197.jpg', '/media/data/images/17012025/10/07/image_17012025_10_07_04_6192.jpg', '/media/data/images/17012025/10/06/image_17012025_10_06_58_6408.jpg', '/media/data/images/17012025/10/03/image_17012025_10_03_04_5073.jpg', '/media/data/images/17012025/10/02/image_17012025_10_02_59_6560.jpg', '/media/data/images/17012025/10/02/image_17012025_10_02_05_6321.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/07/image_17012025_10_07_10_5197.jpg
/media/data/images/17012025/10/07/image_17012025_10_07_04_6192.jpg
/media/data/images/17012025/10/06/image_17012025_10_06_58_6408.jpg
/media/data/images/17012025/10/03/image_17012025_10_03_04_5073.jpg
/media/data/images/17012025/10/02/image_17012025_10_02_59_6560.jpg
/media/data/images/17012025/10/02/image_17012025_10_02_05_6321.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329442831","1329442819","1329442813","1329442824","1329442844","1329442838"],"photo_ids_order":["1329442813","1329442819","1329442824","1329442831","1329442838","1329442844"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a383ddc9beace6ad2b4bed1c1b74eac3.jpg","text":"TemporaryFile(/tmp/multipartBody3348539859227946839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106508777,"filename":"image_17012025_10_03_04_5073.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3a5d18cc8a4332e4e2519ce4be1a3889.jpg","text":"TemporaryFile(/tmp/multipartBody8741203730892342057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106508777,"filename":"image_17012025_10_07_04_6192.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/42a266d265231f33ad36df8f2b473ac9.jpg","text":"TemporaryFile(/tmp/multipartBody4703497425990976483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106508777,"filename":"image_17012025_10_07_10_5197.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/10bf4704b88ded9a54477d9af8525968.jpg","text":"TemporaryFile(/tmp/multipartBody76391796852931136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106508777,"filename":"image_17012025_10_06_58_6408.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f7a61a446e52b2b2982cf385091c0b4d.jpg","text":"TemporaryFile(/tmp/multipartBody429318739554136199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106508777,"filename":"image_17012025_10_02_05_6321.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2bf8bd95f376d123e382a83a30ba699c.jpg","text":"TemporaryFile(/tmp/multipartBody1419523821942340356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106508777,"filename":"image_17012025_10_02_59_6560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329442824","file1":"1329442819","file0":"1329442813","file4":"1329442838","file5":"1329442844","file3":"1329442831"},"map_files_photo_id_array":[{"photo_id":"1329442844","filename":"file5"},{"photo_id":"1329442824","filename":"file2"},{"photo_id":"1329442838","filename":"file4"},{"photo_id":"1329442819","filename":"file1"},{"photo_id":"1329442813","filename":"file0"},{"photo_id":"1329442831","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329442831":["hashtag1","hashtag2"]},{"1329442819":["hashtag1","hashtag2"]},{"1329442813":["hashtag1","hashtag2"]},{"1329442824":["hashtag1","hashtag2"]},{"1329442844":["hashtag1","hashtag2"]},{"1329442838":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329442831, 1329442819, 1329442813, 1329442824, 1329442844, 1329442838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.26598525047302 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329442845","1329442839","1329442833","1329442827","1329442821","1329442817"],"photo_ids_order":["1329442817","1329442821","1329442827","1329442833","1329442839","1329442845"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/18a8880776712cce0b4647fbba447429.jpg","text":"TemporaryFile(/tmp/multipartBody2612819621044649228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106510293,"filename":"image_17012025_10_02_05_6321.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b9d1b030f13b6760d6d1c1a17850f859.jpg","text":"TemporaryFile(/tmp/multipartBody5701764683253826089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106510293,"filename":"image_17012025_10_02_59_6560.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5c1e8e5369c696b26ce6933ed3306c6a.jpg","text":"TemporaryFile(/tmp/multipartBody6320840347381736736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106510293,"filename":"image_17012025_10_03_04_5073.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/942d6187fe071ca3e4be325a9aebf242.jpg","text":"TemporaryFile(/tmp/multipartBody2721642394871005984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106510293,"filename":"image_17012025_10_06_58_6408.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0f76ffba7aa3993c22ae450aa133ab04.jpg","text":"TemporaryFile(/tmp/multipartBody6625950528772253864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106510293,"filename":"image_17012025_10_07_04_6192.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fd3c648e89f5f10d92b9c522c35d23cb.jpg","text":"TemporaryFile(/tmp/multipartBody2574726268449200680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106510293,"filename":"image_17012025_10_07_10_5197.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329442827","file1":"1329442821","file0":"1329442817","file4":"1329442839","file5":"1329442845","file3":"1329442833"},"map_files_photo_id_array":[{"photo_id":"1329442845","filename":"file5"},{"photo_id":"1329442827","filename":"file2"},{"photo_id":"1329442839","filename":"file4"},{"photo_id":"1329442821","filename":"file1"},{"photo_id":"1329442817","filename":"file0"},{"photo_id":"1329442833","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329442845":["hashtag1","hashtag2"]},{"1329442839":["hashtag1","hashtag2"]},{"1329442833":["hashtag1","hashtag2"]},{"1329442827":["hashtag1","hashtag2"]},{"1329442821":["hashtag1","hashtag2"]},{"1329442817":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329442845, 1329442839, 1329442833, 1329442827, 1329442821, 1329442817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.140859603881836 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:35:02.141641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/34/image_17012025_10_34_52_6460.jpg', '/media/data/images/17012025/10/34/image_17012025_10_34_46_5285.jpg', '/media/data/images/17012025/10/34/image_17012025_10_34_40_6609.jpg', '/media/data/images/17012025/10/34/image_17012025_10_34_10_5372.jpg', '/media/data/images/17012025/10/33/image_17012025_10_33_58_5374.jpg', '/media/data/images/17012025/10/01/image_17012025_10_01_47_6518.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/34/image_17012025_10_34_52_6460.jpg
/media/data/images/17012025/10/34/image_17012025_10_34_46_5285.jpg
/media/data/images/17012025/10/34/image_17012025_10_34_40_6609.jpg
/media/data/images/17012025/10/34/image_17012025_10_34_10_5372.jpg
/media/data/images/17012025/10/33/image_17012025_10_33_58_5374.jpg
/media/data/images/17012025/10/01/image_17012025_10_01_47_6518.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329442884","1329442889","1329442880","1329442894","1329442876","1329442873"],"photo_ids_order":["1329442873","1329442876","1329442880","1329442884","1329442889","1329442894"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3a12a2fab40618e74c86ce70b8570a06.jpg","text":"TemporaryFile(/tmp/multipartBody5956866266461934092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106567999,"filename":"image_17012025_10_34_10_5372.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c19cc2221e7a158e71c888b98014ff8a.jpg","text":"TemporaryFile(/tmp/multipartBody252123105702767051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106567999,"filename":"image_17012025_10_33_58_5374.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ccfa54abdf8f8f543d214436c64bdbaf.jpg","text":"TemporaryFile(/tmp/multipartBody5976264001331704853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106567999,"filename":"image_17012025_10_34_40_6609.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a7ccf7774928a200b96f014fcbf88f93.jpg","text":"TemporaryFile(/tmp/multipartBody6089544451513380527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106567999,"filename":"image_17012025_10_01_47_6518.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/94ccbfb17cb133bca89cb41f688e7289.jpg","text":"TemporaryFile(/tmp/multipartBody6626455381556693872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106567999,"filename":"image_17012025_10_34_46_5285.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fb16d5b538911dbf1e2c32c3ec04f855.jpg","text":"TemporaryFile(/tmp/multipartBody7156213630497189563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106567999,"filename":"image_17012025_10_34_52_6460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329442880","file1":"1329442876","file0":"1329442873","file4":"1329442889","file5":"1329442894","file3":"1329442884"},"map_files_photo_id_array":[{"photo_id":"1329442894","filename":"file5"},{"photo_id":"1329442880","filename":"file2"},{"photo_id":"1329442889","filename":"file4"},{"photo_id":"1329442876","filename":"file1"},{"photo_id":"1329442873","filename":"file0"},{"photo_id":"1329442884","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329442884":["hashtag1","hashtag2"]},{"1329442889":["hashtag1","hashtag2"]},{"1329442880":["hashtag1","hashtag2"]},{"1329442894":["hashtag1","hashtag2"]},{"1329442876":["hashtag1","hashtag2"]},{"1329442873":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329442884, 1329442889, 1329442880, 1329442894, 1329442876, 1329442873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.67793798446655 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:36:02.115273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/35/image_17012025_10_35_53_6365.jpg', '/media/data/images/17012025/10/35/image_17012025_10_35_46_6365.jpg', '/media/data/images/17012025/10/35/image_17012025_10_35_40_5162.jpg', '/media/data/images/17012025/10/35/image_17012025_10_35_35_6361.jpg', '/media/data/images/17012025/10/35/image_17012025_10_35_28_6356.jpg', '/media/data/images/17012025/10/35/image_17012025_10_35_22_5164.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/35/image_17012025_10_35_53_6365.jpg
/media/data/images/17012025/10/35/image_17012025_10_35_46_6365.jpg
/media/data/images/17012025/10/35/image_17012025_10_35_40_5162.jpg
/media/data/images/17012025/10/35/image_17012025_10_35_35_6361.jpg
/media/data/images/17012025/10/35/image_17012025_10_35_28_6356.jpg
/media/data/images/17012025/10/35/image_17012025_10_35_22_5164.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329442950","1329442943","1329442937","1329442922","1329442931","1329442927"],"photo_ids_order":["1329442922","1329442927","1329442931","1329442937","1329442943","1329442950"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/05f1793e056205b3a2d7a4eca6488c45.jpg","text":"TemporaryFile(/tmp/multipartBody7877864574280814642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106625892,"filename":"image_17012025_10_35_22_5164.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a9892c023bb721d95c76d2ec8c0d4aad.jpg","text":"TemporaryFile(/tmp/multipartBody7208856340504318819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106625892,"filename":"image_17012025_10_35_28_6356.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/95951592738063594406535bfe037ba4.jpg","text":"TemporaryFile(/tmp/multipartBody9151807376334732383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106625892,"filename":"image_17012025_10_35_35_6361.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/918eeb7e568bd986a7d807d24c922ff7.jpg","text":"TemporaryFile(/tmp/multipartBody5535788874474372132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106625892,"filename":"image_17012025_10_35_53_6365.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/94a8d40caed6bd22a554e3cb022f9175.jpg","text":"TemporaryFile(/tmp/multipartBody637243342085556719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106625892,"filename":"image_17012025_10_35_40_5162.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8cde27dad2560f1fa212b63841ab1165.jpg","text":"TemporaryFile(/tmp/multipartBody4134947332049684501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106625892,"filename":"image_17012025_10_35_46_6365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329442931","file1":"1329442927","file0":"1329442922","file4":"1329442943","file5":"1329442950","file3":"1329442937"},"map_files_photo_id_array":[{"photo_id":"1329442950","filename":"file5"},{"photo_id":"1329442931","filename":"file2"},{"photo_id":"1329442943","filename":"file4"},{"photo_id":"1329442927","filename":"file1"},{"photo_id":"1329442922","filename":"file0"},{"photo_id":"1329442937","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329442950":["hashtag1","hashtag2"]},{"1329442943":["hashtag1","hashtag2"]},{"1329442937":["hashtag1","hashtag2"]},{"1329442922":["hashtag1","hashtag2"]},{"1329442931":["hashtag1","hashtag2"]},{"1329442927":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329442950, 1329442943, 1329442937, 1329442922, 1329442931, 1329442927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93402171134949 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:36:41.925247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/36/image_17012025_10_36_52_5151.jpg', '/media/data/images/17012025/10/36/image_17012025_10_36_47_6375.jpg', '/media/data/images/17012025/10/36/image_17012025_10_36_40_6415.jpg', '/media/data/images/17012025/10/36/image_17012025_10_36_34_5194.jpg', '/media/data/images/17012025/10/36/image_17012025_10_36_29_6397.jpg', '/media/data/images/17012025/10/36/image_17012025_10_36_22_6407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/36/image_17012025_10_36_52_5151.jpg
/media/data/images/17012025/10/36/image_17012025_10_36_47_6375.jpg
/media/data/images/17012025/10/36/image_17012025_10_36_40_6415.jpg
/media/data/images/17012025/10/36/image_17012025_10_36_34_5194.jpg
/media/data/images/17012025/10/36/image_17012025_10_36_29_6397.jpg
/media/data/images/17012025/10/36/image_17012025_10_36_22_6407.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329442974","1329442977","1329442965","1329442985","1329442970","1329442981"],"photo_ids_order":["1329442965","1329442970","1329442974","1329442977","1329442981","1329442985"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/81eafe646c5910dbf6ccf73ba57421e0.jpg","text":"TemporaryFile(/tmp/multipartBody2614744976390651930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106665302,"filename":"image_17012025_10_36_40_6415.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/baa448374e59465639209883afa31336.jpg","text":"TemporaryFile(/tmp/multipartBody6099684603623409471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106665302,"filename":"image_17012025_10_36_34_5194.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/38e9d79f663bb7200ab3ecb4cc8adf1d.jpg","text":"TemporaryFile(/tmp/multipartBody3566814587156107238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106665302,"filename":"image_17012025_10_36_52_5151.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/edf4b5fea202f13331ee88e3e2a7cea2.jpg","text":"TemporaryFile(/tmp/multipartBody3877544741754205250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106665302,"filename":"image_17012025_10_36_22_6407.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dc4040b17b8fd9ce62758abb1a8236e1.jpg","text":"TemporaryFile(/tmp/multipartBody310307857858784423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106665302,"filename":"image_17012025_10_36_47_6375.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b08bc1f0e818f305f868821a09beb81b.jpg","text":"TemporaryFile(/tmp/multipartBody2882653310091001933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106665302,"filename":"image_17012025_10_36_29_6397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329442974","file1":"1329442970","file0":"1329442965","file4":"1329442981","file5":"1329442985","file3":"1329442977"},"map_files_photo_id_array":[{"photo_id":"1329442985","filename":"file5"},{"photo_id":"1329442974","filename":"file2"},{"photo_id":"1329442981","filename":"file4"},{"photo_id":"1329442970","filename":"file1"},{"photo_id":"1329442965","filename":"file0"},{"photo_id":"1329442977","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329442974":["hashtag1","hashtag2"]},{"1329442977":["hashtag1","hashtag2"]},{"1329442965":["hashtag1","hashtag2"]},{"1329442985":["hashtag1","hashtag2"]},{"1329442970":["hashtag1","hashtag2"]},{"1329442981":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329442974, 1329442977, 1329442965, 1329442985, 1329442970, 1329442981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64613461494446 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:37:22.055073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/37/image_17012025_10_37_52_5168.jpg', '/media/data/images/17012025/10/37/image_17012025_10_37_47_6394.jpg', '/media/data/images/17012025/10/37/image_17012025_10_37_40_6395.jpg', '/media/data/images/17012025/10/37/image_17012025_10_37_34_5188.jpg', '/media/data/images/17012025/10/37/image_17012025_10_37_29_6397.jpg', '/media/data/images/17012025/10/37/image_17012025_10_37_22_6419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/37/image_17012025_10_37_52_5168.jpg
/media/data/images/17012025/10/37/image_17012025_10_37_47_6394.jpg
/media/data/images/17012025/10/37/image_17012025_10_37_40_6395.jpg
/media/data/images/17012025/10/37/image_17012025_10_37_34_5188.jpg
/media/data/images/17012025/10/37/image_17012025_10_37_29_6397.jpg
/media/data/images/17012025/10/37/image_17012025_10_37_22_6419.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329443022","1329443028","1329443001","1329443012","1329443006","1329443017"],"photo_ids_order":["1329443001","1329443006","1329443012","1329443017","1329443022","1329443028"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4426b7eb380120d6fb0f4244eb1518c3.jpg","text":"TemporaryFile(/tmp/multipartBody7495032894350433158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106705571,"filename":"image_17012025_10_37_29_6397.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d82bb15eb7eea280e2e9dd39994ab68a.jpg","text":"TemporaryFile(/tmp/multipartBody5407379654948685070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106705571,"filename":"image_17012025_10_37_22_6419.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e9d1986fa946080d5a88171b2516ec08.jpg","text":"TemporaryFile(/tmp/multipartBody2190355952555148667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106705571,"filename":"image_17012025_10_37_52_5168.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8973d221d99fc713647a5f3ff4981b97.jpg","text":"TemporaryFile(/tmp/multipartBody9170343000355530486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106705571,"filename":"image_17012025_10_37_40_6395.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/53551bd71e715ca3adfa78643b33536c.jpg","text":"TemporaryFile(/tmp/multipartBody7695256147712295313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106705571,"filename":"image_17012025_10_37_47_6394.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bf9c2f83476ad5449c7da58aec395ed9.jpg","text":"TemporaryFile(/tmp/multipartBody3499866020529260398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106705571,"filename":"image_17012025_10_37_34_5188.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329443012","file1":"1329443006","file0":"1329443001","file4":"1329443022","file5":"1329443028","file3":"1329443017"},"map_files_photo_id_array":[{"photo_id":"1329443028","filename":"file5"},{"photo_id":"1329443012","filename":"file2"},{"photo_id":"1329443022","filename":"file4"},{"photo_id":"1329443006","filename":"file1"},{"photo_id":"1329443001","filename":"file0"},{"photo_id":"1329443017","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329443022":["hashtag1","hashtag2"]},{"1329443028":["hashtag1","hashtag2"]},{"1329443001":["hashtag1","hashtag2"]},{"1329443012":["hashtag1","hashtag2"]},{"1329443006":["hashtag1","hashtag2"]},{"1329443017":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329443022, 1329443028, 1329443001, 1329443012, 1329443006, 1329443017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82187271118164 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:38:02.392404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/38/image_17012025_10_38_41_6341.jpg', '/media/data/images/17012025/10/37/image_17012025_10_37_16_5157.jpg', '/media/data/images/17012025/10/37/image_17012025_10_37_11_6389.jpg', '/media/data/images/17012025/10/37/image_17012025_10_37_04_6207.jpg', '/media/data/images/17012025/10/36/image_17012025_10_36_58_6381.jpg', '/media/data/images/17012025/10/36/image_17012025_10_36_16_5191.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/38/image_17012025_10_38_41_6341.jpg
/media/data/images/17012025/10/37/image_17012025_10_37_16_5157.jpg
/media/data/images/17012025/10/37/image_17012025_10_37_11_6389.jpg
/media/data/images/17012025/10/37/image_17012025_10_37_04_6207.jpg
/media/data/images/17012025/10/36/image_17012025_10_36_58_6381.jpg
/media/data/images/17012025/10/36/image_17012025_10_36_16_5191.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329443049","1329443058","1329443046","1329443051","1329443054","1329443062"],"photo_ids_order":["1329443046","1329443049","1329443051","1329443054","1329443058","1329443062"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/932757fa2d27a85ba83dd53d243798bc.jpg","text":"TemporaryFile(/tmp/multipartBody1165090492111296812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106745572,"filename":"image_17012025_10_37_16_5157.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/030b9744f75ad2b51dcda79f94c9551b.jpg","text":"TemporaryFile(/tmp/multipartBody7717776035357861925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106745572,"filename":"image_17012025_10_36_58_6381.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/01b2095ef5e8271d0e75c7ef982625e6.jpg","text":"TemporaryFile(/tmp/multipartBody3806227225096035292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106745572,"filename":"image_17012025_10_38_41_6341.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fe48006ee8352c1d609fbaedb30ccfd4.jpg","text":"TemporaryFile(/tmp/multipartBody3657342115904495021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106745572,"filename":"image_17012025_10_37_11_6389.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c34d89aa8fa6353c16b01f91f3500609.jpg","text":"TemporaryFile(/tmp/multipartBody8049513372544250293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106745572,"filename":"image_17012025_10_37_04_6207.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/225cc2ff6b4a98c73de07dda556663fa.jpg","text":"TemporaryFile(/tmp/multipartBody1836789137567417219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106745572,"filename":"image_17012025_10_36_16_5191.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329443051","file1":"1329443049","file0":"1329443046","file4":"1329443058","file5":"1329443062","file3":"1329443054"},"map_files_photo_id_array":[{"photo_id":"1329443062","filename":"file5"},{"photo_id":"1329443051","filename":"file2"},{"photo_id":"1329443058","filename":"file4"},{"photo_id":"1329443049","filename":"file1"},{"photo_id":"1329443046","filename":"file0"},{"photo_id":"1329443054","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329443049":["hashtag1","hashtag2"]},{"1329443058":["hashtag1","hashtag2"]},{"1329443046":["hashtag1","hashtag2"]},{"1329443051":["hashtag1","hashtag2"]},{"1329443054":["hashtag1","hashtag2"]},{"1329443062":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329443049, 1329443058, 1329443046, 1329443051, 1329443054, 1329443062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.108882665634155 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:38:42.108632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/38/image_17012025_10_38_52_6362.jpg', '/media/data/images/17012025/10/38/image_17012025_10_38_46_5144.jpg', '/media/data/images/17012025/10/38/image_17012025_10_38_34_6338.jpg', '/media/data/images/17012025/10/38/image_17012025_10_38_28_5204.jpg', '/media/data/images/17012025/10/38/image_17012025_10_38_23_6415.jpg', '/media/data/images/17012025/10/38/image_17012025_10_38_16_6416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/38/image_17012025_10_38_52_6362.jpg
/media/data/images/17012025/10/38/image_17012025_10_38_46_5144.jpg
/media/data/images/17012025/10/38/image_17012025_10_38_34_6338.jpg
/media/data/images/17012025/10/38/image_17012025_10_38_28_5204.jpg
/media/data/images/17012025/10/38/image_17012025_10_38_23_6415.jpg
/media/data/images/17012025/10/38/image_17012025_10_38_16_6416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329443079","1329443093","1329443075","1329443089","1329443083","1329443085"],"photo_ids_order":["1329443075","1329443079","1329443083","1329443085","1329443089","1329443093"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/11f9cd03a6aa598d5799d0d8535bff17.jpg","text":"TemporaryFile(/tmp/multipartBody7417911967183977584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106785214,"filename":"image_17012025_10_38_46_5144.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/45e3303b67a058d5d589627bce782d15.jpg","text":"TemporaryFile(/tmp/multipartBody8045111225029593166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106785214,"filename":"image_17012025_10_38_16_6416.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8a3c6c848b0b064681fec8b14061255f.jpg","text":"TemporaryFile(/tmp/multipartBody4894321470690823015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106785214,"filename":"image_17012025_10_38_52_6362.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ee0df4e26778242ede8d6050ed3d6ccd.jpg","text":"TemporaryFile(/tmp/multipartBody5469072381853965038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106785214,"filename":"image_17012025_10_38_23_6415.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/95bc3c7e267595e4a0abf19d74da92da.jpg","text":"TemporaryFile(/tmp/multipartBody736174377109681960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106785214,"filename":"image_17012025_10_38_34_6338.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8f49d3e3944c6ea6f001887515784cce.jpg","text":"TemporaryFile(/tmp/multipartBody6533893782254514664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106785214,"filename":"image_17012025_10_38_28_5204.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329443083","file1":"1329443079","file0":"1329443075","file4":"1329443089","file5":"1329443093","file3":"1329443085"},"map_files_photo_id_array":[{"photo_id":"1329443093","filename":"file5"},{"photo_id":"1329443083","filename":"file2"},{"photo_id":"1329443089","filename":"file4"},{"photo_id":"1329443079","filename":"file1"},{"photo_id":"1329443075","filename":"file0"},{"photo_id":"1329443085","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329443079":["hashtag1","hashtag2"]},{"1329443093":["hashtag1","hashtag2"]},{"1329443075":["hashtag1","hashtag2"]},{"1329443089":["hashtag1","hashtag2"]},{"1329443083":["hashtag1","hashtag2"]},{"1329443085":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329443079, 1329443093, 1329443075, 1329443089, 1329443083, 1329443085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.8679301738739 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:39:22.208000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/39/image_17012025_10_39_52_5176.jpg', '/media/data/images/17012025/10/39/image_17012025_10_39_47_6320.jpg', '/media/data/images/17012025/10/39/image_17012025_10_39_40_6405.jpg', '/media/data/images/17012025/10/39/image_17012025_10_39_34_6360.jpg', '/media/data/images/17012025/10/39/image_17012025_10_39_28_5167.jpg', '/media/data/images/17012025/10/39/image_17012025_10_39_22_6340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/39/image_17012025_10_39_52_5176.jpg
/media/data/images/17012025/10/39/image_17012025_10_39_47_6320.jpg
/media/data/images/17012025/10/39/image_17012025_10_39_40_6405.jpg
/media/data/images/17012025/10/39/image_17012025_10_39_34_6360.jpg
/media/data/images/17012025/10/39/image_17012025_10_39_28_5167.jpg
/media/data/images/17012025/10/39/image_17012025_10_39_22_6340.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329443106","1329443115","1329443123","1329443111","1329443119","1329443128"],"photo_ids_order":["1329443106","1329443111","1329443115","1329443119","1329443123","1329443128"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/22ef53281d9cb5aaef90ddb8655b94d8.jpg","text":"TemporaryFile(/tmp/multipartBody5091469367298057498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106825584,"filename":"image_17012025_10_39_52_5176.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/644fde2d24140306352c335d04ff2c69.jpg","text":"TemporaryFile(/tmp/multipartBody4166613806526241822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106825584,"filename":"image_17012025_10_39_40_6405.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0d7018f45a9629a5b3c13121a9668ec2.jpg","text":"TemporaryFile(/tmp/multipartBody830708677959072927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106825584,"filename":"image_17012025_10_39_28_5167.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bbfbbc7ca44f2b730a9e2e0731eb684b.jpg","text":"TemporaryFile(/tmp/multipartBody7820384098451266281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106825584,"filename":"image_17012025_10_39_47_6320.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a5371e6aff8541da589e44d2fc071b41.jpg","text":"TemporaryFile(/tmp/multipartBody4906995970226720395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106825584,"filename":"image_17012025_10_39_34_6360.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/81be4eb9e0e5ece6e8a4d786716eab69.jpg","text":"TemporaryFile(/tmp/multipartBody9147674802137157534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106825584,"filename":"image_17012025_10_39_22_6340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329443115","file1":"1329443111","file0":"1329443106","file4":"1329443123","file5":"1329443128","file3":"1329443119"},"map_files_photo_id_array":[{"photo_id":"1329443128","filename":"file5"},{"photo_id":"1329443115","filename":"file2"},{"photo_id":"1329443123","filename":"file4"},{"photo_id":"1329443111","filename":"file1"},{"photo_id":"1329443106","filename":"file0"},{"photo_id":"1329443119","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329443106":["hashtag1","hashtag2"]},{"1329443115":["hashtag1","hashtag2"]},{"1329443123":["hashtag1","hashtag2"]},{"1329443111":["hashtag1","hashtag2"]},{"1329443119":["hashtag1","hashtag2"]},{"1329443128":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329443106, 1329443115, 1329443123, 1329443111, 1329443119, 1329443128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.592535972595215 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:40:02.633274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/39/image_17012025_10_39_16_6362.jpg', '/media/data/images/17012025/10/39/image_17012025_10_39_10_5184.jpg', '/media/data/images/17012025/10/39/image_17012025_10_39_05_6183.jpg', '/media/data/images/17012025/10/38/image_17012025_10_38_58_6360.jpg', '/media/data/images/17012025/10/38/image_17012025_10_38_10_5217.jpg', '/media/data/images/17012025/10/38/image_17012025_10_38_05_6273.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/39/image_17012025_10_39_16_6362.jpg
/media/data/images/17012025/10/39/image_17012025_10_39_10_5184.jpg
/media/data/images/17012025/10/39/image_17012025_10_39_05_6183.jpg
/media/data/images/17012025/10/38/image_17012025_10_38_58_6360.jpg
/media/data/images/17012025/10/38/image_17012025_10_38_10_5217.jpg
/media/data/images/17012025/10/38/image_17012025_10_38_05_6273.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329443142","1329443151","1329443145","1329443147","1329443155","1329443140"],"photo_ids_order":["1329443140","1329443142","1329443145","1329443147","1329443151","1329443155"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9b0df272137e25861b80abd7a8c0462d.jpg","text":"TemporaryFile(/tmp/multipartBody1540883218242057536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106865897,"filename":"image_17012025_10_39_10_5184.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/aeb9b128f68c1c480571221f3ac0e7bb.jpg","text":"TemporaryFile(/tmp/multipartBody38583726739689052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106865897,"filename":"image_17012025_10_38_10_5217.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b358a66231c8b5e8fec2070474dedb03.jpg","text":"TemporaryFile(/tmp/multipartBody1630782252379534756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106865897,"filename":"image_17012025_10_39_05_6183.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6eb2f1062f04ed3ff46cb108c38a72d7.jpg","text":"TemporaryFile(/tmp/multipartBody354697492488824198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106865897,"filename":"image_17012025_10_38_58_6360.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0096ab3d0832dca63b9f4227553e6d92.jpg","text":"TemporaryFile(/tmp/multipartBody8263638053609210606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106865897,"filename":"image_17012025_10_38_05_6273.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/79226c2e2deb937382c2c3f56cd3c2d5.jpg","text":"TemporaryFile(/tmp/multipartBody806243102644989577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106865897,"filename":"image_17012025_10_39_16_6362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329443145","file1":"1329443142","file0":"1329443140","file4":"1329443151","file5":"1329443155","file3":"1329443147"},"map_files_photo_id_array":[{"photo_id":"1329443155","filename":"file5"},{"photo_id":"1329443145","filename":"file2"},{"photo_id":"1329443151","filename":"file4"},{"photo_id":"1329443142","filename":"file1"},{"photo_id":"1329443140","filename":"file0"},{"photo_id":"1329443147","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329443142":["hashtag1","hashtag2"]},{"1329443151":["hashtag1","hashtag2"]},{"1329443145":["hashtag1","hashtag2"]},{"1329443147":["hashtag1","hashtag2"]},{"1329443155":["hashtag1","hashtag2"]},{"1329443140":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329443142, 1329443151, 1329443145, 1329443147, 1329443155, 1329443140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.46841788291931 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:40:42.415629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/40/image_17012025_10_40_52_5151.jpg', '/media/data/images/17012025/10/40/image_17012025_10_40_47_6333.jpg', '/media/data/images/17012025/10/40/image_17012025_10_40_40_6375.jpg', '/media/data/images/17012025/10/40/image_17012025_10_40_34_5159.jpg', '/media/data/images/17012025/10/40/image_17012025_10_40_29_6375.jpg', '/media/data/images/17012025/10/40/image_17012025_10_40_22_6373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/40/image_17012025_10_40_52_5151.jpg
/media/data/images/17012025/10/40/image_17012025_10_40_47_6333.jpg
/media/data/images/17012025/10/40/image_17012025_10_40_40_6375.jpg
/media/data/images/17012025/10/40/image_17012025_10_40_34_5159.jpg
/media/data/images/17012025/10/40/image_17012025_10_40_29_6375.jpg
/media/data/images/17012025/10/40/image_17012025_10_40_22_6373.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329443181","1329443175","1329443177","1329443173","1329443185","1329443170"],"photo_ids_order":["1329443170","1329443173","1329443175","1329443177","1329443181","1329443185"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2ac717f1487fd2ec365efd5cdb151a58.jpg","text":"TemporaryFile(/tmp/multipartBody3483757151712696487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106905608,"filename":"image_17012025_10_40_29_6375.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/80950312d4d2864d791214ea3e13019e.jpg","text":"TemporaryFile(/tmp/multipartBody7874549851575480368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106905608,"filename":"image_17012025_10_40_40_6375.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/07c550fbf120534ad240970c6aa10726.jpg","text":"TemporaryFile(/tmp/multipartBody3683883991070106255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106905608,"filename":"image_17012025_10_40_34_5159.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/04f9a510f5b35b121838e8a5811dd74d.jpg","text":"TemporaryFile(/tmp/multipartBody4061926943965036299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106905608,"filename":"image_17012025_10_40_47_6333.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/15b8c3cb4f299c91daa4a3520367d13f.jpg","text":"TemporaryFile(/tmp/multipartBody2582285422887929311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106905608,"filename":"image_17012025_10_40_22_6373.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b0da4a6aca6a354aac3015a6e3d2fc9c.jpg","text":"TemporaryFile(/tmp/multipartBody7150807822477425699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106905608,"filename":"image_17012025_10_40_52_5151.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329443175","file1":"1329443173","file0":"1329443170","file4":"1329443181","file5":"1329443185","file3":"1329443177"},"map_files_photo_id_array":[{"photo_id":"1329443185","filename":"file5"},{"photo_id":"1329443175","filename":"file2"},{"photo_id":"1329443181","filename":"file4"},{"photo_id":"1329443173","filename":"file1"},{"photo_id":"1329443170","filename":"file0"},{"photo_id":"1329443177","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329443181":["hashtag1","hashtag2"]},{"1329443175":["hashtag1","hashtag2"]},{"1329443177":["hashtag1","hashtag2"]},{"1329443173":["hashtag1","hashtag2"]},{"1329443185":["hashtag1","hashtag2"]},{"1329443170":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329443181, 1329443175, 1329443177, 1329443173, 1329443185, 1329443170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.097694396972656 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:41:22.489889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/41/image_17012025_10_41_52_6406.jpg', '/media/data/images/17012025/10/41/image_17012025_10_41_46_5176.jpg', '/media/data/images/17012025/10/41/image_17012025_10_41_40_6374.jpg', '/media/data/images/17012025/10/41/image_17012025_10_41_34_6366.jpg', '/media/data/images/17012025/10/41/image_17012025_10_41_28_5174.jpg', '/media/data/images/17012025/10/41/image_17012025_10_41_23_6372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/41/image_17012025_10_41_52_6406.jpg
/media/data/images/17012025/10/41/image_17012025_10_41_46_5176.jpg
/media/data/images/17012025/10/41/image_17012025_10_41_40_6374.jpg
/media/data/images/17012025/10/41/image_17012025_10_41_34_6366.jpg
/media/data/images/17012025/10/41/image_17012025_10_41_28_5174.jpg
/media/data/images/17012025/10/41/image_17012025_10_41_23_6372.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329443211","1329443207","1329443222","1329443216","1329443201","1329443227"],"photo_ids_order":["1329443201","1329443207","1329443211","1329443216","1329443222","1329443227"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/282c0087f0b397a0ac8d590559153617.jpg","text":"TemporaryFile(/tmp/multipartBody7952829336254710040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106946025,"filename":"image_17012025_10_41_40_6374.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fe7991d85b9c35b1e4d8d7f37ea0de3c.jpg","text":"TemporaryFile(/tmp/multipartBody8372371083411831635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106946025,"filename":"image_17012025_10_41_46_5176.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6017d09dc0216580c2220860ebf667c2.jpg","text":"TemporaryFile(/tmp/multipartBody6714840990730884004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106946025,"filename":"image_17012025_10_41_28_5174.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/aa512f8e083e8dbaa11e2dcc3e602a1b.jpg","text":"TemporaryFile(/tmp/multipartBody1470534108106384630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106946025,"filename":"image_17012025_10_41_34_6366.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/61e1cfe9649ed560b7d3fa967e778838.jpg","text":"TemporaryFile(/tmp/multipartBody1795125806281381387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106946025,"filename":"image_17012025_10_41_52_6406.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0664f541a32c421bc497f31333be6425.jpg","text":"TemporaryFile(/tmp/multipartBody4189246791223143971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106946025,"filename":"image_17012025_10_41_23_6372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329443211","file1":"1329443207","file0":"1329443201","file4":"1329443222","file5":"1329443227","file3":"1329443216"},"map_files_photo_id_array":[{"photo_id":"1329443227","filename":"file5"},{"photo_id":"1329443211","filename":"file2"},{"photo_id":"1329443222","filename":"file4"},{"photo_id":"1329443207","filename":"file1"},{"photo_id":"1329443201","filename":"file0"},{"photo_id":"1329443216","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329443211":["hashtag1","hashtag2"]},{"1329443207":["hashtag1","hashtag2"]},{"1329443222":["hashtag1","hashtag2"]},{"1329443216":["hashtag1","hashtag2"]},{"1329443201":["hashtag1","hashtag2"]},{"1329443227":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329443211, 1329443207, 1329443222, 1329443216, 1329443201, 1329443227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.27916359901428 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:42:02.813289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/41/image_17012025_10_41_16_6386.jpg', '/media/data/images/17012025/10/41/image_17012025_10_41_10_5252.jpg', '/media/data/images/17012025/10/40/image_17012025_10_41_05_6386.jpg', '/media/data/images/17012025/10/40/image_17012025_10_40_58_6373.jpg', '/media/data/images/17012025/10/40/image_17012025_10_40_16_5166.jpg', '/media/data/images/17012025/10/40/image_17012025_10_40_11_6384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/41/image_17012025_10_41_16_6386.jpg
/media/data/images/17012025/10/41/image_17012025_10_41_10_5252.jpg
/media/data/images/17012025/10/40/image_17012025_10_41_05_6386.jpg
/media/data/images/17012025/10/40/image_17012025_10_40_58_6373.jpg
/media/data/images/17012025/10/40/image_17012025_10_40_16_5166.jpg
/media/data/images/17012025/10/40/image_17012025_10_40_11_6384.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329443261","1329443246","1329443240","1329443257","1329443242","1329443251"],"photo_ids_order":["1329443240","1329443242","1329443246","1329443251","1329443257","1329443261"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0ab66171316c69812ecc4a86c3b13cc2.jpg","text":"TemporaryFile(/tmp/multipartBody3027737114421151736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106986707,"filename":"image_17012025_10_40_11_6384.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0369e185ca4c11b9874f131c1e83dd29.jpg","text":"TemporaryFile(/tmp/multipartBody8521572848569441990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106986707,"filename":"image_17012025_10_41_05_6386.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/41f8331ba39c956030ae414a986eb70f.jpg","text":"TemporaryFile(/tmp/multipartBody1251231692156730777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106986707,"filename":"image_17012025_10_41_16_6386.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/34adbdebafeba582c421d9cdc6afc178.jpg","text":"TemporaryFile(/tmp/multipartBody7372981756995694740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106986707,"filename":"image_17012025_10_40_16_5166.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6b38ce8a2d09c84340a1892e1233f92d.jpg","text":"TemporaryFile(/tmp/multipartBody1942623700300637723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106986707,"filename":"image_17012025_10_41_10_5252.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/59932de0f373eb8635e712ce3d5ab28a.jpg","text":"TemporaryFile(/tmp/multipartBody4893815315119182321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737106986707,"filename":"image_17012025_10_40_58_6373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329443246","file1":"1329443242","file0":"1329443240","file4":"1329443257","file5":"1329443261","file3":"1329443251"},"map_files_photo_id_array":[{"photo_id":"1329443261","filename":"file5"},{"photo_id":"1329443246","filename":"file2"},{"photo_id":"1329443257","filename":"file4"},{"photo_id":"1329443242","filename":"file1"},{"photo_id":"1329443240","filename":"file0"},{"photo_id":"1329443251","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329443261":["hashtag1","hashtag2"]},{"1329443246":["hashtag1","hashtag2"]},{"1329443240":["hashtag1","hashtag2"]},{"1329443257":["hashtag1","hashtag2"]},{"1329443242":["hashtag1","hashtag2"]},{"1329443251":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329443261, 1329443246, 1329443240, 1329443257, 1329443242, 1329443251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.35019254684448 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:42:42.573300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/42/image_17012025_10_42_52_6413.jpg', '/media/data/images/17012025/10/42/image_17012025_10_42_46_5165.jpg', '/media/data/images/17012025/10/42/image_17012025_10_42_41_6377.jpg', '/media/data/images/17012025/10/42/image_17012025_10_42_34_6384.jpg', '/media/data/images/17012025/10/42/image_17012025_10_42_28_5167.jpg', '/media/data/images/17012025/10/42/image_17012025_10_42_23_6372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/42/image_17012025_10_42_52_6413.jpg
/media/data/images/17012025/10/42/image_17012025_10_42_46_5165.jpg
/media/data/images/17012025/10/42/image_17012025_10_42_41_6377.jpg
/media/data/images/17012025/10/42/image_17012025_10_42_34_6384.jpg
/media/data/images/17012025/10/42/image_17012025_10_42_28_5167.jpg
/media/data/images/17012025/10/42/image_17012025_10_42_23_6372.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.3833603858947754 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:43:02.925625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/42/image_17012025_10_42_52_6413.jpg', '/media/data/images/17012025/10/42/image_17012025_10_42_46_5165.jpg', '/media/data/images/17012025/10/42/image_17012025_10_42_41_6377.jpg', '/media/data/images/17012025/10/42/image_17012025_10_42_34_6384.jpg', '/media/data/images/17012025/10/42/image_17012025_10_42_28_5167.jpg', '/media/data/images/17012025/10/42/image_17012025_10_42_23_6372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/42/image_17012025_10_42_52_6413.jpg
/media/data/images/17012025/10/42/image_17012025_10_42_46_5165.jpg
/media/data/images/17012025/10/42/image_17012025_10_42_41_6377.jpg
/media/data/images/17012025/10/42/image_17012025_10_42_34_6384.jpg
/media/data/images/17012025/10/42/image_17012025_10_42_28_5167.jpg
/media/data/images/17012025/10/42/image_17012025_10_42_23_6372.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329443309","1329443290","1329443295","1329443314","1329443302","1329443286"],"photo_ids_order":["1329443286","1329443290","1329443295","1329443302","1329443309","1329443314"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cac93d39f45d6e5b92a9298c125f2009.jpg","text":"TemporaryFile(/tmp/multipartBody3690234900425552503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107047025,"filename":"image_17012025_10_42_28_5167.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/89a045f329cea0a577cb9c241092d12d.jpg","text":"TemporaryFile(/tmp/multipartBody4364311684322909689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107047025,"filename":"image_17012025_10_42_46_5165.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1b8c19050254c894bc5e15dadd1b6e15.jpg","text":"TemporaryFile(/tmp/multipartBody7645033477973831441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107047025,"filename":"image_17012025_10_42_41_6377.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a64dc316acd34103cb4af2c682fffe9e.jpg","text":"TemporaryFile(/tmp/multipartBody2739313609740782854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107047025,"filename":"image_17012025_10_42_23_6372.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/afdb4f4b153dfec068fe4967a1fa7f1e.jpg","text":"TemporaryFile(/tmp/multipartBody6344488877004882676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107047025,"filename":"image_17012025_10_42_34_6384.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6dd0e21757511951f1a5abbbd73d2ee1.jpg","text":"TemporaryFile(/tmp/multipartBody1564325098510569155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107047025,"filename":"image_17012025_10_42_52_6413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329443295","file1":"1329443290","file0":"1329443286","file4":"1329443309","file5":"1329443314","file3":"1329443302"},"map_files_photo_id_array":[{"photo_id":"1329443314","filename":"file5"},{"photo_id":"1329443295","filename":"file2"},{"photo_id":"1329443309","filename":"file4"},{"photo_id":"1329443290","filename":"file1"},{"photo_id":"1329443286","filename":"file0"},{"photo_id":"1329443302","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329443309":["hashtag1","hashtag2"]},{"1329443290":["hashtag1","hashtag2"]},{"1329443295":["hashtag1","hashtag2"]},{"1329443314":["hashtag1","hashtag2"]},{"1329443302":["hashtag1","hashtag2"]},{"1329443286":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329443309, 1329443290, 1329443295, 1329443314, 1329443302, 1329443286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.922051191329956 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:43:42.674287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/43/image_17012025_10_43_52_6374.jpg', '/media/data/images/17012025/10/43/image_17012025_10_43_46_5172.jpg', '/media/data/images/17012025/10/43/image_17012025_10_43_41_6383.jpg', '/media/data/images/17012025/10/43/image_17012025_10_43_34_6382.jpg', '/media/data/images/17012025/10/43/image_17012025_10_43_28_5163.jpg', '/media/data/images/17012025/10/43/image_17012025_10_43_23_6374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/43/image_17012025_10_43_52_6374.jpg
/media/data/images/17012025/10/43/image_17012025_10_43_46_5172.jpg
/media/data/images/17012025/10/43/image_17012025_10_43_41_6383.jpg
/media/data/images/17012025/10/43/image_17012025_10_43_34_6382.jpg
/media/data/images/17012025/10/43/image_17012025_10_43_28_5163.jpg
/media/data/images/17012025/10/43/image_17012025_10_43_23_6374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329443340","1329443343","1329443330","1329443333","1329443336","1329443326"],"photo_ids_order":["1329443326","1329443330","1329443333","1329443336","1329443340","1329443343"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/245fdd6b2e2bd3d8628bc364e38eea65.jpg","text":"TemporaryFile(/tmp/multipartBody308148932056925625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107085909,"filename":"image_17012025_10_43_28_5163.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/35b499ca61a7561b2261b64c158a5c31.jpg","text":"TemporaryFile(/tmp/multipartBody5635899620079347429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107085909,"filename":"image_17012025_10_43_23_6374.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/89263b7334ba6104aa61fa439b8539cd.jpg","text":"TemporaryFile(/tmp/multipartBody5827245239582116400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107085909,"filename":"image_17012025_10_43_46_5172.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/54ec6eb5def7eb1cf0d01e8941a7ba1d.jpg","text":"TemporaryFile(/tmp/multipartBody8656900836141244469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107085909,"filename":"image_17012025_10_43_41_6383.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dc3ed9b65cb5ed889ec6274ece6727fd.jpg","text":"TemporaryFile(/tmp/multipartBody2732959965017507826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107085909,"filename":"image_17012025_10_43_34_6382.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/97a33be475a21ee0b46ab0fc03e1661c.jpg","text":"TemporaryFile(/tmp/multipartBody4048406946581797882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107085909,"filename":"image_17012025_10_43_52_6374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329443333","file1":"1329443330","file0":"1329443326","file4":"1329443340","file5":"1329443343","file3":"1329443336"},"map_files_photo_id_array":[{"photo_id":"1329443343","filename":"file5"},{"photo_id":"1329443333","filename":"file2"},{"photo_id":"1329443340","filename":"file4"},{"photo_id":"1329443330","filename":"file1"},{"photo_id":"1329443326","filename":"file0"},{"photo_id":"1329443336","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329443340":["hashtag1","hashtag2"]},{"1329443343":["hashtag1","hashtag2"]},{"1329443330":["hashtag1","hashtag2"]},{"1329443333":["hashtag1","hashtag2"]},{"1329443336":["hashtag1","hashtag2"]},{"1329443326":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329443340, 1329443343, 1329443330, 1329443333, 1329443336, 1329443326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.98996877670288 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:44:21.766893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/43/image_17012025_10_43_16_6384.jpg', '/media/data/images/17012025/10/43/image_17012025_10_43_10_5183.jpg', '/media/data/images/17012025/10/43/image_17012025_10_43_05_6188.jpg', '/media/data/images/17012025/10/42/image_17012025_10_42_58_6405.jpg', '/media/data/images/17012025/10/42/image_17012025_10_42_16_6372.jpg', '/media/data/images/17012025/10/42/image_17012025_10_42_10_5193.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/43/image_17012025_10_43_16_6384.jpg
/media/data/images/17012025/10/43/image_17012025_10_43_10_5183.jpg
/media/data/images/17012025/10/43/image_17012025_10_43_05_6188.jpg
/media/data/images/17012025/10/42/image_17012025_10_42_58_6405.jpg
/media/data/images/17012025/10/42/image_17012025_10_42_16_6372.jpg
/media/data/images/17012025/10/42/image_17012025_10_42_10_5193.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329443381","1329443375","1329443369","1329443378","1329443364","1329443358"],"photo_ids_order":["1329443358","1329443364","1329443369","1329443375","1329443378","1329443381"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/116ca83c646fb02d9ea9f0bdf6d35e19.jpg","text":"TemporaryFile(/tmp/multipartBody5326133286787839774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107124925,"filename":"image_17012025_10_42_10_5193.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b9e690f8d383ee28c102da1029142ff6.jpg","text":"TemporaryFile(/tmp/multipartBody3361558822778090238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107124925,"filename":"image_17012025_10_42_58_6405.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bbb46f15c9dd1b9b312c0680e7c7f603.jpg","text":"TemporaryFile(/tmp/multipartBody885330120124788241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107124925,"filename":"image_17012025_10_43_05_6188.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f7ae1d9b64cb550d7f02a136e88ea82d.jpg","text":"TemporaryFile(/tmp/multipartBody812607595765073976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107124925,"filename":"image_17012025_10_42_16_6372.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/500621d438b5c2874f0ab53b1ae4a95b.jpg","text":"TemporaryFile(/tmp/multipartBody1358260535722662334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107124925,"filename":"image_17012025_10_43_10_5183.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/577af70b251aad4fbc771f14846151af.jpg","text":"TemporaryFile(/tmp/multipartBody34007180558398170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107124925,"filename":"image_17012025_10_43_16_6384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329443369","file1":"1329443364","file0":"1329443358","file4":"1329443378","file5":"1329443381","file3":"1329443375"},"map_files_photo_id_array":[{"photo_id":"1329443381","filename":"file5"},{"photo_id":"1329443369","filename":"file2"},{"photo_id":"1329443378","filename":"file4"},{"photo_id":"1329443364","filename":"file1"},{"photo_id":"1329443358","filename":"file0"},{"photo_id":"1329443375","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329443381":["hashtag1","hashtag2"]},{"1329443375":["hashtag1","hashtag2"]},{"1329443369":["hashtag1","hashtag2"]},{"1329443378":["hashtag1","hashtag2"]},{"1329443364":["hashtag1","hashtag2"]},{"1329443358":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329443381, 1329443375, 1329443369, 1329443378, 1329443364, 1329443358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.1159405708313 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:45:02.104231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/42/image_17012025_10_42_05_6190.jpg', '/media/data/images/17012025/10/41/image_17012025_10_41_58_6402.jpg', '/media/data/images/17012025/10/40/image_17012025_10_40_04_6162.jpg', '/media/data/images/17012025/10/39/image_17012025_10_39_58_6364.jpg', '/media/data/images/17012025/10/37/image_17012025_10_37_58_6405.jpg', '/media/data/images/17012025/10/36/image_17012025_10_36_11_6540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/42/image_17012025_10_42_05_6190.jpg
/media/data/images/17012025/10/41/image_17012025_10_41_58_6402.jpg
/media/data/images/17012025/10/40/image_17012025_10_40_04_6162.jpg
/media/data/images/17012025/10/39/image_17012025_10_39_58_6364.jpg
/media/data/images/17012025/10/37/image_17012025_10_37_58_6405.jpg
/media/data/images/17012025/10/36/image_17012025_10_36_11_6540.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329443412","1329443396","1329443405","1329443417","1329443401","1329443391"],"photo_ids_order":["1329443391","1329443396","1329443401","1329443405","1329443412","1329443417"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/76785a7882b6df9385aaa506becb5bc9.jpg","text":"TemporaryFile(/tmp/multipartBody5217565078039288833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107165557,"filename":"image_17012025_10_37_58_6405.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/376c03902f0ec25b97472a5e55459935.jpg","text":"TemporaryFile(/tmp/multipartBody3625283599950868726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107165557,"filename":"image_17012025_10_41_58_6402.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7bc33e775a8a285f2661b84b5a6892f0.jpg","text":"TemporaryFile(/tmp/multipartBody3131885197694428627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107165557,"filename":"image_17012025_10_39_58_6364.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/daaa15cd2fc7e4e644a348045499b48f.jpg","text":"TemporaryFile(/tmp/multipartBody5284484703098117928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107165557,"filename":"image_17012025_10_36_11_6540.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/67cda34647c011154b6fe8693aeb6fcc.jpg","text":"TemporaryFile(/tmp/multipartBody8738396594630883503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107165557,"filename":"image_17012025_10_40_04_6162.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c86dcfae8556e291d0aa19d1ecaded5e.jpg","text":"TemporaryFile(/tmp/multipartBody1529618316797301360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107165557,"filename":"image_17012025_10_42_05_6190.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329443401","file1":"1329443396","file0":"1329443391","file4":"1329443412","file5":"1329443417","file3":"1329443405"},"map_files_photo_id_array":[{"photo_id":"1329443417","filename":"file5"},{"photo_id":"1329443401","filename":"file2"},{"photo_id":"1329443412","filename":"file4"},{"photo_id":"1329443396","filename":"file1"},{"photo_id":"1329443391","filename":"file0"},{"photo_id":"1329443405","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329443412":["hashtag1","hashtag2"]},{"1329443396":["hashtag1","hashtag2"]},{"1329443405":["hashtag1","hashtag2"]},{"1329443417":["hashtag1","hashtag2"]},{"1329443401":["hashtag1","hashtag2"]},{"1329443391":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329443412, 1329443396, 1329443405, 1329443417, 1329443401, 1329443391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.206605672836304 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:45:41.852343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/35/image_17012025_10_36_04_6476.jpg', '/media/data/images/17012025/10/35/image_17012025_10_35_58_5149.jpg', '/media/data/images/17012025/10/35/image_17012025_10_35_17_6380.jpg', '/media/data/images/17012025/10/35/image_17012025_10_35_10_6518.jpg', '/media/data/images/17012025/10/35/image_17012025_10_35_04_5213.jpg', '/media/data/images/17012025/10/34/image_17012025_10_34_59_6537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/35/image_17012025_10_36_04_6476.jpg
/media/data/images/17012025/10/35/image_17012025_10_35_58_5149.jpg
/media/data/images/17012025/10/35/image_17012025_10_35_17_6380.jpg
/media/data/images/17012025/10/35/image_17012025_10_35_10_6518.jpg
/media/data/images/17012025/10/35/image_17012025_10_35_04_5213.jpg
/media/data/images/17012025/10/34/image_17012025_10_34_59_6537.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329443451","1329443433","1329443436","1329443441","1329443455","1329443446"],"photo_ids_order":["1329443433","1329443436","1329443441","1329443446","1329443451","1329443455"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/32cea124d2a424b051b915fc55c62be0.jpg","text":"TemporaryFile(/tmp/multipartBody7593227075807332103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107206139,"filename":"image_17012025_10_35_04_5213.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/be827b5f6da7031f3ecfd419960288d2.jpg","text":"TemporaryFile(/tmp/multipartBody5397627686645462123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107206139,"filename":"image_17012025_10_36_04_6476.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b2fbb8cb4b6c9955d77226151e4ed93c.jpg","text":"TemporaryFile(/tmp/multipartBody7170398472472759203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107206139,"filename":"image_17012025_10_35_58_5149.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f9e8373e125423f0832e1af8b78cc089.jpg","text":"TemporaryFile(/tmp/multipartBody9013772048094768963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107206139,"filename":"image_17012025_10_35_17_6380.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5552d9a66823f5d864dbdd95bcbec01b.jpg","text":"TemporaryFile(/tmp/multipartBody817744693280055254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107206139,"filename":"image_17012025_10_34_59_6537.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fd72111dbb0575693166d16904fbb570.jpg","text":"TemporaryFile(/tmp/multipartBody3257957650881731980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107206139,"filename":"image_17012025_10_35_10_6518.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329443441","file1":"1329443436","file0":"1329443433","file4":"1329443451","file5":"1329443455","file3":"1329443446"},"map_files_photo_id_array":[{"photo_id":"1329443455","filename":"file5"},{"photo_id":"1329443441","filename":"file2"},{"photo_id":"1329443451","filename":"file4"},{"photo_id":"1329443436","filename":"file1"},{"photo_id":"1329443433","filename":"file0"},{"photo_id":"1329443446","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329443451":["hashtag1","hashtag2"]},{"1329443433":["hashtag1","hashtag2"]},{"1329443436":["hashtag1","hashtag2"]},{"1329443441":["hashtag1","hashtag2"]},{"1329443455":["hashtag1","hashtag2"]},{"1329443446":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329443451, 1329443433, 1329443436, 1329443441, 1329443455, 1329443446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.099074840545654 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:46:21.981629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/00/image_17012025_10_01_05_6605.jpg', '/media/data/images/17012025/09/59/image_17012025_10_00_58_5369.jpg', '/media/data/images/17012025/09/59/image_17012025_10_00_53_6408.jpg', '/media/data/images/17012025/09/59/image_17012025_10_00_46_6415.jpg', '/media/data/images/17012025/09/59/image_17012025_10_00_40_5206.jpg', '/media/data/images/17012025/09/59/image_17012025_10_00_34_6441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/00/image_17012025_10_01_05_6605.jpg
/media/data/images/17012025/09/59/image_17012025_10_00_58_5369.jpg
/media/data/images/17012025/09/59/image_17012025_10_00_53_6408.jpg
/media/data/images/17012025/09/59/image_17012025_10_00_46_6415.jpg
/media/data/images/17012025/09/59/image_17012025_10_00_40_5206.jpg
/media/data/images/17012025/09/59/image_17012025_10_00_34_6441.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329443495","1329443468","1329443465","1329443488","1329443473","1329443481"],"photo_ids_order":["1329443465","1329443468","1329443473","1329443481","1329443488","1329443495"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b2de3ced9da17019741c78131c048e64.jpg","text":"TemporaryFile(/tmp/multipartBody9074007658576488517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107247349,"filename":"image_17012025_10_00_34_6441.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/93b954e231d4b7e27431efcaa154be46.jpg","text":"TemporaryFile(/tmp/multipartBody6678459320927425896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107247349,"filename":"image_17012025_10_00_58_5369.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ae524a7e76fedf15d50e70ffac4b6e56.jpg","text":"TemporaryFile(/tmp/multipartBody6703887638842526662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107247349,"filename":"image_17012025_10_01_05_6605.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d6a744395bfc285d3b5e53fd71a8f742.jpg","text":"TemporaryFile(/tmp/multipartBody3898845916493075247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107247349,"filename":"image_17012025_10_00_40_5206.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7a942b960a26792386637b5895e60079.jpg","text":"TemporaryFile(/tmp/multipartBody5469872790419096969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107247349,"filename":"image_17012025_10_00_53_6408.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/366630c1f9929aa9949b08702e67f953.jpg","text":"TemporaryFile(/tmp/multipartBody7840139210726296424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107247349,"filename":"image_17012025_10_00_46_6415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329443473","file1":"1329443468","file0":"1329443465","file4":"1329443488","file5":"1329443495","file3":"1329443481"},"map_files_photo_id_array":[{"photo_id":"1329443495","filename":"file5"},{"photo_id":"1329443473","filename":"file2"},{"photo_id":"1329443488","filename":"file4"},{"photo_id":"1329443468","filename":"file1"},{"photo_id":"1329443465","filename":"file0"},{"photo_id":"1329443481","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329443495":["hashtag1","hashtag2"]},{"1329443468":["hashtag1","hashtag2"]},{"1329443465":["hashtag1","hashtag2"]},{"1329443488":["hashtag1","hashtag2"]},{"1329443473":["hashtag1","hashtag2"]},{"1329443481":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329443495, 1329443468, 1329443465, 1329443488, 1329443473, 1329443481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.26333236694336 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:47:02.358342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/59/image_17012025_10_00_28_6231.jpg', '/media/data/images/17012025/09/59/image_17012025_10_00_22_5184.jpg', '/media/data/images/17012025/09/59/image_17012025_10_00_17_6483.jpg', '/media/data/images/17012025/09/59/image_17012025_10_00_10_5336.jpg', '/media/data/images/17012025/09/59/image_17012025_10_00_05_6668.jpg', '/media/data/images/17012025/09/59/image_17012025_09_59_58_5275.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/59/image_17012025_10_00_28_6231.jpg
/media/data/images/17012025/09/59/image_17012025_10_00_22_5184.jpg
/media/data/images/17012025/09/59/image_17012025_10_00_17_6483.jpg
/media/data/images/17012025/09/59/image_17012025_10_00_10_5336.jpg
/media/data/images/17012025/09/59/image_17012025_10_00_05_6668.jpg
/media/data/images/17012025/09/59/image_17012025_09_59_58_5275.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329443532","1329443535","1329443529","1329443517","1329443525","1329443521"],"photo_ids_order":["1329443517","1329443521","1329443525","1329443529","1329443532","1329443535"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a746aadabbadedb3968998fe38e6be2e.jpg","text":"TemporaryFile(/tmp/multipartBody6282261719314690124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107292656,"filename":"image_17012025_10_00_05_6668.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/99d5b66a72921d2c0690ae33d16c2ad6.jpg","text":"TemporaryFile(/tmp/multipartBody475573606748255398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107292656,"filename":"image_17012025_09_59_58_5275.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c8c2e07a0a7e89b089f7dc3b0dcb9ebe.jpg","text":"TemporaryFile(/tmp/multipartBody3296805443092334159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107292656,"filename":"image_17012025_10_00_10_5336.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d9e6e5f8132be85fa53ff793a2a48129.jpg","text":"TemporaryFile(/tmp/multipartBody4563021124426589708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107292656,"filename":"image_17012025_10_00_28_6231.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/deb1a8156c88bad0ab73bf073f22fe92.jpg","text":"TemporaryFile(/tmp/multipartBody7796861574309647895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107292656,"filename":"image_17012025_10_00_17_6483.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a98b94f2fbbbafc3dd6fdb6a5ff48bf5.jpg","text":"TemporaryFile(/tmp/multipartBody1542114709553868326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107292656,"filename":"image_17012025_10_00_22_5184.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329443525","file1":"1329443521","file0":"1329443517","file4":"1329443532","file5":"1329443535","file3":"1329443529"},"map_files_photo_id_array":[{"photo_id":"1329443535","filename":"file5"},{"photo_id":"1329443525","filename":"file2"},{"photo_id":"1329443532","filename":"file4"},{"photo_id":"1329443521","filename":"file1"},{"photo_id":"1329443517","filename":"file0"},{"photo_id":"1329443529","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329443532":["hashtag1","hashtag2"]},{"1329443535":["hashtag1","hashtag2"]},{"1329443529":["hashtag1","hashtag2"]},{"1329443517":["hashtag1","hashtag2"]},{"1329443525":["hashtag1","hashtag2"]},{"1329443521":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329443532, 1329443535, 1329443529, 1329443517, 1329443525, 1329443521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.71792483329773 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:48:02.236923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/57/image_17012025_09_57_58_6621.jpg', '/media/data/images/17012025/09/57/image_17012025_09_57_52_5361.jpg', '/media/data/images/17012025/09/57/image_17012025_09_57_46_6614.jpg', '/media/data/images/17012025/09/57/image_17012025_09_57_40_5366.jpg', '/media/data/images/17012025/09/57/image_17012025_09_57_34_6444.jpg', '/media/data/images/17012025/09/57/image_17012025_09_57_28_5173.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/57/image_17012025_09_57_58_6621.jpg
/media/data/images/17012025/09/57/image_17012025_09_57_52_5361.jpg
/media/data/images/17012025/09/57/image_17012025_09_57_46_6614.jpg
/media/data/images/17012025/09/57/image_17012025_09_57_40_5366.jpg
/media/data/images/17012025/09/57/image_17012025_09_57_34_6444.jpg
/media/data/images/17012025/09/57/image_17012025_09_57_28_5173.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329443571","1329443579","1329443588","1329443593","1329443572","1329443583"],"photo_ids_order":["1329443571","1329443572","1329443579","1329443583","1329443588","1329443593"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ecac33e81e029f2375b14fffe44058f6.jpg","text":"TemporaryFile(/tmp/multipartBody7211907041428657874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107355837,"filename":"image_17012025_09_57_58_6621.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/29cdb75cf37e87eb77e9b5cf31a86adb.jpg","text":"TemporaryFile(/tmp/multipartBody965545610538045434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107355837,"filename":"image_17012025_09_57_46_6614.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/49ce98f9a6c72ed291c61ec798b24971.jpg","text":"TemporaryFile(/tmp/multipartBody3795834002726891785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107355837,"filename":"image_17012025_09_57_34_6444.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a47eb853c28f62ba4c7f92399968b580.jpg","text":"TemporaryFile(/tmp/multipartBody545018281063977060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107355837,"filename":"image_17012025_09_57_28_5173.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e729d54f03a8fa991912e5378f2f5c6f.jpg","text":"TemporaryFile(/tmp/multipartBody8897870677112840129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107355837,"filename":"image_17012025_09_57_52_5361.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/aee51ef9a7e77c868e096fa329ff2d52.jpg","text":"TemporaryFile(/tmp/multipartBody5635456001841883721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107355837,"filename":"image_17012025_09_57_40_5366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329443579","file1":"1329443572","file0":"1329443571","file4":"1329443588","file5":"1329443593","file3":"1329443583"},"map_files_photo_id_array":[{"photo_id":"1329443593","filename":"file5"},{"photo_id":"1329443579","filename":"file2"},{"photo_id":"1329443588","filename":"file4"},{"photo_id":"1329443572","filename":"file1"},{"photo_id":"1329443571","filename":"file0"},{"photo_id":"1329443583","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329443571":["hashtag1","hashtag2"]},{"1329443579":["hashtag1","hashtag2"]},{"1329443588":["hashtag1","hashtag2"]},{"1329443593":["hashtag1","hashtag2"]},{"1329443572":["hashtag1","hashtag2"]},{"1329443583":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329443571, 1329443579, 1329443588, 1329443593, 1329443572, 1329443583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.57030177116394 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 10:49:02.683999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/57/image_17012025_09_57_23_6388.jpg', '/media/data/images/17012025/09/57/image_17012025_09_57_16_6380.jpg', '/media/data/images/17012025/09/57/image_17012025_09_57_10_5193.jpg', '/media/data/images/17012025/09/57/image_17012025_09_57_05_6312.jpg', '/media/data/images/17012025/09/56/image_17012025_09_56_58_6393.jpg', '/media/data/images/17012025/09/56/image_17012025_09_56_16_6394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/57/image_17012025_09_57_23_6388.jpg
/media/data/images/17012025/09/57/image_17012025_09_57_16_6380.jpg
/media/data/images/17012025/09/57/image_17012025_09_57_10_5193.jpg
/media/data/images/17012025/09/57/image_17012025_09_57_05_6312.jpg
/media/data/images/17012025/09/56/image_17012025_09_56_58_6393.jpg
/media/data/images/17012025/09/56/image_17012025_09_56_16_6394.jpg
2025-01-17 10:49:02.801361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/57/image_17012025_09_57_23_6388.jpg', '/media/data/images/17012025/09/57/image_17012025_09_57_16_6380.jpg', '/media/data/images/17012025/09/57/image_17012025_09_57_10_5193.jpg', '/media/data/images/17012025/09/57/image_17012025_09_57_05_6312.jpg', '/media/data/images/17012025/09/56/image_17012025_09_56_58_6393.jpg', '/media/data/images/17012025/09/56/image_17012025_09_56_16_6394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/57/image_17012025_09_57_23_6388.jpg
/media/data/images/17012025/09/57/image_17012025_09_57_16_6380.jpg
/media/data/images/17012025/09/57/image_17012025_09_57_10_5193.jpg
/media/data/images/17012025/09/57/image_17012025_09_57_05_6312.jpg
/media/data/images/17012025/09/56/image_17012025_09_56_58_6393.jpg
/media/data/images/17012025/09/56/image_17012025_09_56_16_6394.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329443637","1329443619","1329443628","1329443645","1329443632","1329443623"],"photo_ids_order":["1329443619","1329443623","1329443628","1329443632","1329443637","1329443645"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cbd05e41af49f56db441db1c53d4e2e4.jpg","text":"TemporaryFile(/tmp/multipartBody5388194128675224606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107418873,"filename":"image_17012025_09_56_58_6393.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/db28d4824bb1ec8a2cef815458b5e983.jpg","text":"TemporaryFile(/tmp/multipartBody6311740720471047415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107418873,"filename":"image_17012025_09_57_23_6388.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7e0d94a669034f4a7c950d8634ee04d9.jpg","text":"TemporaryFile(/tmp/multipartBody1893400309287796451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107418873,"filename":"image_17012025_09_57_10_5193.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4e2627fe1ffd14fbd2003a7051f9ef16.jpg","text":"TemporaryFile(/tmp/multipartBody6338319599963415696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107418873,"filename":"image_17012025_09_56_16_6394.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/82b3bae00645605f8c2d7aaa925578b3.jpg","text":"TemporaryFile(/tmp/multipartBody4040025288699682464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107418873,"filename":"image_17012025_09_57_05_6312.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7d0c5a4ecf41ce4518ffe384dffcf90f.jpg","text":"TemporaryFile(/tmp/multipartBody8395058426067567846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107418873,"filename":"image_17012025_09_57_16_6380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329443628","file1":"1329443623","file0":"1329443619","file4":"1329443637","file5":"1329443645","file3":"1329443632"},"map_files_photo_id_array":[{"photo_id":"1329443645","filename":"file5"},{"photo_id":"1329443628","filename":"file2"},{"photo_id":"1329443637","filename":"file4"},{"photo_id":"1329443623","filename":"file1"},{"photo_id":"1329443619","filename":"file0"},{"photo_id":"1329443632","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329443637":["hashtag1","hashtag2"]},{"1329443619":["hashtag1","hashtag2"]},{"1329443628":["hashtag1","hashtag2"]},{"1329443645":["hashtag1","hashtag2"]},{"1329443632":["hashtag1","hashtag2"]},{"1329443623":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329443637, 1329443619, 1329443628, 1329443645, 1329443632, 1329443623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.3276481628418 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329443646","1329443640","1329443622","1329443635","1329443629","1329443620"],"photo_ids_order":["1329443620","1329443622","1329443629","1329443635","1329443640","1329443646"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f1e420d98647aff9353dba46f1c65917.jpg","text":"TemporaryFile(/tmp/multipartBody4682395953558376630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107418863,"filename":"image_17012025_09_56_16_6394.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0f4f7ace1d44876efd6e7d5c995bb9e2.jpg","text":"TemporaryFile(/tmp/multipartBody7208876670665806830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107418863,"filename":"image_17012025_09_56_58_6393.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9cbd988914dc9076d947b168901685b1.jpg","text":"TemporaryFile(/tmp/multipartBody8618613541132473465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107418863,"filename":"image_17012025_09_57_16_6380.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3e437f6090774581e7ab138602045fdb.jpg","text":"TemporaryFile(/tmp/multipartBody5071629410663324524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107418863,"filename":"image_17012025_09_57_05_6312.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c5220f9a5248c75208393fab7a6618e0.jpg","text":"TemporaryFile(/tmp/multipartBody1281032670042310634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107418863,"filename":"image_17012025_09_57_10_5193.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/861b771280ba58df71a8c3bca253a08b.jpg","text":"TemporaryFile(/tmp/multipartBody8333721154882645540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107418863,"filename":"image_17012025_09_57_23_6388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329443629","file1":"1329443622","file0":"1329443620","file4":"1329443640","file5":"1329443646","file3":"1329443635"},"map_files_photo_id_array":[{"photo_id":"1329443646","filename":"file5"},{"photo_id":"1329443629","filename":"file2"},{"photo_id":"1329443640","filename":"file4"},{"photo_id":"1329443622","filename":"file1"},{"photo_id":"1329443620","filename":"file0"},{"photo_id":"1329443635","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329443646":["hashtag1","hashtag2"]},{"1329443640":["hashtag1","hashtag2"]},{"1329443622":["hashtag1","hashtag2"]},{"1329443635":["hashtag1","hashtag2"]},{"1329443629":["hashtag1","hashtag2"]},{"1329443620":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329443646, 1329443640, 1329443622, 1329443635, 1329443629, 1329443620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.694034576416016 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:50:02.402125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/56/image_17012025_09_56_10_5184.jpg', '/media/data/images/17012025/09/56/image_17012025_09_56_05_6260.jpg', '/media/data/images/17012025/09/55/image_17012025_09_55_58_6390.jpg', '/media/data/images/17012025/09/54/image_17012025_09_54_04_4976.jpg', '/media/data/images/17012025/09/53/image_17012025_09_53_59_6394.jpg', '/media/data/images/17012025/09/52/image_17012025_09_52_05_6209.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/56/image_17012025_09_56_10_5184.jpg
/media/data/images/17012025/09/56/image_17012025_09_56_05_6260.jpg
/media/data/images/17012025/09/55/image_17012025_09_55_58_6390.jpg
/media/data/images/17012025/09/54/image_17012025_09_54_04_4976.jpg
/media/data/images/17012025/09/53/image_17012025_09_53_59_6394.jpg
/media/data/images/17012025/09/52/image_17012025_09_52_05_6209.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329443684","1329443678","1329443681","1329443675","1329443677","1329443676"],"photo_ids_order":["1329443675","1329443676","1329443677","1329443678","1329443681","1329443684"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d3e525dc4cff607a7a63f06badd5ef9e.jpg","text":"TemporaryFile(/tmp/multipartBody319079091103696888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107469439,"filename":"image_17012025_09_52_05_6209.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dc6769c46b1d7565c2868f7a6a87ccfc.jpg","text":"TemporaryFile(/tmp/multipartBody6595527089166626247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107469439,"filename":"image_17012025_09_54_04_4976.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3964dfd1ae87c8985f759c013836ccd1.jpg","text":"TemporaryFile(/tmp/multipartBody7271520980952293494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107469439,"filename":"image_17012025_09_53_59_6394.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/159c97391e15d73e909a40b03c80d2ba.jpg","text":"TemporaryFile(/tmp/multipartBody3995596764191480588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107469439,"filename":"image_17012025_09_56_10_5184.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9b721297479dfb3b36b5f4e4370088b7.jpg","text":"TemporaryFile(/tmp/multipartBody6734435115718993760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107469439,"filename":"image_17012025_09_55_58_6390.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c188d7ae02902d0cc4a2c32d29edaa5b.jpg","text":"TemporaryFile(/tmp/multipartBody7305558246035640271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107469439,"filename":"image_17012025_09_56_05_6260.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329443677","file1":"1329443676","file0":"1329443675","file4":"1329443681","file5":"1329443684","file3":"1329443678"},"map_files_photo_id_array":[{"photo_id":"1329443684","filename":"file5"},{"photo_id":"1329443677","filename":"file2"},{"photo_id":"1329443681","filename":"file4"},{"photo_id":"1329443676","filename":"file1"},{"photo_id":"1329443675","filename":"file0"},{"photo_id":"1329443678","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329443684":["hashtag1","hashtag2"]},{"1329443678":["hashtag1","hashtag2"]},{"1329443681":["hashtag1","hashtag2"]},{"1329443675":["hashtag1","hashtag2"]},{"1329443677":["hashtag1","hashtag2"]},{"1329443676":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329443684, 1329443678, 1329443681, 1329443675, 1329443677, 1329443676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.72380542755127 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:50:42.294311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/51/image_17012025_09_51_58_6427.jpg', '/media/data/images/17012025/09/49/image_17012025_09_50_04_6558.jpg', '/media/data/images/17012025/09/49/image_17012025_09_49_58_5162.jpg', '/media/data/images/17012025/09/47/image_17012025_09_47_28_6493.jpg', '/media/data/images/17012025/09/07/image_17012025_09_07_10_6508.jpg', '/media/data/images/17012025/09/06/image_17012025_09_06_29_6378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/51/image_17012025_09_51_58_6427.jpg
/media/data/images/17012025/09/49/image_17012025_09_50_04_6558.jpg
/media/data/images/17012025/09/49/image_17012025_09_49_58_5162.jpg
/media/data/images/17012025/09/47/image_17012025_09_47_28_6493.jpg
/media/data/images/17012025/09/07/image_17012025_09_07_10_6508.jpg
/media/data/images/17012025/09/06/image_17012025_09_06_29_6378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329443724","1329443721","1329443717","1329443713","1329443710","1329443704"],"photo_ids_order":["1329443704","1329443710","1329443713","1329443717","1329443721","1329443724"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a8f336485065e7e65aeaf629d8314318.jpg","text":"TemporaryFile(/tmp/multipartBody7405392844730164061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107511019,"filename":"image_17012025_09_06_29_6378.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/65e36ca6a5f71285e8956601fe78d6e8.jpg","text":"TemporaryFile(/tmp/multipartBody960913989921285449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107511019,"filename":"image_17012025_09_07_10_6508.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2223c5c9c21bcf2f48b1cbeff616e846.jpg","text":"TemporaryFile(/tmp/multipartBody9197931390609278406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107511019,"filename":"image_17012025_09_47_28_6493.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f2c68bcd63cec481ea45d5e8b2197f9f.jpg","text":"TemporaryFile(/tmp/multipartBody2564772136915453178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107511019,"filename":"image_17012025_09_49_58_5162.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cd424ebcf5686656d76fb543a70da4a6.jpg","text":"TemporaryFile(/tmp/multipartBody7048377814507477404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107511019,"filename":"image_17012025_09_50_04_6558.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c069a241be7b43c31493d8fbfd0ed7e5.jpg","text":"TemporaryFile(/tmp/multipartBody3951605373324155353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107511019,"filename":"image_17012025_09_51_58_6427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329443713","file1":"1329443710","file0":"1329443704","file4":"1329443721","file5":"1329443724","file3":"1329443717"},"map_files_photo_id_array":[{"photo_id":"1329443724","filename":"file5"},{"photo_id":"1329443713","filename":"file2"},{"photo_id":"1329443721","filename":"file4"},{"photo_id":"1329443710","filename":"file1"},{"photo_id":"1329443704","filename":"file0"},{"photo_id":"1329443717","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329443724":["hashtag1","hashtag2"]},{"1329443721":["hashtag1","hashtag2"]},{"1329443717":["hashtag1","hashtag2"]},{"1329443713":["hashtag1","hashtag2"]},{"1329443710":["hashtag1","hashtag2"]},{"1329443704":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329443724, 1329443721, 1329443717, 1329443713, 1329443710, 1329443704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.795822858810425 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:51:42.364476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/05/image_17012025_09_05_11_6366.jpg', '/media/data/images/17012025/09/05/image_17012025_09_05_05_6183.jpg', '/media/data/images/17012025/09/04/image_17012025_09_04_59_5151.jpg', '/media/data/images/17012025/09/03/image_17012025_09_03_06_6443.jpg', '/media/data/images/17012025/09/02/image_17012025_09_02_59_6422.jpg', '/media/data/images/17012025/09/02/image_17012025_09_02_17_5158.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/05/image_17012025_09_05_11_6366.jpg
/media/data/images/17012025/09/05/image_17012025_09_05_05_6183.jpg
/media/data/images/17012025/09/04/image_17012025_09_04_59_5151.jpg
/media/data/images/17012025/09/03/image_17012025_09_03_06_6443.jpg
/media/data/images/17012025/09/02/image_17012025_09_02_59_6422.jpg
/media/data/images/17012025/09/02/image_17012025_09_02_17_5158.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329443766","1329443771","1329443746","1329443755","1329443749","1329443760"],"photo_ids_order":["1329443746","1329443749","1329443755","1329443760","1329443766","1329443771"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8f13273b1ac5d4043ec6564a5f22b368.jpg","text":"TemporaryFile(/tmp/multipartBody1057142847584532910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107566528,"filename":"image_17012025_09_02_59_6422.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3a2130402fae64e1f06bc5a064eef400.jpg","text":"TemporaryFile(/tmp/multipartBody7018475484551702193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107566528,"filename":"image_17012025_09_02_17_5158.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/19efaa7119ce6552b9ebcb9b36463dab.jpg","text":"TemporaryFile(/tmp/multipartBody7679226748142575374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107566528,"filename":"image_17012025_09_05_11_6366.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/96c1a739b75484420dfecf21cc40ab16.jpg","text":"TemporaryFile(/tmp/multipartBody3412683205767142798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107566528,"filename":"image_17012025_09_04_59_5151.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c5405c14a88ef4414c3bf05fe6168a4b.jpg","text":"TemporaryFile(/tmp/multipartBody6715705915371089173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107566528,"filename":"image_17012025_09_05_05_6183.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7db4e7e9518bc9634a5f7d154f527b7b.jpg","text":"TemporaryFile(/tmp/multipartBody4854909229507790889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107566528,"filename":"image_17012025_09_03_06_6443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329443755","file1":"1329443749","file0":"1329443746","file4":"1329443766","file5":"1329443771","file3":"1329443760"},"map_files_photo_id_array":[{"photo_id":"1329443771","filename":"file5"},{"photo_id":"1329443755","filename":"file2"},{"photo_id":"1329443766","filename":"file4"},{"photo_id":"1329443749","filename":"file1"},{"photo_id":"1329443746","filename":"file0"},{"photo_id":"1329443760","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329443766":["hashtag1","hashtag2"]},{"1329443771":["hashtag1","hashtag2"]},{"1329443746":["hashtag1","hashtag2"]},{"1329443755":["hashtag1","hashtag2"]},{"1329443749":["hashtag1","hashtag2"]},{"1329443760":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329443766, 1329443771, 1329443746, 1329443755, 1329443749, 1329443760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08554720878601 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:52:22.466411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/02/image_17012025_09_02_12_6410.jpg', '/media/data/images/17012025/09/02/image_17012025_09_02_05_6301.jpg', '/media/data/images/17012025/09/01/image_17012025_09_01_59_6367.jpg', '/media/data/images/17012025/09/01/image_17012025_09_01_17_5199.jpg', '/media/data/images/17012025/09/01/image_17012025_09_01_11_6489.jpg', '/media/data/images/17012025/09/01/image_17012025_09_01_05_6183.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/02/image_17012025_09_02_12_6410.jpg
/media/data/images/17012025/09/02/image_17012025_09_02_05_6301.jpg
/media/data/images/17012025/09/01/image_17012025_09_01_59_6367.jpg
/media/data/images/17012025/09/01/image_17012025_09_01_17_5199.jpg
/media/data/images/17012025/09/01/image_17012025_09_01_11_6489.jpg
/media/data/images/17012025/09/01/image_17012025_09_01_05_6183.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329443784","1329443798","1329443792","1329443788","1329443779","1329443803"],"photo_ids_order":["1329443779","1329443784","1329443788","1329443792","1329443798","1329443803"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6f7136e4d0c9c179bd4a3f32d622a982.jpg","text":"TemporaryFile(/tmp/multipartBody2515304761997698863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107605839,"filename":"image_17012025_09_02_05_6301.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/22c113e07983bf7490ab5cb7b8398f71.jpg","text":"TemporaryFile(/tmp/multipartBody8071341506972947280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107605839,"filename":"image_17012025_09_01_11_6489.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/195249235dcbecff910cc703e8fcc4a5.jpg","text":"TemporaryFile(/tmp/multipartBody7464061742228806837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107605839,"filename":"image_17012025_09_01_17_5199.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9e2b70f883c4812d0bde8beafd40e7ab.jpg","text":"TemporaryFile(/tmp/multipartBody6822915327863494501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107605839,"filename":"image_17012025_09_01_59_6367.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/93df4d29971f6229385bfbd65a4b5d27.jpg","text":"TemporaryFile(/tmp/multipartBody7586732343569002396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107605839,"filename":"image_17012025_09_02_12_6410.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/84c69635b45116ef7e5c018b15ac48b7.jpg","text":"TemporaryFile(/tmp/multipartBody7989549942214538564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107605839,"filename":"image_17012025_09_01_05_6183.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329443788","file1":"1329443784","file0":"1329443779","file4":"1329443798","file5":"1329443803","file3":"1329443792"},"map_files_photo_id_array":[{"photo_id":"1329443803","filename":"file5"},{"photo_id":"1329443788","filename":"file2"},{"photo_id":"1329443798","filename":"file4"},{"photo_id":"1329443784","filename":"file1"},{"photo_id":"1329443779","filename":"file0"},{"photo_id":"1329443792","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329443784":["hashtag1","hashtag2"]},{"1329443798":["hashtag1","hashtag2"]},{"1329443792":["hashtag1","hashtag2"]},{"1329443788":["hashtag1","hashtag2"]},{"1329443779":["hashtag1","hashtag2"]},{"1329443803":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329443784, 1329443798, 1329443792, 1329443788, 1329443779, 1329443803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.24325633049011 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:53:02.791470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/09/00/image_17012025_09_00_59_5146.jpg', '/media/data/images/17012025/09/00/image_17012025_09_00_17_5173.jpg', '/media/data/images/17012025/09/00/image_17012025_09_00_11_6412.jpg', '/media/data/images/17012025/09/00/image_17012025_09_00_05_6287.jpg', '/media/data/images/17012025/08/59/image_17012025_08_59_59_5198.jpg', '/media/data/images/17012025/08/59/image_17012025_08_59_18_6365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/09/00/image_17012025_09_00_59_5146.jpg
/media/data/images/17012025/09/00/image_17012025_09_00_17_5173.jpg
/media/data/images/17012025/09/00/image_17012025_09_00_11_6412.jpg
/media/data/images/17012025/09/00/image_17012025_09_00_05_6287.jpg
/media/data/images/17012025/08/59/image_17012025_08_59_59_5198.jpg
/media/data/images/17012025/08/59/image_17012025_08_59_18_6365.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329443835","1329443820","1329443846","1329443840","1329443825","1329443830"],"photo_ids_order":["1329443820","1329443825","1329443830","1329443835","1329443840","1329443846"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9c04d321b57155ae371d7899335eed66.jpg","text":"TemporaryFile(/tmp/multipartBody8207398733471145351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107647299,"filename":"image_17012025_09_00_05_6287.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dce16ba0e3e552a7f6a2cdeb3bd3fd47.jpg","text":"TemporaryFile(/tmp/multipartBody8135810593800870740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107647299,"filename":"image_17012025_09_00_59_5146.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f31c76f70b836ad9d59c7779069d6cc1.jpg","text":"TemporaryFile(/tmp/multipartBody939002100299945744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107647299,"filename":"image_17012025_08_59_18_6365.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/13e551d52fce4f52e5d4ec793c3ffd2b.jpg","text":"TemporaryFile(/tmp/multipartBody6865749944004841686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107647299,"filename":"image_17012025_08_59_59_5198.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d89c898f80cc7066bce074234486096b.jpg","text":"TemporaryFile(/tmp/multipartBody87624121771511144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107647299,"filename":"image_17012025_09_00_17_5173.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a397f20935a9eea05660d9a452d28b4b.jpg","text":"TemporaryFile(/tmp/multipartBody3403690671651106119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107647299,"filename":"image_17012025_09_00_11_6412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329443830","file1":"1329443825","file0":"1329443820","file4":"1329443840","file5":"1329443846","file3":"1329443835"},"map_files_photo_id_array":[{"photo_id":"1329443846","filename":"file5"},{"photo_id":"1329443830","filename":"file2"},{"photo_id":"1329443840","filename":"file4"},{"photo_id":"1329443825","filename":"file1"},{"photo_id":"1329443820","filename":"file0"},{"photo_id":"1329443835","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329443835":["hashtag1","hashtag2"]},{"1329443820":["hashtag1","hashtag2"]},{"1329443846":["hashtag1","hashtag2"]},{"1329443840":["hashtag1","hashtag2"]},{"1329443825":["hashtag1","hashtag2"]},{"1329443830":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329443835, 1329443820, 1329443846, 1329443840, 1329443825, 1329443830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5830283164978 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:53:42.535344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/59/image_17012025_08_59_11_6405.jpg', '/media/data/images/17012025/08/59/image_17012025_08_59_05_5217.jpg', '/media/data/images/17012025/08/58/image_17012025_08_59_00_6396.jpg', '/media/data/images/17012025/08/58/image_17012025_08_58_17_6348.jpg', '/media/data/images/17012025/08/58/image_17012025_08_58_11_6492.jpg', '/media/data/images/17012025/08/58/image_17012025_08_58_04_5212.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/59/image_17012025_08_59_11_6405.jpg
/media/data/images/17012025/08/59/image_17012025_08_59_05_5217.jpg
/media/data/images/17012025/08/58/image_17012025_08_59_00_6396.jpg
/media/data/images/17012025/08/58/image_17012025_08_58_17_6348.jpg
/media/data/images/17012025/08/58/image_17012025_08_58_11_6492.jpg
/media/data/images/17012025/08/58/image_17012025_08_58_04_5212.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329443862","1329443876","1329443858","1329443867","1329443881","1329443871"],"photo_ids_order":["1329443858","1329443862","1329443867","1329443871","1329443876","1329443881"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3aa3244f1008b74cd1e39f39933aa432.jpg","text":"TemporaryFile(/tmp/multipartBody2646575090467558625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107686207,"filename":"image_17012025_08_59_05_5217.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9626adf788b987ef665da5ddcf0b8dc0.jpg","text":"TemporaryFile(/tmp/multipartBody6262840296324217942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107686207,"filename":"image_17012025_08_58_11_6492.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b80473f4639a26cea00c250e56b9b463.jpg","text":"TemporaryFile(/tmp/multipartBody3541169128204606963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107686207,"filename":"image_17012025_08_59_11_6405.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/302a130a9c4cf76c243e9db9a2334851.jpg","text":"TemporaryFile(/tmp/multipartBody4072710466576490276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107686207,"filename":"image_17012025_08_59_00_6396.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/419dbdc881eeb382f25036830f16a77d.jpg","text":"TemporaryFile(/tmp/multipartBody821493374739410573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107686207,"filename":"image_17012025_08_58_04_5212.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c1c52103d2f78ac72fac94768c862a97.jpg","text":"TemporaryFile(/tmp/multipartBody3527903360247410524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107686207,"filename":"image_17012025_08_58_17_6348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329443867","file1":"1329443862","file0":"1329443858","file4":"1329443876","file5":"1329443881","file3":"1329443871"},"map_files_photo_id_array":[{"photo_id":"1329443881","filename":"file5"},{"photo_id":"1329443867","filename":"file2"},{"photo_id":"1329443876","filename":"file4"},{"photo_id":"1329443862","filename":"file1"},{"photo_id":"1329443858","filename":"file0"},{"photo_id":"1329443871","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329443862":["hashtag1","hashtag2"]},{"1329443876":["hashtag1","hashtag2"]},{"1329443858":["hashtag1","hashtag2"]},{"1329443867":["hashtag1","hashtag2"]},{"1329443881":["hashtag1","hashtag2"]},{"1329443871":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329443862, 1329443876, 1329443858, 1329443867, 1329443881, 1329443871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.669482946395874 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:54:22.645080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/57/image_17012025_08_57_59_6364.jpg', '/media/data/images/17012025/08/57/image_17012025_08_57_53_6405.jpg', '/media/data/images/17012025/08/57/image_17012025_08_57_46_5289.jpg', '/media/data/images/17012025/08/57/image_17012025_08_57_41_6444.jpg', '/media/data/images/17012025/08/57/image_17012025_08_57_35_5140.jpg', '/media/data/images/17012025/08/57/image_17012025_08_57_30_6396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/57/image_17012025_08_57_59_6364.jpg
/media/data/images/17012025/08/57/image_17012025_08_57_53_6405.jpg
/media/data/images/17012025/08/57/image_17012025_08_57_46_5289.jpg
/media/data/images/17012025/08/57/image_17012025_08_57_41_6444.jpg
/media/data/images/17012025/08/57/image_17012025_08_57_35_5140.jpg
/media/data/images/17012025/08/57/image_17012025_08_57_30_6396.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329443900","1329443906","1329443896","1329443911","1329443917","1329443892"],"photo_ids_order":["1329443892","1329443896","1329443900","1329443906","1329443911","1329443917"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/41e2d5666ffec57eba007f1acc7707e1.jpg","text":"TemporaryFile(/tmp/multipartBody6200902454129772185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107726158,"filename":"image_17012025_08_57_46_5289.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6b799374a7082467bfc74294db249ac3.jpg","text":"TemporaryFile(/tmp/multipartBody6289057558391792978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107726158,"filename":"image_17012025_08_57_41_6444.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4ea379a6c8220dc22c57d7257e73a9e2.jpg","text":"TemporaryFile(/tmp/multipartBody3818022709568779075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107726158,"filename":"image_17012025_08_57_53_6405.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/694be3f9192a1e5c635168ab3888aff5.jpg","text":"TemporaryFile(/tmp/multipartBody3742129140968047936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107726158,"filename":"image_17012025_08_57_35_5140.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bf50300eb9cd1bda3016a515cd177064.jpg","text":"TemporaryFile(/tmp/multipartBody2763747784688397105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107726158,"filename":"image_17012025_08_57_30_6396.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7c6ddd365b9313be3091e672364423f3.jpg","text":"TemporaryFile(/tmp/multipartBody3648577691853651796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107726158,"filename":"image_17012025_08_57_59_6364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329443900","file1":"1329443896","file0":"1329443892","file4":"1329443911","file5":"1329443917","file3":"1329443906"},"map_files_photo_id_array":[{"photo_id":"1329443917","filename":"file5"},{"photo_id":"1329443900","filename":"file2"},{"photo_id":"1329443911","filename":"file4"},{"photo_id":"1329443896","filename":"file1"},{"photo_id":"1329443892","filename":"file0"},{"photo_id":"1329443906","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329443900":["hashtag1","hashtag2"]},{"1329443906":["hashtag1","hashtag2"]},{"1329443896":["hashtag1","hashtag2"]},{"1329443911":["hashtag1","hashtag2"]},{"1329443917":["hashtag1","hashtag2"]},{"1329443892":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329443900, 1329443906, 1329443896, 1329443911, 1329443917, 1329443892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08808970451355 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:55:02.984023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/57/image_17012025_08_57_23_6426.jpg', '/media/data/images/17012025/08/57/image_17012025_08_57_17_5174.jpg', '/media/data/images/17012025/08/57/image_17012025_08_57_12_6380.jpg', '/media/data/images/17012025/08/57/image_17012025_08_57_05_6222.jpg', '/media/data/images/17012025/08/56/image_17012025_08_56_59_6436.jpg', '/media/data/images/17012025/08/55/image_17012025_08_55_05_6244.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/57/image_17012025_08_57_23_6426.jpg
/media/data/images/17012025/08/57/image_17012025_08_57_17_5174.jpg
/media/data/images/17012025/08/57/image_17012025_08_57_12_6380.jpg
/media/data/images/17012025/08/57/image_17012025_08_57_05_6222.jpg
/media/data/images/17012025/08/56/image_17012025_08_56_59_6436.jpg
/media/data/images/17012025/08/55/image_17012025_08_55_05_6244.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329443940","1329443928","1329443943","1329443931","1329443925","1329443935"],"photo_ids_order":["1329443925","1329443928","1329443931","1329443935","1329443940","1329443943"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d0227496a2c68774112c49ca0ebee264.jpg","text":"TemporaryFile(/tmp/multipartBody5995180758987969521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107766346,"filename":"image_17012025_08_56_59_6436.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5ceb79cddcc069b04c61c28e1e4ae7b3.jpg","text":"TemporaryFile(/tmp/multipartBody2714085806342398123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107766346,"filename":"image_17012025_08_57_17_5174.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/41aaeca319bcef518c273307c391589f.jpg","text":"TemporaryFile(/tmp/multipartBody6681665438158649882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107766346,"filename":"image_17012025_08_55_05_6244.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1e454488bb4289e889052242416a410c.jpg","text":"TemporaryFile(/tmp/multipartBody3044057262552145850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107766346,"filename":"image_17012025_08_57_12_6380.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/822520ad29177fe5ed18a90171adfe8c.jpg","text":"TemporaryFile(/tmp/multipartBody1684177585152293442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107766346,"filename":"image_17012025_08_57_23_6426.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2ed5c1fae374510a8a9e66a67708a620.jpg","text":"TemporaryFile(/tmp/multipartBody3441423253511435555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107766346,"filename":"image_17012025_08_57_05_6222.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329443931","file1":"1329443928","file0":"1329443925","file4":"1329443940","file5":"1329443943","file3":"1329443935"},"map_files_photo_id_array":[{"photo_id":"1329443943","filename":"file5"},{"photo_id":"1329443931","filename":"file2"},{"photo_id":"1329443940","filename":"file4"},{"photo_id":"1329443928","filename":"file1"},{"photo_id":"1329443925","filename":"file0"},{"photo_id":"1329443935","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329443940":["hashtag1","hashtag2"]},{"1329443928":["hashtag1","hashtag2"]},{"1329443943":["hashtag1","hashtag2"]},{"1329443931":["hashtag1","hashtag2"]},{"1329443925":["hashtag1","hashtag2"]},{"1329443935":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329443940, 1329443928, 1329443943, 1329443931, 1329443925, 1329443935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.67641639709473 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:55:42.729911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/54/image_17012025_08_54_59_5172.jpg', '/media/data/images/17012025/08/53/image_17012025_08_53_06_6379.jpg', '/media/data/images/17012025/08/52/image_17012025_08_52_59_6457.jpg', '/media/data/images/17012025/08/51/image_17012025_08_51_05_6259.jpg', '/media/data/images/17012025/08/50/image_17012025_08_50_59_5211.jpg', '/media/data/images/17012025/08/50/image_17012025_08_50_16_5159.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/54/image_17012025_08_54_59_5172.jpg
/media/data/images/17012025/08/53/image_17012025_08_53_06_6379.jpg
/media/data/images/17012025/08/52/image_17012025_08_52_59_6457.jpg
/media/data/images/17012025/08/51/image_17012025_08_51_05_6259.jpg
/media/data/images/17012025/08/50/image_17012025_08_50_59_5211.jpg
/media/data/images/17012025/08/50/image_17012025_08_50_16_5159.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329443978","1329443972","1329443974","1329443968","1329443959","1329443964"],"photo_ids_order":["1329443959","1329443964","1329443968","1329443972","1329443974","1329443978"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f5cf3c88bde6e728a23bbd52c53bd5fc.jpg","text":"TemporaryFile(/tmp/multipartBody4370972471298871509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107805777,"filename":"image_17012025_08_50_16_5159.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/11e221efb586d80b4a0703a86ce7eca9.jpg","text":"TemporaryFile(/tmp/multipartBody4977043560048433455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107805777,"filename":"image_17012025_08_51_05_6259.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/17b2f55a040671f5ca05c19aeaf79f93.jpg","text":"TemporaryFile(/tmp/multipartBody9167916861140711660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107805777,"filename":"image_17012025_08_50_59_5211.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6c0396dcef64da7722cc5e095ef04978.jpg","text":"TemporaryFile(/tmp/multipartBody1948053834181683782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107805777,"filename":"image_17012025_08_52_59_6457.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bf41bacf9cd1d439bcad48ab6f94ec37.jpg","text":"TemporaryFile(/tmp/multipartBody2188020841424537595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107805777,"filename":"image_17012025_08_54_59_5172.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8c261902aec5e8a585d648d707ad3729.jpg","text":"TemporaryFile(/tmp/multipartBody6719436225829816573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107805777,"filename":"image_17012025_08_53_06_6379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329443968","file1":"1329443964","file0":"1329443959","file4":"1329443974","file5":"1329443978","file3":"1329443972"},"map_files_photo_id_array":[{"photo_id":"1329443978","filename":"file5"},{"photo_id":"1329443968","filename":"file2"},{"photo_id":"1329443974","filename":"file4"},{"photo_id":"1329443964","filename":"file1"},{"photo_id":"1329443959","filename":"file0"},{"photo_id":"1329443972","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329443978":["hashtag1","hashtag2"]},{"1329443972":["hashtag1","hashtag2"]},{"1329443974":["hashtag1","hashtag2"]},{"1329443968":["hashtag1","hashtag2"]},{"1329443959":["hashtag1","hashtag2"]},{"1329443964":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329443978, 1329443972, 1329443974, 1329443968, 1329443959, 1329443964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.7874481678009 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:56:21.804712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/50/image_17012025_08_50_11_6430.jpg', '/media/data/images/17012025/08/50/image_17012025_08_50_05_5210.jpg', '/media/data/images/17012025/08/49/image_17012025_08_50_00_6386.jpg', '/media/data/images/17012025/08/48/image_17012025_08_48_05_5332.jpg', '/media/data/images/17012025/08/47/image_17012025_08_48_00_6441.jpg', '/media/data/images/17012025/08/47/image_17012025_08_47_17_6375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/50/image_17012025_08_50_11_6430.jpg
/media/data/images/17012025/08/50/image_17012025_08_50_05_5210.jpg
/media/data/images/17012025/08/49/image_17012025_08_50_00_6386.jpg
/media/data/images/17012025/08/48/image_17012025_08_48_05_5332.jpg
/media/data/images/17012025/08/47/image_17012025_08_48_00_6441.jpg
/media/data/images/17012025/08/47/image_17012025_08_47_17_6375.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329443993","1329443999","1329443989","1329444019","1329444013","1329444007"],"photo_ids_order":["1329443989","1329443993","1329443999","1329444007","1329444013","1329444019"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b589dd17a38dd6a200da1d2dfb8c8c6b.jpg","text":"TemporaryFile(/tmp/multipartBody4286535085376934839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107846748,"filename":"image_17012025_08_50_05_5210.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/94cdb91f4d1b95f832b8d0709e8385b7.jpg","text":"TemporaryFile(/tmp/multipartBody3043506188277312936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107846748,"filename":"image_17012025_08_50_00_6386.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/49571da1b3fbc0c901a751b884fb7cb7.jpg","text":"TemporaryFile(/tmp/multipartBody2991952466845460197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107846748,"filename":"image_17012025_08_50_11_6430.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/db6f18a33681e371e04c15c69ae31d7e.jpg","text":"TemporaryFile(/tmp/multipartBody5300028836740468455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107846748,"filename":"image_17012025_08_47_17_6375.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/75cecc78c78ad7b6bb343351313ce7ea.jpg","text":"TemporaryFile(/tmp/multipartBody8882669916936075146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107846748,"filename":"image_17012025_08_48_00_6441.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/067b09c24de431a8be85de8c44d001f7.jpg","text":"TemporaryFile(/tmp/multipartBody3938509606761269640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107846748,"filename":"image_17012025_08_48_05_5332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329443999","file1":"1329443993","file0":"1329443989","file4":"1329444013","file5":"1329444019","file3":"1329444007"},"map_files_photo_id_array":[{"photo_id":"1329444019","filename":"file5"},{"photo_id":"1329443999","filename":"file2"},{"photo_id":"1329444013","filename":"file4"},{"photo_id":"1329443993","filename":"file1"},{"photo_id":"1329443989","filename":"file0"},{"photo_id":"1329444007","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329443993":["hashtag1","hashtag2"]},{"1329443999":["hashtag1","hashtag2"]},{"1329443989":["hashtag1","hashtag2"]},{"1329444019":["hashtag1","hashtag2"]},{"1329444013":["hashtag1","hashtag2"]},{"1329444007":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329443993, 1329443999, 1329443989, 1329444019, 1329444013, 1329444007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.84132194519043 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:57:02.163449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/47/image_17012025_08_47_11_5158.jpg', '/media/data/images/17012025/08/47/image_17012025_08_47_06_6427.jpg', '/media/data/images/17012025/08/46/image_17012025_08_46_59_6399.jpg', '/media/data/images/17012025/08/45/image_17012025_08_45_05_5394.jpg', '/media/data/images/17012025/08/44/image_17012025_08_44_59_6384.jpg', '/media/data/images/17012025/08/44/image_17012025_08_44_17_6443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/47/image_17012025_08_47_11_5158.jpg
/media/data/images/17012025/08/47/image_17012025_08_47_06_6427.jpg
/media/data/images/17012025/08/46/image_17012025_08_46_59_6399.jpg
/media/data/images/17012025/08/45/image_17012025_08_45_05_5394.jpg
/media/data/images/17012025/08/44/image_17012025_08_44_59_6384.jpg
/media/data/images/17012025/08/44/image_17012025_08_44_17_6443.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329444030","1329444038","1329444047","1329444035","1329444043","1329444051"],"photo_ids_order":["1329444030","1329444035","1329444038","1329444043","1329444047","1329444051"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/303cdcb4271bfdc38014ec66f125257f.jpg","text":"TemporaryFile(/tmp/multipartBody1976855766080663196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107885946,"filename":"image_17012025_08_47_11_5158.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7b2cef6e0bf104a74c46432783cc89a0.jpg","text":"TemporaryFile(/tmp/multipartBody4832374791501214474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107885946,"filename":"image_17012025_08_46_59_6399.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c7e27520f9265698a552fca7695459a9.jpg","text":"TemporaryFile(/tmp/multipartBody1019429081144145464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107885946,"filename":"image_17012025_08_44_59_6384.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fef8d3e226db643e0c4f9fa2a23968f3.jpg","text":"TemporaryFile(/tmp/multipartBody872042276180471264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107885946,"filename":"image_17012025_08_47_06_6427.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/16aa090285cf94dacbf0191872c007d8.jpg","text":"TemporaryFile(/tmp/multipartBody9035455196407285718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107885946,"filename":"image_17012025_08_45_05_5394.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5d2e3e8dbecf768ed6517b5cd19db6fb.jpg","text":"TemporaryFile(/tmp/multipartBody6676484569570945169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737107885946,"filename":"image_17012025_08_44_17_6443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329444038","file1":"1329444035","file0":"1329444030","file4":"1329444047","file5":"1329444051","file3":"1329444043"},"map_files_photo_id_array":[{"photo_id":"1329444051","filename":"file5"},{"photo_id":"1329444038","filename":"file2"},{"photo_id":"1329444047","filename":"file4"},{"photo_id":"1329444035","filename":"file1"},{"photo_id":"1329444030","filename":"file0"},{"photo_id":"1329444043","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329444030":["hashtag1","hashtag2"]},{"1329444038":["hashtag1","hashtag2"]},{"1329444047":["hashtag1","hashtag2"]},{"1329444035":["hashtag1","hashtag2"]},{"1329444043":["hashtag1","hashtag2"]},{"1329444051":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329444030, 1329444038, 1329444047, 1329444035, 1329444043, 1329444051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.7342209815979 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:57:41.920665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/44/image_17012025_08_44_11_6476.jpg', '/media/data/images/17012025/08/44/image_17012025_08_44_04_5244.jpg', '/media/data/images/17012025/08/43/image_17012025_08_43_59_6442.jpg', '/media/data/images/17012025/08/43/image_17012025_08_43_17_5197.jpg', '/media/data/images/17012025/08/43/image_17012025_08_43_11_6395.jpg', '/media/data/images/17012025/08/43/image_17012025_08_43_05_6180.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/44/image_17012025_08_44_11_6476.jpg
/media/data/images/17012025/08/44/image_17012025_08_44_04_5244.jpg
/media/data/images/17012025/08/43/image_17012025_08_43_59_6442.jpg
/media/data/images/17012025/08/43/image_17012025_08_43_17_5197.jpg
/media/data/images/17012025/08/43/image_17012025_08_43_11_6395.jpg
/media/data/images/17012025/08/43/image_17012025_08_43_05_6180.jpg
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 10:59:02.833797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/44/image_17012025_08_44_11_6476.jpg', '/media/data/images/17012025/08/44/image_17012025_08_44_04_5244.jpg', '/media/data/images/17012025/08/43/image_17012025_08_43_59_6442.jpg', '/media/data/images/17012025/08/43/image_17012025_08_43_17_5197.jpg', '/media/data/images/17012025/08/43/image_17012025_08_43_11_6395.jpg', '/media/data/images/17012025/08/43/image_17012025_08_43_05_6180.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/44/image_17012025_08_44_11_6476.jpg
/media/data/images/17012025/08/44/image_17012025_08_44_04_5244.jpg
/media/data/images/17012025/08/43/image_17012025_08_43_59_6442.jpg
/media/data/images/17012025/08/43/image_17012025_08_43_17_5197.jpg
/media/data/images/17012025/08/43/image_17012025_08_43_11_6395.jpg
/media/data/images/17012025/08/43/image_17012025_08_43_05_6180.jpg
2025-01-17 10:59:02.993476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/44/image_17012025_08_44_11_6476.jpg', '/media/data/images/17012025/08/44/image_17012025_08_44_04_5244.jpg', '/media/data/images/17012025/08/43/image_17012025_08_43_59_6442.jpg', '/media/data/images/17012025/08/43/image_17012025_08_43_17_5197.jpg', '/media/data/images/17012025/08/43/image_17012025_08_43_11_6395.jpg', '/media/data/images/17012025/08/43/image_17012025_08_43_05_6180.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/44/image_17012025_08_44_11_6476.jpg
/media/data/images/17012025/08/44/image_17012025_08_44_04_5244.jpg
/media/data/images/17012025/08/43/image_17012025_08_43_59_6442.jpg
/media/data/images/17012025/08/43/image_17012025_08_43_17_5197.jpg
/media/data/images/17012025/08/43/image_17012025_08_43_11_6395.jpg
/media/data/images/17012025/08/43/image_17012025_08_43_05_6180.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329444123","1329444105","1329444137","1329444110","1329444116","1329444130"],"photo_ids_order":["1329444105","1329444110","1329444116","1329444123","1329444130","1329444137"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/943c7362b9bf43a14633e37160c33225.jpg","text":"TemporaryFile(/tmp/multipartBody4912499049107511660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108008911,"filename":"image_17012025_08_43_17_5197.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1e20cbf24a0bad1b30aa777c23c7b2a9.jpg","text":"TemporaryFile(/tmp/multipartBody3962769567695261206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108008911,"filename":"image_17012025_08_44_11_6476.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/36fe8b1244bbda74c4b947887811b9d8.jpg","text":"TemporaryFile(/tmp/multipartBody7958959085336017021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108008911,"filename":"image_17012025_08_43_05_6180.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0824fa38e7ca5623885e33d93148c0d8.jpg","text":"TemporaryFile(/tmp/multipartBody345201384632319914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108008911,"filename":"image_17012025_08_44_04_5244.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2e8e09b8cf56054c91b092e9319420eb.jpg","text":"TemporaryFile(/tmp/multipartBody1577540263754196308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108008911,"filename":"image_17012025_08_43_59_6442.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4d58ee9bc6e56892d3e97863bb5fa4df.jpg","text":"TemporaryFile(/tmp/multipartBody3588939928270705378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108008911,"filename":"image_17012025_08_43_11_6395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329444116","file1":"1329444110","file0":"1329444105","file4":"1329444130","file5":"1329444137","file3":"1329444123"},"map_files_photo_id_array":[{"photo_id":"1329444137","filename":"file5"},{"photo_id":"1329444116","filename":"file2"},{"photo_id":"1329444130","filename":"file4"},{"photo_id":"1329444110","filename":"file1"},{"photo_id":"1329444105","filename":"file0"},{"photo_id":"1329444123","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329444123":["hashtag1","hashtag2"]},{"1329444105":["hashtag1","hashtag2"]},{"1329444137":["hashtag1","hashtag2"]},{"1329444110":["hashtag1","hashtag2"]},{"1329444116":["hashtag1","hashtag2"]},{"1329444130":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329444123, 1329444105, 1329444137, 1329444110, 1329444116, 1329444130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.69618535041809 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329444117","1329444111","1329444131","1329444140","1329444104","1329444124"],"photo_ids_order":["1329444104","1329444111","1329444117","1329444124","1329444131","1329444140"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6e06b41414f0dbe593dfa9ab5db8f3f8.jpg","text":"TemporaryFile(/tmp/multipartBody1770191767418703751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108008762,"filename":"image_17012025_08_43_59_6442.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cc9e2cc3f340c4e42804c0588bdd3e19.jpg","text":"TemporaryFile(/tmp/multipartBody4655192569171190794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108008762,"filename":"image_17012025_08_44_04_5244.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d3f2b1e391442a3f2c5b437057dcd813.jpg","text":"TemporaryFile(/tmp/multipartBody7794843688287350882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108008762,"filename":"image_17012025_08_43_11_6395.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8e41c34caa9a668e19e83a188b936af6.jpg","text":"TemporaryFile(/tmp/multipartBody8455284898801703333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108008762,"filename":"image_17012025_08_43_05_6180.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2028998e2afcf24831f996774d957b35.jpg","text":"TemporaryFile(/tmp/multipartBody825322587052669118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108008762,"filename":"image_17012025_08_44_11_6476.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6a72986b3fea38a8aa7bb80ece6ec2dd.jpg","text":"TemporaryFile(/tmp/multipartBody1816911088275474595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108008762,"filename":"image_17012025_08_43_17_5197.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329444117","file1":"1329444111","file0":"1329444104","file4":"1329444131","file5":"1329444140","file3":"1329444124"},"map_files_photo_id_array":[{"photo_id":"1329444140","filename":"file5"},{"photo_id":"1329444117","filename":"file2"},{"photo_id":"1329444131","filename":"file4"},{"photo_id":"1329444111","filename":"file1"},{"photo_id":"1329444104","filename":"file0"},{"photo_id":"1329444124","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329444117":["hashtag1","hashtag2"]},{"1329444111":["hashtag1","hashtag2"]},{"1329444131":["hashtag1","hashtag2"]},{"1329444140":["hashtag1","hashtag2"]},{"1329444104":["hashtag1","hashtag2"]},{"1329444124":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329444117, 1329444111, 1329444131, 1329444140, 1329444104, 1329444124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.87756681442261 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:00:02.625327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/58/image_17012025_10_58_58_6343.jpg', '/media/data/images/17012025/10/53/image_17012025_10_53_59_6373.jpg', '/media/data/images/17012025/10/48/image_17012025_10_48_53_6385.jpg', '/media/data/images/17012025/10/47/image_17012025_10_47_46_5211.jpg', '/media/data/images/17012025/10/47/image_17012025_10_47_41_6542.jpg', '/media/data/images/17012025/10/47/image_17012025_10_47_34_5363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/58/image_17012025_10_58_58_6343.jpg
/media/data/images/17012025/10/53/image_17012025_10_53_59_6373.jpg
/media/data/images/17012025/10/48/image_17012025_10_48_53_6385.jpg
/media/data/images/17012025/10/47/image_17012025_10_47_46_5211.jpg
/media/data/images/17012025/10/47/image_17012025_10_47_41_6542.jpg
/media/data/images/17012025/10/47/image_17012025_10_47_34_5363.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329444182","1329444178","1329444172","1329444166","1329444169","1329444165"],"photo_ids_order":["1329444165","1329444166","1329444169","1329444172","1329444178","1329444182"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b842fa84b2efb5d0db60f7bf90d05837.jpg","text":"TemporaryFile(/tmp/multipartBody4266615993047347901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108066770,"filename":"image_17012025_10_47_34_5363.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1e2cbba60419e6fc630a4a70fd9907e9.jpg","text":"TemporaryFile(/tmp/multipartBody903461351075487063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108066770,"filename":"image_17012025_10_47_41_6542.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8fe6ab851a685187eda2431be17a9c61.jpg","text":"TemporaryFile(/tmp/multipartBody1832067899192721493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108066770,"filename":"image_17012025_10_47_46_5211.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/97d9535f3bf7a5688bc394701d64a416.jpg","text":"TemporaryFile(/tmp/multipartBody2431670930668104142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108066770,"filename":"image_17012025_10_53_59_6373.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fac81f69581fd4d3f4472f08e1e897e3.jpg","text":"TemporaryFile(/tmp/multipartBody1450300961836939309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108066770,"filename":"image_17012025_10_48_53_6385.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e6b5568b15b7e8915a409481d777eb0f.jpg","text":"TemporaryFile(/tmp/multipartBody4581709275018193417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108066770,"filename":"image_17012025_10_58_58_6343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329444169","file1":"1329444166","file0":"1329444165","file4":"1329444178","file5":"1329444182","file3":"1329444172"},"map_files_photo_id_array":[{"photo_id":"1329444182","filename":"file5"},{"photo_id":"1329444169","filename":"file2"},{"photo_id":"1329444178","filename":"file4"},{"photo_id":"1329444166","filename":"file1"},{"photo_id":"1329444165","filename":"file0"},{"photo_id":"1329444172","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329444182":["hashtag1","hashtag2"]},{"1329444178":["hashtag1","hashtag2"]},{"1329444172":["hashtag1","hashtag2"]},{"1329444166":["hashtag1","hashtag2"]},{"1329444169":["hashtag1","hashtag2"]},{"1329444165":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329444182, 1329444178, 1329444172, 1329444166, 1329444169, 1329444165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.84797239303589 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:00:42.349993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/51/image_17012025_10_51_46_5169.jpg', '/media/data/images/17012025/10/51/image_17012025_10_51_41_6396.jpg', '/media/data/images/17012025/10/51/image_17012025_10_51_34_6415.jpg', '/media/data/images/17012025/10/51/image_17012025_10_51_28_5170.jpg', '/media/data/images/17012025/10/51/image_17012025_10_51_23_6409.jpg', '/media/data/images/17012025/10/51/image_17012025_10_51_16_6399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/51/image_17012025_10_51_46_5169.jpg
/media/data/images/17012025/10/51/image_17012025_10_51_41_6396.jpg
/media/data/images/17012025/10/51/image_17012025_10_51_34_6415.jpg
/media/data/images/17012025/10/51/image_17012025_10_51_28_5170.jpg
/media/data/images/17012025/10/51/image_17012025_10_51_23_6409.jpg
/media/data/images/17012025/10/51/image_17012025_10_51_16_6399.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329444215","1329444209","1329444200","1329444211","1329444205","1329444207"],"photo_ids_order":["1329444200","1329444205","1329444207","1329444209","1329444211","1329444215"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1a1fd8fd68a2e879f7c6759654a636ce.jpg","text":"TemporaryFile(/tmp/multipartBody3327392810780401925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108105713,"filename":"image_17012025_10_51_16_6399.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c9b0acf22ea9de4bbe8f7dbbadb2b510.jpg","text":"TemporaryFile(/tmp/multipartBody6335188172566893963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108105713,"filename":"image_17012025_10_51_28_5170.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b4a21d29030c8def2de00eac420ebf65.jpg","text":"TemporaryFile(/tmp/multipartBody4040259813202025043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108105713,"filename":"image_17012025_10_51_46_5169.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e68afd6e1af7e614b69dc84d467fb920.jpg","text":"TemporaryFile(/tmp/multipartBody9122008310761903666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108105713,"filename":"image_17012025_10_51_23_6409.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b804138855faf39c122cfd029aba01df.jpg","text":"TemporaryFile(/tmp/multipartBody3541399773295008380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108105713,"filename":"image_17012025_10_51_41_6396.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9f348bccb98ba7c313dbe8de09a5777c.jpg","text":"TemporaryFile(/tmp/multipartBody4866164862394402774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108105713,"filename":"image_17012025_10_51_34_6415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329444207","file1":"1329444205","file0":"1329444200","file4":"1329444211","file5":"1329444215","file3":"1329444209"},"map_files_photo_id_array":[{"photo_id":"1329444215","filename":"file5"},{"photo_id":"1329444207","filename":"file2"},{"photo_id":"1329444211","filename":"file4"},{"photo_id":"1329444205","filename":"file1"},{"photo_id":"1329444200","filename":"file0"},{"photo_id":"1329444209","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329444215":["hashtag1","hashtag2"]},{"1329444209":["hashtag1","hashtag2"]},{"1329444200":["hashtag1","hashtag2"]},{"1329444211":["hashtag1","hashtag2"]},{"1329444205":["hashtag1","hashtag2"]},{"1329444207":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329444215, 1329444209, 1329444200, 1329444211, 1329444205, 1329444207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.25383377075195 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:01:22.454161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/55/image_17012025_10_55_46_5177.jpg', '/media/data/images/17012025/10/55/image_17012025_10_55_41_6572.jpg', '/media/data/images/17012025/10/55/image_17012025_10_55_34_5395.jpg', '/media/data/images/17012025/10/55/image_17012025_10_55_29_6667.jpg', '/media/data/images/17012025/10/55/image_17012025_10_55_22_5325.jpg', '/media/data/images/17012025/10/55/image_17012025_10_55_17_6531.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/55/image_17012025_10_55_46_5177.jpg
/media/data/images/17012025/10/55/image_17012025_10_55_41_6572.jpg
/media/data/images/17012025/10/55/image_17012025_10_55_34_5395.jpg
/media/data/images/17012025/10/55/image_17012025_10_55_29_6667.jpg
/media/data/images/17012025/10/55/image_17012025_10_55_22_5325.jpg
/media/data/images/17012025/10/55/image_17012025_10_55_17_6531.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329444242","1329444227","1329444235","1329444238","1329444231","1329444240"],"photo_ids_order":["1329444227","1329444231","1329444235","1329444238","1329444240","1329444242"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/908ee48aeb07a34cfc96378de042478b.jpg","text":"TemporaryFile(/tmp/multipartBody8450271375482520516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108148467,"filename":"image_17012025_10_55_17_6531.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5bf088c85ff6c9e45a721706f8c4babc.jpg","text":"TemporaryFile(/tmp/multipartBody8082002623457967256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108148467,"filename":"image_17012025_10_55_46_5177.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/530446b7c138b6caa6a58a3f354e62f3.jpg","text":"TemporaryFile(/tmp/multipartBody4413968089719826304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108148467,"filename":"image_17012025_10_55_34_5395.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/994581827ebe6619d072f7798d40b0d5.jpg","text":"TemporaryFile(/tmp/multipartBody625796294183919292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108148467,"filename":"image_17012025_10_55_29_6667.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3cf124ec9602903b4c96413059f82a48.jpg","text":"TemporaryFile(/tmp/multipartBody2986085681494580108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108148467,"filename":"image_17012025_10_55_41_6572.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3fe7000acdce8d130c44f3660e34f77e.jpg","text":"TemporaryFile(/tmp/multipartBody2435377852851591923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108148467,"filename":"image_17012025_10_55_22_5325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329444235","file1":"1329444231","file0":"1329444227","file4":"1329444240","file5":"1329444242","file3":"1329444238"},"map_files_photo_id_array":[{"photo_id":"1329444242","filename":"file5"},{"photo_id":"1329444235","filename":"file2"},{"photo_id":"1329444240","filename":"file4"},{"photo_id":"1329444231","filename":"file1"},{"photo_id":"1329444227","filename":"file0"},{"photo_id":"1329444238","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329444242":["hashtag1","hashtag2"]},{"1329444227":["hashtag1","hashtag2"]},{"1329444235":["hashtag1","hashtag2"]},{"1329444238":["hashtag1","hashtag2"]},{"1329444231":["hashtag1","hashtag2"]},{"1329444240":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329444242, 1329444227, 1329444235, 1329444238, 1329444231, 1329444240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.083292722702026 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:02:22.515654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/59/image_17012025_10_59_46_5172.jpg', '/media/data/images/17012025/10/59/image_17012025_10_59_41_6382.jpg', '/media/data/images/17012025/10/59/image_17012025_10_59_34_6387.jpg', '/media/data/images/17012025/10/59/image_17012025_10_59_28_5181.jpg', '/media/data/images/17012025/10/59/image_17012025_10_59_23_6390.jpg', '/media/data/images/17012025/10/59/image_17012025_10_59_16_6406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/59/image_17012025_10_59_46_5172.jpg
/media/data/images/17012025/10/59/image_17012025_10_59_41_6382.jpg
/media/data/images/17012025/10/59/image_17012025_10_59_34_6387.jpg
/media/data/images/17012025/10/59/image_17012025_10_59_28_5181.jpg
/media/data/images/17012025/10/59/image_17012025_10_59_23_6390.jpg
/media/data/images/17012025/10/59/image_17012025_10_59_16_6406.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329444265","1329444259","1329444268","1329444262","1329444276","1329444273"],"photo_ids_order":["1329444259","1329444262","1329444265","1329444268","1329444273","1329444276"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6d9869040d3996e929ec394fdad644ec.jpg","text":"TemporaryFile(/tmp/multipartBody8339684325164992784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108206502,"filename":"image_17012025_10_59_34_6387.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a2b2ae676f2c3b23b6a91c1ddaf2b540.jpg","text":"TemporaryFile(/tmp/multipartBody7175774872908054984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108206502,"filename":"image_17012025_10_59_46_5172.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8330653a4195747decf723c90df48248.jpg","text":"TemporaryFile(/tmp/multipartBody2003866113873051272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108206502,"filename":"image_17012025_10_59_28_5181.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a840dbbb566c719004cdda70c8959a32.jpg","text":"TemporaryFile(/tmp/multipartBody2433630492518562710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108206502,"filename":"image_17012025_10_59_41_6382.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d5eab095b3ef1f6c481bef513a8af011.jpg","text":"TemporaryFile(/tmp/multipartBody3676915784534304994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108206502,"filename":"image_17012025_10_59_16_6406.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fdf5c2f29dc90c26ef9e5785663c730a.jpg","text":"TemporaryFile(/tmp/multipartBody7657992994187404429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108206502,"filename":"image_17012025_10_59_23_6390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329444265","file1":"1329444262","file0":"1329444259","file4":"1329444273","file5":"1329444276","file3":"1329444268"},"map_files_photo_id_array":[{"photo_id":"1329444276","filename":"file5"},{"photo_id":"1329444265","filename":"file2"},{"photo_id":"1329444273","filename":"file4"},{"photo_id":"1329444262","filename":"file1"},{"photo_id":"1329444259","filename":"file0"},{"photo_id":"1329444268","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329444265":["hashtag1","hashtag2"]},{"1329444259":["hashtag1","hashtag2"]},{"1329444268":["hashtag1","hashtag2"]},{"1329444262":["hashtag1","hashtag2"]},{"1329444276":["hashtag1","hashtag2"]},{"1329444273":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329444265, 1329444259, 1329444268, 1329444262, 1329444276, 1329444273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.534345865249634 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:03:02.894127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/59/image_17012025_10_59_10_5167.jpg', '/media/data/images/17012025/10/59/image_17012025_10_59_05_6221.jpg', '/media/data/images/17012025/10/58/image_17012025_10_58_52_6351.jpg', '/media/data/images/17012025/10/58/image_17012025_10_58_46_5217.jpg', '/media/data/images/17012025/10/58/image_17012025_10_58_41_6467.jpg', '/media/data/images/17012025/10/58/image_17012025_10_58_34_5224.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/59/image_17012025_10_59_10_5167.jpg
/media/data/images/17012025/10/59/image_17012025_10_59_05_6221.jpg
/media/data/images/17012025/10/58/image_17012025_10_58_52_6351.jpg
/media/data/images/17012025/10/58/image_17012025_10_58_46_5217.jpg
/media/data/images/17012025/10/58/image_17012025_10_58_41_6467.jpg
/media/data/images/17012025/10/58/image_17012025_10_58_34_5224.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329444296","1329444298","1329444302","1329444289","1329444304","1329444306"],"photo_ids_order":["1329444289","1329444296","1329444298","1329444302","1329444304","1329444306"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d8d54a909dbd3e604f63c9167709017d.jpg","text":"TemporaryFile(/tmp/multipartBody352469896037160643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108247023,"filename":"image_17012025_10_59_05_6221.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/85a9f7a8d906e2a41703523355f176e6.jpg","text":"TemporaryFile(/tmp/multipartBody3544020139304178246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108247023,"filename":"image_17012025_10_58_52_6351.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d1f5ac5b4621ac07b0499acdc80c2508.jpg","text":"TemporaryFile(/tmp/multipartBody3102281877833138094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108247023,"filename":"image_17012025_10_58_46_5217.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/400bf01f7dbe09767cd90a75ee5b1941.jpg","text":"TemporaryFile(/tmp/multipartBody9060924417561128461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108247023,"filename":"image_17012025_10_59_10_5167.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/221fd845b3cc62e3e6fb1b08328066ad.jpg","text":"TemporaryFile(/tmp/multipartBody60703992964014009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108247023,"filename":"image_17012025_10_58_41_6467.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b8da006aa763b70e2a5d4d423d207e4d.jpg","text":"TemporaryFile(/tmp/multipartBody8505063526471847880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108247023,"filename":"image_17012025_10_58_34_5224.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329444298","file1":"1329444296","file0":"1329444289","file4":"1329444304","file5":"1329444306","file3":"1329444302"},"map_files_photo_id_array":[{"photo_id":"1329444306","filename":"file5"},{"photo_id":"1329444298","filename":"file2"},{"photo_id":"1329444304","filename":"file4"},{"photo_id":"1329444296","filename":"file1"},{"photo_id":"1329444289","filename":"file0"},{"photo_id":"1329444302","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329444296":["hashtag1","hashtag2"]},{"1329444298":["hashtag1","hashtag2"]},{"1329444302":["hashtag1","hashtag2"]},{"1329444289":["hashtag1","hashtag2"]},{"1329444304":["hashtag1","hashtag2"]},{"1329444306":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329444296, 1329444298, 1329444302, 1329444289, 1329444304, 1329444306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.3952362537384 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 11:04:03.098129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/03/image_17012025_11_03_41_6378.jpg', '/media/data/images/17012025/11/03/image_17012025_11_03_34_6416.jpg', '/media/data/images/17012025/11/03/image_17012025_11_03_28_5214.jpg', '/media/data/images/17012025/11/03/image_17012025_11_03_23_6418.jpg', '/media/data/images/17012025/11/03/image_17012025_11_03_16_6393.jpg', '/media/data/images/17012025/11/03/image_17012025_11_03_10_5205.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/03/image_17012025_11_03_41_6378.jpg
/media/data/images/17012025/11/03/image_17012025_11_03_34_6416.jpg
/media/data/images/17012025/11/03/image_17012025_11_03_28_5214.jpg
/media/data/images/17012025/11/03/image_17012025_11_03_23_6418.jpg
/media/data/images/17012025/11/03/image_17012025_11_03_16_6393.jpg
/media/data/images/17012025/11/03/image_17012025_11_03_10_5205.jpg
2025-01-17 11:04:03.232783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/03/image_17012025_11_03_41_6378.jpg', '/media/data/images/17012025/11/03/image_17012025_11_03_34_6416.jpg', '/media/data/images/17012025/11/03/image_17012025_11_03_28_5214.jpg', '/media/data/images/17012025/11/03/image_17012025_11_03_23_6418.jpg', '/media/data/images/17012025/11/03/image_17012025_11_03_16_6393.jpg', '/media/data/images/17012025/11/03/image_17012025_11_03_10_5205.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/03/image_17012025_11_03_41_6378.jpg
/media/data/images/17012025/11/03/image_17012025_11_03_34_6416.jpg
/media/data/images/17012025/11/03/image_17012025_11_03_28_5214.jpg
/media/data/images/17012025/11/03/image_17012025_11_03_23_6418.jpg
/media/data/images/17012025/11/03/image_17012025_11_03_16_6393.jpg
/media/data/images/17012025/11/03/image_17012025_11_03_10_5205.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329444353","1329444356","1329444341","1329444350","1329444345","1329444348"],"photo_ids_order":["1329444341","1329444345","1329444348","1329444350","1329444353","1329444356"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/19c71d6b656ae0d9b298150a70c818d0.jpg","text":"TemporaryFile(/tmp/multipartBody8228303123128933573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108321389,"filename":"image_17012025_11_03_16_6393.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e89a389222261496136ee6fc2d66e61c.jpg","text":"TemporaryFile(/tmp/multipartBody9033780083033679381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108321389,"filename":"image_17012025_11_03_10_5205.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/14e248ba517dc4e98a49c623822167ef.jpg","text":"TemporaryFile(/tmp/multipartBody5237123823290055735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108321389,"filename":"image_17012025_11_03_41_6378.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ea703568c64f4b50caf5b80da3f22a76.jpg","text":"TemporaryFile(/tmp/multipartBody1666796390982651317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108321389,"filename":"image_17012025_11_03_23_6418.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/05130dadd403571bf074be501b64f143.jpg","text":"TemporaryFile(/tmp/multipartBody4694566981212436963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108321389,"filename":"image_17012025_11_03_34_6416.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f96ae44ced40b22c8498c6f491bee4b3.jpg","text":"TemporaryFile(/tmp/multipartBody7959007080528712932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108321389,"filename":"image_17012025_11_03_28_5214.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329444348","file1":"1329444345","file0":"1329444341","file4":"1329444353","file5":"1329444356","file3":"1329444350"},"map_files_photo_id_array":[{"photo_id":"1329444356","filename":"file5"},{"photo_id":"1329444348","filename":"file2"},{"photo_id":"1329444353","filename":"file4"},{"photo_id":"1329444345","filename":"file1"},{"photo_id":"1329444341","filename":"file0"},{"photo_id":"1329444350","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329444353":["hashtag1","hashtag2"]},{"1329444356":["hashtag1","hashtag2"]},{"1329444341":["hashtag1","hashtag2"]},{"1329444350":["hashtag1","hashtag2"]},{"1329444345":["hashtag1","hashtag2"]},{"1329444348":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329444353, 1329444356, 1329444341, 1329444350, 1329444345, 1329444348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.751105070114136 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329444347","1329444344","1329444358","1329444352","1329444355","1329444339"],"photo_ids_order":["1329444339","1329444344","1329444347","1329444352","1329444355","1329444358"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6bb59ea7a0d299168cbea39185e0cbd7.jpg","text":"TemporaryFile(/tmp/multipartBody3652244176732349028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108320645,"filename":"image_17012025_11_03_28_5214.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/66882f77d5b6804e14dc273feee9ccad.jpg","text":"TemporaryFile(/tmp/multipartBody6077350621294980841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108320645,"filename":"image_17012025_11_03_34_6416.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0172435bffd59d0340725c23f370d0d3.jpg","text":"TemporaryFile(/tmp/multipartBody3921297917697728390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108320645,"filename":"image_17012025_11_03_10_5205.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/41b7c4083b87a42725b2e76b86ec157e.jpg","text":"TemporaryFile(/tmp/multipartBody6914833758739287003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108320645,"filename":"image_17012025_11_03_23_6418.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/184c63bfcb71e341686a747ae244532c.jpg","text":"TemporaryFile(/tmp/multipartBody2124416259073365282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108320645,"filename":"image_17012025_11_03_16_6393.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8ea2c2a09d40ad57a28d40c50d9a3e1c.jpg","text":"TemporaryFile(/tmp/multipartBody3713586257343725265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108320645,"filename":"image_17012025_11_03_41_6378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329444347","file1":"1329444344","file0":"1329444339","file4":"1329444355","file5":"1329444358","file3":"1329444352"},"map_files_photo_id_array":[{"photo_id":"1329444358","filename":"file5"},{"photo_id":"1329444347","filename":"file2"},{"photo_id":"1329444355","filename":"file4"},{"photo_id":"1329444344","filename":"file1"},{"photo_id":"1329444339","filename":"file0"},{"photo_id":"1329444352","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329444347":["hashtag1","hashtag2"]},{"1329444344":["hashtag1","hashtag2"]},{"1329444358":["hashtag1","hashtag2"]},{"1329444352":["hashtag1","hashtag2"]},{"1329444355":["hashtag1","hashtag2"]},{"1329444339":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329444347, 1329444344, 1329444358, 1329444352, 1329444355, 1329444339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.635279178619385 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:05:02.205569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/04/image_17012025_11_04_52_5319.jpg', '/media/data/images/17012025/11/04/image_17012025_11_04_47_6555.jpg', '/media/data/images/17012025/11/04/image_17012025_11_04_40_6563.jpg', '/media/data/images/17012025/11/04/image_17012025_11_04_34_5318.jpg', '/media/data/images/17012025/11/04/image_17012025_11_04_28_6554.jpg', '/media/data/images/17012025/11/04/image_17012025_11_04_22_5266.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/04/image_17012025_11_04_52_5319.jpg
/media/data/images/17012025/11/04/image_17012025_11_04_47_6555.jpg
/media/data/images/17012025/11/04/image_17012025_11_04_40_6563.jpg
/media/data/images/17012025/11/04/image_17012025_11_04_34_5318.jpg
/media/data/images/17012025/11/04/image_17012025_11_04_28_6554.jpg
/media/data/images/17012025/11/04/image_17012025_11_04_22_5266.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329444383","1329444392","1329444388","1329444373","1329444393","1329444378"],"photo_ids_order":["1329444373","1329444378","1329444383","1329444388","1329444392","1329444393"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ece8390b53be13756f69e5ec289ac93e.jpg","text":"TemporaryFile(/tmp/multipartBody9004398580657559523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108368482,"filename":"image_17012025_11_04_40_6563.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c461b43e0a4b9f225e6d724a5e25ce56.jpg","text":"TemporaryFile(/tmp/multipartBody5976043453276501777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108368482,"filename":"image_17012025_11_04_28_6554.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/285a519f78094a6e88f8a6121ec52e46.jpg","text":"TemporaryFile(/tmp/multipartBody1155737254837955245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108368482,"filename":"image_17012025_11_04_34_5318.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/884c9bc6863421996f940f02a4870cb6.jpg","text":"TemporaryFile(/tmp/multipartBody5580167454366627655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108368482,"filename":"image_17012025_11_04_52_5319.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fb0a96eae2227bacd554ea0495c77cc4.jpg","text":"TemporaryFile(/tmp/multipartBody5931678895182725082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108368482,"filename":"image_17012025_11_04_22_5266.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e3bc8f1c24aba59e97740aaf05b0b5ac.jpg","text":"TemporaryFile(/tmp/multipartBody4252642557517766382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108368482,"filename":"image_17012025_11_04_47_6555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329444383","file1":"1329444378","file0":"1329444373","file4":"1329444392","file5":"1329444393","file3":"1329444388"},"map_files_photo_id_array":[{"photo_id":"1329444393","filename":"file5"},{"photo_id":"1329444383","filename":"file2"},{"photo_id":"1329444392","filename":"file4"},{"photo_id":"1329444378","filename":"file1"},{"photo_id":"1329444373","filename":"file0"},{"photo_id":"1329444388","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329444383":["hashtag1","hashtag2"]},{"1329444392":["hashtag1","hashtag2"]},{"1329444388":["hashtag1","hashtag2"]},{"1329444373":["hashtag1","hashtag2"]},{"1329444393":["hashtag1","hashtag2"]},{"1329444378":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329444383, 1329444392, 1329444388, 1329444373, 1329444393, 1329444378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.90388369560242 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:06:02.133583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/05/image_17012025_11_05_52_5235.jpg', '/media/data/images/17012025/11/05/image_17012025_11_05_47_6480.jpg', '/media/data/images/17012025/11/05/image_17012025_11_05_29_6391.jpg', '/media/data/images/17012025/11/05/image_17012025_11_05_22_5271.jpg', '/media/data/images/17012025/11/05/image_17012025_11_05_10_6494.jpg', '/media/data/images/17012025/11/05/image_17012025_11_05_04_5143.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/05/image_17012025_11_05_52_5235.jpg
/media/data/images/17012025/11/05/image_17012025_11_05_47_6480.jpg
/media/data/images/17012025/11/05/image_17012025_11_05_29_6391.jpg
/media/data/images/17012025/11/05/image_17012025_11_05_22_5271.jpg
/media/data/images/17012025/11/05/image_17012025_11_05_10_6494.jpg
/media/data/images/17012025/11/05/image_17012025_11_05_04_5143.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329444417","1329444413","1329444430","1329444427","1329444421","1329444423"],"photo_ids_order":["1329444413","1329444417","1329444421","1329444423","1329444427","1329444430"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/004e6b300426ebbed965094091c730c1.jpg","text":"TemporaryFile(/tmp/multipartBody4243269017468116938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108427432,"filename":"image_17012025_11_05_47_6480.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5bf9b0a324e5f0659d269dff48db9e63.jpg","text":"TemporaryFile(/tmp/multipartBody3731990869134166221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108427432,"filename":"image_17012025_11_05_52_5235.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4ac3451fec8eca742c92e313525bd30f.jpg","text":"TemporaryFile(/tmp/multipartBody8093492258261045425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108427432,"filename":"image_17012025_11_05_04_5143.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0a9c8f2793f8ce17c8de63bf445a2207.jpg","text":"TemporaryFile(/tmp/multipartBody7047838939311790336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108427432,"filename":"image_17012025_11_05_10_6494.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e9d3dcb0dfa37ac93eeb61eb1779a185.jpg","text":"TemporaryFile(/tmp/multipartBody748469474327549334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108427432,"filename":"image_17012025_11_05_29_6391.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8a55a6ae6cc21f9619154602fd21b6a7.jpg","text":"TemporaryFile(/tmp/multipartBody7018031825069044557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108427432,"filename":"image_17012025_11_05_22_5271.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329444421","file1":"1329444417","file0":"1329444413","file4":"1329444427","file5":"1329444430","file3":"1329444423"},"map_files_photo_id_array":[{"photo_id":"1329444430","filename":"file5"},{"photo_id":"1329444421","filename":"file2"},{"photo_id":"1329444427","filename":"file4"},{"photo_id":"1329444417","filename":"file1"},{"photo_id":"1329444413","filename":"file0"},{"photo_id":"1329444423","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329444417":["hashtag1","hashtag2"]},{"1329444413":["hashtag1","hashtag2"]},{"1329444430":["hashtag1","hashtag2"]},{"1329444427":["hashtag1","hashtag2"]},{"1329444421":["hashtag1","hashtag2"]},{"1329444423":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329444417, 1329444413, 1329444430, 1329444427, 1329444421, 1329444423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.789621114730835 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:07:02.349172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/06/image_17012025_11_06_52_5287.jpg', '/media/data/images/17012025/11/06/image_17012025_11_06_47_6568.jpg', '/media/data/images/17012025/11/06/image_17012025_11_06_40_5298.jpg', '/media/data/images/17012025/11/06/image_17012025_11_06_35_6443.jpg', '/media/data/images/17012025/11/06/image_17012025_11_06_28_6417.jpg', '/media/data/images/17012025/11/06/image_17012025_11_06_22_5200.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/06/image_17012025_11_06_52_5287.jpg
/media/data/images/17012025/11/06/image_17012025_11_06_47_6568.jpg
/media/data/images/17012025/11/06/image_17012025_11_06_40_5298.jpg
/media/data/images/17012025/11/06/image_17012025_11_06_35_6443.jpg
/media/data/images/17012025/11/06/image_17012025_11_06_28_6417.jpg
/media/data/images/17012025/11/06/image_17012025_11_06_22_5200.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329444470","1329444467","1329444461","1329444457","1329444474","1329444465"],"photo_ids_order":["1329444457","1329444461","1329444465","1329444467","1329444470","1329444474"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e1661be5156802882bc89659e0ba2899.jpg","text":"TemporaryFile(/tmp/multipartBody1165669513741469414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108488808,"filename":"image_17012025_11_06_28_6417.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b20ea5ca40b2832d185190a6629f286c.jpg","text":"TemporaryFile(/tmp/multipartBody1310770393995338816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108488808,"filename":"image_17012025_11_06_35_6443.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7285f7c5f39c41c767c32eb4194083de.jpg","text":"TemporaryFile(/tmp/multipartBody5806419740896713700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108488808,"filename":"image_17012025_11_06_47_6568.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c10e3238c45dc6b8f18944a9c9df20da.jpg","text":"TemporaryFile(/tmp/multipartBody4668274831719522161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108488808,"filename":"image_17012025_11_06_52_5287.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e515e2655df0ebae268ee856333a60ad.jpg","text":"TemporaryFile(/tmp/multipartBody1261190636871390253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108488808,"filename":"image_17012025_11_06_22_5200.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/02f82cb65ea35ac602e494a293d72c10.jpg","text":"TemporaryFile(/tmp/multipartBody7476053556023601894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108488808,"filename":"image_17012025_11_06_40_5298.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329444465","file1":"1329444461","file0":"1329444457","file4":"1329444470","file5":"1329444474","file3":"1329444467"},"map_files_photo_id_array":[{"photo_id":"1329444474","filename":"file5"},{"photo_id":"1329444465","filename":"file2"},{"photo_id":"1329444470","filename":"file4"},{"photo_id":"1329444461","filename":"file1"},{"photo_id":"1329444457","filename":"file0"},{"photo_id":"1329444467","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329444470":["hashtag1","hashtag2"]},{"1329444467":["hashtag1","hashtag2"]},{"1329444461":["hashtag1","hashtag2"]},{"1329444457":["hashtag1","hashtag2"]},{"1329444474":["hashtag1","hashtag2"]},{"1329444465":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329444470, 1329444467, 1329444461, 1329444457, 1329444474, 1329444465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.104968547821045 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:08:02.373649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/07/image_17012025_11_07_47_6538.jpg', '/media/data/images/17012025/11/07/image_17012025_11_07_17_6442.jpg', '/media/data/images/17012025/11/07/image_17012025_11_07_10_6465.jpg', '/media/data/images/17012025/11/06/image_17012025_11_07_04_5540.jpg', '/media/data/images/17012025/11/06/image_17012025_11_06_58_6283.jpg', '/media/data/images/17012025/11/06/image_17012025_11_06_10_6449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/07/image_17012025_11_07_47_6538.jpg
/media/data/images/17012025/11/07/image_17012025_11_07_17_6442.jpg
/media/data/images/17012025/11/07/image_17012025_11_07_10_6465.jpg
/media/data/images/17012025/11/06/image_17012025_11_07_04_5540.jpg
/media/data/images/17012025/11/06/image_17012025_11_06_58_6283.jpg
/media/data/images/17012025/11/06/image_17012025_11_06_10_6449.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329444516","1329444527","1329444503","1329444506","1329444522","1329444510"],"photo_ids_order":["1329444503","1329444506","1329444510","1329444516","1329444522","1329444527"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0c8d1242e987dbde87cf5a200663bc92.jpg","text":"TemporaryFile(/tmp/multipartBody4853926980512072304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108557328,"filename":"image_17012025_11_07_04_5540.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2ef55fe1b72964812355b743763b4705.jpg","text":"TemporaryFile(/tmp/multipartBody1232641347570030962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108557328,"filename":"image_17012025_11_06_10_6449.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3da8ce45f5cff493d3584c8ada627134.jpg","text":"TemporaryFile(/tmp/multipartBody4453943865994745035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108557328,"filename":"image_17012025_11_07_47_6538.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3b780fa9850a6a6885628963b9b32477.jpg","text":"TemporaryFile(/tmp/multipartBody3268089306871922567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108557328,"filename":"image_17012025_11_07_17_6442.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/170a1d0a3f06cb4e7a19875c0c0033bd.jpg","text":"TemporaryFile(/tmp/multipartBody3605272432707754349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108557328,"filename":"image_17012025_11_06_58_6283.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f2893e6347e717e8d64ff895a4a0480c.jpg","text":"TemporaryFile(/tmp/multipartBody7295442606736531484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108557328,"filename":"image_17012025_11_07_10_6465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329444510","file1":"1329444506","file0":"1329444503","file4":"1329444522","file5":"1329444527","file3":"1329444516"},"map_files_photo_id_array":[{"photo_id":"1329444527","filename":"file5"},{"photo_id":"1329444510","filename":"file2"},{"photo_id":"1329444522","filename":"file4"},{"photo_id":"1329444506","filename":"file1"},{"photo_id":"1329444503","filename":"file0"},{"photo_id":"1329444516","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329444516":["hashtag1","hashtag2"]},{"1329444527":["hashtag1","hashtag2"]},{"1329444503":["hashtag1","hashtag2"]},{"1329444506":["hashtag1","hashtag2"]},{"1329444522":["hashtag1","hashtag2"]},{"1329444510":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329444516, 1329444527, 1329444503, 1329444506, 1329444522, 1329444510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.76234579086304 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 11:09:02.734515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/08/image_17012025_11_08_40_5198.jpg', '/media/data/images/17012025/11/08/image_17012025_11_08_35_6420.jpg', '/media/data/images/17012025/11/08/image_17012025_11_08_28_6452.jpg', '/media/data/images/17012025/11/08/image_17012025_11_08_22_5201.jpg', '/media/data/images/17012025/11/08/image_17012025_11_08_17_6429.jpg', '/media/data/images/17012025/11/08/image_17012025_11_08_04_5266.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/08/image_17012025_11_08_40_5198.jpg
/media/data/images/17012025/11/08/image_17012025_11_08_35_6420.jpg
/media/data/images/17012025/11/08/image_17012025_11_08_28_6452.jpg
/media/data/images/17012025/11/08/image_17012025_11_08_22_5201.jpg
/media/data/images/17012025/11/08/image_17012025_11_08_17_6429.jpg
/media/data/images/17012025/11/08/image_17012025_11_08_04_5266.jpg
2025-01-17 11:09:02.923050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/08/image_17012025_11_08_40_5198.jpg', '/media/data/images/17012025/11/08/image_17012025_11_08_35_6420.jpg', '/media/data/images/17012025/11/08/image_17012025_11_08_28_6452.jpg', '/media/data/images/17012025/11/08/image_17012025_11_08_22_5201.jpg', '/media/data/images/17012025/11/08/image_17012025_11_08_17_6429.jpg', '/media/data/images/17012025/11/08/image_17012025_11_08_04_5266.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/08/image_17012025_11_08_40_5198.jpg
/media/data/images/17012025/11/08/image_17012025_11_08_35_6420.jpg
/media/data/images/17012025/11/08/image_17012025_11_08_28_6452.jpg
/media/data/images/17012025/11/08/image_17012025_11_08_22_5201.jpg
/media/data/images/17012025/11/08/image_17012025_11_08_17_6429.jpg
/media/data/images/17012025/11/08/image_17012025_11_08_04_5266.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329444557","1329444562","1329444544","1329444547","1329444541","1329444552"],"photo_ids_order":["1329444541","1329444544","1329444547","1329444552","1329444557","1329444562"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0930f188bd9fafccb85b2773afcc6e06.jpg","text":"TemporaryFile(/tmp/multipartBody3923823572524097540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108611448,"filename":"image_17012025_11_08_17_6429.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/39140217867dd1ce73027ad35d1ac620.jpg","text":"TemporaryFile(/tmp/multipartBody4225352865004712883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108611448,"filename":"image_17012025_11_08_04_5266.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/96577ea7b66dbb92330fc99c2d74fe8b.jpg","text":"TemporaryFile(/tmp/multipartBody5130287087027939002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108611448,"filename":"image_17012025_11_08_35_6420.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b114d203fa3eb843dc9d38d9fa236c99.jpg","text":"TemporaryFile(/tmp/multipartBody7750492436142109470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108611448,"filename":"image_17012025_11_08_28_6452.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a4600b1498e37ce6b9621c9302b84e13.jpg","text":"TemporaryFile(/tmp/multipartBody5360134951992960768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108611448,"filename":"image_17012025_11_08_40_5198.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/91eddc418498c576a0c8d29266d22481.jpg","text":"TemporaryFile(/tmp/multipartBody3253831875489084890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108611448,"filename":"image_17012025_11_08_22_5201.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329444547","file1":"1329444544","file0":"1329444541","file4":"1329444557","file5":"1329444562","file3":"1329444552"},"map_files_photo_id_array":[{"photo_id":"1329444562","filename":"file5"},{"photo_id":"1329444547","filename":"file2"},{"photo_id":"1329444557","filename":"file4"},{"photo_id":"1329444544","filename":"file1"},{"photo_id":"1329444541","filename":"file0"},{"photo_id":"1329444552","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329444557":["hashtag1","hashtag2"]},{"1329444562":["hashtag1","hashtag2"]},{"1329444544":["hashtag1","hashtag2"]},{"1329444547":["hashtag1","hashtag2"]},{"1329444541":["hashtag1","hashtag2"]},{"1329444552":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329444557, 1329444562, 1329444544, 1329444547, 1329444541, 1329444552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.07628393173218 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329444545","1329444548","1329444542","1329444553","1329444564","1329444558"],"photo_ids_order":["1329444542","1329444545","1329444548","1329444553","1329444558","1329444564"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/47c0b2f74f11de9bfb1f74cf474a99df.jpg","text":"TemporaryFile(/tmp/multipartBody3079192966319169342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108612214,"filename":"image_17012025_11_08_35_6420.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/637972332f25ae249429b31d6b65faec.jpg","text":"TemporaryFile(/tmp/multipartBody1150473747431414472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108612214,"filename":"image_17012025_11_08_28_6452.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ecc5a75db41f0c0e329936f13c986a0e.jpg","text":"TemporaryFile(/tmp/multipartBody7579065280201940249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108612214,"filename":"image_17012025_11_08_40_5198.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/52348da2e6899f90fcd4297b6bd0153a.jpg","text":"TemporaryFile(/tmp/multipartBody1794408948160554309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108612214,"filename":"image_17012025_11_08_22_5201.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d3c31c6569ecd938900670ee9fc98150.jpg","text":"TemporaryFile(/tmp/multipartBody4248969317571080750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108612214,"filename":"image_17012025_11_08_04_5266.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/87531e490e6010034cd8c6dbf77b0719.jpg","text":"TemporaryFile(/tmp/multipartBody6277664994207289121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108612214,"filename":"image_17012025_11_08_17_6429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329444548","file1":"1329444545","file0":"1329444542","file4":"1329444558","file5":"1329444564","file3":"1329444553"},"map_files_photo_id_array":[{"photo_id":"1329444564","filename":"file5"},{"photo_id":"1329444548","filename":"file2"},{"photo_id":"1329444558","filename":"file4"},{"photo_id":"1329444545","filename":"file1"},{"photo_id":"1329444542","filename":"file0"},{"photo_id":"1329444553","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329444545":["hashtag1","hashtag2"]},{"1329444548":["hashtag1","hashtag2"]},{"1329444542":["hashtag1","hashtag2"]},{"1329444553":["hashtag1","hashtag2"]},{"1329444564":["hashtag1","hashtag2"]},{"1329444558":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329444545, 1329444548, 1329444542, 1329444553, 1329444564, 1329444558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.64133834838867 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:10:02.515328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/09/image_17012025_11_09_52_5262.jpg', '/media/data/images/17012025/11/09/image_17012025_11_09_35_6523.jpg', '/media/data/images/17012025/11/09/image_17012025_11_09_28_6522.jpg', '/media/data/images/17012025/11/09/image_17012025_11_09_22_5263.jpg', '/media/data/images/17012025/11/09/image_17012025_11_09_16_6447.jpg', '/media/data/images/17012025/11/09/image_17012025_11_09_10_5227.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/09/image_17012025_11_09_52_5262.jpg
/media/data/images/17012025/11/09/image_17012025_11_09_35_6523.jpg
/media/data/images/17012025/11/09/image_17012025_11_09_28_6522.jpg
/media/data/images/17012025/11/09/image_17012025_11_09_22_5263.jpg
/media/data/images/17012025/11/09/image_17012025_11_09_16_6447.jpg
/media/data/images/17012025/11/09/image_17012025_11_09_10_5227.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329444596","1329444590","1329444592","1329444598","1329444594","1329444588"],"photo_ids_order":["1329444588","1329444590","1329444592","1329444594","1329444596","1329444598"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1fac034cff06c64dee4e7e436cbf7b55.jpg","text":"TemporaryFile(/tmp/multipartBody5229224657323522721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108667735,"filename":"image_17012025_11_09_16_6447.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c334dd1a99da1511c2890450175664a8.jpg","text":"TemporaryFile(/tmp/multipartBody5024263578064865807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108667735,"filename":"image_17012025_11_09_35_6523.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3cccdd09c3ed1e1ec7e8687ecd3fc1a6.jpg","text":"TemporaryFile(/tmp/multipartBody5035778300549016917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108667735,"filename":"image_17012025_11_09_28_6522.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c10fca9408ee95e15f4f3c7985604449.jpg","text":"TemporaryFile(/tmp/multipartBody6061254315424024030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108667735,"filename":"image_17012025_11_09_10_5227.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9e5ebc19516dec7d8512e24919deed4a.jpg","text":"TemporaryFile(/tmp/multipartBody3392110408552886418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108667735,"filename":"image_17012025_11_09_22_5263.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4801c0226d4260627282685f5403b37a.jpg","text":"TemporaryFile(/tmp/multipartBody8076777902214071579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108667735,"filename":"image_17012025_11_09_52_5262.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329444592","file1":"1329444590","file0":"1329444588","file4":"1329444596","file5":"1329444598","file3":"1329444594"},"map_files_photo_id_array":[{"photo_id":"1329444598","filename":"file5"},{"photo_id":"1329444592","filename":"file2"},{"photo_id":"1329444596","filename":"file4"},{"photo_id":"1329444590","filename":"file1"},{"photo_id":"1329444588","filename":"file0"},{"photo_id":"1329444594","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329444596":["hashtag1","hashtag2"]},{"1329444590":["hashtag1","hashtag2"]},{"1329444592":["hashtag1","hashtag2"]},{"1329444598":["hashtag1","hashtag2"]},{"1329444594":["hashtag1","hashtag2"]},{"1329444588":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329444596, 1329444590, 1329444592, 1329444598, 1329444594, 1329444588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.30775427818298 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:10:42.288257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/10/image_17012025_11_10_40_5237.jpg', '/media/data/images/17012025/11/10/image_17012025_11_10_35_6490.jpg', '/media/data/images/17012025/11/10/image_17012025_11_10_28_5283.jpg', '/media/data/images/17012025/11/10/image_17012025_11_10_16_6471.jpg', '/media/data/images/17012025/11/09/image_17012025_11_09_58_6446.jpg', '/media/data/images/17012025/11/09/image_17012025_11_09_05_6339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/10/image_17012025_11_10_40_5237.jpg
/media/data/images/17012025/11/10/image_17012025_11_10_35_6490.jpg
/media/data/images/17012025/11/10/image_17012025_11_10_28_5283.jpg
/media/data/images/17012025/11/10/image_17012025_11_10_16_6471.jpg
/media/data/images/17012025/11/09/image_17012025_11_09_58_6446.jpg
/media/data/images/17012025/11/09/image_17012025_11_09_05_6339.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329444617","1329444625","1329444634","1329444613","1329444621","1329444630"],"photo_ids_order":["1329444613","1329444617","1329444621","1329444625","1329444630","1329444634"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a66605dbef8d57bcbb2c8919cfa6d042.jpg","text":"TemporaryFile(/tmp/multipartBody5300870062529948092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108708179,"filename":"image_17012025_11_10_35_6490.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/691b28c725d40cb536fe8e6e85bdb56c.jpg","text":"TemporaryFile(/tmp/multipartBody2755593174209121076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108708179,"filename":"image_17012025_11_10_16_6471.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d17b3917b1fcc37b041755a94096460f.jpg","text":"TemporaryFile(/tmp/multipartBody3492496705184173780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108708179,"filename":"image_17012025_11_09_05_6339.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fe70565550395b6476e71f83199e98f0.jpg","text":"TemporaryFile(/tmp/multipartBody2698620059231409820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108708179,"filename":"image_17012025_11_10_40_5237.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1e4abc16db54019b07b02291b2ae0738.jpg","text":"TemporaryFile(/tmp/multipartBody8070508087329147258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108708179,"filename":"image_17012025_11_10_28_5283.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0f66690e6e17b1331d2beaeea4f4a63f.jpg","text":"TemporaryFile(/tmp/multipartBody8896600816839019062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108708179,"filename":"image_17012025_11_09_58_6446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329444621","file1":"1329444617","file0":"1329444613","file4":"1329444630","file5":"1329444634","file3":"1329444625"},"map_files_photo_id_array":[{"photo_id":"1329444634","filename":"file5"},{"photo_id":"1329444621","filename":"file2"},{"photo_id":"1329444630","filename":"file4"},{"photo_id":"1329444617","filename":"file1"},{"photo_id":"1329444613","filename":"file0"},{"photo_id":"1329444625","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329444617":["hashtag1","hashtag2"]},{"1329444625":["hashtag1","hashtag2"]},{"1329444634":["hashtag1","hashtag2"]},{"1329444613":["hashtag1","hashtag2"]},{"1329444621":["hashtag1","hashtag2"]},{"1329444630":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329444617, 1329444625, 1329444634, 1329444613, 1329444621, 1329444630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.60774087905884 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:11:22.369131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/11/image_17012025_11_11_47_6523.jpg', '/media/data/images/17012025/11/11/image_17012025_11_11_40_5300.jpg', '/media/data/images/17012025/11/11/image_17012025_11_11_28_6511.jpg', '/media/data/images/17012025/11/11/image_17012025_11_11_22_5262.jpg', '/media/data/images/17012025/11/11/image_17012025_11_11_16_6519.jpg', '/media/data/images/17012025/11/10/image_17012025_11_10_58_6434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/11/image_17012025_11_11_47_6523.jpg
/media/data/images/17012025/11/11/image_17012025_11_11_40_5300.jpg
/media/data/images/17012025/11/11/image_17012025_11_11_28_6511.jpg
/media/data/images/17012025/11/11/image_17012025_11_11_22_5262.jpg
/media/data/images/17012025/11/11/image_17012025_11_11_16_6519.jpg
/media/data/images/17012025/11/10/image_17012025_11_10_58_6434.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329444650","1329444656","1329444641","1329444661","1329444643","1329444646"],"photo_ids_order":["1329444641","1329444643","1329444646","1329444650","1329444656","1329444661"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3e918d66c4092edbe388e0e2f4e3583b.jpg","text":"TemporaryFile(/tmp/multipartBody1218871111928719758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108748677,"filename":"image_17012025_11_11_22_5262.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/53b04c1c0c35fcb11671ae87ee57ca07.jpg","text":"TemporaryFile(/tmp/multipartBody3207323977924362285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108748677,"filename":"image_17012025_11_11_16_6519.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c1a58e56c01b200c623b7b7a52dff39d.jpg","text":"TemporaryFile(/tmp/multipartBody5760771556704794613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108748677,"filename":"image_17012025_11_11_47_6523.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/73188c1cfa8813ded902b8c059570928.jpg","text":"TemporaryFile(/tmp/multipartBody2968260613649979368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108748677,"filename":"image_17012025_11_10_58_6434.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/093d22a6e0579aa433b7453c037048b4.jpg","text":"TemporaryFile(/tmp/multipartBody8496103336459356170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108748677,"filename":"image_17012025_11_11_40_5300.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/737f3a0238718b0686310fa8383ce948.jpg","text":"TemporaryFile(/tmp/multipartBody2905535263931336316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108748677,"filename":"image_17012025_11_11_28_6511.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329444646","file1":"1329444643","file0":"1329444641","file4":"1329444656","file5":"1329444661","file3":"1329444650"},"map_files_photo_id_array":[{"photo_id":"1329444661","filename":"file5"},{"photo_id":"1329444646","filename":"file2"},{"photo_id":"1329444656","filename":"file4"},{"photo_id":"1329444643","filename":"file1"},{"photo_id":"1329444641","filename":"file0"},{"photo_id":"1329444650","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329444650":["hashtag1","hashtag2"]},{"1329444656":["hashtag1","hashtag2"]},{"1329444641":["hashtag1","hashtag2"]},{"1329444661":["hashtag1","hashtag2"]},{"1329444643":["hashtag1","hashtag2"]},{"1329444646":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329444650, 1329444656, 1329444641, 1329444661, 1329444643, 1329444646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.832154273986816 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:12:22.462132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/12/image_17012025_11_12_47_6533.jpg', '/media/data/images/17012025/11/12/image_17012025_11_12_40_5302.jpg', '/media/data/images/17012025/11/12/image_17012025_11_12_35_6482.jpg', '/media/data/images/17012025/11/12/image_17012025_11_12_28_6561.jpg', '/media/data/images/17012025/11/12/image_17012025_11_12_22_5316.jpg', '/media/data/images/17012025/11/12/image_17012025_11_12_17_6488.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/12/image_17012025_11_12_47_6533.jpg
/media/data/images/17012025/11/12/image_17012025_11_12_40_5302.jpg
/media/data/images/17012025/11/12/image_17012025_11_12_35_6482.jpg
/media/data/images/17012025/11/12/image_17012025_11_12_28_6561.jpg
/media/data/images/17012025/11/12/image_17012025_11_12_22_5316.jpg
/media/data/images/17012025/11/12/image_17012025_11_12_17_6488.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329444689","1329444691","1329444685","1329444696","1329444700","1329444681"],"photo_ids_order":["1329444681","1329444685","1329444689","1329444691","1329444696","1329444700"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/13405a7600a17342ab61eadea9d57421.jpg","text":"TemporaryFile(/tmp/multipartBody5289928575292149984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108807710,"filename":"image_17012025_11_12_35_6482.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/46629a82ac85989b20298e464bf3758e.jpg","text":"TemporaryFile(/tmp/multipartBody7087092689047360000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108807710,"filename":"image_17012025_11_12_28_6561.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/244f918c8f143e79c758abed9ac0a738.jpg","text":"TemporaryFile(/tmp/multipartBody1569412512831292883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108807710,"filename":"image_17012025_11_12_40_5302.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/74c2e6dea4a429ef86cc0da911a4500b.jpg","text":"TemporaryFile(/tmp/multipartBody2216139937290545149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108807710,"filename":"image_17012025_11_12_22_5316.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1db687d325ec20ec2fb2982123c39a25.jpg","text":"TemporaryFile(/tmp/multipartBody614018828286837855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108807710,"filename":"image_17012025_11_12_17_6488.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/efbce853663ed15d5fa8ce99b1012579.jpg","text":"TemporaryFile(/tmp/multipartBody7098453313138241611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108807710,"filename":"image_17012025_11_12_47_6533.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329444689","file1":"1329444685","file0":"1329444681","file4":"1329444696","file5":"1329444700","file3":"1329444691"},"map_files_photo_id_array":[{"photo_id":"1329444700","filename":"file5"},{"photo_id":"1329444689","filename":"file2"},{"photo_id":"1329444696","filename":"file4"},{"photo_id":"1329444685","filename":"file1"},{"photo_id":"1329444681","filename":"file0"},{"photo_id":"1329444691","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329444689":["hashtag1","hashtag2"]},{"1329444691":["hashtag1","hashtag2"]},{"1329444685":["hashtag1","hashtag2"]},{"1329444696":["hashtag1","hashtag2"]},{"1329444700":["hashtag1","hashtag2"]},{"1329444681":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329444689, 1329444691, 1329444685, 1329444696, 1329444700, 1329444681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.25265979766846 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:13:22.543281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/13/image_17012025_11_13_52_6454.jpg', '/media/data/images/17012025/11/13/image_17012025_11_13_46_5217.jpg', '/media/data/images/17012025/11/13/image_17012025_11_13_41_6484.jpg', '/media/data/images/17012025/11/13/image_17012025_11_13_34_6409.jpg', '/media/data/images/17012025/11/13/image_17012025_11_13_28_5185.jpg', '/media/data/images/17012025/11/13/image_17012025_11_13_23_6344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/13/image_17012025_11_13_52_6454.jpg
/media/data/images/17012025/11/13/image_17012025_11_13_46_5217.jpg
/media/data/images/17012025/11/13/image_17012025_11_13_41_6484.jpg
/media/data/images/17012025/11/13/image_17012025_11_13_34_6409.jpg
/media/data/images/17012025/11/13/image_17012025_11_13_28_5185.jpg
/media/data/images/17012025/11/13/image_17012025_11_13_23_6344.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329444726","1329444725","1329444737","1329444742","1329444730","1329444733"],"photo_ids_order":["1329444725","1329444726","1329444730","1329444733","1329444737","1329444742"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/41284767af04c669b289cd88c548672f.jpg","text":"TemporaryFile(/tmp/multipartBody8422588458622747643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108866928,"filename":"image_17012025_11_13_46_5217.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dda210e2826a466437019258ef181682.jpg","text":"TemporaryFile(/tmp/multipartBody2167303346981956604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108866928,"filename":"image_17012025_11_13_52_6454.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/26cce700985075ae3a219e35d13f81a9.jpg","text":"TemporaryFile(/tmp/multipartBody4796083459932676912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108866928,"filename":"image_17012025_11_13_28_5185.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/eaf2acad10248ad4b215ecdc3952a874.jpg","text":"TemporaryFile(/tmp/multipartBody973015485103154144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108866928,"filename":"image_17012025_11_13_23_6344.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fa42055759147453af7cbc804a9ef47d.jpg","text":"TemporaryFile(/tmp/multipartBody7215728406134610987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108866928,"filename":"image_17012025_11_13_41_6484.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/35374478db200af98e31699e594789b4.jpg","text":"TemporaryFile(/tmp/multipartBody3979767762560799915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108866928,"filename":"image_17012025_11_13_34_6409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329444730","file1":"1329444726","file0":"1329444725","file4":"1329444737","file5":"1329444742","file3":"1329444733"},"map_files_photo_id_array":[{"photo_id":"1329444742","filename":"file5"},{"photo_id":"1329444730","filename":"file2"},{"photo_id":"1329444737","filename":"file4"},{"photo_id":"1329444726","filename":"file1"},{"photo_id":"1329444725","filename":"file0"},{"photo_id":"1329444733","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329444726":["hashtag1","hashtag2"]},{"1329444725":["hashtag1","hashtag2"]},{"1329444737":["hashtag1","hashtag2"]},{"1329444742":["hashtag1","hashtag2"]},{"1329444730":["hashtag1","hashtag2"]},{"1329444733":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329444726, 1329444725, 1329444737, 1329444742, 1329444730, 1329444733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.8222873210907 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 11:14:03.118342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/13/image_17012025_11_13_16_6345.jpg', '/media/data/images/17012025/11/13/image_17012025_11_13_10_5222.jpg', '/media/data/images/17012025/11/13/image_17012025_11_13_05_6290.jpg', '/media/data/images/17012025/11/12/image_17012025_11_12_59_6537.jpg', '/media/data/images/17012025/11/12/image_17012025_11_12_10_5267.jpg', '/media/data/images/17012025/11/12/image_17012025_11_12_05_6266.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/13/image_17012025_11_13_16_6345.jpg
/media/data/images/17012025/11/13/image_17012025_11_13_10_5222.jpg
/media/data/images/17012025/11/13/image_17012025_11_13_05_6290.jpg
/media/data/images/17012025/11/12/image_17012025_11_12_59_6537.jpg
/media/data/images/17012025/11/12/image_17012025_11_12_10_5267.jpg
/media/data/images/17012025/11/12/image_17012025_11_12_05_6266.jpg
2025-01-17 11:14:03.312851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/13/image_17012025_11_13_16_6345.jpg', '/media/data/images/17012025/11/13/image_17012025_11_13_10_5222.jpg', '/media/data/images/17012025/11/13/image_17012025_11_13_05_6290.jpg', '/media/data/images/17012025/11/12/image_17012025_11_12_59_6537.jpg', '/media/data/images/17012025/11/12/image_17012025_11_12_10_5267.jpg', '/media/data/images/17012025/11/12/image_17012025_11_12_05_6266.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/13/image_17012025_11_13_16_6345.jpg
/media/data/images/17012025/11/13/image_17012025_11_13_10_5222.jpg
/media/data/images/17012025/11/13/image_17012025_11_13_05_6290.jpg
/media/data/images/17012025/11/12/image_17012025_11_12_59_6537.jpg
/media/data/images/17012025/11/12/image_17012025_11_12_10_5267.jpg
/media/data/images/17012025/11/12/image_17012025_11_12_05_6266.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329444776","1329444761","1329444758","1329444784","1329444766","1329444771"],"photo_ids_order":["1329444758","1329444761","1329444766","1329444771","1329444776","1329444784"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cce42aa5358e12abc9df35c94ceb6628.jpg","text":"TemporaryFile(/tmp/multipartBody4274173425870697107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108912937,"filename":"image_17012025_11_12_10_5267.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6bd4238b4825c80b12ac70ddf13a3cd8.jpg","text":"TemporaryFile(/tmp/multipartBody644287089746557795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108912937,"filename":"image_17012025_11_13_10_5222.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9a3c800f2b64694fde980b998171b0cc.jpg","text":"TemporaryFile(/tmp/multipartBody2993171755121437569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108912937,"filename":"image_17012025_11_13_16_6345.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9343793140368afe58140b38aa9a6ba6.jpg","text":"TemporaryFile(/tmp/multipartBody6626994265885790584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108912937,"filename":"image_17012025_11_12_05_6266.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/124a53f16ec5c79c1ef3c11e4a330167.jpg","text":"TemporaryFile(/tmp/multipartBody768413136498640060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108912937,"filename":"image_17012025_11_13_05_6290.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8947e773a801d5fb0c0c9afa1a82be93.jpg","text":"TemporaryFile(/tmp/multipartBody6249619801141245451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108912937,"filename":"image_17012025_11_12_59_6537.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329444766","file1":"1329444761","file0":"1329444758","file4":"1329444776","file5":"1329444784","file3":"1329444771"},"map_files_photo_id_array":[{"photo_id":"1329444784","filename":"file5"},{"photo_id":"1329444766","filename":"file2"},{"photo_id":"1329444776","filename":"file4"},{"photo_id":"1329444761","filename":"file1"},{"photo_id":"1329444758","filename":"file0"},{"photo_id":"1329444771","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329444776":["hashtag1","hashtag2"]},{"1329444761":["hashtag1","hashtag2"]},{"1329444758":["hashtag1","hashtag2"]},{"1329444784":["hashtag1","hashtag2"]},{"1329444766":["hashtag1","hashtag2"]},{"1329444771":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329444776, 1329444761, 1329444758, 1329444784, 1329444766, 1329444771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.52492070198059 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329444773","1329444767","1329444787","1329444759","1329444780","1329444762"],"photo_ids_order":["1329444759","1329444762","1329444767","1329444773","1329444780","1329444787"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1b67d288ba084b84312d9aa4218d93fd.jpg","text":"TemporaryFile(/tmp/multipartBody7660716551475895771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108913627,"filename":"image_17012025_11_12_59_6537.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/09ca8bbc63fb1de5efd76a88d9a57107.jpg","text":"TemporaryFile(/tmp/multipartBody2239207793610397673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108913627,"filename":"image_17012025_11_13_05_6290.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4cf25519b1dcbdc3ef87bfbd505363d2.jpg","text":"TemporaryFile(/tmp/multipartBody8091138697894100359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108913627,"filename":"image_17012025_11_12_05_6266.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8041964249e379beeed40df2790a1857.jpg","text":"TemporaryFile(/tmp/multipartBody6037019812938254765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108913627,"filename":"image_17012025_11_13_16_6345.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/eab2ab3f649796256386122e2a1a1959.jpg","text":"TemporaryFile(/tmp/multipartBody5508133648186933459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108913627,"filename":"image_17012025_11_12_10_5267.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/57e54d348f9594da9167aad5abd89752.jpg","text":"TemporaryFile(/tmp/multipartBody1509063266445190417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108913627,"filename":"image_17012025_11_13_10_5222.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329444767","file1":"1329444762","file0":"1329444759","file4":"1329444780","file5":"1329444787","file3":"1329444773"},"map_files_photo_id_array":[{"photo_id":"1329444787","filename":"file5"},{"photo_id":"1329444767","filename":"file2"},{"photo_id":"1329444780","filename":"file4"},{"photo_id":"1329444762","filename":"file1"},{"photo_id":"1329444759","filename":"file0"},{"photo_id":"1329444773","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329444773":["hashtag1","hashtag2"]},{"1329444767":["hashtag1","hashtag2"]},{"1329444787":["hashtag1","hashtag2"]},{"1329444759":["hashtag1","hashtag2"]},{"1329444780":["hashtag1","hashtag2"]},{"1329444762":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329444773, 1329444767, 1329444787, 1329444759, 1329444780, 1329444762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.47304725646973 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:15:02.238872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/14/image_17012025_11_14_52_6381.jpg', '/media/data/images/17012025/11/14/image_17012025_11_14_46_5173.jpg', '/media/data/images/17012025/11/14/image_17012025_11_14_41_6370.jpg', '/media/data/images/17012025/11/14/image_17012025_11_14_34_6432.jpg', '/media/data/images/17012025/11/14/image_17012025_11_14_28_5276.jpg', '/media/data/images/17012025/11/14/image_17012025_11_14_23_6514.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/14/image_17012025_11_14_52_6381.jpg
/media/data/images/17012025/11/14/image_17012025_11_14_46_5173.jpg
/media/data/images/17012025/11/14/image_17012025_11_14_41_6370.jpg
/media/data/images/17012025/11/14/image_17012025_11_14_34_6432.jpg
/media/data/images/17012025/11/14/image_17012025_11_14_28_5276.jpg
/media/data/images/17012025/11/14/image_17012025_11_14_23_6514.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329444810","1329444807","1329444812","1329444817","1329444820","1329444814"],"photo_ids_order":["1329444807","1329444810","1329444812","1329444814","1329444817","1329444820"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/da606cafde82347e1f7c98fc6d3c1aa0.jpg","text":"TemporaryFile(/tmp/multipartBody6112031474821718877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108966876,"filename":"image_17012025_11_14_46_5173.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3a44227d822d7e223083e9a2adcd19bc.jpg","text":"TemporaryFile(/tmp/multipartBody8493136673991631459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108966876,"filename":"image_17012025_11_14_52_6381.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f287a16b7212d55e44b5ab1773e07fdf.jpg","text":"TemporaryFile(/tmp/multipartBody8908833468352714918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108966876,"filename":"image_17012025_11_14_41_6370.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f7e0a3a00b1ecc0a15329f8505bac493.jpg","text":"TemporaryFile(/tmp/multipartBody2987203275514598305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108966876,"filename":"image_17012025_11_14_28_5276.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/31364fd02776f6f979de4bbdb7b33c8d.jpg","text":"TemporaryFile(/tmp/multipartBody3241939747346232090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108966876,"filename":"image_17012025_11_14_23_6514.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/12806780254680d949fef806f5d09658.jpg","text":"TemporaryFile(/tmp/multipartBody4424500957721349934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737108966876,"filename":"image_17012025_11_14_34_6432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329444812","file1":"1329444810","file0":"1329444807","file4":"1329444817","file5":"1329444820","file3":"1329444814"},"map_files_photo_id_array":[{"photo_id":"1329444820","filename":"file5"},{"photo_id":"1329444812","filename":"file2"},{"photo_id":"1329444817","filename":"file4"},{"photo_id":"1329444810","filename":"file1"},{"photo_id":"1329444807","filename":"file0"},{"photo_id":"1329444814","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329444810":["hashtag1","hashtag2"]},{"1329444807":["hashtag1","hashtag2"]},{"1329444812":["hashtag1","hashtag2"]},{"1329444817":["hashtag1","hashtag2"]},{"1329444820":["hashtag1","hashtag2"]},{"1329444814":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329444810, 1329444807, 1329444812, 1329444817, 1329444820, 1329444814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85991883277893 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:15:41.808382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/15/image_17012025_11_15_52_6393.jpg', '/media/data/images/17012025/11/15/image_17012025_11_15_46_6392.jpg', '/media/data/images/17012025/11/15/image_17012025_11_15_40_5177.jpg', '/media/data/images/17012025/11/15/image_17012025_11_15_34_6406.jpg', '/media/data/images/17012025/11/15/image_17012025_11_15_28_6394.jpg', '/media/data/images/17012025/11/15/image_17012025_11_15_22_5204.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/15/image_17012025_11_15_52_6393.jpg
/media/data/images/17012025/11/15/image_17012025_11_15_46_6392.jpg
/media/data/images/17012025/11/15/image_17012025_11_15_40_5177.jpg
/media/data/images/17012025/11/15/image_17012025_11_15_34_6406.jpg
/media/data/images/17012025/11/15/image_17012025_11_15_28_6394.jpg
/media/data/images/17012025/11/15/image_17012025_11_15_22_5204.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329444851","1329444845","1329444848","1329444855","1329444840","1329444834"],"photo_ids_order":["1329444834","1329444840","1329444845","1329444848","1329444851","1329444855"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/16563d79a55ecb7430bceaddda2e4c19.jpg","text":"TemporaryFile(/tmp/multipartBody5666886996703975535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109005090,"filename":"image_17012025_11_15_28_6394.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fdc59ed9ab400ad6e02b79d038f71ee2.jpg","text":"TemporaryFile(/tmp/multipartBody3673259203120490955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109005090,"filename":"image_17012025_11_15_40_5177.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9f769e3436711b1f1d7697da88fc94f1.jpg","text":"TemporaryFile(/tmp/multipartBody7644032740766048249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109005090,"filename":"image_17012025_11_15_34_6406.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9649f2c6c794d48665d6c182690859e9.jpg","text":"TemporaryFile(/tmp/multipartBody289868761704407287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109005090,"filename":"image_17012025_11_15_22_5204.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/006e555302878fa6100b3fd2ae07962c.jpg","text":"TemporaryFile(/tmp/multipartBody8903571750837756833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109005090,"filename":"image_17012025_11_15_46_6392.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a6fc32395b69038c4cb57113dc0fd83c.jpg","text":"TemporaryFile(/tmp/multipartBody4520335442730024910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109005090,"filename":"image_17012025_11_15_52_6393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329444845","file1":"1329444840","file0":"1329444834","file4":"1329444851","file5":"1329444855","file3":"1329444848"},"map_files_photo_id_array":[{"photo_id":"1329444855","filename":"file5"},{"photo_id":"1329444845","filename":"file2"},{"photo_id":"1329444851","filename":"file4"},{"photo_id":"1329444840","filename":"file1"},{"photo_id":"1329444834","filename":"file0"},{"photo_id":"1329444848","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329444851":["hashtag1","hashtag2"]},{"1329444845":["hashtag1","hashtag2"]},{"1329444848":["hashtag1","hashtag2"]},{"1329444855":["hashtag1","hashtag2"]},{"1329444840":["hashtag1","hashtag2"]},{"1329444834":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329444851, 1329444845, 1329444848, 1329444855, 1329444840, 1329444834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.33668065071106 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:16:21.919014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/16/image_17012025_11_16_53_6429.jpg', '/media/data/images/17012025/11/16/image_17012025_11_16_46_6404.jpg', '/media/data/images/17012025/11/16/image_17012025_11_16_40_5192.jpg', '/media/data/images/17012025/11/16/image_17012025_11_16_35_6408.jpg', '/media/data/images/17012025/11/16/image_17012025_11_16_28_6410.jpg', '/media/data/images/17012025/11/16/image_17012025_11_16_22_5170.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/16/image_17012025_11_16_53_6429.jpg
/media/data/images/17012025/11/16/image_17012025_11_16_46_6404.jpg
/media/data/images/17012025/11/16/image_17012025_11_16_40_5192.jpg
/media/data/images/17012025/11/16/image_17012025_11_16_35_6408.jpg
/media/data/images/17012025/11/16/image_17012025_11_16_28_6410.jpg
/media/data/images/17012025/11/16/image_17012025_11_16_22_5170.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329444878","1329444865","1329444874","1329444870","1329444858","1329444861"],"photo_ids_order":["1329444858","1329444861","1329444865","1329444870","1329444874","1329444878"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/686f088fe69eeeb98c3034e08a4b0768.jpg","text":"TemporaryFile(/tmp/multipartBody1165701787464252826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109045764,"filename":"image_17012025_11_16_22_5170.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f5527d7ea2f53490474e405c753d1717.jpg","text":"TemporaryFile(/tmp/multipartBody4996620766573534498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109045764,"filename":"image_17012025_11_16_40_5192.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c9419509f5fc9a35c408a4a6031091aa.jpg","text":"TemporaryFile(/tmp/multipartBody6955672002226053097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109045764,"filename":"image_17012025_11_16_28_6410.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7f186d90be86924bbe644bef0b462c53.jpg","text":"TemporaryFile(/tmp/multipartBody7538048911307570579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109045764,"filename":"image_17012025_11_16_35_6408.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6e56bbde14ee4d4514d92ba8f790f7a8.jpg","text":"TemporaryFile(/tmp/multipartBody3757885919531183327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109045764,"filename":"image_17012025_11_16_53_6429.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1239273aa72747c09ed1cb40bfe453b7.jpg","text":"TemporaryFile(/tmp/multipartBody3890320602945707510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109045764,"filename":"image_17012025_11_16_46_6404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329444865","file1":"1329444861","file0":"1329444858","file4":"1329444874","file5":"1329444878","file3":"1329444870"},"map_files_photo_id_array":[{"photo_id":"1329444878","filename":"file5"},{"photo_id":"1329444865","filename":"file2"},{"photo_id":"1329444874","filename":"file4"},{"photo_id":"1329444861","filename":"file1"},{"photo_id":"1329444858","filename":"file0"},{"photo_id":"1329444870","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329444878":["hashtag1","hashtag2"]},{"1329444865":["hashtag1","hashtag2"]},{"1329444874":["hashtag1","hashtag2"]},{"1329444870":["hashtag1","hashtag2"]},{"1329444858":["hashtag1","hashtag2"]},{"1329444861":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329444878, 1329444865, 1329444874, 1329444870, 1329444858, 1329444861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5669379234314 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:17:02.296814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/16/image_17012025_11_16_17_6355.jpg', '/media/data/images/17012025/11/16/image_17012025_11_16_10_6370.jpg', '/media/data/images/17012025/11/15/image_17012025_11_16_04_6422.jpg', '/media/data/images/17012025/11/15/image_17012025_11_15_58_5202.jpg', '/media/data/images/17012025/11/15/image_17012025_11_15_16_6371.jpg', '/media/data/images/17012025/11/15/image_17012025_11_15_10_6409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/16/image_17012025_11_16_17_6355.jpg
/media/data/images/17012025/11/16/image_17012025_11_16_10_6370.jpg
/media/data/images/17012025/11/15/image_17012025_11_16_04_6422.jpg
/media/data/images/17012025/11/15/image_17012025_11_15_58_5202.jpg
/media/data/images/17012025/11/15/image_17012025_11_15_16_6371.jpg
/media/data/images/17012025/11/15/image_17012025_11_15_10_6409.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329444898","1329444902","1329444895","1329444907","1329444891","1329444888"],"photo_ids_order":["1329444888","1329444891","1329444895","1329444898","1329444902","1329444907"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/51b530d61a814e61e703c307d72327b1.jpg","text":"TemporaryFile(/tmp/multipartBody1788470936071611725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109085306,"filename":"image_17012025_11_15_58_5202.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6e2d7510021786ff7b0c21dacb2aaa8e.jpg","text":"TemporaryFile(/tmp/multipartBody3892672105309768585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109085306,"filename":"image_17012025_11_15_16_6371.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5aed31c7ee5104fa802ddd6a059b70c8.jpg","text":"TemporaryFile(/tmp/multipartBody6073393454403875008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109085306,"filename":"image_17012025_11_16_04_6422.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/519efd434bcd61c08c2c5a5c9f0d8b8e.jpg","text":"TemporaryFile(/tmp/multipartBody3725165150753686023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109085306,"filename":"image_17012025_11_15_10_6409.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a2dc8ee828c56ed566cea08f394ddda7.jpg","text":"TemporaryFile(/tmp/multipartBody4111376614485996369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109085306,"filename":"image_17012025_11_16_10_6370.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/372f629c37058299ea6ec226872c6aef.jpg","text":"TemporaryFile(/tmp/multipartBody4301949846700836658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109085306,"filename":"image_17012025_11_16_17_6355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329444895","file1":"1329444891","file0":"1329444888","file4":"1329444902","file5":"1329444907","file3":"1329444898"},"map_files_photo_id_array":[{"photo_id":"1329444907","filename":"file5"},{"photo_id":"1329444895","filename":"file2"},{"photo_id":"1329444902","filename":"file4"},{"photo_id":"1329444891","filename":"file1"},{"photo_id":"1329444888","filename":"file0"},{"photo_id":"1329444898","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329444898":["hashtag1","hashtag2"]},{"1329444902":["hashtag1","hashtag2"]},{"1329444895":["hashtag1","hashtag2"]},{"1329444907":["hashtag1","hashtag2"]},{"1329444891":["hashtag1","hashtag2"]},{"1329444888":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329444898, 1329444902, 1329444895, 1329444907, 1329444891, 1329444888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03642201423645 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:17:42.012736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/15/image_17012025_11_15_04_5042.jpg', '/media/data/images/17012025/11/14/image_17012025_11_14_59_6385.jpg', '/media/data/images/17012025/11/14/image_17012025_11_14_16_5304.jpg', '/media/data/images/17012025/11/14/image_17012025_11_14_11_6446.jpg', '/media/data/images/17012025/11/13/image_17012025_11_14_04_6644.jpg', '/media/data/images/17012025/11/13/image_17012025_11_13_58_5241.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/15/image_17012025_11_15_04_5042.jpg
/media/data/images/17012025/11/14/image_17012025_11_14_59_6385.jpg
/media/data/images/17012025/11/14/image_17012025_11_14_16_5304.jpg
/media/data/images/17012025/11/14/image_17012025_11_14_11_6446.jpg
/media/data/images/17012025/11/13/image_17012025_11_14_04_6644.jpg
/media/data/images/17012025/11/13/image_17012025_11_13_58_5241.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329444941","1329444923","1329444926","1329444929","1329444931","1329444936"],"photo_ids_order":["1329444923","1329444926","1329444929","1329444931","1329444936","1329444941"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7a6a1662603b94e2edfec3c07298226b.jpg","text":"TemporaryFile(/tmp/multipartBody3088992828666406573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109126452,"filename":"image_17012025_11_13_58_5241.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/feab4c35de7f732ec89b45782abdc34f.jpg","text":"TemporaryFile(/tmp/multipartBody4740804899492842096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109126452,"filename":"image_17012025_11_15_04_5042.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/107ceddea6edb91aa749f420167b2b41.jpg","text":"TemporaryFile(/tmp/multipartBody5214255194761512327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109126452,"filename":"image_17012025_11_14_59_6385.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c172723dbd82a879a516f534a42021d1.jpg","text":"TemporaryFile(/tmp/multipartBody5367000121302828981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109126452,"filename":"image_17012025_11_14_16_5304.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/430f2f3dfef4bb37119be97325de58ef.jpg","text":"TemporaryFile(/tmp/multipartBody3377863108579190692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109126452,"filename":"image_17012025_11_14_11_6446.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0ec4b8bc21bac890911de4912d36ca4e.jpg","text":"TemporaryFile(/tmp/multipartBody4363084058071825452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109126452,"filename":"image_17012025_11_14_04_6644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329444929","file1":"1329444926","file0":"1329444923","file4":"1329444936","file5":"1329444941","file3":"1329444931"},"map_files_photo_id_array":[{"photo_id":"1329444941","filename":"file5"},{"photo_id":"1329444929","filename":"file2"},{"photo_id":"1329444936","filename":"file4"},{"photo_id":"1329444926","filename":"file1"},{"photo_id":"1329444923","filename":"file0"},{"photo_id":"1329444931","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329444941":["hashtag1","hashtag2"]},{"1329444923":["hashtag1","hashtag2"]},{"1329444926":["hashtag1","hashtag2"]},{"1329444929":["hashtag1","hashtag2"]},{"1329444931":["hashtag1","hashtag2"]},{"1329444936":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329444941, 1329444923, 1329444926, 1329444929, 1329444931, 1329444936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.230592250823975 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:18:22.092873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/11/image_17012025_11_11_58_6549.jpg', '/media/data/images/17012025/11/08/image_17012025_11_08_47_6486.jpg', '/media/data/images/17012025/11/07/image_17012025_11_07_59_6519.jpg', '/media/data/images/17012025/11/06/image_17012025_11_06_04_5254.jpg', '/media/data/images/17012025/11/05/image_17012025_11_05_59_6471.jpg', '/media/data/images/17012025/11/04/image_17012025_11_04_59_6535.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/11/image_17012025_11_11_58_6549.jpg
/media/data/images/17012025/11/08/image_17012025_11_08_47_6486.jpg
/media/data/images/17012025/11/07/image_17012025_11_07_59_6519.jpg
/media/data/images/17012025/11/06/image_17012025_11_06_04_5254.jpg
/media/data/images/17012025/11/05/image_17012025_11_05_59_6471.jpg
/media/data/images/17012025/11/04/image_17012025_11_04_59_6535.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329444974","1329444962","1329444956","1329444950","1329444972","1329444966"],"photo_ids_order":["1329444950","1329444956","1329444962","1329444966","1329444972","1329444974"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/823e393aacff2599a4525af3c1c1f25e.jpg","text":"TemporaryFile(/tmp/multipartBody103834980891777869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109168770,"filename":"image_17012025_11_04_59_6535.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e9466584837a6eda573727431093e00f.jpg","text":"TemporaryFile(/tmp/multipartBody8010940859752092227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109168770,"filename":"image_17012025_11_07_59_6519.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b1c7caa6cea082a676f7846ba0046b86.jpg","text":"TemporaryFile(/tmp/multipartBody7583231885597969267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109168770,"filename":"image_17012025_11_08_47_6486.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/55d3aaff5aa05acaca7e6f20ba04e26d.jpg","text":"TemporaryFile(/tmp/multipartBody6591178164823234634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109168770,"filename":"image_17012025_11_11_58_6549.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/72453eb191f221f95c78e3253fa0b4c0.jpg","text":"TemporaryFile(/tmp/multipartBody4488102214160211722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109168770,"filename":"image_17012025_11_05_59_6471.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fd0713b213c36c3ddd9f6540fd68e7da.jpg","text":"TemporaryFile(/tmp/multipartBody5410147550860219407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109168770,"filename":"image_17012025_11_06_04_5254.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329444962","file1":"1329444956","file0":"1329444950","file4":"1329444972","file5":"1329444974","file3":"1329444966"},"map_files_photo_id_array":[{"photo_id":"1329444974","filename":"file5"},{"photo_id":"1329444962","filename":"file2"},{"photo_id":"1329444972","filename":"file4"},{"photo_id":"1329444956","filename":"file1"},{"photo_id":"1329444950","filename":"file0"},{"photo_id":"1329444966","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329444974":["hashtag1","hashtag2"]},{"1329444962":["hashtag1","hashtag2"]},{"1329444956":["hashtag1","hashtag2"]},{"1329444950":["hashtag1","hashtag2"]},{"1329444972":["hashtag1","hashtag2"]},{"1329444966":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329444974, 1329444962, 1329444956, 1329444950, 1329444972, 1329444966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.71247458457947 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:19:22.202301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/04/image_17012025_11_04_17_6445.jpg', '/media/data/images/17012025/11/04/image_17012025_11_04_10_6477.jpg', '/media/data/images/17012025/11/04/image_17012025_11_04_04_5109.jpg', '/media/data/images/17012025/11/03/image_17012025_11_03_59_6412.jpg', '/media/data/images/17012025/11/03/image_17012025_11_03_52_6246.jpg', '/media/data/images/17012025/11/03/image_17012025_11_03_46_5215.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/04/image_17012025_11_04_17_6445.jpg
/media/data/images/17012025/11/04/image_17012025_11_04_10_6477.jpg
/media/data/images/17012025/11/04/image_17012025_11_04_04_5109.jpg
/media/data/images/17012025/11/03/image_17012025_11_03_59_6412.jpg
/media/data/images/17012025/11/03/image_17012025_11_03_52_6246.jpg
/media/data/images/17012025/11/03/image_17012025_11_03_46_5215.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329445010","1329445013","1329445001","1329445020","1329445017","1329445005"],"photo_ids_order":["1329445001","1329445005","1329445010","1329445013","1329445017","1329445020"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a45deb5d2710a9c1610d23ebeb39f57d.jpg","text":"TemporaryFile(/tmp/multipartBody5309469260145689090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109228791,"filename":"image_17012025_11_04_04_5109.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3658699694490a4bfba006418bf4989b.jpg","text":"TemporaryFile(/tmp/multipartBody4299719365352188364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109228791,"filename":"image_17012025_11_03_59_6412.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/be758fcbfb4cbd835c70fe60df98e243.jpg","text":"TemporaryFile(/tmp/multipartBody4100980909062268460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109228791,"filename":"image_17012025_11_04_17_6445.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1ae43b82f8c01e7062ed4373574a00bb.jpg","text":"TemporaryFile(/tmp/multipartBody6797178384812748522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109228791,"filename":"image_17012025_11_03_46_5215.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/67230a8132979169e7c811e67607bd95.jpg","text":"TemporaryFile(/tmp/multipartBody4814003312510343317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109228791,"filename":"image_17012025_11_03_52_6246.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dc756d3902131c47278748886e9ed1be.jpg","text":"TemporaryFile(/tmp/multipartBody8041349510655250999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109228791,"filename":"image_17012025_11_04_10_6477.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329445010","file1":"1329445005","file0":"1329445001","file4":"1329445017","file5":"1329445020","file3":"1329445013"},"map_files_photo_id_array":[{"photo_id":"1329445020","filename":"file5"},{"photo_id":"1329445010","filename":"file2"},{"photo_id":"1329445017","filename":"file4"},{"photo_id":"1329445005","filename":"file1"},{"photo_id":"1329445001","filename":"file0"},{"photo_id":"1329445013","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329445010":["hashtag1","hashtag2"]},{"1329445013":["hashtag1","hashtag2"]},{"1329445001":["hashtag1","hashtag2"]},{"1329445020":["hashtag1","hashtag2"]},{"1329445017":["hashtag1","hashtag2"]},{"1329445005":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329445010, 1329445013, 1329445001, 1329445020, 1329445017, 1329445005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.8035204410553 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:20:22.317255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/03/image_17012025_11_03_05_6198.jpg', '/media/data/images/17012025/11/02/image_17012025_11_02_58_6377.jpg', '/media/data/images/17012025/11/02/image_17012025_11_02_52_5211.jpg', '/media/data/images/17012025/11/02/image_17012025_11_02_47_6464.jpg', '/media/data/images/17012025/11/02/image_17012025_11_02_40_6445.jpg', '/media/data/images/17012025/11/02/image_17012025_11_02_34_5201.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/03/image_17012025_11_03_05_6198.jpg
/media/data/images/17012025/11/02/image_17012025_11_02_58_6377.jpg
/media/data/images/17012025/11/02/image_17012025_11_02_52_5211.jpg
/media/data/images/17012025/11/02/image_17012025_11_02_47_6464.jpg
/media/data/images/17012025/11/02/image_17012025_11_02_40_6445.jpg
/media/data/images/17012025/11/02/image_17012025_11_02_34_5201.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329445061","1329445057","1329445042","1329445039","1329445053","1329445047"],"photo_ids_order":["1329445039","1329445042","1329445047","1329445053","1329445057","1329445061"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1c1c4ca8c41c5ddccc99bd0231411f84.jpg","text":"TemporaryFile(/tmp/multipartBody4724149713632266351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109286410,"filename":"image_17012025_11_02_34_5201.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/83864c55d2184545c5c561c2c133569a.jpg","text":"TemporaryFile(/tmp/multipartBody5283397023655335131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109286410,"filename":"image_17012025_11_02_40_6445.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1a82a9ccf94336cb45199723d13b5230.jpg","text":"TemporaryFile(/tmp/multipartBody2986800187714235234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109286410,"filename":"image_17012025_11_02_58_6377.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e9885ef66da0b67d756fb8df658aff41.jpg","text":"TemporaryFile(/tmp/multipartBody4615437078710340361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109286410,"filename":"image_17012025_11_03_05_6198.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/249d10e4ccceeb2fd84fc5bd6bdfdd65.jpg","text":"TemporaryFile(/tmp/multipartBody5026089287064361223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109286410,"filename":"image_17012025_11_02_47_6464.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e68c638ccc5dc29e9f2c9ac6178225fd.jpg","text":"TemporaryFile(/tmp/multipartBody3671593071249122867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109286410,"filename":"image_17012025_11_02_52_5211.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329445047","file1":"1329445042","file0":"1329445039","file4":"1329445057","file5":"1329445061","file3":"1329445053"},"map_files_photo_id_array":[{"photo_id":"1329445061","filename":"file5"},{"photo_id":"1329445047","filename":"file2"},{"photo_id":"1329445057","filename":"file4"},{"photo_id":"1329445042","filename":"file1"},{"photo_id":"1329445039","filename":"file0"},{"photo_id":"1329445053","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329445061":["hashtag1","hashtag2"]},{"1329445057":["hashtag1","hashtag2"]},{"1329445042":["hashtag1","hashtag2"]},{"1329445039":["hashtag1","hashtag2"]},{"1329445053":["hashtag1","hashtag2"]},{"1329445047":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329445061, 1329445057, 1329445042, 1329445039, 1329445053, 1329445047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71419048309326 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:21:02.963150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/19/image_17012025_11_20_04_6464.jpg', '/media/data/images/17012025/11/02/image_17012025_11_02_29_6402.jpg', '/media/data/images/17012025/11/02/image_17012025_11_02_22_6415.jpg', '/media/data/images/17012025/11/02/image_17012025_11_02_16_5180.jpg', '/media/data/images/17012025/11/02/image_17012025_11_02_11_6346.jpg', '/media/data/images/17012025/11/02/image_17012025_11_02_04_6167.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/19/image_17012025_11_20_04_6464.jpg
/media/data/images/17012025/11/02/image_17012025_11_02_29_6402.jpg
/media/data/images/17012025/11/02/image_17012025_11_02_22_6415.jpg
/media/data/images/17012025/11/02/image_17012025_11_02_16_5180.jpg
/media/data/images/17012025/11/02/image_17012025_11_02_11_6346.jpg
/media/data/images/17012025/11/02/image_17012025_11_02_04_6167.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329445082","1329445077","1329445085","1329445079","1329445088","1329445073"],"photo_ids_order":["1329445073","1329445077","1329445079","1329445082","1329445085","1329445088"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6f9dc4069290fa5ac4a3c87c06bd6b6e.jpg","text":"TemporaryFile(/tmp/multipartBody7312231791682165903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109326581,"filename":"image_17012025_11_02_16_5180.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/196b640ba88db342cb280bb5c64dc448.jpg","text":"TemporaryFile(/tmp/multipartBody359145692497831452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109326581,"filename":"image_17012025_11_02_29_6402.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6a0c90770f1833f5797c440ec1e6f619.jpg","text":"TemporaryFile(/tmp/multipartBody5425609751314618790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109326581,"filename":"image_17012025_11_02_11_6346.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6e08f1fc80acf04d9d65beaac65a750d.jpg","text":"TemporaryFile(/tmp/multipartBody6678413450300553930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109326581,"filename":"image_17012025_11_02_22_6415.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/aa2d7243ce8d73ca91d67b786f897d2f.jpg","text":"TemporaryFile(/tmp/multipartBody2627256571201635551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109326581,"filename":"image_17012025_11_02_04_6167.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5edb61abd7ead1c109ecbd37d3d42f28.jpg","text":"TemporaryFile(/tmp/multipartBody3783139657092156757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109326581,"filename":"image_17012025_11_20_04_6464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329445079","file1":"1329445077","file0":"1329445073","file4":"1329445085","file5":"1329445088","file3":"1329445082"},"map_files_photo_id_array":[{"photo_id":"1329445088","filename":"file5"},{"photo_id":"1329445079","filename":"file2"},{"photo_id":"1329445085","filename":"file4"},{"photo_id":"1329445077","filename":"file1"},{"photo_id":"1329445073","filename":"file0"},{"photo_id":"1329445082","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329445082":["hashtag1","hashtag2"]},{"1329445077":["hashtag1","hashtag2"]},{"1329445085":["hashtag1","hashtag2"]},{"1329445079":["hashtag1","hashtag2"]},{"1329445088":["hashtag1","hashtag2"]},{"1329445073":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329445082, 1329445077, 1329445085, 1329445079, 1329445088, 1329445073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.34337043762207 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:21:42.393346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/20/image_17012025_11_20_52_6436.jpg', '/media/data/images/17012025/11/20/image_17012025_11_20_46_5232.jpg', '/media/data/images/17012025/11/20/image_17012025_11_20_41_6450.jpg', '/media/data/images/17012025/11/20/image_17012025_11_20_34_6504.jpg', '/media/data/images/17012025/11/20/image_17012025_11_20_28_5208.jpg', '/media/data/images/17012025/11/20/image_17012025_11_20_23_6426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/20/image_17012025_11_20_52_6436.jpg
/media/data/images/17012025/11/20/image_17012025_11_20_46_5232.jpg
/media/data/images/17012025/11/20/image_17012025_11_20_41_6450.jpg
/media/data/images/17012025/11/20/image_17012025_11_20_34_6504.jpg
/media/data/images/17012025/11/20/image_17012025_11_20_28_5208.jpg
/media/data/images/17012025/11/20/image_17012025_11_20_23_6426.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329445103","1329445112","1329445096","1329445099","1329445107","1329445116"],"photo_ids_order":["1329445096","1329445099","1329445103","1329445107","1329445112","1329445116"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/97cd247acd42ec3e3b29ba5debf68b40.jpg","text":"TemporaryFile(/tmp/multipartBody3511908125950388514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109366852,"filename":"image_17012025_11_20_41_6450.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0fd120accc5c6914dd4c1c42c32cc4f8.jpg","text":"TemporaryFile(/tmp/multipartBody391934224575343410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109366852,"filename":"image_17012025_11_20_28_5208.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/358a137bc4d5bfae115534b204925426.jpg","text":"TemporaryFile(/tmp/multipartBody5667229860443459667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109366852,"filename":"image_17012025_11_20_52_6436.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/864eb6063d7c90e2ee985c5aa4f52445.jpg","text":"TemporaryFile(/tmp/multipartBody3629077964942811827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109366852,"filename":"image_17012025_11_20_46_5232.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c843d84fdd524fb3505b6a79bad76e1a.jpg","text":"TemporaryFile(/tmp/multipartBody3749954038927133329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109366852,"filename":"image_17012025_11_20_34_6504.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d344f7ec329f23e94c25c52b928539d6.jpg","text":"TemporaryFile(/tmp/multipartBody9174356461056359048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109366852,"filename":"image_17012025_11_20_23_6426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329445103","file1":"1329445099","file0":"1329445096","file4":"1329445112","file5":"1329445116","file3":"1329445107"},"map_files_photo_id_array":[{"photo_id":"1329445116","filename":"file5"},{"photo_id":"1329445103","filename":"file2"},{"photo_id":"1329445112","filename":"file4"},{"photo_id":"1329445099","filename":"file1"},{"photo_id":"1329445096","filename":"file0"},{"photo_id":"1329445107","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329445103":["hashtag1","hashtag2"]},{"1329445112":["hashtag1","hashtag2"]},{"1329445096":["hashtag1","hashtag2"]},{"1329445099":["hashtag1","hashtag2"]},{"1329445107":["hashtag1","hashtag2"]},{"1329445116":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329445103, 1329445112, 1329445096, 1329445099, 1329445107, 1329445116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59438967704773 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:22:22.553311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/22/image_17012025_11_22_52_6376.jpg', '/media/data/images/17012025/11/22/image_17012025_11_22_46_5159.jpg', '/media/data/images/17012025/11/22/image_17012025_11_22_41_6428.jpg', '/media/data/images/17012025/11/22/image_17012025_11_22_34_6423.jpg', '/media/data/images/17012025/11/22/image_17012025_11_22_28_5143.jpg', '/media/data/images/17012025/11/22/image_17012025_11_22_23_6421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/22/image_17012025_11_22_52_6376.jpg
/media/data/images/17012025/11/22/image_17012025_11_22_46_5159.jpg
/media/data/images/17012025/11/22/image_17012025_11_22_41_6428.jpg
/media/data/images/17012025/11/22/image_17012025_11_22_34_6423.jpg
/media/data/images/17012025/11/22/image_17012025_11_22_28_5143.jpg
/media/data/images/17012025/11/22/image_17012025_11_22_23_6421.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329445148","1329445139","1329445130","1329445127","1329445143","1329445134"],"photo_ids_order":["1329445127","1329445130","1329445134","1329445139","1329445143","1329445148"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/59fdcbf8af6d66303cf320098442cbb8.jpg","text":"TemporaryFile(/tmp/multipartBody1878935666289850306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109405953,"filename":"image_17012025_11_22_23_6421.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/75ba3b0fe086aaff1378703f6c1b1334.jpg","text":"TemporaryFile(/tmp/multipartBody7758799211907118726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109405953,"filename":"image_17012025_11_22_34_6423.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d0b52926a82d857000280ba241eb3c69.jpg","text":"TemporaryFile(/tmp/multipartBody6561767885655794831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109405953,"filename":"image_17012025_11_22_46_5159.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/aa29e2a3b162ba655f21b127cf32103b.jpg","text":"TemporaryFile(/tmp/multipartBody69628782819824547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109405953,"filename":"image_17012025_11_22_52_6376.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/058a81c9173eceefb475714517ee1133.jpg","text":"TemporaryFile(/tmp/multipartBody8938228436357559022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109405953,"filename":"image_17012025_11_22_28_5143.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/403dd6e7cd43379f2da393379be9fe65.jpg","text":"TemporaryFile(/tmp/multipartBody4080132789409041984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109405953,"filename":"image_17012025_11_22_41_6428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329445134","file1":"1329445130","file0":"1329445127","file4":"1329445143","file5":"1329445148","file3":"1329445139"},"map_files_photo_id_array":[{"photo_id":"1329445148","filename":"file5"},{"photo_id":"1329445134","filename":"file2"},{"photo_id":"1329445143","filename":"file4"},{"photo_id":"1329445130","filename":"file1"},{"photo_id":"1329445127","filename":"file0"},{"photo_id":"1329445139","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329445148":["hashtag1","hashtag2"]},{"1329445139":["hashtag1","hashtag2"]},{"1329445130":["hashtag1","hashtag2"]},{"1329445127":["hashtag1","hashtag2"]},{"1329445143":["hashtag1","hashtag2"]},{"1329445134":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329445148, 1329445139, 1329445130, 1329445127, 1329445143, 1329445134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.15298247337341 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:23:02.720649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/22/image_17012025_11_22_16_6461.jpg', '/media/data/images/17012025/11/22/image_17012025_11_22_10_5247.jpg', '/media/data/images/17012025/11/21/image_17012025_11_22_04_6574.jpg', '/media/data/images/17012025/11/21/image_17012025_11_21_58_5172.jpg', '/media/data/images/17012025/11/21/image_17012025_11_21_53_6446.jpg', '/media/data/images/17012025/11/21/image_17012025_11_21_46_6440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/22/image_17012025_11_22_16_6461.jpg
/media/data/images/17012025/11/22/image_17012025_11_22_10_5247.jpg
/media/data/images/17012025/11/21/image_17012025_11_22_04_6574.jpg
/media/data/images/17012025/11/21/image_17012025_11_21_58_5172.jpg
/media/data/images/17012025/11/21/image_17012025_11_21_53_6446.jpg
/media/data/images/17012025/11/21/image_17012025_11_21_46_6440.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329445167","1329445176","1329445161","1329445164","1329445158","1329445172"],"photo_ids_order":["1329445158","1329445161","1329445164","1329445167","1329445172","1329445176"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5fe97d005c73469b66d91f89ce7c1118.jpg","text":"TemporaryFile(/tmp/multipartBody393019896434222601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109447560,"filename":"image_17012025_11_21_58_5172.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2bdc91806aa80b6ab0e80ecafade84d1.jpg","text":"TemporaryFile(/tmp/multipartBody596668705552287937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109447560,"filename":"image_17012025_11_21_46_6440.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3fbb7ebba798f2dcc06d9358fb49b473.jpg","text":"TemporaryFile(/tmp/multipartBody5961971129849914511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109447560,"filename":"image_17012025_11_22_10_5247.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/643e615305216e17960054827fbd07b8.jpg","text":"TemporaryFile(/tmp/multipartBody8665297700397698826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109447560,"filename":"image_17012025_11_22_04_6574.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8a6b00b8816f41494a94937136fa1251.jpg","text":"TemporaryFile(/tmp/multipartBody7819965180664938190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109447560,"filename":"image_17012025_11_22_16_6461.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2c970b4fa354c4f495d413def965d30d.jpg","text":"TemporaryFile(/tmp/multipartBody7133988799610896051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109447560,"filename":"image_17012025_11_21_53_6446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329445164","file1":"1329445161","file0":"1329445158","file4":"1329445172","file5":"1329445176","file3":"1329445167"},"map_files_photo_id_array":[{"photo_id":"1329445176","filename":"file5"},{"photo_id":"1329445164","filename":"file2"},{"photo_id":"1329445172","filename":"file4"},{"photo_id":"1329445161","filename":"file1"},{"photo_id":"1329445158","filename":"file0"},{"photo_id":"1329445167","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329445167":["hashtag1","hashtag2"]},{"1329445176":["hashtag1","hashtag2"]},{"1329445161":["hashtag1","hashtag2"]},{"1329445164":["hashtag1","hashtag2"]},{"1329445158":["hashtag1","hashtag2"]},{"1329445172":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329445167, 1329445176, 1329445161, 1329445164, 1329445158, 1329445172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.31525135040283 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:23:42.581988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/21/image_17012025_11_21_40_5203.jpg', '/media/data/images/17012025/11/21/image_17012025_11_21_35_6417.jpg', '/media/data/images/17012025/11/21/image_17012025_11_21_28_6418.jpg', '/media/data/images/17012025/11/21/image_17012025_11_21_22_5184.jpg', '/media/data/images/17012025/11/21/image_17012025_11_21_17_6376.jpg', '/media/data/images/17012025/11/21/image_17012025_11_21_10_6343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/21/image_17012025_11_21_40_5203.jpg
/media/data/images/17012025/11/21/image_17012025_11_21_35_6417.jpg
/media/data/images/17012025/11/21/image_17012025_11_21_28_6418.jpg
/media/data/images/17012025/11/21/image_17012025_11_21_22_5184.jpg
/media/data/images/17012025/11/21/image_17012025_11_21_17_6376.jpg
/media/data/images/17012025/11/21/image_17012025_11_21_10_6343.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.263336181640625 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 11:24:02.974239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/21/image_17012025_11_21_40_5203.jpg', '/media/data/images/17012025/11/21/image_17012025_11_21_35_6417.jpg', '/media/data/images/17012025/11/21/image_17012025_11_21_28_6418.jpg', '/media/data/images/17012025/11/21/image_17012025_11_21_22_5184.jpg', '/media/data/images/17012025/11/21/image_17012025_11_21_17_6376.jpg', '/media/data/images/17012025/11/21/image_17012025_11_21_10_6343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/21/image_17012025_11_21_40_5203.jpg
/media/data/images/17012025/11/21/image_17012025_11_21_35_6417.jpg
/media/data/images/17012025/11/21/image_17012025_11_21_28_6418.jpg
/media/data/images/17012025/11/21/image_17012025_11_21_22_5184.jpg
/media/data/images/17012025/11/21/image_17012025_11_21_17_6376.jpg
/media/data/images/17012025/11/21/image_17012025_11_21_10_6343.jpg
2025-01-17 11:24:03.061579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/21/image_17012025_11_21_40_5203.jpg', '/media/data/images/17012025/11/21/image_17012025_11_21_35_6417.jpg', '/media/data/images/17012025/11/21/image_17012025_11_21_28_6418.jpg', '/media/data/images/17012025/11/21/image_17012025_11_21_22_5184.jpg', '/media/data/images/17012025/11/21/image_17012025_11_21_17_6376.jpg', '/media/data/images/17012025/11/21/image_17012025_11_21_10_6343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/21/image_17012025_11_21_40_5203.jpg
/media/data/images/17012025/11/21/image_17012025_11_21_35_6417.jpg
/media/data/images/17012025/11/21/image_17012025_11_21_28_6418.jpg
/media/data/images/17012025/11/21/image_17012025_11_21_22_5184.jpg
/media/data/images/17012025/11/21/image_17012025_11_21_17_6376.jpg
/media/data/images/17012025/11/21/image_17012025_11_21_10_6343.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329445220","1329445226","1329445208","1329445213","1329445210","1329445233"],"photo_ids_order":["1329445208","1329445210","1329445213","1329445220","1329445226","1329445233"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2958f7e0439e90819fb26bcdd5590032.jpg","text":"TemporaryFile(/tmp/multipartBody4852107695370925480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109509658,"filename":"image_17012025_11_21_22_5184.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/02aadcc60f5204f2971d9868f5452b52.jpg","text":"TemporaryFile(/tmp/multipartBody263290079320919940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109509658,"filename":"image_17012025_11_21_17_6376.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/805ef90b0db5efa08018ce516fd5a22d.jpg","text":"TemporaryFile(/tmp/multipartBody1605456442454396013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109509658,"filename":"image_17012025_11_21_40_5203.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/803d3107256ef9f25d2372ae174729cd.jpg","text":"TemporaryFile(/tmp/multipartBody646796112209435468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109509658,"filename":"image_17012025_11_21_28_6418.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/663cdd831de49a8f9ee54cdf9261027b.jpg","text":"TemporaryFile(/tmp/multipartBody1834273271416413329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109509658,"filename":"image_17012025_11_21_35_6417.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/995c2b604dcda0b75b7a6fd9cbde2a14.jpg","text":"TemporaryFile(/tmp/multipartBody6153906832209498314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109509658,"filename":"image_17012025_11_21_10_6343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329445213","file1":"1329445210","file0":"1329445208","file4":"1329445226","file5":"1329445233","file3":"1329445220"},"map_files_photo_id_array":[{"photo_id":"1329445233","filename":"file5"},{"photo_id":"1329445213","filename":"file2"},{"photo_id":"1329445226","filename":"file4"},{"photo_id":"1329445210","filename":"file1"},{"photo_id":"1329445208","filename":"file0"},{"photo_id":"1329445220","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329445220":["hashtag1","hashtag2"]},{"1329445226":["hashtag1","hashtag2"]},{"1329445208":["hashtag1","hashtag2"]},{"1329445213":["hashtag1","hashtag2"]},{"1329445210":["hashtag1","hashtag2"]},{"1329445233":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329445220, 1329445226, 1329445208, 1329445213, 1329445210, 1329445233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.31622934341431 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329445234","1329445228","1329445207","1329445212","1329445221","1329445215"],"photo_ids_order":["1329445207","1329445212","1329445215","1329445221","1329445228","1329445234"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9a5bcfd5a933e7bd48c79e7ac5a403f2.jpg","text":"TemporaryFile(/tmp/multipartBody7756481417342063085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109508951,"filename":"image_17012025_11_21_10_6343.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f34c1b4b26dd96a9d4144b28f9fe8c9f.jpg","text":"TemporaryFile(/tmp/multipartBody8392906005541640516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109508951,"filename":"image_17012025_11_21_17_6376.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/238a1cd30cb61a8b1d78c04a2193d82b.jpg","text":"TemporaryFile(/tmp/multipartBody30854632751162597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109508951,"filename":"image_17012025_11_21_40_5203.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d15823bc0871acab3ad59ee1fcdc9872.jpg","text":"TemporaryFile(/tmp/multipartBody5331902079037484593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109508951,"filename":"image_17012025_11_21_35_6417.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7d1ec3a697cc5f6ccd86faf8b97f9de8.jpg","text":"TemporaryFile(/tmp/multipartBody6607739599265566552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109508951,"filename":"image_17012025_11_21_22_5184.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ec94b8baf660a61be626ad5510d18d79.jpg","text":"TemporaryFile(/tmp/multipartBody7632117323108945154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109508951,"filename":"image_17012025_11_21_28_6418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329445215","file1":"1329445212","file0":"1329445207","file4":"1329445228","file5":"1329445234","file3":"1329445221"},"map_files_photo_id_array":[{"photo_id":"1329445234","filename":"file5"},{"photo_id":"1329445215","filename":"file2"},{"photo_id":"1329445228","filename":"file4"},{"photo_id":"1329445212","filename":"file1"},{"photo_id":"1329445207","filename":"file0"},{"photo_id":"1329445221","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329445234":["hashtag1","hashtag2"]},{"1329445228":["hashtag1","hashtag2"]},{"1329445207":["hashtag1","hashtag2"]},{"1329445212":["hashtag1","hashtag2"]},{"1329445221":["hashtag1","hashtag2"]},{"1329445215":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329445234, 1329445228, 1329445207, 1329445212, 1329445221, 1329445215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.61964988708496 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:25:02.105611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/21/image_17012025_11_21_04_5011.jpg', '/media/data/images/17012025/11/20/image_17012025_11_20_59_6451.jpg', '/media/data/images/17012025/11/20/image_17012025_11_20_16_6447.jpg', '/media/data/images/17012025/11/20/image_17012025_11_20_10_5235.jpg', '/media/data/images/17012025/11/19/image_17012025_11_19_58_5256.jpg', '/media/data/images/17012025/11/19/image_17012025_11_19_53_6493.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/21/image_17012025_11_21_04_5011.jpg
/media/data/images/17012025/11/20/image_17012025_11_20_59_6451.jpg
/media/data/images/17012025/11/20/image_17012025_11_20_16_6447.jpg
/media/data/images/17012025/11/20/image_17012025_11_20_10_5235.jpg
/media/data/images/17012025/11/19/image_17012025_11_19_58_5256.jpg
/media/data/images/17012025/11/19/image_17012025_11_19_53_6493.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329445268","1329445260","1329445254","1329445263","1329445257","1329445271"],"photo_ids_order":["1329445254","1329445257","1329445260","1329445263","1329445268","1329445271"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/50ea1bcbe3b014696fcf1a6b6a93724f.jpg","text":"TemporaryFile(/tmp/multipartBody857869453466232053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109566858,"filename":"image_17012025_11_19_58_5256.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0e76f3d753eeb5c5d4ca2521d1e7bd58.jpg","text":"TemporaryFile(/tmp/multipartBody4651259396921641695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109566858,"filename":"image_17012025_11_20_16_6447.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/760d6b14961fa7c2a3758af9a6c866df.jpg","text":"TemporaryFile(/tmp/multipartBody5348618290096302549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109566858,"filename":"image_17012025_11_21_04_5011.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b7e47a5aced8403751a7fa78970ae4c5.jpg","text":"TemporaryFile(/tmp/multipartBody6034696216785929521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109566858,"filename":"image_17012025_11_20_10_5235.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6c2ff96cd3f6f64622c45634d154b40d.jpg","text":"TemporaryFile(/tmp/multipartBody2746064081982364986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109566858,"filename":"image_17012025_11_20_59_6451.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/db234165019e99c9fe7248475d00a751.jpg","text":"TemporaryFile(/tmp/multipartBody2780918228617626485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109566858,"filename":"image_17012025_11_19_53_6493.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329445260","file1":"1329445257","file0":"1329445254","file4":"1329445268","file5":"1329445271","file3":"1329445263"},"map_files_photo_id_array":[{"photo_id":"1329445271","filename":"file5"},{"photo_id":"1329445260","filename":"file2"},{"photo_id":"1329445268","filename":"file4"},{"photo_id":"1329445257","filename":"file1"},{"photo_id":"1329445254","filename":"file0"},{"photo_id":"1329445263","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329445268":["hashtag1","hashtag2"]},{"1329445260":["hashtag1","hashtag2"]},{"1329445254":["hashtag1","hashtag2"]},{"1329445263":["hashtag1","hashtag2"]},{"1329445257":["hashtag1","hashtag2"]},{"1329445271":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329445268, 1329445260, 1329445254, 1329445263, 1329445257, 1329445271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.479902029037476 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:25:41.783223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/19/image_17012025_11_19_46_6458.jpg', '/media/data/images/17012025/11/19/image_17012025_11_19_40_5236.jpg', '/media/data/images/17012025/11/19/image_17012025_11_19_35_6472.jpg', '/media/data/images/17012025/11/19/image_17012025_11_19_28_5263.jpg', '/media/data/images/17012025/11/19/image_17012025_11_19_23_6529.jpg', '/media/data/images/17012025/11/19/image_17012025_11_19_16_6478.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/19/image_17012025_11_19_46_6458.jpg
/media/data/images/17012025/11/19/image_17012025_11_19_40_5236.jpg
/media/data/images/17012025/11/19/image_17012025_11_19_35_6472.jpg
/media/data/images/17012025/11/19/image_17012025_11_19_28_5263.jpg
/media/data/images/17012025/11/19/image_17012025_11_19_23_6529.jpg
/media/data/images/17012025/11/19/image_17012025_11_19_16_6478.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329445285","1329445299","1329445290","1329445295","1329445302","1329445292"],"photo_ids_order":["1329445285","1329445290","1329445292","1329445295","1329445299","1329445302"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/745e53aa76a70fa31fbc6b0bb8e6ddaf.jpg","text":"TemporaryFile(/tmp/multipartBody8326594961346372971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109606643,"filename":"image_17012025_11_19_46_6458.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/641cb4b2291ea21dd0ff4ba83fb4957b.jpg","text":"TemporaryFile(/tmp/multipartBody8611293216942353752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109606643,"filename":"image_17012025_11_19_23_6529.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/20f9781daa5315ab2dad2043fed23054.jpg","text":"TemporaryFile(/tmp/multipartBody2252074590288773330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109606643,"filename":"image_17012025_11_19_40_5236.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d9494a0a6c61abffc70650904310d1e8.jpg","text":"TemporaryFile(/tmp/multipartBody235858334710881149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109606643,"filename":"image_17012025_11_19_28_5263.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d1ba00b1e051f4b0d8471a125c936c57.jpg","text":"TemporaryFile(/tmp/multipartBody606856052952065412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109606643,"filename":"image_17012025_11_19_16_6478.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e59f776f628f17132a4c0342843cc564.jpg","text":"TemporaryFile(/tmp/multipartBody6035663248584468893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109606643,"filename":"image_17012025_11_19_35_6472.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329445292","file1":"1329445290","file0":"1329445285","file4":"1329445299","file5":"1329445302","file3":"1329445295"},"map_files_photo_id_array":[{"photo_id":"1329445302","filename":"file5"},{"photo_id":"1329445292","filename":"file2"},{"photo_id":"1329445299","filename":"file4"},{"photo_id":"1329445290","filename":"file1"},{"photo_id":"1329445285","filename":"file0"},{"photo_id":"1329445295","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329445285":["hashtag1","hashtag2"]},{"1329445299":["hashtag1","hashtag2"]},{"1329445290":["hashtag1","hashtag2"]},{"1329445295":["hashtag1","hashtag2"]},{"1329445302":["hashtag1","hashtag2"]},{"1329445292":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329445285, 1329445299, 1329445290, 1329445295, 1329445302, 1329445292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.624927282333374 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:26:21.852007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/19/image_17012025_11_19_10_5286.jpg', '/media/data/images/17012025/11/19/image_17012025_11_19_05_6276.jpg', '/media/data/images/17012025/11/18/image_17012025_11_18_58_6495.jpg', '/media/data/images/17012025/11/18/image_17012025_11_18_52_5304.jpg', '/media/data/images/17012025/11/18/image_17012025_11_18_46_6521.jpg', '/media/data/images/17012025/11/18/image_17012025_11_18_40_5290.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/19/image_17012025_11_19_10_5286.jpg
/media/data/images/17012025/11/19/image_17012025_11_19_05_6276.jpg
/media/data/images/17012025/11/18/image_17012025_11_18_58_6495.jpg
/media/data/images/17012025/11/18/image_17012025_11_18_52_5304.jpg
/media/data/images/17012025/11/18/image_17012025_11_18_46_6521.jpg
/media/data/images/17012025/11/18/image_17012025_11_18_40_5290.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329445328","1329445335","1329445323","1329445317","1329445332","1329445311"],"photo_ids_order":["1329445311","1329445317","1329445323","1329445328","1329445332","1329445335"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b22d022730f521b691792fed7cd283eb.jpg","text":"TemporaryFile(/tmp/multipartBody9103217560150338362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109647658,"filename":"image_17012025_11_18_52_5304.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b377750995b1d79b62afe0507b7fad26.jpg","text":"TemporaryFile(/tmp/multipartBody814528397796648444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109647658,"filename":"image_17012025_11_18_40_5290.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0dc99270cc9788284557d1852bd365ac.jpg","text":"TemporaryFile(/tmp/multipartBody3796657735954864083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109647658,"filename":"image_17012025_11_18_58_6495.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fed0427f15832de2350e8fd22780ba23.jpg","text":"TemporaryFile(/tmp/multipartBody1217513239020564732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109647658,"filename":"image_17012025_11_19_05_6276.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c5a76b306dbae1bc880c8a2d2fd43e8c.jpg","text":"TemporaryFile(/tmp/multipartBody773140113394427563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109647658,"filename":"image_17012025_11_18_46_6521.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/15b542b5d4b3ae6f856dd5aba3bbea1f.jpg","text":"TemporaryFile(/tmp/multipartBody1936032642686531463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109647658,"filename":"image_17012025_11_19_10_5286.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329445323","file1":"1329445317","file0":"1329445311","file4":"1329445332","file5":"1329445335","file3":"1329445328"},"map_files_photo_id_array":[{"photo_id":"1329445335","filename":"file5"},{"photo_id":"1329445323","filename":"file2"},{"photo_id":"1329445332","filename":"file4"},{"photo_id":"1329445317","filename":"file1"},{"photo_id":"1329445311","filename":"file0"},{"photo_id":"1329445328","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329445328":["hashtag1","hashtag2"]},{"1329445335":["hashtag1","hashtag2"]},{"1329445323":["hashtag1","hashtag2"]},{"1329445317":["hashtag1","hashtag2"]},{"1329445332":["hashtag1","hashtag2"]},{"1329445311":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329445328, 1329445335, 1329445323, 1329445317, 1329445332, 1329445311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.70207762718201 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:27:21.956217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/18/image_17012025_11_18_35_6509.jpg', '/media/data/images/17012025/11/18/image_17012025_11_18_28_5307.jpg', '/media/data/images/17012025/11/18/image_17012025_11_18_23_6526.jpg', '/media/data/images/17012025/11/18/image_17012025_11_18_16_6541.jpg', '/media/data/images/17012025/11/18/image_17012025_11_18_10_5289.jpg', '/media/data/images/17012025/11/17/image_17012025_11_18_04_6536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/18/image_17012025_11_18_35_6509.jpg
/media/data/images/17012025/11/18/image_17012025_11_18_28_5307.jpg
/media/data/images/17012025/11/18/image_17012025_11_18_23_6526.jpg
/media/data/images/17012025/11/18/image_17012025_11_18_16_6541.jpg
/media/data/images/17012025/11/18/image_17012025_11_18_10_5289.jpg
/media/data/images/17012025/11/17/image_17012025_11_18_04_6536.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329445360","1329445365","1329445374","1329445368","1329445370","1329445358"],"photo_ids_order":["1329445358","1329445360","1329445365","1329445368","1329445370","1329445374"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a2387aa80402a0890af4f425a1fc0f6f.jpg","text":"TemporaryFile(/tmp/multipartBody4507451159874887710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109707242,"filename":"image_17012025_11_18_28_5307.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e6f8d798f2d187c267395c5fc6680e9c.jpg","text":"TemporaryFile(/tmp/multipartBody7453116704633665218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109707242,"filename":"image_17012025_11_18_23_6526.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f6b733579dc4577df1e9c7c58bc59a32.jpg","text":"TemporaryFile(/tmp/multipartBody732029372567022187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109707242,"filename":"image_17012025_11_18_04_6536.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6dd6873bbab04c1d251e50d773e7a30c.jpg","text":"TemporaryFile(/tmp/multipartBody95613118022599107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109707242,"filename":"image_17012025_11_18_16_6541.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0c3bb9994222cd11d9c7a9f908b866f4.jpg","text":"TemporaryFile(/tmp/multipartBody33679030070384627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109707242,"filename":"image_17012025_11_18_10_5289.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/41763c18ef0aec9730bc0bfd3a7e90b7.jpg","text":"TemporaryFile(/tmp/multipartBody3511534410436760724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109707242,"filename":"image_17012025_11_18_35_6509.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329445365","file1":"1329445360","file0":"1329445358","file4":"1329445370","file5":"1329445374","file3":"1329445368"},"map_files_photo_id_array":[{"photo_id":"1329445374","filename":"file5"},{"photo_id":"1329445365","filename":"file2"},{"photo_id":"1329445370","filename":"file4"},{"photo_id":"1329445360","filename":"file1"},{"photo_id":"1329445358","filename":"file0"},{"photo_id":"1329445368","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329445360":["hashtag1","hashtag2"]},{"1329445365":["hashtag1","hashtag2"]},{"1329445374":["hashtag1","hashtag2"]},{"1329445368":["hashtag1","hashtag2"]},{"1329445370":["hashtag1","hashtag2"]},{"1329445358":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329445360, 1329445365, 1329445374, 1329445368, 1329445370, 1329445358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.23274874687195 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:28:02.130762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/17/image_17012025_11_17_58_5311.jpg', '/media/data/images/17012025/11/17/image_17012025_11_17_53_6513.jpg', '/media/data/images/17012025/11/17/image_17012025_11_17_46_5245.jpg', '/media/data/images/17012025/11/17/image_17012025_11_17_41_6461.jpg', '/media/data/images/17012025/11/17/image_17012025_11_17_34_6468.jpg', '/media/data/images/17012025/11/17/image_17012025_11_17_28_5255.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/17/image_17012025_11_17_58_5311.jpg
/media/data/images/17012025/11/17/image_17012025_11_17_53_6513.jpg
/media/data/images/17012025/11/17/image_17012025_11_17_46_5245.jpg
/media/data/images/17012025/11/17/image_17012025_11_17_41_6461.jpg
/media/data/images/17012025/11/17/image_17012025_11_17_34_6468.jpg
/media/data/images/17012025/11/17/image_17012025_11_17_28_5255.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329445388","1329445400","1329445393","1329445398","1329445395","1329445394"],"photo_ids_order":["1329445388","1329445393","1329445394","1329445395","1329445398","1329445400"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4929bc34a20b6e31a348c8f06f115dc8.jpg","text":"TemporaryFile(/tmp/multipartBody4303140375200570911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109747105,"filename":"image_17012025_11_17_58_5311.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/448d73221576f5d5804dba9d0a4ff316.jpg","text":"TemporaryFile(/tmp/multipartBody7336453248492179041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109747105,"filename":"image_17012025_11_17_28_5255.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4e9147a08be44aa43b4a7fdaa2d2b1bc.jpg","text":"TemporaryFile(/tmp/multipartBody2931624506815234147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109747105,"filename":"image_17012025_11_17_53_6513.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/52be96d3dc5bbe6cd9b4a6e6bd09c278.jpg","text":"TemporaryFile(/tmp/multipartBody6543249101375393858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109747105,"filename":"image_17012025_11_17_34_6468.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/02785c7dcb70946c87e6d4425bda8262.jpg","text":"TemporaryFile(/tmp/multipartBody461325495953795348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109747105,"filename":"image_17012025_11_17_41_6461.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a777bdc8c1cab0efd0aa7df85d8837a8.jpg","text":"TemporaryFile(/tmp/multipartBody2042500299019393719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109747105,"filename":"image_17012025_11_17_46_5245.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329445394","file1":"1329445393","file0":"1329445388","file4":"1329445398","file5":"1329445400","file3":"1329445395"},"map_files_photo_id_array":[{"photo_id":"1329445400","filename":"file5"},{"photo_id":"1329445394","filename":"file2"},{"photo_id":"1329445398","filename":"file4"},{"photo_id":"1329445393","filename":"file1"},{"photo_id":"1329445388","filename":"file0"},{"photo_id":"1329445395","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329445388":["hashtag1","hashtag2"]},{"1329445400":["hashtag1","hashtag2"]},{"1329445393":["hashtag1","hashtag2"]},{"1329445398":["hashtag1","hashtag2"]},{"1329445395":["hashtag1","hashtag2"]},{"1329445394":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329445388, 1329445400, 1329445393, 1329445398, 1329445395, 1329445394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.451225996017456 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:28:42.027535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/17/image_17012025_11_17_23_6446.jpg', '/media/data/images/17012025/11/17/image_17012025_11_17_16_6442.jpg', '/media/data/images/17012025/11/17/image_17012025_11_17_10_5268.jpg', '/media/data/images/17012025/11/16/image_17012025_11_17_05_6475.jpg', '/media/data/images/17012025/11/16/image_17012025_11_16_58_5200.jpg', '/media/data/images/17012025/11/01/image_17012025_11_01_58_6342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/17/image_17012025_11_17_23_6446.jpg
/media/data/images/17012025/11/17/image_17012025_11_17_16_6442.jpg
/media/data/images/17012025/11/17/image_17012025_11_17_10_5268.jpg
/media/data/images/17012025/11/16/image_17012025_11_17_05_6475.jpg
/media/data/images/17012025/11/16/image_17012025_11_16_58_5200.jpg
/media/data/images/17012025/11/01/image_17012025_11_01_58_6342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329445436","1329445418","1329445426","1329445414","1329445422","1329445431"],"photo_ids_order":["1329445414","1329445418","1329445422","1329445426","1329445431","1329445436"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f4a3ae96d38a1c0c22f6a7df164e07fe.jpg","text":"TemporaryFile(/tmp/multipartBody6778184707768775095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109786768,"filename":"image_17012025_11_01_58_6342.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d06160028bda79ab2f09586cde4556fd.jpg","text":"TemporaryFile(/tmp/multipartBody7979662886642864722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109786768,"filename":"image_17012025_11_17_16_6442.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/528b4ceb7d7371c772a6745c3c650c1b.jpg","text":"TemporaryFile(/tmp/multipartBody2241407070313767991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109786768,"filename":"image_17012025_11_17_05_6475.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d7c2c74c7989529554433bd9ef75ee89.jpg","text":"TemporaryFile(/tmp/multipartBody4034920366650487456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109786768,"filename":"image_17012025_11_17_23_6446.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/783d61ec390a69c1c93bbee764869d20.jpg","text":"TemporaryFile(/tmp/multipartBody3968788274040167800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109786768,"filename":"image_17012025_11_17_10_5268.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e053dc3868267b338bfefb702022b434.jpg","text":"TemporaryFile(/tmp/multipartBody8734532697862146891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109786768,"filename":"image_17012025_11_16_58_5200.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329445422","file1":"1329445418","file0":"1329445414","file4":"1329445431","file5":"1329445436","file3":"1329445426"},"map_files_photo_id_array":[{"photo_id":"1329445436","filename":"file5"},{"photo_id":"1329445422","filename":"file2"},{"photo_id":"1329445431","filename":"file4"},{"photo_id":"1329445418","filename":"file1"},{"photo_id":"1329445414","filename":"file0"},{"photo_id":"1329445426","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329445436":["hashtag1","hashtag2"]},{"1329445418":["hashtag1","hashtag2"]},{"1329445426":["hashtag1","hashtag2"]},{"1329445414":["hashtag1","hashtag2"]},{"1329445422":["hashtag1","hashtag2"]},{"1329445431":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329445436, 1329445418, 1329445426, 1329445414, 1329445422, 1329445431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.42711353302002 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:29:22.112770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/01/image_17012025_11_01_52_5159.jpg', '/media/data/images/17012025/11/01/image_17012025_11_01_47_6422.jpg', '/media/data/images/17012025/11/01/image_17012025_11_01_40_6447.jpg', '/media/data/images/17012025/11/01/image_17012025_11_01_34_5233.jpg', '/media/data/images/17012025/11/01/image_17012025_11_01_29_6428.jpg', '/media/data/images/17012025/11/01/image_17012025_11_01_22_6444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/01/image_17012025_11_01_52_5159.jpg
/media/data/images/17012025/11/01/image_17012025_11_01_47_6422.jpg
/media/data/images/17012025/11/01/image_17012025_11_01_40_6447.jpg
/media/data/images/17012025/11/01/image_17012025_11_01_34_5233.jpg
/media/data/images/17012025/11/01/image_17012025_11_01_29_6428.jpg
/media/data/images/17012025/11/01/image_17012025_11_01_22_6444.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329445453","1329445462","1329445459","1329445446","1329445449","1329445443"],"photo_ids_order":["1329445443","1329445446","1329445449","1329445453","1329445459","1329445462"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2985a90dd4af497f5529ec920a515f66.jpg","text":"TemporaryFile(/tmp/multipartBody6177720316722953615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109825954,"filename":"image_17012025_11_01_34_5233.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8a02805ce3b530c26f9f50bb55a264dd.jpg","text":"TemporaryFile(/tmp/multipartBody584869780798476799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109825954,"filename":"image_17012025_11_01_22_6444.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d9a52abe53161f6e52023c003b260a8c.jpg","text":"TemporaryFile(/tmp/multipartBody5422526276113101244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109825954,"filename":"image_17012025_11_01_29_6428.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f70f09c4e4c18faae2a5eb2b58fc6478.jpg","text":"TemporaryFile(/tmp/multipartBody6972064690971101312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109825954,"filename":"image_17012025_11_01_47_6422.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d717d995be01360bdde215135dbcc5de.jpg","text":"TemporaryFile(/tmp/multipartBody5834801223153920659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109825954,"filename":"image_17012025_11_01_40_6447.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dce92ea25ccd9e2e17b4a3f97d289118.jpg","text":"TemporaryFile(/tmp/multipartBody8833666971229598948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109825954,"filename":"image_17012025_11_01_52_5159.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329445449","file1":"1329445446","file0":"1329445443","file4":"1329445459","file5":"1329445462","file3":"1329445453"},"map_files_photo_id_array":[{"photo_id":"1329445462","filename":"file5"},{"photo_id":"1329445449","filename":"file2"},{"photo_id":"1329445459","filename":"file4"},{"photo_id":"1329445446","filename":"file1"},{"photo_id":"1329445443","filename":"file0"},{"photo_id":"1329445453","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329445453":["hashtag1","hashtag2"]},{"1329445462":["hashtag1","hashtag2"]},{"1329445459":["hashtag1","hashtag2"]},{"1329445446":["hashtag1","hashtag2"]},{"1329445449":["hashtag1","hashtag2"]},{"1329445443":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329445453, 1329445462, 1329445459, 1329445446, 1329445449, 1329445443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.015095472335815 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:30:02.334498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/01/image_17012025_11_01_16_5149.jpg', '/media/data/images/17012025/11/01/image_17012025_11_01_11_6377.jpg', '/media/data/images/17012025/11/00/image_17012025_11_01_04_6509.jpg', '/media/data/images/17012025/11/00/image_17012025_11_00_58_5157.jpg', '/media/data/images/17012025/11/00/image_17012025_11_00_53_6421.jpg', '/media/data/images/17012025/11/00/image_17012025_11_00_46_6441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/01/image_17012025_11_01_16_5149.jpg
/media/data/images/17012025/11/01/image_17012025_11_01_11_6377.jpg
/media/data/images/17012025/11/00/image_17012025_11_01_04_6509.jpg
/media/data/images/17012025/11/00/image_17012025_11_00_58_5157.jpg
/media/data/images/17012025/11/00/image_17012025_11_00_53_6421.jpg
/media/data/images/17012025/11/00/image_17012025_11_00_46_6441.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329445487","1329445492","1329445489","1329445482","1329445485","1329445478"],"photo_ids_order":["1329445478","1329445482","1329445485","1329445487","1329445489","1329445492"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3080e314342457ab8169041aca5c4433.jpg","text":"TemporaryFile(/tmp/multipartBody5071565632405981286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109865945,"filename":"image_17012025_11_00_58_5157.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c95561b361abbd7980e00f039472a88b.jpg","text":"TemporaryFile(/tmp/multipartBody4877205977216352912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109865945,"filename":"image_17012025_11_00_46_6441.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a5021226e6d39728be232de9e4fa7d93.jpg","text":"TemporaryFile(/tmp/multipartBody1945054907914480187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109865945,"filename":"image_17012025_11_00_53_6421.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c1efa7338eaab845477da5f57c090453.jpg","text":"TemporaryFile(/tmp/multipartBody5781660223172829391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109865945,"filename":"image_17012025_11_01_11_6377.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b6c8dc924eace0aaf4c7455874f9d5eb.jpg","text":"TemporaryFile(/tmp/multipartBody4156674701223275621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109865945,"filename":"image_17012025_11_01_04_6509.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ca8d04a5b9c6411f67a0b0616684c3ff.jpg","text":"TemporaryFile(/tmp/multipartBody1702280538802538264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109865945,"filename":"image_17012025_11_01_16_5149.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329445485","file1":"1329445482","file0":"1329445478","file4":"1329445489","file5":"1329445492","file3":"1329445487"},"map_files_photo_id_array":[{"photo_id":"1329445492","filename":"file5"},{"photo_id":"1329445485","filename":"file2"},{"photo_id":"1329445489","filename":"file4"},{"photo_id":"1329445482","filename":"file1"},{"photo_id":"1329445478","filename":"file0"},{"photo_id":"1329445487","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329445487":["hashtag1","hashtag2"]},{"1329445492":["hashtag1","hashtag2"]},{"1329445489":["hashtag1","hashtag2"]},{"1329445482":["hashtag1","hashtag2"]},{"1329445485":["hashtag1","hashtag2"]},{"1329445478":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329445487, 1329445492, 1329445489, 1329445482, 1329445485, 1329445478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66608738899231 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:30:42.242946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/00/image_17012025_11_00_40_5251.jpg', '/media/data/images/17012025/11/00/image_17012025_11_00_34_6466.jpg', '/media/data/images/17012025/11/00/image_17012025_11_00_28_5185.jpg', '/media/data/images/17012025/11/00/image_17012025_11_00_23_6368.jpg', '/media/data/images/17012025/11/00/image_17012025_11_00_16_6362.jpg', '/media/data/images/17012025/11/00/image_17012025_11_00_10_5238.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/00/image_17012025_11_00_40_5251.jpg
/media/data/images/17012025/11/00/image_17012025_11_00_34_6466.jpg
/media/data/images/17012025/11/00/image_17012025_11_00_28_5185.jpg
/media/data/images/17012025/11/00/image_17012025_11_00_23_6368.jpg
/media/data/images/17012025/11/00/image_17012025_11_00_16_6362.jpg
/media/data/images/17012025/11/00/image_17012025_11_00_10_5238.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329445514","1329445517","1329445522","1329445525","1329445509","1329445506"],"photo_ids_order":["1329445506","1329445509","1329445514","1329445517","1329445522","1329445525"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8439ff4c7cd3b56cec2bdffd6e609720.jpg","text":"TemporaryFile(/tmp/multipartBody1350620117956512245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109907167,"filename":"image_17012025_11_00_28_5185.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9085a0a1b90ed5dbfd978c066867bb81.jpg","text":"TemporaryFile(/tmp/multipartBody7792012900466414883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109907167,"filename":"image_17012025_11_00_23_6368.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3271494d91e4f8559fa56a944ed413f7.jpg","text":"TemporaryFile(/tmp/multipartBody6212073498433321127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109907167,"filename":"image_17012025_11_00_16_6362.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c42995bfda8ad41f9d9d56aec5b836c4.jpg","text":"TemporaryFile(/tmp/multipartBody5397475871297616176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109907167,"filename":"image_17012025_11_00_10_5238.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9fa64b87b8edb618ea2ec6db1d539c81.jpg","text":"TemporaryFile(/tmp/multipartBody4853018278158181533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109907167,"filename":"image_17012025_11_00_34_6466.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4381403452afad42d2636a94a0551074.jpg","text":"TemporaryFile(/tmp/multipartBody6015586792822749243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109907167,"filename":"image_17012025_11_00_40_5251.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329445514","file1":"1329445509","file0":"1329445506","file4":"1329445522","file5":"1329445525","file3":"1329445517"},"map_files_photo_id_array":[{"photo_id":"1329445525","filename":"file5"},{"photo_id":"1329445514","filename":"file2"},{"photo_id":"1329445522","filename":"file4"},{"photo_id":"1329445509","filename":"file1"},{"photo_id":"1329445506","filename":"file0"},{"photo_id":"1329445517","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329445514":["hashtag1","hashtag2"]},{"1329445517":["hashtag1","hashtag2"]},{"1329445522":["hashtag1","hashtag2"]},{"1329445525":["hashtag1","hashtag2"]},{"1329445509":["hashtag1","hashtag2"]},{"1329445506":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329445514, 1329445517, 1329445522, 1329445525, 1329445509, 1329445506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35646414756775 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:31:22.306138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/00/image_17012025_11_00_05_6361.jpg', '/media/data/images/17012025/10/59/image_17012025_10_59_58_6361.jpg', '/media/data/images/17012025/10/59/image_17012025_10_59_52_6372.jpg', '/media/data/images/17012025/10/58/image_17012025_10_58_29_6449.jpg', '/media/data/images/17012025/10/58/image_17012025_10_58_22_6444.jpg', '/media/data/images/17012025/10/58/image_17012025_10_58_16_5171.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/00/image_17012025_11_00_05_6361.jpg
/media/data/images/17012025/10/59/image_17012025_10_59_58_6361.jpg
/media/data/images/17012025/10/59/image_17012025_10_59_52_6372.jpg
/media/data/images/17012025/10/58/image_17012025_10_58_29_6449.jpg
/media/data/images/17012025/10/58/image_17012025_10_58_22_6444.jpg
/media/data/images/17012025/10/58/image_17012025_10_58_16_5171.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329445544","1329445535","1329445552","1329445540","1329445537","1329445548"],"photo_ids_order":["1329445535","1329445537","1329445540","1329445544","1329445548","1329445552"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2262b31c0d1509b73fb425c7d4ac803c.jpg","text":"TemporaryFile(/tmp/multipartBody8884052700355128443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109946039,"filename":"image_17012025_10_58_29_6449.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5f02635ba16da387733332c8f617764c.jpg","text":"TemporaryFile(/tmp/multipartBody5561370981185946445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109946039,"filename":"image_17012025_11_00_05_6361.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/782db1bc679ae9a07eee80c8bdebfd17.jpg","text":"TemporaryFile(/tmp/multipartBody3707966374190421404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109946039,"filename":"image_17012025_10_58_16_5171.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1bfe618c0ea18e2e7d41d776da324306.jpg","text":"TemporaryFile(/tmp/multipartBody3004690579533704178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109946039,"filename":"image_17012025_10_59_52_6372.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/60fd2dbb8507b0de36a16bdafcac2e1b.jpg","text":"TemporaryFile(/tmp/multipartBody1030870689784955257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109946039,"filename":"image_17012025_10_59_58_6361.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5fe92a859a197a88e45541057b9af7c1.jpg","text":"TemporaryFile(/tmp/multipartBody8766931022522262195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109946039,"filename":"image_17012025_10_58_22_6444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329445540","file1":"1329445537","file0":"1329445535","file4":"1329445548","file5":"1329445552","file3":"1329445544"},"map_files_photo_id_array":[{"photo_id":"1329445552","filename":"file5"},{"photo_id":"1329445540","filename":"file2"},{"photo_id":"1329445548","filename":"file4"},{"photo_id":"1329445537","filename":"file1"},{"photo_id":"1329445535","filename":"file0"},{"photo_id":"1329445544","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329445544":["hashtag1","hashtag2"]},{"1329445535":["hashtag1","hashtag2"]},{"1329445552":["hashtag1","hashtag2"]},{"1329445540":["hashtag1","hashtag2"]},{"1329445537":["hashtag1","hashtag2"]},{"1329445548":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329445544, 1329445535, 1329445552, 1329445540, 1329445537, 1329445548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30152177810669 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:32:02.542940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/58/image_17012025_10_58_11_6480.jpg', '/media/data/images/17012025/10/57/image_17012025_10_58_04_6457.jpg', '/media/data/images/17012025/10/57/image_17012025_10_57_58_5164.jpg', '/media/data/images/17012025/10/57/image_17012025_10_57_53_6353.jpg', '/media/data/images/17012025/10/57/image_17012025_10_57_46_6342.jpg', '/media/data/images/17012025/10/57/image_17012025_10_57_40_5205.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/58/image_17012025_10_58_11_6480.jpg
/media/data/images/17012025/10/57/image_17012025_10_58_04_6457.jpg
/media/data/images/17012025/10/57/image_17012025_10_57_58_5164.jpg
/media/data/images/17012025/10/57/image_17012025_10_57_53_6353.jpg
/media/data/images/17012025/10/57/image_17012025_10_57_46_6342.jpg
/media/data/images/17012025/10/57/image_17012025_10_57_40_5205.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329445579","1329445581","1329445572","1329445575","1329445569","1329445577"],"photo_ids_order":["1329445569","1329445572","1329445575","1329445577","1329445579","1329445581"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d920ad6734af9a8643e11d43aafa1d2b.jpg","text":"TemporaryFile(/tmp/multipartBody613306567416701749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109986187,"filename":"image_17012025_10_57_46_6342.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fdad2c8b048735ae48dbccb36ef89c9d.jpg","text":"TemporaryFile(/tmp/multipartBody6005768401265672704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109986187,"filename":"image_17012025_10_57_40_5205.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/312d527a94b36d4eaad72922a80a7911.jpg","text":"TemporaryFile(/tmp/multipartBody7443647276955396368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109986187,"filename":"image_17012025_10_58_04_6457.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a79600c7ef0abe69c0f22a86f00f3d9e.jpg","text":"TemporaryFile(/tmp/multipartBody2405961882492341515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109986187,"filename":"image_17012025_10_57_58_5164.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/76ef435cef5a53e19b4c7774000102c9.jpg","text":"TemporaryFile(/tmp/multipartBody8365451879348159787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109986187,"filename":"image_17012025_10_58_11_6480.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8276a172be10aa766e23586a3417de31.jpg","text":"TemporaryFile(/tmp/multipartBody1301557630603965054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737109986187,"filename":"image_17012025_10_57_53_6353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329445575","file1":"1329445572","file0":"1329445569","file4":"1329445579","file5":"1329445581","file3":"1329445577"},"map_files_photo_id_array":[{"photo_id":"1329445581","filename":"file5"},{"photo_id":"1329445575","filename":"file2"},{"photo_id":"1329445579","filename":"file4"},{"photo_id":"1329445572","filename":"file1"},{"photo_id":"1329445569","filename":"file0"},{"photo_id":"1329445577","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329445579":["hashtag1","hashtag2"]},{"1329445581":["hashtag1","hashtag2"]},{"1329445572":["hashtag1","hashtag2"]},{"1329445575":["hashtag1","hashtag2"]},{"1329445569":["hashtag1","hashtag2"]},{"1329445577":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329445579, 1329445581, 1329445572, 1329445575, 1329445569, 1329445577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.741495847702026 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:32:42.435805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/57/image_17012025_10_57_35_6471.jpg', '/media/data/images/17012025/10/57/image_17012025_10_57_28_6483.jpg', '/media/data/images/17012025/10/57/image_17012025_10_57_22_5214.jpg', '/media/data/images/17012025/10/57/image_17012025_10_57_17_6451.jpg', '/media/data/images/17012025/10/57/image_17012025_10_57_10_6408.jpg', '/media/data/images/17012025/10/57/image_17012025_10_57_04_5005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/57/image_17012025_10_57_35_6471.jpg
/media/data/images/17012025/10/57/image_17012025_10_57_28_6483.jpg
/media/data/images/17012025/10/57/image_17012025_10_57_22_5214.jpg
/media/data/images/17012025/10/57/image_17012025_10_57_17_6451.jpg
/media/data/images/17012025/10/57/image_17012025_10_57_10_6408.jpg
/media/data/images/17012025/10/57/image_17012025_10_57_04_5005.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329445615","1329445603","1329445606","1329445599","1329445611","1329445595"],"photo_ids_order":["1329445595","1329445599","1329445603","1329445606","1329445611","1329445615"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/10cbb66c89d287b35fec19b34144e854.jpg","text":"TemporaryFile(/tmp/multipartBody5253190618998057438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110027996,"filename":"image_17012025_10_57_04_5005.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0baa2fd84792d4e9b867ec1631d93693.jpg","text":"TemporaryFile(/tmp/multipartBody6053024282711394915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110027996,"filename":"image_17012025_10_57_22_5214.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0cf2e24e11f84ca9554ea7e5945802d8.jpg","text":"TemporaryFile(/tmp/multipartBody122935590279774735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110027996,"filename":"image_17012025_10_57_17_6451.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/54b76396316943693cbd3196ff97968d.jpg","text":"TemporaryFile(/tmp/multipartBody3489310575415146474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110027996,"filename":"image_17012025_10_57_28_6483.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/40418ab2b1917b758a0be23487e12065.jpg","text":"TemporaryFile(/tmp/multipartBody4471413041125287493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110027996,"filename":"image_17012025_10_57_10_6408.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/69419e3642b2065dde80bbd812606a29.jpg","text":"TemporaryFile(/tmp/multipartBody3797968152334710683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110027996,"filename":"image_17012025_10_57_35_6471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329445603","file1":"1329445599","file0":"1329445595","file4":"1329445611","file5":"1329445615","file3":"1329445606"},"map_files_photo_id_array":[{"photo_id":"1329445615","filename":"file5"},{"photo_id":"1329445603","filename":"file2"},{"photo_id":"1329445611","filename":"file4"},{"photo_id":"1329445599","filename":"file1"},{"photo_id":"1329445595","filename":"file0"},{"photo_id":"1329445606","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329445615":["hashtag1","hashtag2"]},{"1329445603":["hashtag1","hashtag2"]},{"1329445606":["hashtag1","hashtag2"]},{"1329445599":["hashtag1","hashtag2"]},{"1329445611":["hashtag1","hashtag2"]},{"1329445595":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329445615, 1329445603, 1329445606, 1329445599, 1329445611, 1329445595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.064385652542114 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:33:22.504459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/56/image_17012025_10_56_59_6381.jpg', '/media/data/images/17012025/10/56/image_17012025_10_56_52_6355.jpg', '/media/data/images/17012025/10/56/image_17012025_10_56_46_5169.jpg', '/media/data/images/17012025/10/56/image_17012025_10_56_41_6373.jpg', '/media/data/images/17012025/10/56/image_17012025_10_56_34_6368.jpg', '/media/data/images/17012025/10/56/image_17012025_10_56_28_6377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/56/image_17012025_10_56_59_6381.jpg
/media/data/images/17012025/10/56/image_17012025_10_56_52_6355.jpg
/media/data/images/17012025/10/56/image_17012025_10_56_46_5169.jpg
/media/data/images/17012025/10/56/image_17012025_10_56_41_6373.jpg
/media/data/images/17012025/10/56/image_17012025_10_56_34_6368.jpg
/media/data/images/17012025/10/56/image_17012025_10_56_28_6377.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329445631","1329445625","1329445634","1329445628","1329445636","1329445639"],"photo_ids_order":["1329445625","1329445628","1329445631","1329445634","1329445636","1329445639"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/959b1b656bc40f9680bf14d6bb5a6624.jpg","text":"TemporaryFile(/tmp/multipartBody5705201151019133611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110065969,"filename":"image_17012025_10_56_46_5169.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c43fa5129dbe26b462d8c220c83359fa.jpg","text":"TemporaryFile(/tmp/multipartBody6410112172097514179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110065969,"filename":"image_17012025_10_56_59_6381.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/44fab4ae422372b808ba6053d568d566.jpg","text":"TemporaryFile(/tmp/multipartBody6520577694904423367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110065969,"filename":"image_17012025_10_56_41_6373.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0efe223f3ce9d37289d83bfd0ccc1f7b.jpg","text":"TemporaryFile(/tmp/multipartBody6217355853163223923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110065969,"filename":"image_17012025_10_56_52_6355.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b3c9b3455ca370a8d5067f66494d05fc.jpg","text":"TemporaryFile(/tmp/multipartBody5562476522521806907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110065969,"filename":"image_17012025_10_56_34_6368.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2cc9298b2cf1d7d8348dbae99d1738f7.jpg","text":"TemporaryFile(/tmp/multipartBody7118568128873926040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110065969,"filename":"image_17012025_10_56_28_6377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329445631","file1":"1329445628","file0":"1329445625","file4":"1329445636","file5":"1329445639","file3":"1329445634"},"map_files_photo_id_array":[{"photo_id":"1329445639","filename":"file5"},{"photo_id":"1329445631","filename":"file2"},{"photo_id":"1329445636","filename":"file4"},{"photo_id":"1329445628","filename":"file1"},{"photo_id":"1329445625","filename":"file0"},{"photo_id":"1329445634","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329445631":["hashtag1","hashtag2"]},{"1329445625":["hashtag1","hashtag2"]},{"1329445634":["hashtag1","hashtag2"]},{"1329445628":["hashtag1","hashtag2"]},{"1329445636":["hashtag1","hashtag2"]},{"1329445639":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329445631, 1329445625, 1329445634, 1329445628, 1329445636, 1329445639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.98705768585205 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:34:02.804861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/56/image_17012025_10_56_22_5159.jpg', '/media/data/images/17012025/10/56/image_17012025_10_56_17_6405.jpg', '/media/data/images/17012025/10/56/image_17012025_10_56_10_6414.jpg', '/media/data/images/17012025/10/56/image_17012025_10_56_04_5039.jpg', '/media/data/images/17012025/10/55/image_17012025_10_55_59_6476.jpg', '/media/data/images/17012025/10/55/image_17012025_10_55_52_6390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/56/image_17012025_10_56_22_5159.jpg
/media/data/images/17012025/10/56/image_17012025_10_56_17_6405.jpg
/media/data/images/17012025/10/56/image_17012025_10_56_10_6414.jpg
/media/data/images/17012025/10/56/image_17012025_10_56_04_5039.jpg
/media/data/images/17012025/10/55/image_17012025_10_55_59_6476.jpg
/media/data/images/17012025/10/55/image_17012025_10_55_52_6390.jpg
2025-01-17 11:34:02.912415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/56/image_17012025_10_56_22_5159.jpg', '/media/data/images/17012025/10/56/image_17012025_10_56_17_6405.jpg', '/media/data/images/17012025/10/56/image_17012025_10_56_10_6414.jpg', '/media/data/images/17012025/10/56/image_17012025_10_56_04_5039.jpg', '/media/data/images/17012025/10/55/image_17012025_10_55_59_6476.jpg', '/media/data/images/17012025/10/55/image_17012025_10_55_52_6390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/56/image_17012025_10_56_22_5159.jpg
/media/data/images/17012025/10/56/image_17012025_10_56_17_6405.jpg
/media/data/images/17012025/10/56/image_17012025_10_56_10_6414.jpg
/media/data/images/17012025/10/56/image_17012025_10_56_04_5039.jpg
/media/data/images/17012025/10/55/image_17012025_10_55_59_6476.jpg
/media/data/images/17012025/10/55/image_17012025_10_55_52_6390.jpg
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329445664","1329445680","1329445671","1329445659","1329445667","1329445676"],"photo_ids_order":["1329445659","1329445664","1329445667","1329445671","1329445676","1329445680"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5d6e8f1070121bbbad58077172b6391f.jpg","text":"TemporaryFile(/tmp/multipartBody272419587496632939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110108666,"filename":"image_17012025_10_56_17_6405.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3bc38902c481c35788f45ad23201d053.jpg","text":"TemporaryFile(/tmp/multipartBody4505708377013685918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110108666,"filename":"image_17012025_10_55_52_6390.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d7f53ef582c4ca7d6fe1b5020d5f2d1d.jpg","text":"TemporaryFile(/tmp/multipartBody1304073465777560215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110108666,"filename":"image_17012025_10_56_04_5039.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/883bf3999d978cd7a450b6e968f47e31.jpg","text":"TemporaryFile(/tmp/multipartBody2332613203179878184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110108666,"filename":"image_17012025_10_56_22_5159.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e45fd44409486b9636aa66ce8199fcd0.jpg","text":"TemporaryFile(/tmp/multipartBody6279380934094312538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110108666,"filename":"image_17012025_10_56_10_6414.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/651ab791251d6010bc82f3463792789c.jpg","text":"TemporaryFile(/tmp/multipartBody1428550808686670742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110108666,"filename":"image_17012025_10_55_59_6476.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329445667","file1":"1329445664","file0":"1329445659","file4":"1329445676","file5":"1329445680","file3":"1329445671"},"map_files_photo_id_array":[{"photo_id":"1329445680","filename":"file5"},{"photo_id":"1329445667","filename":"file2"},{"photo_id":"1329445676","filename":"file4"},{"photo_id":"1329445664","filename":"file1"},{"photo_id":"1329445659","filename":"file0"},{"photo_id":"1329445671","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329445664":["hashtag1","hashtag2"]},{"1329445680":["hashtag1","hashtag2"]},{"1329445671":["hashtag1","hashtag2"]},{"1329445659":["hashtag1","hashtag2"]},{"1329445667":["hashtag1","hashtag2"]},{"1329445676":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329445664, 1329445680, 1329445671, 1329445659, 1329445667, 1329445676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.85660719871521 secondes ---
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329445672","1329445666","1329445681","1329445669","1329445677","1329445661"],"photo_ids_order":["1329445661","1329445666","1329445669","1329445672","1329445677","1329445681"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6da53870d636ac5ee2f86b3e24ab4821.jpg","text":"TemporaryFile(/tmp/multipartBody725372433275082981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110109709,"filename":"image_17012025_10_56_04_5039.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4649c8f2d436c028eeeda4b65767239b.jpg","text":"TemporaryFile(/tmp/multipartBody6193450973841962258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110109709,"filename":"image_17012025_10_56_17_6405.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0fe14d26ece7d030e92e18313d969d69.jpg","text":"TemporaryFile(/tmp/multipartBody5385910346389285166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110109709,"filename":"image_17012025_10_55_52_6390.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5f409d5f27bd00f8cb5484659237d182.jpg","text":"TemporaryFile(/tmp/multipartBody6024860759755902474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110109709,"filename":"image_17012025_10_56_10_6414.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/93d6a2e090a6a3f36ad3dc57db149d20.jpg","text":"TemporaryFile(/tmp/multipartBody293796437685488180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110109709,"filename":"image_17012025_10_55_59_6476.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ecc742fa6eb5f3a2c9a8726c8a6ed054.jpg","text":"TemporaryFile(/tmp/multipartBody904537328043029853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110109709,"filename":"image_17012025_10_56_22_5159.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329445669","file1":"1329445666","file0":"1329445661","file4":"1329445677","file5":"1329445681","file3":"1329445672"},"map_files_photo_id_array":[{"photo_id":"1329445681","filename":"file5"},{"photo_id":"1329445669","filename":"file2"},{"photo_id":"1329445677","filename":"file4"},{"photo_id":"1329445666","filename":"file1"},{"photo_id":"1329445661","filename":"file0"},{"photo_id":"1329445672","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329445672":["hashtag1","hashtag2"]},{"1329445666":["hashtag1","hashtag2"]},{"1329445681":["hashtag1","hashtag2"]},{"1329445669":["hashtag1","hashtag2"]},{"1329445677":["hashtag1","hashtag2"]},{"1329445661":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329445672, 1329445666, 1329445681, 1329445669, 1329445677, 1329445661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.30823087692261 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:35:02.905210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/55/image_17012025_10_55_10_5255.jpg', '/media/data/images/17012025/10/55/image_17012025_10_55_05_6268.jpg', '/media/data/images/17012025/10/54/image_17012025_10_54_59_6512.jpg', '/media/data/images/17012025/10/54/image_17012025_10_54_52_5254.jpg', '/media/data/images/17012025/10/54/image_17012025_10_54_47_6509.jpg', '/media/data/images/17012025/10/54/image_17012025_10_54_40_6566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/55/image_17012025_10_55_10_5255.jpg
/media/data/images/17012025/10/55/image_17012025_10_55_05_6268.jpg
/media/data/images/17012025/10/54/image_17012025_10_54_59_6512.jpg
/media/data/images/17012025/10/54/image_17012025_10_54_52_5254.jpg
/media/data/images/17012025/10/54/image_17012025_10_54_47_6509.jpg
/media/data/images/17012025/10/54/image_17012025_10_54_40_6566.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329445724","1329445727","1329445709","1329445720","1329445717","1329445713"],"photo_ids_order":["1329445709","1329445713","1329445717","1329445720","1329445724","1329445727"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3f137fde9df9714bae57c6faa8e90a35.jpg","text":"TemporaryFile(/tmp/multipartBody6407697079511010438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110168323,"filename":"image_17012025_10_54_47_6509.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f647c3aa2650bc0de2ce63f3dd99e92c.jpg","text":"TemporaryFile(/tmp/multipartBody1815940787569878300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110168323,"filename":"image_17012025_10_54_40_6566.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f4ba6797b65f5bc8df688e691c6f6b4b.jpg","text":"TemporaryFile(/tmp/multipartBody8161216360531306557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110168323,"filename":"image_17012025_10_55_10_5255.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b3d88fe1d3e5a8e37fcffc42edcfff3d.jpg","text":"TemporaryFile(/tmp/multipartBody7253046358430945438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110168323,"filename":"image_17012025_10_54_52_5254.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/db12f1f48d8094aa64e22c86fd1db751.jpg","text":"TemporaryFile(/tmp/multipartBody2376411045308599265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110168323,"filename":"image_17012025_10_54_59_6512.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9b2138f23d94138e75126da266ba64b4.jpg","text":"TemporaryFile(/tmp/multipartBody7108594166078125423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110168323,"filename":"image_17012025_10_55_05_6268.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329445717","file1":"1329445713","file0":"1329445709","file4":"1329445724","file5":"1329445727","file3":"1329445720"},"map_files_photo_id_array":[{"photo_id":"1329445727","filename":"file5"},{"photo_id":"1329445717","filename":"file2"},{"photo_id":"1329445724","filename":"file4"},{"photo_id":"1329445713","filename":"file1"},{"photo_id":"1329445709","filename":"file0"},{"photo_id":"1329445720","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329445724":["hashtag1","hashtag2"]},{"1329445727":["hashtag1","hashtag2"]},{"1329445709":["hashtag1","hashtag2"]},{"1329445720":["hashtag1","hashtag2"]},{"1329445717":["hashtag1","hashtag2"]},{"1329445713":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329445724, 1329445727, 1329445709, 1329445720, 1329445717, 1329445713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7440447807312 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:35:42.680716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/54/image_17012025_10_54_34_5388.jpg', '/media/data/images/17012025/10/54/image_17012025_10_54_28_6663.jpg', '/media/data/images/17012025/10/54/image_17012025_10_54_22_5356.jpg', '/media/data/images/17012025/10/54/image_17012025_10_54_16_6417.jpg', '/media/data/images/17012025/10/54/image_17012025_10_54_10_5185.jpg', '/media/data/images/17012025/10/54/image_17012025_10_54_05_6226.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/54/image_17012025_10_54_34_5388.jpg
/media/data/images/17012025/10/54/image_17012025_10_54_28_6663.jpg
/media/data/images/17012025/10/54/image_17012025_10_54_22_5356.jpg
/media/data/images/17012025/10/54/image_17012025_10_54_16_6417.jpg
/media/data/images/17012025/10/54/image_17012025_10_54_10_5185.jpg
/media/data/images/17012025/10/54/image_17012025_10_54_05_6226.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: 5.664906024932861 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:36:01.926246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/54/image_17012025_10_54_34_5388.jpg', '/media/data/images/17012025/10/54/image_17012025_10_54_28_6663.jpg', '/media/data/images/17012025/10/54/image_17012025_10_54_22_5356.jpg', '/media/data/images/17012025/10/54/image_17012025_10_54_16_6417.jpg', '/media/data/images/17012025/10/54/image_17012025_10_54_10_5185.jpg', '/media/data/images/17012025/10/54/image_17012025_10_54_05_6226.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/54/image_17012025_10_54_34_5388.jpg
/media/data/images/17012025/10/54/image_17012025_10_54_28_6663.jpg
/media/data/images/17012025/10/54/image_17012025_10_54_22_5356.jpg
/media/data/images/17012025/10/54/image_17012025_10_54_16_6417.jpg
/media/data/images/17012025/10/54/image_17012025_10_54_10_5185.jpg
/media/data/images/17012025/10/54/image_17012025_10_54_05_6226.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329445763","1329445757","1329445771","1329445765","1329445768","1329445760"],"photo_ids_order":["1329445757","1329445760","1329445763","1329445765","1329445768","1329445771"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f70ffd7bbd90d859aac0c8085ae68229.jpg","text":"TemporaryFile(/tmp/multipartBody1239075214108435371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110229018,"filename":"image_17012025_10_54_22_5356.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6d96f7259b346bdc9646e29688154df5.jpg","text":"TemporaryFile(/tmp/multipartBody8521207206308345561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110229018,"filename":"image_17012025_10_54_34_5388.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8d7a4f7bacd4cf7c4d41c1f6ee3f78d2.jpg","text":"TemporaryFile(/tmp/multipartBody9038589070746420431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110229018,"filename":"image_17012025_10_54_05_6226.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/853000b42331e33b14a14dea4a8ddba4.jpg","text":"TemporaryFile(/tmp/multipartBody5258896546126340231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110229018,"filename":"image_17012025_10_54_16_6417.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/316c98cc886d6acfc18ffc8f4586588c.jpg","text":"TemporaryFile(/tmp/multipartBody2655031566748570124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110229018,"filename":"image_17012025_10_54_10_5185.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2f7027d609b31a7fd4cdea5cc4a02925.jpg","text":"TemporaryFile(/tmp/multipartBody570249626012309906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110229018,"filename":"image_17012025_10_54_28_6663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329445763","file1":"1329445760","file0":"1329445757","file4":"1329445768","file5":"1329445771","file3":"1329445765"},"map_files_photo_id_array":[{"photo_id":"1329445771","filename":"file5"},{"photo_id":"1329445763","filename":"file2"},{"photo_id":"1329445768","filename":"file4"},{"photo_id":"1329445760","filename":"file1"},{"photo_id":"1329445757","filename":"file0"},{"photo_id":"1329445765","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329445763":["hashtag1","hashtag2"]},{"1329445757":["hashtag1","hashtag2"]},{"1329445771":["hashtag1","hashtag2"]},{"1329445765":["hashtag1","hashtag2"]},{"1329445768":["hashtag1","hashtag2"]},{"1329445760":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329445763, 1329445757, 1329445771, 1329445765, 1329445768, 1329445760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.85085320472717 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:36:41.773885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/53/image_17012025_10_53_52_6374.jpg', '/media/data/images/17012025/10/53/image_17012025_10_53_46_5168.jpg', '/media/data/images/17012025/10/53/image_17012025_10_53_41_6367.jpg', '/media/data/images/17012025/10/53/image_17012025_10_53_34_6374.jpg', '/media/data/images/17012025/10/53/image_17012025_10_53_28_5167.jpg', '/media/data/images/17012025/10/53/image_17012025_10_53_23_6381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/53/image_17012025_10_53_52_6374.jpg
/media/data/images/17012025/10/53/image_17012025_10_53_46_5168.jpg
/media/data/images/17012025/10/53/image_17012025_10_53_41_6367.jpg
/media/data/images/17012025/10/53/image_17012025_10_53_34_6374.jpg
/media/data/images/17012025/10/53/image_17012025_10_53_28_5167.jpg
/media/data/images/17012025/10/53/image_17012025_10_53_23_6381.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329445795","1329445798","1329445780","1329445791","1329445788","1329445785"],"photo_ids_order":["1329445780","1329445785","1329445788","1329445791","1329445795","1329445798"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d1b5be166d38bb141b9b22052baec390.jpg","text":"TemporaryFile(/tmp/multipartBody7476395981100001861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110265240,"filename":"image_17012025_10_53_28_5167.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/13715b66f6f86d3a7eb7d917fecc02e1.jpg","text":"TemporaryFile(/tmp/multipartBody9196244703403456537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110265240,"filename":"image_17012025_10_53_23_6381.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8bd847b270fe3bd8892304afc2c65399.jpg","text":"TemporaryFile(/tmp/multipartBody4206817097769136897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110265240,"filename":"image_17012025_10_53_52_6374.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/437f85b810f5adb068c4aaaa0183bc84.jpg","text":"TemporaryFile(/tmp/multipartBody6409036745486713228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110265240,"filename":"image_17012025_10_53_34_6374.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1f02ffa5cdd9326844c70a24e4bc8c2a.jpg","text":"TemporaryFile(/tmp/multipartBody7026967287355180053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110265240,"filename":"image_17012025_10_53_41_6367.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f570f618b7b287e53b26edbce38edf34.jpg","text":"TemporaryFile(/tmp/multipartBody2646924029921382782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110265240,"filename":"image_17012025_10_53_46_5168.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329445788","file1":"1329445785","file0":"1329445780","file4":"1329445795","file5":"1329445798","file3":"1329445791"},"map_files_photo_id_array":[{"photo_id":"1329445798","filename":"file5"},{"photo_id":"1329445788","filename":"file2"},{"photo_id":"1329445795","filename":"file4"},{"photo_id":"1329445785","filename":"file1"},{"photo_id":"1329445780","filename":"file0"},{"photo_id":"1329445791","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329445795":["hashtag1","hashtag2"]},{"1329445798":["hashtag1","hashtag2"]},{"1329445780":["hashtag1","hashtag2"]},{"1329445791":["hashtag1","hashtag2"]},{"1329445788":["hashtag1","hashtag2"]},{"1329445785":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329445795, 1329445798, 1329445780, 1329445791, 1329445788, 1329445785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.47574853897095 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:37:21.870767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/53/image_17012025_10_53_16_6388.jpg', '/media/data/images/17012025/10/53/image_17012025_10_53_10_5153.jpg', '/media/data/images/17012025/10/53/image_17012025_10_53_05_6153.jpg', '/media/data/images/17012025/10/52/image_17012025_10_52_59_6369.jpg', '/media/data/images/17012025/10/52/image_17012025_10_52_52_6389.jpg', '/media/data/images/17012025/10/52/image_17012025_10_52_46_5217.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/53/image_17012025_10_53_16_6388.jpg
/media/data/images/17012025/10/53/image_17012025_10_53_10_5153.jpg
/media/data/images/17012025/10/53/image_17012025_10_53_05_6153.jpg
/media/data/images/17012025/10/52/image_17012025_10_52_59_6369.jpg
/media/data/images/17012025/10/52/image_17012025_10_52_52_6389.jpg
/media/data/images/17012025/10/52/image_17012025_10_52_46_5217.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329445817","1329445828","1329445813","1329445810","1329445806","1329445821"],"photo_ids_order":["1329445806","1329445810","1329445813","1329445817","1329445821","1329445828"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/db0752b9077b8051eb8e20692e30617d.jpg","text":"TemporaryFile(/tmp/multipartBody8248224008245505364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110305196,"filename":"image_17012025_10_52_59_6369.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ea2d53a6659ab82899ce610a52715b9f.jpg","text":"TemporaryFile(/tmp/multipartBody8557797370891435891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110305196,"filename":"image_17012025_10_52_46_5217.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a98151d1d3bf83daec074bbc81196ee6.jpg","text":"TemporaryFile(/tmp/multipartBody1111281842397078127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110305196,"filename":"image_17012025_10_53_05_6153.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/107470c6bbf2c262b9fc1e0e83816bd1.jpg","text":"TemporaryFile(/tmp/multipartBody5765513626527967192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110305196,"filename":"image_17012025_10_53_10_5153.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fd941a3f0947ec1898f61c56a266122a.jpg","text":"TemporaryFile(/tmp/multipartBody2763354486250649216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110305196,"filename":"image_17012025_10_53_16_6388.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/65f33b84b0d4c9f8cacdaa1a2bfafe0c.jpg","text":"TemporaryFile(/tmp/multipartBody6291251705363705269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110305196,"filename":"image_17012025_10_52_52_6389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329445813","file1":"1329445810","file0":"1329445806","file4":"1329445821","file5":"1329445828","file3":"1329445817"},"map_files_photo_id_array":[{"photo_id":"1329445828","filename":"file5"},{"photo_id":"1329445813","filename":"file2"},{"photo_id":"1329445821","filename":"file4"},{"photo_id":"1329445810","filename":"file1"},{"photo_id":"1329445806","filename":"file0"},{"photo_id":"1329445817","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329445817":["hashtag1","hashtag2"]},{"1329445828":["hashtag1","hashtag2"]},{"1329445813":["hashtag1","hashtag2"]},{"1329445810":["hashtag1","hashtag2"]},{"1329445806":["hashtag1","hashtag2"]},{"1329445821":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329445817, 1329445828, 1329445813, 1329445810, 1329445806, 1329445821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.24424362182617 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:38:02.149445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/52/image_17012025_10_52_41_6402.jpg', '/media/data/images/17012025/10/52/image_17012025_10_52_34_6379.jpg', '/media/data/images/17012025/10/52/image_17012025_10_52_28_5196.jpg', '/media/data/images/17012025/10/52/image_17012025_10_52_23_6400.jpg', '/media/data/images/17012025/10/52/image_17012025_10_52_16_6387.jpg', '/media/data/images/17012025/10/52/image_17012025_10_52_10_5167.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/52/image_17012025_10_52_41_6402.jpg
/media/data/images/17012025/10/52/image_17012025_10_52_34_6379.jpg
/media/data/images/17012025/10/52/image_17012025_10_52_28_5196.jpg
/media/data/images/17012025/10/52/image_17012025_10_52_23_6400.jpg
/media/data/images/17012025/10/52/image_17012025_10_52_16_6387.jpg
/media/data/images/17012025/10/52/image_17012025_10_52_10_5167.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329445859","1329445850","1329445844","1329445855","1329445840","1329445847"],"photo_ids_order":["1329445840","1329445844","1329445847","1329445850","1329445855","1329445859"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7111a0a91c9f6a7c979f5435519cb692.jpg","text":"TemporaryFile(/tmp/multipartBody3103364860632767203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110345923,"filename":"image_17012025_10_52_10_5167.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0efa47abe76b80830bdc3c1ff4eceb9b.jpg","text":"TemporaryFile(/tmp/multipartBody8294456484580042290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110345923,"filename":"image_17012025_10_52_23_6400.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f2a032cdb9ea350b4d87ef3ec78fbc08.jpg","text":"TemporaryFile(/tmp/multipartBody3881617269100638682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110345923,"filename":"image_17012025_10_52_34_6379.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/431ecf0eacfa3171c785ab8f21091fde.jpg","text":"TemporaryFile(/tmp/multipartBody1106192074235695834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110345923,"filename":"image_17012025_10_52_16_6387.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/58f373f448d0854fe56265db1d3c60a4.jpg","text":"TemporaryFile(/tmp/multipartBody4862221043477961773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110345923,"filename":"image_17012025_10_52_41_6402.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/081f191b84f1cb54645f5257dc972ed2.jpg","text":"TemporaryFile(/tmp/multipartBody2505596860283215856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110345923,"filename":"image_17012025_10_52_28_5196.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329445847","file1":"1329445844","file0":"1329445840","file4":"1329445855","file5":"1329445859","file3":"1329445850"},"map_files_photo_id_array":[{"photo_id":"1329445859","filename":"file5"},{"photo_id":"1329445847","filename":"file2"},{"photo_id":"1329445855","filename":"file4"},{"photo_id":"1329445844","filename":"file1"},{"photo_id":"1329445840","filename":"file0"},{"photo_id":"1329445850","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329445859":["hashtag1","hashtag2"]},{"1329445850":["hashtag1","hashtag2"]},{"1329445844":["hashtag1","hashtag2"]},{"1329445855":["hashtag1","hashtag2"]},{"1329445840":["hashtag1","hashtag2"]},{"1329445847":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329445859, 1329445850, 1329445844, 1329445855, 1329445840, 1329445847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.4512414932251 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:38:41.967610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/52/image_17012025_10_52_05_6189.jpg', '/media/data/images/17012025/10/51/image_17012025_10_51_59_6410.jpg', '/media/data/images/17012025/10/51/image_17012025_10_51_52_6412.jpg', '/media/data/images/17012025/10/51/image_17012025_10_51_10_5230.jpg', '/media/data/images/17012025/10/51/image_17012025_10_51_05_6228.jpg', '/media/data/images/17012025/10/50/image_17012025_10_50_58_6389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/52/image_17012025_10_52_05_6189.jpg
/media/data/images/17012025/10/51/image_17012025_10_51_59_6410.jpg
/media/data/images/17012025/10/51/image_17012025_10_51_52_6412.jpg
/media/data/images/17012025/10/51/image_17012025_10_51_10_5230.jpg
/media/data/images/17012025/10/51/image_17012025_10_51_05_6228.jpg
/media/data/images/17012025/10/50/image_17012025_10_50_58_6389.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329445877","1329445891","1329445887","1329445881","1329445884","1329445874"],"photo_ids_order":["1329445874","1329445877","1329445881","1329445884","1329445887","1329445891"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/597d16f3eda393cb557cea8482c46cc3.jpg","text":"TemporaryFile(/tmp/multipartBody8667082095062841723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110385333,"filename":"image_17012025_10_51_59_6410.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c23bed1372763e64fb37fe32b90cac00.jpg","text":"TemporaryFile(/tmp/multipartBody4504866555300674734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110385333,"filename":"image_17012025_10_50_58_6389.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9675018c2735f557ce89e59dd979be9e.jpg","text":"TemporaryFile(/tmp/multipartBody9216449808690117177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110385333,"filename":"image_17012025_10_51_05_6228.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/af945b9a4ace581f310efc21c2298f57.jpg","text":"TemporaryFile(/tmp/multipartBody5616613797295313402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110385333,"filename":"image_17012025_10_51_52_6412.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cefef670c00350b62cc91241cf646cc7.jpg","text":"TemporaryFile(/tmp/multipartBody3057023562370531156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110385333,"filename":"image_17012025_10_51_10_5230.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/78750b8639581f4455225ddf064e9026.jpg","text":"TemporaryFile(/tmp/multipartBody9136468640180679063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110385333,"filename":"image_17012025_10_52_05_6189.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329445881","file1":"1329445877","file0":"1329445874","file4":"1329445887","file5":"1329445891","file3":"1329445884"},"map_files_photo_id_array":[{"photo_id":"1329445891","filename":"file5"},{"photo_id":"1329445881","filename":"file2"},{"photo_id":"1329445887","filename":"file4"},{"photo_id":"1329445877","filename":"file1"},{"photo_id":"1329445874","filename":"file0"},{"photo_id":"1329445884","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329445877":["hashtag1","hashtag2"]},{"1329445891":["hashtag1","hashtag2"]},{"1329445887":["hashtag1","hashtag2"]},{"1329445881":["hashtag1","hashtag2"]},{"1329445884":["hashtag1","hashtag2"]},{"1329445874":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329445877, 1329445891, 1329445887, 1329445881, 1329445884, 1329445874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.592244386672974 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:39:22.091172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/50/image_17012025_10_50_52_5185.jpg', '/media/data/images/17012025/10/50/image_17012025_10_50_47_6385.jpg', '/media/data/images/17012025/10/50/image_17012025_10_50_40_6396.jpg', '/media/data/images/17012025/10/50/image_17012025_10_50_34_5155.jpg', '/media/data/images/17012025/10/50/image_17012025_10_50_29_6362.jpg', '/media/data/images/17012025/10/50/image_17012025_10_50_22_6358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/50/image_17012025_10_50_52_5185.jpg
/media/data/images/17012025/10/50/image_17012025_10_50_47_6385.jpg
/media/data/images/17012025/10/50/image_17012025_10_50_40_6396.jpg
/media/data/images/17012025/10/50/image_17012025_10_50_34_5155.jpg
/media/data/images/17012025/10/50/image_17012025_10_50_29_6362.jpg
/media/data/images/17012025/10/50/image_17012025_10_50_22_6358.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329445904","1329445907","1329445912","1329445915","1329445909","1329445918"],"photo_ids_order":["1329445904","1329445907","1329445909","1329445912","1329445915","1329445918"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1c97017a5f3b26f72fccd69e3195ecee.jpg","text":"TemporaryFile(/tmp/multipartBody2609204489394272364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110425107,"filename":"image_17012025_10_50_52_5185.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/debe67826733b4acadeda375cb3eb1af.jpg","text":"TemporaryFile(/tmp/multipartBody3303994422036731639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110425107,"filename":"image_17012025_10_50_47_6385.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6d9ac051e436b60e1ca8d934c41055b1.jpg","text":"TemporaryFile(/tmp/multipartBody2260459597033512482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110425107,"filename":"image_17012025_10_50_34_5155.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4d3509ff1c18f005e07aff327a91c8e8.jpg","text":"TemporaryFile(/tmp/multipartBody6870508399318129895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110425107,"filename":"image_17012025_10_50_29_6362.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dcf5a7b67c0adc3216adb6f7e2557a5d.jpg","text":"TemporaryFile(/tmp/multipartBody7659501975793127368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110425107,"filename":"image_17012025_10_50_40_6396.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/48e30b9f3783b2b72fda8643a21b23eb.jpg","text":"TemporaryFile(/tmp/multipartBody6835913083209653521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110425107,"filename":"image_17012025_10_50_22_6358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329445909","file1":"1329445907","file0":"1329445904","file4":"1329445915","file5":"1329445918","file3":"1329445912"},"map_files_photo_id_array":[{"photo_id":"1329445918","filename":"file5"},{"photo_id":"1329445909","filename":"file2"},{"photo_id":"1329445915","filename":"file4"},{"photo_id":"1329445907","filename":"file1"},{"photo_id":"1329445904","filename":"file0"},{"photo_id":"1329445912","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329445904":["hashtag1","hashtag2"]},{"1329445907":["hashtag1","hashtag2"]},{"1329445912":["hashtag1","hashtag2"]},{"1329445915":["hashtag1","hashtag2"]},{"1329445909":["hashtag1","hashtag2"]},{"1329445918":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329445904, 1329445907, 1329445912, 1329445915, 1329445909, 1329445918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.369428634643555 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:40:02.234819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/50/image_17012025_10_50_16_6361.jpg', '/media/data/images/17012025/10/50/image_17012025_10_50_10_5160.jpg', '/media/data/images/17012025/10/50/image_17012025_10_50_05_6237.jpg', '/media/data/images/17012025/10/49/image_17012025_10_49_58_6392.jpg', '/media/data/images/17012025/10/49/image_17012025_10_49_52_5180.jpg', '/media/data/images/17012025/10/49/image_17012025_10_49_47_6383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/50/image_17012025_10_50_16_6361.jpg
/media/data/images/17012025/10/50/image_17012025_10_50_10_5160.jpg
/media/data/images/17012025/10/50/image_17012025_10_50_05_6237.jpg
/media/data/images/17012025/10/49/image_17012025_10_49_58_6392.jpg
/media/data/images/17012025/10/49/image_17012025_10_49_52_5180.jpg
/media/data/images/17012025/10/49/image_17012025_10_49_47_6383.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329445940","1329445948","1329445935","1329445944","1329445938","1329445932"],"photo_ids_order":["1329445932","1329445935","1329445938","1329445940","1329445944","1329445948"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9da986bd85ee9ab904b4edbeb49e93b6.jpg","text":"TemporaryFile(/tmp/multipartBody555092990428424567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110465437,"filename":"image_17012025_10_49_58_6392.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0c198d4a8b05a9bf5ea70aaaeab6d686.jpg","text":"TemporaryFile(/tmp/multipartBody1093680910275402910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110465437,"filename":"image_17012025_10_49_47_6383.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3ef7d0a09a82a4f44e7981c371503e9a.jpg","text":"TemporaryFile(/tmp/multipartBody2606544803797144955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110465437,"filename":"image_17012025_10_50_10_5160.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d0e9c99d929fcd082320d6075bb999fb.jpg","text":"TemporaryFile(/tmp/multipartBody4257363531293195337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110465437,"filename":"image_17012025_10_49_52_5180.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e6103eb260482ce5d6e4f6b0bc46015e.jpg","text":"TemporaryFile(/tmp/multipartBody3981306979721324131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110465437,"filename":"image_17012025_10_50_05_6237.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/330d919b48a9ed5189452a7406eb610e.jpg","text":"TemporaryFile(/tmp/multipartBody3099441949938572652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110465437,"filename":"image_17012025_10_50_16_6361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329445938","file1":"1329445935","file0":"1329445932","file4":"1329445944","file5":"1329445948","file3":"1329445940"},"map_files_photo_id_array":[{"photo_id":"1329445948","filename":"file5"},{"photo_id":"1329445938","filename":"file2"},{"photo_id":"1329445944","filename":"file4"},{"photo_id":"1329445935","filename":"file1"},{"photo_id":"1329445932","filename":"file0"},{"photo_id":"1329445940","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329445940":["hashtag1","hashtag2"]},{"1329445948":["hashtag1","hashtag2"]},{"1329445935":["hashtag1","hashtag2"]},{"1329445944":["hashtag1","hashtag2"]},{"1329445938":["hashtag1","hashtag2"]},{"1329445932":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329445940, 1329445948, 1329445935, 1329445944, 1329445938, 1329445932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.26737117767334 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:40:42.186231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/49/image_17012025_10_49_40_6386.jpg', '/media/data/images/17012025/10/49/image_17012025_10_49_34_5177.jpg', '/media/data/images/17012025/10/49/image_17012025_10_49_29_6395.jpg', '/media/data/images/17012025/10/49/image_17012025_10_49_22_6380.jpg', '/media/data/images/17012025/10/49/image_17012025_10_49_16_5223.jpg', '/media/data/images/17012025/10/49/image_17012025_10_49_11_6435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/49/image_17012025_10_49_40_6386.jpg
/media/data/images/17012025/10/49/image_17012025_10_49_34_5177.jpg
/media/data/images/17012025/10/49/image_17012025_10_49_29_6395.jpg
/media/data/images/17012025/10/49/image_17012025_10_49_22_6380.jpg
/media/data/images/17012025/10/49/image_17012025_10_49_16_5223.jpg
/media/data/images/17012025/10/49/image_17012025_10_49_11_6435.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329445961","1329445971","1329445977","1329445982","1329445964","1329445967"],"photo_ids_order":["1329445961","1329445964","1329445967","1329445971","1329445977","1329445982"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/aa4d922dc1562f0919abf0bc841ff395.jpg","text":"TemporaryFile(/tmp/multipartBody6016002066142773676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110507221,"filename":"image_17012025_10_49_40_6386.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b32a4500611a72eb786b289f5c60f0c6.jpg","text":"TemporaryFile(/tmp/multipartBody3511411428439825335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110507221,"filename":"image_17012025_10_49_22_6380.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1768f1fca4f8fffa4222ded083b37009.jpg","text":"TemporaryFile(/tmp/multipartBody2145486176345704282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110507221,"filename":"image_17012025_10_49_16_5223.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/da2fd3fa0357044e835df6bd577f1128.jpg","text":"TemporaryFile(/tmp/multipartBody4414337270044457195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110507221,"filename":"image_17012025_10_49_11_6435.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/05f39c0738fe95bd119324ac157bafaf.jpg","text":"TemporaryFile(/tmp/multipartBody6819275569783866635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110507221,"filename":"image_17012025_10_49_34_5177.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7d88e20e35f640c9089dd82cfdb29dc6.jpg","text":"TemporaryFile(/tmp/multipartBody8200879390017176576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110507221,"filename":"image_17012025_10_49_29_6395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329445967","file1":"1329445964","file0":"1329445961","file4":"1329445977","file5":"1329445982","file3":"1329445971"},"map_files_photo_id_array":[{"photo_id":"1329445982","filename":"file5"},{"photo_id":"1329445967","filename":"file2"},{"photo_id":"1329445977","filename":"file4"},{"photo_id":"1329445964","filename":"file1"},{"photo_id":"1329445961","filename":"file0"},{"photo_id":"1329445971","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329445961":["hashtag1","hashtag2"]},{"1329445971":["hashtag1","hashtag2"]},{"1329445977":["hashtag1","hashtag2"]},{"1329445982":["hashtag1","hashtag2"]},{"1329445964":["hashtag1","hashtag2"]},{"1329445967":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329445961, 1329445971, 1329445977, 1329445982, 1329445964, 1329445967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.402052879333496 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:41:22.284292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/48/image_17012025_10_49_04_6424.jpg', '/media/data/images/17012025/10/48/image_17012025_10_48_58_5158.jpg', '/media/data/images/17012025/10/48/image_17012025_10_48_46_6405.jpg', '/media/data/images/17012025/10/48/image_17012025_10_48_40_5165.jpg', '/media/data/images/17012025/10/48/image_17012025_10_48_35_6400.jpg', '/media/data/images/17012025/10/48/image_17012025_10_48_28_6375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/48/image_17012025_10_49_04_6424.jpg
/media/data/images/17012025/10/48/image_17012025_10_48_58_5158.jpg
/media/data/images/17012025/10/48/image_17012025_10_48_46_6405.jpg
/media/data/images/17012025/10/48/image_17012025_10_48_40_5165.jpg
/media/data/images/17012025/10/48/image_17012025_10_48_35_6400.jpg
/media/data/images/17012025/10/48/image_17012025_10_48_28_6375.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329446003","1329446005","1329446010","1329446007","1329446001","1329445997"],"photo_ids_order":["1329445997","1329446001","1329446003","1329446005","1329446007","1329446010"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0cd119374f2d18df660598264f459553.jpg","text":"TemporaryFile(/tmp/multipartBody1626386466285276410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110545572,"filename":"image_17012025_10_48_46_6405.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8868788a3c16aba33296d924481ea10f.jpg","text":"TemporaryFile(/tmp/multipartBody3257508208212358246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110545572,"filename":"image_17012025_10_48_40_5165.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/332520d78a7e981849b2629f15c5ea62.jpg","text":"TemporaryFile(/tmp/multipartBody4639612111708789607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110545572,"filename":"image_17012025_10_48_28_6375.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/683cbd5bd1e76eb1316bb14dcbabd995.jpg","text":"TemporaryFile(/tmp/multipartBody337351890668293303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110545572,"filename":"image_17012025_10_48_35_6400.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5b373beedeef41f1458b7c6324e4f893.jpg","text":"TemporaryFile(/tmp/multipartBody6858935403981233649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110545572,"filename":"image_17012025_10_48_58_5158.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4597776d7484e69146c5656253166050.jpg","text":"TemporaryFile(/tmp/multipartBody841655655780323015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110545572,"filename":"image_17012025_10_49_04_6424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329446003","file1":"1329446001","file0":"1329445997","file4":"1329446007","file5":"1329446010","file3":"1329446005"},"map_files_photo_id_array":[{"photo_id":"1329446010","filename":"file5"},{"photo_id":"1329446003","filename":"file2"},{"photo_id":"1329446007","filename":"file4"},{"photo_id":"1329446001","filename":"file1"},{"photo_id":"1329445997","filename":"file0"},{"photo_id":"1329446005","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329446003":["hashtag1","hashtag2"]},{"1329446005":["hashtag1","hashtag2"]},{"1329446010":["hashtag1","hashtag2"]},{"1329446007":["hashtag1","hashtag2"]},{"1329446001":["hashtag1","hashtag2"]},{"1329445997":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329446003, 1329446005, 1329446010, 1329446007, 1329446001, 1329445997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.01312255859375 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:42:02.502988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/48/image_17012025_10_48_22_5266.jpg', '/media/data/images/17012025/10/48/image_17012025_10_48_17_6556.jpg', '/media/data/images/17012025/10/48/image_17012025_10_48_10_6448.jpg', '/media/data/images/17012025/10/48/image_17012025_10_48_04_5078.jpg', '/media/data/images/17012025/10/47/image_17012025_10_47_59_6383.jpg', '/media/data/images/17012025/10/47/image_17012025_10_47_52_6398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/48/image_17012025_10_48_22_5266.jpg
/media/data/images/17012025/10/48/image_17012025_10_48_17_6556.jpg
/media/data/images/17012025/10/48/image_17012025_10_48_10_6448.jpg
/media/data/images/17012025/10/48/image_17012025_10_48_04_5078.jpg
/media/data/images/17012025/10/47/image_17012025_10_47_59_6383.jpg
/media/data/images/17012025/10/47/image_17012025_10_47_52_6398.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329446030","1329446041","1329446043","1329446025","1329446033","1329446036"],"photo_ids_order":["1329446025","1329446030","1329446033","1329446036","1329446041","1329446043"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8be3a2a528eef211f687381bf73686df.jpg","text":"TemporaryFile(/tmp/multipartBody108715259474043896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110586427,"filename":"image_17012025_10_48_17_6556.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f7d55158a3355206fc230271ff224fd9.jpg","text":"TemporaryFile(/tmp/multipartBody6100243109780308757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110586427,"filename":"image_17012025_10_47_59_6383.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/eebe7fb7d00e00676c2cc254e32f8ba2.jpg","text":"TemporaryFile(/tmp/multipartBody8421576509463106730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110586427,"filename":"image_17012025_10_47_52_6398.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/468741b2e51c0dd5f851a437221ad04f.jpg","text":"TemporaryFile(/tmp/multipartBody6221268044934341006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110586427,"filename":"image_17012025_10_48_22_5266.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6bc27ca1aa12b047ad2566f8408cf6a1.jpg","text":"TemporaryFile(/tmp/multipartBody9099107092477031780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110586427,"filename":"image_17012025_10_48_10_6448.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a5660a701bf712df5cedf168b224d480.jpg","text":"TemporaryFile(/tmp/multipartBody8871732652933999213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110586427,"filename":"image_17012025_10_48_04_5078.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329446033","file1":"1329446030","file0":"1329446025","file4":"1329446041","file5":"1329446043","file3":"1329446036"},"map_files_photo_id_array":[{"photo_id":"1329446043","filename":"file5"},{"photo_id":"1329446033","filename":"file2"},{"photo_id":"1329446041","filename":"file4"},{"photo_id":"1329446030","filename":"file1"},{"photo_id":"1329446025","filename":"file0"},{"photo_id":"1329446036","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329446030":["hashtag1","hashtag2"]},{"1329446041":["hashtag1","hashtag2"]},{"1329446043":["hashtag1","hashtag2"]},{"1329446025":["hashtag1","hashtag2"]},{"1329446033":["hashtag1","hashtag2"]},{"1329446036":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329446030, 1329446041, 1329446043, 1329446025, 1329446033, 1329446036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.468732833862305 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:42:42.390002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/47/image_17012025_10_47_29_6536.jpg', '/media/data/images/17012025/10/47/image_17012025_10_47_22_6402.jpg', '/media/data/images/17012025/10/47/image_17012025_10_47_16_5166.jpg', '/media/data/images/17012025/10/47/image_17012025_10_47_11_6378.jpg', '/media/data/images/17012025/10/46/image_17012025_10_47_04_6399.jpg', '/media/data/images/17012025/10/46/image_17012025_10_46_58_5195.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/47/image_17012025_10_47_29_6536.jpg
/media/data/images/17012025/10/47/image_17012025_10_47_22_6402.jpg
/media/data/images/17012025/10/47/image_17012025_10_47_16_5166.jpg
/media/data/images/17012025/10/47/image_17012025_10_47_11_6378.jpg
/media/data/images/17012025/10/46/image_17012025_10_47_04_6399.jpg
/media/data/images/17012025/10/46/image_17012025_10_46_58_5195.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329446055","1329446063","1329446066","1329446069","1329446060","1329446057"],"photo_ids_order":["1329446055","1329446057","1329446060","1329446063","1329446066","1329446069"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d55c724c9d5c086d13d2b7e07a16d7cc.jpg","text":"TemporaryFile(/tmp/multipartBody50753451694318600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110626620,"filename":"image_17012025_10_47_29_6536.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/becfa8764bd0c48ca7fb9052e3fe667b.jpg","text":"TemporaryFile(/tmp/multipartBody5884651250768684568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110626620,"filename":"image_17012025_10_47_11_6378.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/98b0b0eb63cc96ca04cbcafbdd4098a7.jpg","text":"TemporaryFile(/tmp/multipartBody2495722103739517853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110626620,"filename":"image_17012025_10_47_04_6399.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6b24f990eda33e3830411599c09ff503.jpg","text":"TemporaryFile(/tmp/multipartBody8570936932301528390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110626620,"filename":"image_17012025_10_46_58_5195.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6ac1402bef92e304ce56e9c6a96e78c3.jpg","text":"TemporaryFile(/tmp/multipartBody4087261601958161044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110626620,"filename":"image_17012025_10_47_16_5166.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3da613792e69f761bc4fbf081d32d4df.jpg","text":"TemporaryFile(/tmp/multipartBody1145657066355654641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110626620,"filename":"image_17012025_10_47_22_6402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329446060","file1":"1329446057","file0":"1329446055","file4":"1329446066","file5":"1329446069","file3":"1329446063"},"map_files_photo_id_array":[{"photo_id":"1329446069","filename":"file5"},{"photo_id":"1329446060","filename":"file2"},{"photo_id":"1329446066","filename":"file4"},{"photo_id":"1329446057","filename":"file1"},{"photo_id":"1329446055","filename":"file0"},{"photo_id":"1329446063","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329446055":["hashtag1","hashtag2"]},{"1329446063":["hashtag1","hashtag2"]},{"1329446066":["hashtag1","hashtag2"]},{"1329446069":["hashtag1","hashtag2"]},{"1329446060":["hashtag1","hashtag2"]},{"1329446057":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329446055, 1329446063, 1329446066, 1329446069, 1329446060, 1329446057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22397565841675 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:43:22.456451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/46/image_17012025_10_46_53_6404.jpg', '/media/data/images/17012025/10/46/image_17012025_10_46_46_6444.jpg', '/media/data/images/17012025/10/46/image_17012025_10_46_40_5195.jpg', '/media/data/images/17012025/10/46/image_17012025_10_46_35_6408.jpg', '/media/data/images/17012025/10/46/image_17012025_10_46_28_6403.jpg', '/media/data/images/17012025/10/46/image_17012025_10_46_22_5190.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/46/image_17012025_10_46_53_6404.jpg
/media/data/images/17012025/10/46/image_17012025_10_46_46_6444.jpg
/media/data/images/17012025/10/46/image_17012025_10_46_40_5195.jpg
/media/data/images/17012025/10/46/image_17012025_10_46_35_6408.jpg
/media/data/images/17012025/10/46/image_17012025_10_46_28_6403.jpg
/media/data/images/17012025/10/46/image_17012025_10_46_22_5190.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329446095","1329446091","1329446081","1329446100","1329446084","1329446087"],"photo_ids_order":["1329446081","1329446084","1329446087","1329446091","1329446095","1329446100"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3150020b64f6f2ae8451c7ca945bd4a1.jpg","text":"TemporaryFile(/tmp/multipartBody228748111541068481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110666267,"filename":"image_17012025_10_46_28_6403.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7959d4e432c9bfd59f0f826ce7ce5732.jpg","text":"TemporaryFile(/tmp/multipartBody5542967338978934311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110666267,"filename":"image_17012025_10_46_35_6408.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bb79089f64681aef55c7b92670725d80.jpg","text":"TemporaryFile(/tmp/multipartBody6734202303659615584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110666267,"filename":"image_17012025_10_46_53_6404.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/895322437d1c6bdc4b8733fe5158ecba.jpg","text":"TemporaryFile(/tmp/multipartBody4208730622872984748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110666267,"filename":"image_17012025_10_46_22_5190.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/92dcf160e0b9eadb41bc77d3b60dae31.jpg","text":"TemporaryFile(/tmp/multipartBody7781297327489225212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110666267,"filename":"image_17012025_10_46_46_6444.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a336c5689a494223fc6fff055491dbe3.jpg","text":"TemporaryFile(/tmp/multipartBody7559509016486263169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110666267,"filename":"image_17012025_10_46_40_5195.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329446087","file1":"1329446084","file0":"1329446081","file4":"1329446095","file5":"1329446100","file3":"1329446091"},"map_files_photo_id_array":[{"photo_id":"1329446100","filename":"file5"},{"photo_id":"1329446087","filename":"file2"},{"photo_id":"1329446095","filename":"file4"},{"photo_id":"1329446084","filename":"file1"},{"photo_id":"1329446081","filename":"file0"},{"photo_id":"1329446091","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329446095":["hashtag1","hashtag2"]},{"1329446091":["hashtag1","hashtag2"]},{"1329446081":["hashtag1","hashtag2"]},{"1329446100":["hashtag1","hashtag2"]},{"1329446084":["hashtag1","hashtag2"]},{"1329446087":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329446095, 1329446091, 1329446081, 1329446100, 1329446084, 1329446087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.63654923439026 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 11:44:02.764000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/46/image_17012025_10_46_17_6402.jpg', '/media/data/images/17012025/10/46/image_17012025_10_46_10_6450.jpg', '/media/data/images/17012025/10/46/image_17012025_10_46_04_5027.jpg', '/media/data/images/17012025/10/45/image_17012025_10_45_59_6378.jpg', '/media/data/images/17012025/10/45/image_17012025_10_45_52_6400.jpg', '/media/data/images/17012025/10/45/image_17012025_10_45_46_5164.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/46/image_17012025_10_46_17_6402.jpg
/media/data/images/17012025/10/46/image_17012025_10_46_10_6450.jpg
/media/data/images/17012025/10/46/image_17012025_10_46_04_5027.jpg
/media/data/images/17012025/10/45/image_17012025_10_45_59_6378.jpg
/media/data/images/17012025/10/45/image_17012025_10_45_52_6400.jpg
/media/data/images/17012025/10/45/image_17012025_10_45_46_5164.jpg
2025-01-17 11:44:02.887289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/46/image_17012025_10_46_17_6402.jpg', '/media/data/images/17012025/10/46/image_17012025_10_46_10_6450.jpg', '/media/data/images/17012025/10/46/image_17012025_10_46_04_5027.jpg', '/media/data/images/17012025/10/45/image_17012025_10_45_59_6378.jpg', '/media/data/images/17012025/10/45/image_17012025_10_45_52_6400.jpg', '/media/data/images/17012025/10/45/image_17012025_10_45_46_5164.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/46/image_17012025_10_46_17_6402.jpg
/media/data/images/17012025/10/46/image_17012025_10_46_10_6450.jpg
/media/data/images/17012025/10/46/image_17012025_10_46_04_5027.jpg
/media/data/images/17012025/10/45/image_17012025_10_45_59_6378.jpg
/media/data/images/17012025/10/45/image_17012025_10_45_52_6400.jpg
/media/data/images/17012025/10/45/image_17012025_10_45_46_5164.jpg
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329446123","1329446128","1329446133","1329446115","1329446118","1329446120"],"photo_ids_order":["1329446115","1329446118","1329446120","1329446123","1329446128","1329446133"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dd37240188bfaa50c680af81c57bb8d9.jpg","text":"TemporaryFile(/tmp/multipartBody1871091746720937670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110707780,"filename":"image_17012025_10_45_59_6378.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/40333fb45a211b311744489c08cc0424.jpg","text":"TemporaryFile(/tmp/multipartBody2061735011272553010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110707780,"filename":"image_17012025_10_45_52_6400.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/96ca81f8c52989c0cf0eb2df5ce9631d.jpg","text":"TemporaryFile(/tmp/multipartBody5659721169136480464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110707780,"filename":"image_17012025_10_45_46_5164.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/46de06f9f62fcfa241ecc58fdcd21ea7.jpg","text":"TemporaryFile(/tmp/multipartBody99354390388674401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110707780,"filename":"image_17012025_10_46_17_6402.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4d891497ae19957c6f80dfc4ec9279e9.jpg","text":"TemporaryFile(/tmp/multipartBody1274605046109785495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110707780,"filename":"image_17012025_10_46_10_6450.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dec58ffc90b51e1d182b06777fd1370a.jpg","text":"TemporaryFile(/tmp/multipartBody2230516090827858360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110707780,"filename":"image_17012025_10_46_04_5027.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329446120","file1":"1329446118","file0":"1329446115","file4":"1329446128","file5":"1329446133","file3":"1329446123"},"map_files_photo_id_array":[{"photo_id":"1329446133","filename":"file5"},{"photo_id":"1329446120","filename":"file2"},{"photo_id":"1329446128","filename":"file4"},{"photo_id":"1329446118","filename":"file1"},{"photo_id":"1329446115","filename":"file0"},{"photo_id":"1329446123","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329446123":["hashtag1","hashtag2"]},{"1329446128":["hashtag1","hashtag2"]},{"1329446133":["hashtag1","hashtag2"]},{"1329446115":["hashtag1","hashtag2"]},{"1329446118":["hashtag1","hashtag2"]},{"1329446120":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329446123, 1329446128, 1329446133, 1329446115, 1329446118, 1329446120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.03839087486267 secondes ---
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329446119","1329446116","1329446136","1329446121","1329446130","1329446124"],"photo_ids_order":["1329446116","1329446119","1329446121","1329446124","1329446130","1329446136"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/22121f7db5a95524187ca84a5edbebba.jpg","text":"TemporaryFile(/tmp/multipartBody2916537162488650860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110708682,"filename":"image_17012025_10_46_10_6450.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f79bf2dfb88803d334c3cbe29e059abe.jpg","text":"TemporaryFile(/tmp/multipartBody4457299412391786004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110708682,"filename":"image_17012025_10_46_17_6402.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9729bc9e208fcd56f7a1048d9e0abfbd.jpg","text":"TemporaryFile(/tmp/multipartBody3722428639539549724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110708682,"filename":"image_17012025_10_45_46_5164.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cf3c4089dab9e32600ecc7bfbce70e12.jpg","text":"TemporaryFile(/tmp/multipartBody5431650001924655630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110708682,"filename":"image_17012025_10_46_04_5027.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/938178e7f816d92f77d5817d14878f5a.jpg","text":"TemporaryFile(/tmp/multipartBody4703530079107997685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110708682,"filename":"image_17012025_10_45_52_6400.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/24d608c586fe34cdc5d509e3b858e843.jpg","text":"TemporaryFile(/tmp/multipartBody6722265702560881415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110708682,"filename":"image_17012025_10_45_59_6378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329446121","file1":"1329446119","file0":"1329446116","file4":"1329446130","file5":"1329446136","file3":"1329446124"},"map_files_photo_id_array":[{"photo_id":"1329446136","filename":"file5"},{"photo_id":"1329446121","filename":"file2"},{"photo_id":"1329446130","filename":"file4"},{"photo_id":"1329446119","filename":"file1"},{"photo_id":"1329446116","filename":"file0"},{"photo_id":"1329446124","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329446119":["hashtag1","hashtag2"]},{"1329446116":["hashtag1","hashtag2"]},{"1329446136":["hashtag1","hashtag2"]},{"1329446121":["hashtag1","hashtag2"]},{"1329446130":["hashtag1","hashtag2"]},{"1329446124":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329446119, 1329446116, 1329446136, 1329446121, 1329446130, 1329446124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.57612991333008 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:45:02.826593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/45/image_17012025_10_45_41_6397.jpg', '/media/data/images/17012025/10/45/image_17012025_10_45_34_6405.jpg', '/media/data/images/17012025/10/45/image_17012025_10_45_28_5186.jpg', '/media/data/images/17012025/10/45/image_17012025_10_45_23_6409.jpg', '/media/data/images/17012025/10/45/image_17012025_10_45_16_6399.jpg', '/media/data/images/17012025/10/45/image_17012025_10_45_10_5167.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/45/image_17012025_10_45_41_6397.jpg
/media/data/images/17012025/10/45/image_17012025_10_45_34_6405.jpg
/media/data/images/17012025/10/45/image_17012025_10_45_28_5186.jpg
/media/data/images/17012025/10/45/image_17012025_10_45_23_6409.jpg
/media/data/images/17012025/10/45/image_17012025_10_45_16_6399.jpg
/media/data/images/17012025/10/45/image_17012025_10_45_10_5167.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329446167","1329446161","1329446164","1329446172","1329446175","1329446169"],"photo_ids_order":["1329446161","1329446164","1329446167","1329446169","1329446172","1329446175"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/aad22347769a8cfa1984d4803a5f8c41.jpg","text":"TemporaryFile(/tmp/multipartBody5443368644313291482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110766111,"filename":"image_17012025_10_45_28_5186.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a4248cb4d07209142e486305b2c34b99.jpg","text":"TemporaryFile(/tmp/multipartBody1207220009603024758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110766111,"filename":"image_17012025_10_45_41_6397.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/307e7df836e44d8c3c2212e9ec592cdf.jpg","text":"TemporaryFile(/tmp/multipartBody3924527887581015582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110766111,"filename":"image_17012025_10_45_34_6405.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0411dc662ddc49308b2fe8c6dbf909a4.jpg","text":"TemporaryFile(/tmp/multipartBody3873348303323695517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110766111,"filename":"image_17012025_10_45_16_6399.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ef0e5506865247cc2cb71108f0bee8da.jpg","text":"TemporaryFile(/tmp/multipartBody7398834426055645845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110766111,"filename":"image_17012025_10_45_10_5167.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bc56194ec70846e8e95e7a7903a65a87.jpg","text":"TemporaryFile(/tmp/multipartBody7294923084604021901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110766111,"filename":"image_17012025_10_45_23_6409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329446167","file1":"1329446164","file0":"1329446161","file4":"1329446172","file5":"1329446175","file3":"1329446169"},"map_files_photo_id_array":[{"photo_id":"1329446175","filename":"file5"},{"photo_id":"1329446167","filename":"file2"},{"photo_id":"1329446172","filename":"file4"},{"photo_id":"1329446164","filename":"file1"},{"photo_id":"1329446161","filename":"file0"},{"photo_id":"1329446169","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329446167":["hashtag1","hashtag2"]},{"1329446161":["hashtag1","hashtag2"]},{"1329446164":["hashtag1","hashtag2"]},{"1329446172":["hashtag1","hashtag2"]},{"1329446175":["hashtag1","hashtag2"]},{"1329446169":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329446167, 1329446161, 1329446164, 1329446172, 1329446175, 1329446169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.11928629875183 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:45:42.655692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/45/image_17012025_10_45_05_6182.jpg', '/media/data/images/17012025/10/44/image_17012025_10_44_59_6375.jpg', '/media/data/images/17012025/10/44/image_17012025_10_44_46_5180.jpg', '/media/data/images/17012025/10/44/image_17012025_10_44_41_6415.jpg', '/media/data/images/17012025/10/44/image_17012025_10_44_34_6402.jpg', '/media/data/images/17012025/10/44/image_17012025_10_44_28_5162.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/45/image_17012025_10_45_05_6182.jpg
/media/data/images/17012025/10/44/image_17012025_10_44_59_6375.jpg
/media/data/images/17012025/10/44/image_17012025_10_44_46_5180.jpg
/media/data/images/17012025/10/44/image_17012025_10_44_41_6415.jpg
/media/data/images/17012025/10/44/image_17012025_10_44_34_6402.jpg
/media/data/images/17012025/10/44/image_17012025_10_44_28_5162.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329446204","1329446197","1329446200","1329446208","1329446192","1329446186"],"photo_ids_order":["1329446186","1329446192","1329446197","1329446200","1329446204","1329446208"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9849bda1f4506caf1a4f5c91194b5650.jpg","text":"TemporaryFile(/tmp/multipartBody3439914445840889544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110806203,"filename":"image_17012025_10_44_34_6402.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6ceebd36c0d8d0ae7f55b2fda1b2aa89.jpg","text":"TemporaryFile(/tmp/multipartBody3958260737737422631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110806203,"filename":"image_17012025_10_44_46_5180.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9510bc1c2d36e5b1fd952faa25531c3e.jpg","text":"TemporaryFile(/tmp/multipartBody3572850075151243959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110806203,"filename":"image_17012025_10_44_41_6415.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bac3b3e3fff70a725040dfea53d639ed.jpg","text":"TemporaryFile(/tmp/multipartBody8942160934660576157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110806203,"filename":"image_17012025_10_44_28_5162.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f76165463b79428e155d885323c2ea39.jpg","text":"TemporaryFile(/tmp/multipartBody217004801677595990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110806203,"filename":"image_17012025_10_44_59_6375.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/36177b709516d10c06019e98ad3fa86d.jpg","text":"TemporaryFile(/tmp/multipartBody2032256648835996330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110806203,"filename":"image_17012025_10_45_05_6182.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329446197","file1":"1329446192","file0":"1329446186","file4":"1329446204","file5":"1329446208","file3":"1329446200"},"map_files_photo_id_array":[{"photo_id":"1329446208","filename":"file5"},{"photo_id":"1329446197","filename":"file2"},{"photo_id":"1329446204","filename":"file4"},{"photo_id":"1329446192","filename":"file1"},{"photo_id":"1329446186","filename":"file0"},{"photo_id":"1329446200","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329446204":["hashtag1","hashtag2"]},{"1329446197":["hashtag1","hashtag2"]},{"1329446200":["hashtag1","hashtag2"]},{"1329446208":["hashtag1","hashtag2"]},{"1329446192":["hashtag1","hashtag2"]},{"1329446186":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329446204, 1329446197, 1329446200, 1329446208, 1329446192, 1329446186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.39243125915527 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:46:21.773938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/10/44/image_17012025_10_44_23_6372.jpg', '/media/data/images/17012025/10/44/image_17012025_10_44_16_6375.jpg', '/media/data/images/17012025/10/44/image_17012025_10_44_10_5218.jpg', '/media/data/images/17012025/10/44/image_17012025_10_44_05_6287.jpg', '/media/data/images/17012025/10/43/image_17012025_10_43_58_6383.jpg', '/media/data/images/17012025/08/42/image_17012025_08_42_59_6404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/10/44/image_17012025_10_44_23_6372.jpg
/media/data/images/17012025/10/44/image_17012025_10_44_16_6375.jpg
/media/data/images/17012025/10/44/image_17012025_10_44_10_5218.jpg
/media/data/images/17012025/10/44/image_17012025_10_44_05_6287.jpg
/media/data/images/17012025/10/43/image_17012025_10_43_58_6383.jpg
/media/data/images/17012025/08/42/image_17012025_08_42_59_6404.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329446219","1329446236","1329446230","1329446212","1329446215","1329446223"],"photo_ids_order":["1329446212","1329446215","1329446219","1329446223","1329446230","1329446236"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cc3373ccbf184285d4a88fd17786c725.jpg","text":"TemporaryFile(/tmp/multipartBody2520735472009292479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110844981,"filename":"image_17012025_10_44_10_5218.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e9a0581022f127d349c1ba6df0fc1071.jpg","text":"TemporaryFile(/tmp/multipartBody957697461434440193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110844981,"filename":"image_17012025_08_42_59_6404.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/be0ee1b6c8ff9475de3c6e15947003af.jpg","text":"TemporaryFile(/tmp/multipartBody6744032601642145822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110844981,"filename":"image_17012025_10_43_58_6383.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/56731eacf9402637856d73df1f14f895.jpg","text":"TemporaryFile(/tmp/multipartBody6965873424468126452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110844981,"filename":"image_17012025_10_44_23_6372.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/50a8abb18470d2aeaa5597f464e44991.jpg","text":"TemporaryFile(/tmp/multipartBody5208917686502803741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110844981,"filename":"image_17012025_10_44_16_6375.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6e36c911ea838e4f842d44b49fe7ec29.jpg","text":"TemporaryFile(/tmp/multipartBody3422975859187579595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110844981,"filename":"image_17012025_10_44_05_6287.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329446219","file1":"1329446215","file0":"1329446212","file4":"1329446230","file5":"1329446236","file3":"1329446223"},"map_files_photo_id_array":[{"photo_id":"1329446236","filename":"file5"},{"photo_id":"1329446219","filename":"file2"},{"photo_id":"1329446230","filename":"file4"},{"photo_id":"1329446215","filename":"file1"},{"photo_id":"1329446212","filename":"file0"},{"photo_id":"1329446223","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329446219":["hashtag1","hashtag2"]},{"1329446236":["hashtag1","hashtag2"]},{"1329446230":["hashtag1","hashtag2"]},{"1329446212":["hashtag1","hashtag2"]},{"1329446215":["hashtag1","hashtag2"]},{"1329446223":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329446219, 1329446236, 1329446230, 1329446212, 1329446215, 1329446223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.45205593109131 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:47:02.124455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/42/image_17012025_08_42_53_5148.jpg', '/media/data/images/17012025/08/42/image_17012025_08_42_47_6444.jpg', '/media/data/images/17012025/08/42/image_17012025_08_42_41_6448.jpg', '/media/data/images/17012025/08/42/image_17012025_08_42_34_5187.jpg', '/media/data/images/17012025/08/42/image_17012025_08_42_29_6426.jpg', '/media/data/images/17012025/08/42/image_17012025_08_42_23_5211.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/42/image_17012025_08_42_53_5148.jpg
/media/data/images/17012025/08/42/image_17012025_08_42_47_6444.jpg
/media/data/images/17012025/08/42/image_17012025_08_42_41_6448.jpg
/media/data/images/17012025/08/42/image_17012025_08_42_34_5187.jpg
/media/data/images/17012025/08/42/image_17012025_08_42_29_6426.jpg
/media/data/images/17012025/08/42/image_17012025_08_42_23_5211.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329446260","1329446259","1329446262","1329446256","1329446258","1329446252"],"photo_ids_order":["1329446252","1329446256","1329446258","1329446259","1329446260","1329446262"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a59b0773f4bca8ede373382e2649ac08.jpg","text":"TemporaryFile(/tmp/multipartBody7400909040384774035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110885801,"filename":"image_17012025_08_42_29_6426.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/67b521c98baa7a50bd68a6b7de89b685.jpg","text":"TemporaryFile(/tmp/multipartBody4911719086458588183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110885801,"filename":"image_17012025_08_42_34_5187.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0efc2b47a097a6001652d590e750fa66.jpg","text":"TemporaryFile(/tmp/multipartBody4726411927220054715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110885801,"filename":"image_17012025_08_42_23_5211.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f7d2915508605f34c523dce6b172522d.jpg","text":"TemporaryFile(/tmp/multipartBody1657492560352237181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110885801,"filename":"image_17012025_08_42_47_6444.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/80880690a8485cc68e6103f10398495b.jpg","text":"TemporaryFile(/tmp/multipartBody1142062121863007665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110885801,"filename":"image_17012025_08_42_41_6448.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/61cbd42db3d9e9063cc59b79ca13ef95.jpg","text":"TemporaryFile(/tmp/multipartBody5614623053000863673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110885801,"filename":"image_17012025_08_42_53_5148.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329446258","file1":"1329446256","file0":"1329446252","file4":"1329446260","file5":"1329446262","file3":"1329446259"},"map_files_photo_id_array":[{"photo_id":"1329446262","filename":"file5"},{"photo_id":"1329446258","filename":"file2"},{"photo_id":"1329446260","filename":"file4"},{"photo_id":"1329446256","filename":"file1"},{"photo_id":"1329446252","filename":"file0"},{"photo_id":"1329446259","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329446260":["hashtag1","hashtag2"]},{"1329446259":["hashtag1","hashtag2"]},{"1329446262":["hashtag1","hashtag2"]},{"1329446256":["hashtag1","hashtag2"]},{"1329446258":["hashtag1","hashtag2"]},{"1329446252":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329446260, 1329446259, 1329446262, 1329446256, 1329446258, 1329446252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01098608970642 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:47:41.886336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/42/image_17012025_08_42_18_6430.jpg', '/media/data/images/17012025/08/42/image_17012025_08_42_11_6426.jpg', '/media/data/images/17012025/08/42/image_17012025_08_42_05_6203.jpg', '/media/data/images/17012025/08/41/image_17012025_08_41_59_5208.jpg', '/media/data/images/17012025/08/41/image_17012025_08_41_53_6442.jpg', '/media/data/images/17012025/08/41/image_17012025_08_41_47_5361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/42/image_17012025_08_42_18_6430.jpg
/media/data/images/17012025/08/42/image_17012025_08_42_11_6426.jpg
/media/data/images/17012025/08/42/image_17012025_08_42_05_6203.jpg
/media/data/images/17012025/08/41/image_17012025_08_41_59_5208.jpg
/media/data/images/17012025/08/41/image_17012025_08_41_53_6442.jpg
/media/data/images/17012025/08/41/image_17012025_08_41_47_5361.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329446293","1329446287","1329446275","1329446298","1329446283","1329446279"],"photo_ids_order":["1329446275","1329446279","1329446283","1329446287","1329446293","1329446298"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/57ba1bdf15c40050a4f2b55be60e373c.jpg","text":"TemporaryFile(/tmp/multipartBody3196579369140407715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110926263,"filename":"image_17012025_08_41_53_6442.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1342e1636a6b125144d367e70689728e.jpg","text":"TemporaryFile(/tmp/multipartBody8410745398252605812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110926263,"filename":"image_17012025_08_41_59_5208.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/76d330c91e6e16b93e2fb6ebb1818d6e.jpg","text":"TemporaryFile(/tmp/multipartBody7605293846061555677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110926263,"filename":"image_17012025_08_42_18_6430.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2cec7409baee42413b66c3685db72021.jpg","text":"TemporaryFile(/tmp/multipartBody4892202340926580892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110926263,"filename":"image_17012025_08_41_47_5361.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2b87dcac1e2f80055e983ddd108131e9.jpg","text":"TemporaryFile(/tmp/multipartBody3424064580604918199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110926263,"filename":"image_17012025_08_42_05_6203.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9f46ce51129d12be8fd19b666447e563.jpg","text":"TemporaryFile(/tmp/multipartBody6241185134330571420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110926263,"filename":"image_17012025_08_42_11_6426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329446283","file1":"1329446279","file0":"1329446275","file4":"1329446293","file5":"1329446298","file3":"1329446287"},"map_files_photo_id_array":[{"photo_id":"1329446298","filename":"file5"},{"photo_id":"1329446283","filename":"file2"},{"photo_id":"1329446293","filename":"file4"},{"photo_id":"1329446279","filename":"file1"},{"photo_id":"1329446275","filename":"file0"},{"photo_id":"1329446287","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329446293":["hashtag1","hashtag2"]},{"1329446287":["hashtag1","hashtag2"]},{"1329446275":["hashtag1","hashtag2"]},{"1329446298":["hashtag1","hashtag2"]},{"1329446283":["hashtag1","hashtag2"]},{"1329446279":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329446293, 1329446287, 1329446275, 1329446298, 1329446283, 1329446279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91639518737793 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:48:21.968981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/41/image_17012025_08_41_42_6571.jpg', '/media/data/images/17012025/08/41/image_17012025_08_41_35_5325.jpg', '/media/data/images/17012025/08/41/image_17012025_08_41_30_6544.jpg', '/media/data/images/17012025/08/41/image_17012025_08_41_23_6533.jpg', '/media/data/images/17012025/08/41/image_17012025_08_41_17_5291.jpg', '/media/data/images/17012025/08/41/image_17012025_08_41_11_6570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/41/image_17012025_08_41_42_6571.jpg
/media/data/images/17012025/08/41/image_17012025_08_41_35_5325.jpg
/media/data/images/17012025/08/41/image_17012025_08_41_30_6544.jpg
/media/data/images/17012025/08/41/image_17012025_08_41_23_6533.jpg
/media/data/images/17012025/08/41/image_17012025_08_41_17_5291.jpg
/media/data/images/17012025/08/41/image_17012025_08_41_11_6570.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329446315","1329446323","1329446311","1329446313","1329446319","1329446310"],"photo_ids_order":["1329446310","1329446311","1329446313","1329446315","1329446319","1329446323"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b11510d9a7cd3ee92998a1528d968f1c.jpg","text":"TemporaryFile(/tmp/multipartBody9139600143743277551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110967577,"filename":"image_17012025_08_41_23_6533.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4ee1a2e7214bf46cda3a4d8786ef1bea.jpg","text":"TemporaryFile(/tmp/multipartBody4108711849024244524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110967577,"filename":"image_17012025_08_41_11_6570.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1b3580f947accc2d77a4dc16593c3da2.jpg","text":"TemporaryFile(/tmp/multipartBody2153631543832971152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110967577,"filename":"image_17012025_08_41_35_5325.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e0d51e68d51921aa226eaf08124bd4c5.jpg","text":"TemporaryFile(/tmp/multipartBody6184871693779174539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110967577,"filename":"image_17012025_08_41_30_6544.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/03089810002c11df6487f1a0691a2120.jpg","text":"TemporaryFile(/tmp/multipartBody8793882654819639729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110967577,"filename":"image_17012025_08_41_17_5291.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e4007bf0af61f82dd9622a75ac715498.jpg","text":"TemporaryFile(/tmp/multipartBody921298124588240941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737110967577,"filename":"image_17012025_08_41_42_6571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329446313","file1":"1329446311","file0":"1329446310","file4":"1329446319","file5":"1329446323","file3":"1329446315"},"map_files_photo_id_array":[{"photo_id":"1329446323","filename":"file5"},{"photo_id":"1329446313","filename":"file2"},{"photo_id":"1329446319","filename":"file4"},{"photo_id":"1329446311","filename":"file1"},{"photo_id":"1329446310","filename":"file0"},{"photo_id":"1329446315","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329446315":["hashtag1","hashtag2"]},{"1329446323":["hashtag1","hashtag2"]},{"1329446311":["hashtag1","hashtag2"]},{"1329446313":["hashtag1","hashtag2"]},{"1329446319":["hashtag1","hashtag2"]},{"1329446310":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329446315, 1329446323, 1329446311, 1329446313, 1329446319, 1329446310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.07960343360901 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 11:49:02.371500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/41/image_17012025_08_41_05_5350.jpg', '/media/data/images/17012025/08/40/image_17012025_08_40_59_6569.jpg', '/media/data/images/17012025/08/40/image_17012025_08_40_53_5322.jpg', '/media/data/images/17012025/08/40/image_17012025_08_40_48_6560.jpg', '/media/data/images/17012025/08/40/image_17012025_08_40_41_5318.jpg', '/media/data/images/17012025/08/40/image_17012025_08_40_36_6557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/41/image_17012025_08_41_05_5350.jpg
/media/data/images/17012025/08/40/image_17012025_08_40_59_6569.jpg
/media/data/images/17012025/08/40/image_17012025_08_40_53_5322.jpg
/media/data/images/17012025/08/40/image_17012025_08_40_48_6560.jpg
/media/data/images/17012025/08/40/image_17012025_08_40_41_5318.jpg
/media/data/images/17012025/08/40/image_17012025_08_40_36_6557.jpg
2025-01-17 11:49:02.438761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/41/image_17012025_08_41_05_5350.jpg', '/media/data/images/17012025/08/40/image_17012025_08_40_59_6569.jpg', '/media/data/images/17012025/08/40/image_17012025_08_40_53_5322.jpg', '/media/data/images/17012025/08/40/image_17012025_08_40_48_6560.jpg', '/media/data/images/17012025/08/40/image_17012025_08_40_41_5318.jpg', '/media/data/images/17012025/08/40/image_17012025_08_40_36_6557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/41/image_17012025_08_41_05_5350.jpg
/media/data/images/17012025/08/40/image_17012025_08_40_59_6569.jpg
/media/data/images/17012025/08/40/image_17012025_08_40_53_5322.jpg
/media/data/images/17012025/08/40/image_17012025_08_40_48_6560.jpg
/media/data/images/17012025/08/40/image_17012025_08_40_41_5318.jpg
/media/data/images/17012025/08/40/image_17012025_08_40_36_6557.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329446347","1329446352","1329446361","1329446343","1329446363","1329446357"],"photo_ids_order":["1329446343","1329446347","1329446352","1329446357","1329446361","1329446363"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b39f6a1e7a97e9071547b1354d7485e1.jpg","text":"TemporaryFile(/tmp/multipartBody3959688673343966665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111012123,"filename":"image_17012025_08_40_59_6569.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/39dadaa89eed6a07182e9305d38511fc.jpg","text":"TemporaryFile(/tmp/multipartBody4427184209430718127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111012123,"filename":"image_17012025_08_40_53_5322.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4d5f55ac181d39bd8930202afc7cbea5.jpg","text":"TemporaryFile(/tmp/multipartBody4775483779816850943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111012123,"filename":"image_17012025_08_40_41_5318.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4cc99dc8480b02d9f5febcbefb128b3a.jpg","text":"TemporaryFile(/tmp/multipartBody793145177982754769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111012123,"filename":"image_17012025_08_41_05_5350.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3e60182af5202932b5d81251c9c614d4.jpg","text":"TemporaryFile(/tmp/multipartBody4064822112614757635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111012123,"filename":"image_17012025_08_40_36_6557.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/27cbe666211748d201fc49b1cd79f7fb.jpg","text":"TemporaryFile(/tmp/multipartBody3234901878819900287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111012123,"filename":"image_17012025_08_40_48_6560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329446352","file1":"1329446347","file0":"1329446343","file4":"1329446361","file5":"1329446363","file3":"1329446357"},"map_files_photo_id_array":[{"photo_id":"1329446363","filename":"file5"},{"photo_id":"1329446352","filename":"file2"},{"photo_id":"1329446361","filename":"file4"},{"photo_id":"1329446347","filename":"file1"},{"photo_id":"1329446343","filename":"file0"},{"photo_id":"1329446357","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329446347":["hashtag1","hashtag2"]},{"1329446352":["hashtag1","hashtag2"]},{"1329446361":["hashtag1","hashtag2"]},{"1329446343":["hashtag1","hashtag2"]},{"1329446363":["hashtag1","hashtag2"]},{"1329446357":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329446347, 1329446352, 1329446361, 1329446343, 1329446363, 1329446357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.47251796722412 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329446353","1329446362","1329446364","1329446358","1329446349","1329446342"],"photo_ids_order":["1329446342","1329446349","1329446353","1329446358","1329446362","1329446364"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e95639740aef59bacafccb29ae875e75.jpg","text":"TemporaryFile(/tmp/multipartBody7028752715235337147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111011597,"filename":"image_17012025_08_40_53_5322.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c1dc4b5bf680bd6486356d0614cdb4cc.jpg","text":"TemporaryFile(/tmp/multipartBody2191068873824114200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111011597,"filename":"image_17012025_08_40_41_5318.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c64d975c5cd5bbddd00e0ea7e080ab55.jpg","text":"TemporaryFile(/tmp/multipartBody6520784912752980647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111011597,"filename":"image_17012025_08_40_36_6557.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b4c3855242a8fccc23a4c63ab036bf63.jpg","text":"TemporaryFile(/tmp/multipartBody6178693130885410425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111011597,"filename":"image_17012025_08_40_48_6560.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c989230c16770dcbe4ec90d8a015b3b6.jpg","text":"TemporaryFile(/tmp/multipartBody5349664315740149939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111011597,"filename":"image_17012025_08_40_59_6569.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/819db900a75633d2c33d06e723206f91.jpg","text":"TemporaryFile(/tmp/multipartBody3590053076237331020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111011597,"filename":"image_17012025_08_41_05_5350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329446353","file1":"1329446349","file0":"1329446342","file4":"1329446362","file5":"1329446364","file3":"1329446358"},"map_files_photo_id_array":[{"photo_id":"1329446364","filename":"file5"},{"photo_id":"1329446353","filename":"file2"},{"photo_id":"1329446362","filename":"file4"},{"photo_id":"1329446349","filename":"file1"},{"photo_id":"1329446342","filename":"file0"},{"photo_id":"1329446358","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329446353":["hashtag1","hashtag2"]},{"1329446362":["hashtag1","hashtag2"]},{"1329446364":["hashtag1","hashtag2"]},{"1329446358":["hashtag1","hashtag2"]},{"1329446349":["hashtag1","hashtag2"]},{"1329446342":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329446353, 1329446362, 1329446364, 1329446358, 1329446349, 1329446342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.8865110874176 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:50:02.301336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/40/image_17012025_08_40_29_6586.jpg', '/media/data/images/17012025/08/40/image_17012025_08_40_22_5340.jpg', '/media/data/images/17012025/08/40/image_17012025_08_40_17_6567.jpg', '/media/data/images/17012025/08/40/image_17012025_08_40_11_5318.jpg', '/media/data/images/17012025/08/40/image_17012025_08_40_05_5585.jpg', '/media/data/images/17012025/08/39/image_17012025_08_39_53_5431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/40/image_17012025_08_40_29_6586.jpg
/media/data/images/17012025/08/40/image_17012025_08_40_22_5340.jpg
/media/data/images/17012025/08/40/image_17012025_08_40_17_6567.jpg
/media/data/images/17012025/08/40/image_17012025_08_40_11_5318.jpg
/media/data/images/17012025/08/40/image_17012025_08_40_05_5585.jpg
/media/data/images/17012025/08/39/image_17012025_08_39_53_5431.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: 6.137890577316284 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:50:22.167371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/40/image_17012025_08_40_29_6586.jpg', '/media/data/images/17012025/08/40/image_17012025_08_40_22_5340.jpg', '/media/data/images/17012025/08/40/image_17012025_08_40_17_6567.jpg', '/media/data/images/17012025/08/40/image_17012025_08_40_11_5318.jpg', '/media/data/images/17012025/08/40/image_17012025_08_40_05_5585.jpg', '/media/data/images/17012025/08/39/image_17012025_08_39_53_5431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/40/image_17012025_08_40_29_6586.jpg
/media/data/images/17012025/08/40/image_17012025_08_40_22_5340.jpg
/media/data/images/17012025/08/40/image_17012025_08_40_17_6567.jpg
/media/data/images/17012025/08/40/image_17012025_08_40_11_5318.jpg
/media/data/images/17012025/08/40/image_17012025_08_40_05_5585.jpg
/media/data/images/17012025/08/39/image_17012025_08_39_53_5431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329446414","1329446408","1329446422","1329446404","1329446427","1329446400"],"photo_ids_order":["1329446400","1329446404","1329446408","1329446414","1329446422","1329446427"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/573a59f852451c17645c6bf89b907e34.jpg","text":"TemporaryFile(/tmp/multipartBody2858029180658528309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111088782,"filename":"image_17012025_08_40_11_5318.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f8f2cedfe4282f7d5725e575437014f4.jpg","text":"TemporaryFile(/tmp/multipartBody3813659631618231464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111088782,"filename":"image_17012025_08_40_17_6567.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b172e8922fc6e7cd5c683723e38c726a.jpg","text":"TemporaryFile(/tmp/multipartBody5462657197093218557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111088782,"filename":"image_17012025_08_40_05_5585.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9ceefe73451636022c11addd5ae1f1db.jpg","text":"TemporaryFile(/tmp/multipartBody8814578945345189298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111088782,"filename":"image_17012025_08_40_22_5340.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5834e9b3646de824648f693aa34f72fc.jpg","text":"TemporaryFile(/tmp/multipartBody8066340925738731025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111088782,"filename":"image_17012025_08_39_53_5431.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/30528c79e3a3b3da625979aa055a7aa0.jpg","text":"TemporaryFile(/tmp/multipartBody3267382218421516657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111088782,"filename":"image_17012025_08_40_29_6586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329446408","file1":"1329446404","file0":"1329446400","file4":"1329446422","file5":"1329446427","file3":"1329446414"},"map_files_photo_id_array":[{"photo_id":"1329446427","filename":"file5"},{"photo_id":"1329446408","filename":"file2"},{"photo_id":"1329446422","filename":"file4"},{"photo_id":"1329446404","filename":"file1"},{"photo_id":"1329446400","filename":"file0"},{"photo_id":"1329446414","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329446414":["hashtag1","hashtag2"]},{"1329446408":["hashtag1","hashtag2"]},{"1329446422":["hashtag1","hashtag2"]},{"1329446404":["hashtag1","hashtag2"]},{"1329446427":["hashtag1","hashtag2"]},{"1329446400":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329446414, 1329446408, 1329446422, 1329446404, 1329446427, 1329446400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.577147006988525 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:51:22.266506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/39/image_17012025_08_39_48_6693.jpg', '/media/data/images/17012025/08/39/image_17012025_08_39_41_5363.jpg', '/media/data/images/17012025/08/39/image_17012025_08_39_36_6561.jpg', '/media/data/images/17012025/08/39/image_17012025_08_39_29_5301.jpg', '/media/data/images/17012025/08/39/image_17012025_08_39_24_6580.jpg', '/media/data/images/17012025/08/39/image_17012025_08_39_17_6576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/39/image_17012025_08_39_48_6693.jpg
/media/data/images/17012025/08/39/image_17012025_08_39_41_5363.jpg
/media/data/images/17012025/08/39/image_17012025_08_39_36_6561.jpg
/media/data/images/17012025/08/39/image_17012025_08_39_29_5301.jpg
/media/data/images/17012025/08/39/image_17012025_08_39_24_6580.jpg
/media/data/images/17012025/08/39/image_17012025_08_39_17_6576.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329446461","1329446458","1329446445","1329446454","1329446441","1329446450"],"photo_ids_order":["1329446441","1329446445","1329446450","1329446454","1329446458","1329446461"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a00438b8a1763146af6463dec69b797f.jpg","text":"TemporaryFile(/tmp/multipartBody1628263360138204966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111148508,"filename":"image_17012025_08_39_17_6576.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d5c9bb555d8ccdf98e8766edfb2e3ea1.jpg","text":"TemporaryFile(/tmp/multipartBody6262108952831852992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111148508,"filename":"image_17012025_08_39_24_6580.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/315113548f984dba2a94cc71935c1db7.jpg","text":"TemporaryFile(/tmp/multipartBody4397235941783230011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111148508,"filename":"image_17012025_08_39_41_5363.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d1d6ba329e253dd95c7c4ce9c90864ff.jpg","text":"TemporaryFile(/tmp/multipartBody6234409529936659899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111148508,"filename":"image_17012025_08_39_29_5301.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d91926187e7d769ede116a32f97d7d8f.jpg","text":"TemporaryFile(/tmp/multipartBody5880558630282626206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111148508,"filename":"image_17012025_08_39_48_6693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d2baef1e3105d18a9f90c57cc9114aa7.jpg","text":"TemporaryFile(/tmp/multipartBody2296164090609387102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111148508,"filename":"image_17012025_08_39_36_6561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329446450","file1":"1329446445","file0":"1329446441","file4":"1329446458","file5":"1329446461","file3":"1329446454"},"map_files_photo_id_array":[{"photo_id":"1329446461","filename":"file5"},{"photo_id":"1329446450","filename":"file2"},{"photo_id":"1329446458","filename":"file4"},{"photo_id":"1329446445","filename":"file1"},{"photo_id":"1329446441","filename":"file0"},{"photo_id":"1329446454","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329446461":["hashtag1","hashtag2"]},{"1329446458":["hashtag1","hashtag2"]},{"1329446445":["hashtag1","hashtag2"]},{"1329446454":["hashtag1","hashtag2"]},{"1329446441":["hashtag1","hashtag2"]},{"1329446450":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329446461, 1329446458, 1329446445, 1329446454, 1329446441, 1329446450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.04369854927063 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:52:22.330843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/39/image_17012025_08_39_10_5321.jpg', '/media/data/images/17012025/08/39/image_17012025_08_39_05_6451.jpg', '/media/data/images/17012025/08/38/image_17012025_08_38_59_5400.jpg', '/media/data/images/17012025/08/38/image_17012025_08_38_53_6628.jpg', '/media/data/images/17012025/08/38/image_17012025_08_38_47_5310.jpg', '/media/data/images/17012025/08/38/image_17012025_08_38_41_6540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/39/image_17012025_08_39_10_5321.jpg
/media/data/images/17012025/08/39/image_17012025_08_39_05_6451.jpg
/media/data/images/17012025/08/38/image_17012025_08_38_59_5400.jpg
/media/data/images/17012025/08/38/image_17012025_08_38_53_6628.jpg
/media/data/images/17012025/08/38/image_17012025_08_38_47_5310.jpg
/media/data/images/17012025/08/38/image_17012025_08_38_41_6540.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329446482","1329446488","1329446503","1329446484","1329446498","1329446492"],"photo_ids_order":["1329446482","1329446484","1329446488","1329446492","1329446498","1329446503"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5f0c76d205a5c0eef126b60c0fdb36d5.jpg","text":"TemporaryFile(/tmp/multipartBody2587526051071999419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111208363,"filename":"image_17012025_08_39_10_5321.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c69047af05be4a6bbbf7c0a4361f1813.jpg","text":"TemporaryFile(/tmp/multipartBody2554758426277983733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111208363,"filename":"image_17012025_08_38_59_5400.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/72fcc7cc88ca4fcee3fcf15987ad4ba4.jpg","text":"TemporaryFile(/tmp/multipartBody6606192558836341075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111208363,"filename":"image_17012025_08_38_41_6540.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e37d509d37617620f4c2bfa8aa0f302e.jpg","text":"TemporaryFile(/tmp/multipartBody952857809686966645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111208363,"filename":"image_17012025_08_39_05_6451.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8b17a3b618a7eec6eafeeab0dc0c77e9.jpg","text":"TemporaryFile(/tmp/multipartBody6747442473111569695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111208363,"filename":"image_17012025_08_38_47_5310.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e13638d6d97a5c0bfd1c10611a574674.jpg","text":"TemporaryFile(/tmp/multipartBody6955424708589743685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111208363,"filename":"image_17012025_08_38_53_6628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329446488","file1":"1329446484","file0":"1329446482","file4":"1329446498","file5":"1329446503","file3":"1329446492"},"map_files_photo_id_array":[{"photo_id":"1329446503","filename":"file5"},{"photo_id":"1329446488","filename":"file2"},{"photo_id":"1329446498","filename":"file4"},{"photo_id":"1329446484","filename":"file1"},{"photo_id":"1329446482","filename":"file0"},{"photo_id":"1329446492","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329446482":["hashtag1","hashtag2"]},{"1329446488":["hashtag1","hashtag2"]},{"1329446503":["hashtag1","hashtag2"]},{"1329446484":["hashtag1","hashtag2"]},{"1329446498":["hashtag1","hashtag2"]},{"1329446492":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329446482, 1329446488, 1329446503, 1329446484, 1329446498, 1329446492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.044798374176025 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:53:02.699214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/38/image_17012025_08_38_35_5297.jpg', '/media/data/images/17012025/08/38/image_17012025_08_38_30_6575.jpg', '/media/data/images/17012025/08/38/image_17012025_08_38_23_5309.jpg', '/media/data/images/17012025/08/38/image_17012025_08_38_18_6582.jpg', '/media/data/images/17012025/08/38/image_17012025_08_38_11_6570.jpg', '/media/data/images/17012025/08/38/image_17012025_08_38_04_5330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/38/image_17012025_08_38_35_5297.jpg
/media/data/images/17012025/08/38/image_17012025_08_38_30_6575.jpg
/media/data/images/17012025/08/38/image_17012025_08_38_23_5309.jpg
/media/data/images/17012025/08/38/image_17012025_08_38_18_6582.jpg
/media/data/images/17012025/08/38/image_17012025_08_38_11_6570.jpg
/media/data/images/17012025/08/38/image_17012025_08_38_04_5330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329446524","1329446526","1329446520","1329446517","1329446522","1329446519"],"photo_ids_order":["1329446517","1329446519","1329446520","1329446522","1329446524","1329446526"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f570e3a0d91afaeee897782a20dd0eba.jpg","text":"TemporaryFile(/tmp/multipartBody2079537388549288961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111248418,"filename":"image_17012025_08_38_11_6570.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ac9d5fbb77faa91954b0a6fbbed60053.jpg","text":"TemporaryFile(/tmp/multipartBody5652171509288075120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111248418,"filename":"image_17012025_08_38_04_5330.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f666ca461bef65400265c5e7f978416f.jpg","text":"TemporaryFile(/tmp/multipartBody5760249879352439916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111248418,"filename":"image_17012025_08_38_23_5309.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4fbbfdc682ec1593ffaf6131089b23e9.jpg","text":"TemporaryFile(/tmp/multipartBody5526641423344336280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111248418,"filename":"image_17012025_08_38_35_5297.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7848313ffcf0adc0ea8ebdc2fa0eb422.jpg","text":"TemporaryFile(/tmp/multipartBody2050933129079879433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111248418,"filename":"image_17012025_08_38_18_6582.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a261f324e1a69db0d840c0a276f73d8b.jpg","text":"TemporaryFile(/tmp/multipartBody2221272785802739588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111248418,"filename":"image_17012025_08_38_30_6575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329446520","file1":"1329446519","file0":"1329446517","file4":"1329446524","file5":"1329446526","file3":"1329446522"},"map_files_photo_id_array":[{"photo_id":"1329446526","filename":"file5"},{"photo_id":"1329446520","filename":"file2"},{"photo_id":"1329446524","filename":"file4"},{"photo_id":"1329446519","filename":"file1"},{"photo_id":"1329446517","filename":"file0"},{"photo_id":"1329446522","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329446524":["hashtag1","hashtag2"]},{"1329446526":["hashtag1","hashtag2"]},{"1329446520":["hashtag1","hashtag2"]},{"1329446517":["hashtag1","hashtag2"]},{"1329446522":["hashtag1","hashtag2"]},{"1329446519":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329446524, 1329446526, 1329446520, 1329446517, 1329446522, 1329446519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.775136947631836 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:54:02.741178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/37/image_17012025_08_37_59_6549.jpg', '/media/data/images/17012025/08/37/image_17012025_08_37_53_5324.jpg', '/media/data/images/17012025/08/37/image_17012025_08_37_47_6568.jpg', '/media/data/images/17012025/08/37/image_17012025_08_37_41_5331.jpg', '/media/data/images/17012025/08/37/image_17012025_08_37_35_6520.jpg', '/media/data/images/17012025/08/37/image_17012025_08_37_29_5284.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/37/image_17012025_08_37_59_6549.jpg
/media/data/images/17012025/08/37/image_17012025_08_37_53_5324.jpg
/media/data/images/17012025/08/37/image_17012025_08_37_47_6568.jpg
/media/data/images/17012025/08/37/image_17012025_08_37_41_5331.jpg
/media/data/images/17012025/08/37/image_17012025_08_37_35_6520.jpg
/media/data/images/17012025/08/37/image_17012025_08_37_29_5284.jpg
2025-01-17 11:54:02.799976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/37/image_17012025_08_37_59_6549.jpg', '/media/data/images/17012025/08/37/image_17012025_08_37_53_5324.jpg', '/media/data/images/17012025/08/37/image_17012025_08_37_47_6568.jpg', '/media/data/images/17012025/08/37/image_17012025_08_37_41_5331.jpg', '/media/data/images/17012025/08/37/image_17012025_08_37_35_6520.jpg', '/media/data/images/17012025/08/37/image_17012025_08_37_29_5284.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/37/image_17012025_08_37_59_6549.jpg
/media/data/images/17012025/08/37/image_17012025_08_37_53_5324.jpg
/media/data/images/17012025/08/37/image_17012025_08_37_47_6568.jpg
/media/data/images/17012025/08/37/image_17012025_08_37_41_5331.jpg
/media/data/images/17012025/08/37/image_17012025_08_37_35_6520.jpg
/media/data/images/17012025/08/37/image_17012025_08_37_29_5284.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329446563","1329446569","1329446554","1329446565","1329446573","1329446558"],"photo_ids_order":["1329446554","1329446558","1329446563","1329446565","1329446569","1329446573"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b48f126a8b85d4b260fb8ca522fd66a0.jpg","text":"TemporaryFile(/tmp/multipartBody4793891048613177575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111315268,"filename":"image_17012025_08_37_47_6568.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a689929b1a0d1b0dc9fd3a9a3227825c.jpg","text":"TemporaryFile(/tmp/multipartBody4358706324001037452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111315268,"filename":"image_17012025_08_37_35_6520.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/846401857c14c9eb2e5ed94722f08bb3.jpg","text":"TemporaryFile(/tmp/multipartBody6991223456558005918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111315268,"filename":"image_17012025_08_37_59_6549.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9e65e5c4706f832974e8b9cf7a355822.jpg","text":"TemporaryFile(/tmp/multipartBody746271256646740047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111315268,"filename":"image_17012025_08_37_41_5331.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/84d575f108799d01b231168462d100f0.jpg","text":"TemporaryFile(/tmp/multipartBody2068614156334898572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111315268,"filename":"image_17012025_08_37_29_5284.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d086875d652f50b5507fa84bd5cd5e7d.jpg","text":"TemporaryFile(/tmp/multipartBody4390870065555988083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111315268,"filename":"image_17012025_08_37_53_5324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329446563","file1":"1329446558","file0":"1329446554","file4":"1329446569","file5":"1329446573","file3":"1329446565"},"map_files_photo_id_array":[{"photo_id":"1329446573","filename":"file5"},{"photo_id":"1329446563","filename":"file2"},{"photo_id":"1329446569","filename":"file4"},{"photo_id":"1329446558","filename":"file1"},{"photo_id":"1329446554","filename":"file0"},{"photo_id":"1329446565","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329446563":["hashtag1","hashtag2"]},{"1329446569":["hashtag1","hashtag2"]},{"1329446554":["hashtag1","hashtag2"]},{"1329446565":["hashtag1","hashtag2"]},{"1329446573":["hashtag1","hashtag2"]},{"1329446558":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329446563, 1329446569, 1329446554, 1329446565, 1329446573, 1329446558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.38033628463745 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329446566","1329446557","1329446574","1329446553","1329446570","1329446561"],"photo_ids_order":["1329446553","1329446557","1329446561","1329446566","1329446570","1329446574"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e834d51c2f4fc8f89ab7df459b179d7b.jpg","text":"TemporaryFile(/tmp/multipartBody6671473112235578963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111315268,"filename":"image_17012025_08_37_41_5331.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e56f791f50663e3b01ade20cf391df7d.jpg","text":"TemporaryFile(/tmp/multipartBody5715232578847035751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111315268,"filename":"image_17012025_08_37_53_5324.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5a20375a9af2da79e894c5b978f7a498.jpg","text":"TemporaryFile(/tmp/multipartBody1051635513141439740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111315268,"filename":"image_17012025_08_37_29_5284.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a31a2182a4769a2a12d9c31e540c91a5.jpg","text":"TemporaryFile(/tmp/multipartBody1143378424155744369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111315268,"filename":"image_17012025_08_37_59_6549.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/018b677b6afa38a4feb3fa68a778c841.jpg","text":"TemporaryFile(/tmp/multipartBody5939592069329635909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111315268,"filename":"image_17012025_08_37_35_6520.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/925bd7f45268067332376decc89cdaef.jpg","text":"TemporaryFile(/tmp/multipartBody1649532350233593306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111315268,"filename":"image_17012025_08_37_47_6568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329446561","file1":"1329446557","file0":"1329446553","file4":"1329446570","file5":"1329446574","file3":"1329446566"},"map_files_photo_id_array":[{"photo_id":"1329446574","filename":"file5"},{"photo_id":"1329446561","filename":"file2"},{"photo_id":"1329446570","filename":"file4"},{"photo_id":"1329446557","filename":"file1"},{"photo_id":"1329446553","filename":"file0"},{"photo_id":"1329446566","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329446566":["hashtag1","hashtag2"]},{"1329446557":["hashtag1","hashtag2"]},{"1329446574":["hashtag1","hashtag2"]},{"1329446553":["hashtag1","hashtag2"]},{"1329446570":["hashtag1","hashtag2"]},{"1329446561":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329446566, 1329446557, 1329446574, 1329446553, 1329446570, 1329446561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.37986707687378 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:55:02.950426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/37/image_17012025_08_37_24_6543.jpg', '/media/data/images/17012025/08/37/image_17012025_08_37_17_5319.jpg', '/media/data/images/17012025/08/37/image_17012025_08_37_12_6669.jpg', '/media/data/images/17012025/08/36/image_17012025_08_36_53_5388.jpg', '/media/data/images/17012025/08/36/image_17012025_08_36_48_6553.jpg', '/media/data/images/17012025/08/36/image_17012025_08_36_41_5297.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/37/image_17012025_08_37_24_6543.jpg
/media/data/images/17012025/08/37/image_17012025_08_37_17_5319.jpg
/media/data/images/17012025/08/37/image_17012025_08_37_12_6669.jpg
/media/data/images/17012025/08/36/image_17012025_08_36_53_5388.jpg
/media/data/images/17012025/08/36/image_17012025_08_36_48_6553.jpg
/media/data/images/17012025/08/36/image_17012025_08_36_41_5297.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329446612","1329446596","1329446602","1329446598","1329446607","1329446615"],"photo_ids_order":["1329446596","1329446598","1329446602","1329446607","1329446612","1329446615"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4a2789b0e9a23b4cc5c1d861a56d0cab.jpg","text":"TemporaryFile(/tmp/multipartBody4702266956833556638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111370456,"filename":"image_17012025_08_36_48_6553.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fd4148bd748d7fd23e4a3a7b92f5e598.jpg","text":"TemporaryFile(/tmp/multipartBody4707462625538310372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111370456,"filename":"image_17012025_08_37_24_6543.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f6950a25746c4d4ea78f2a4b62db32ec.jpg","text":"TemporaryFile(/tmp/multipartBody4993992049179448679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111370456,"filename":"image_17012025_08_37_12_6669.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/29f67931f1b9c7524f8d543574a0c954.jpg","text":"TemporaryFile(/tmp/multipartBody7185467852849890745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111370456,"filename":"image_17012025_08_37_17_5319.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5c0d4cbcff5e3b828c52a510077acf33.jpg","text":"TemporaryFile(/tmp/multipartBody661902377614248194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111370456,"filename":"image_17012025_08_36_53_5388.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7a6907131713d498f80976334065734a.jpg","text":"TemporaryFile(/tmp/multipartBody487922627365635125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111370456,"filename":"image_17012025_08_36_41_5297.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329446602","file1":"1329446598","file0":"1329446596","file4":"1329446612","file5":"1329446615","file3":"1329446607"},"map_files_photo_id_array":[{"photo_id":"1329446615","filename":"file5"},{"photo_id":"1329446602","filename":"file2"},{"photo_id":"1329446612","filename":"file4"},{"photo_id":"1329446598","filename":"file1"},{"photo_id":"1329446596","filename":"file0"},{"photo_id":"1329446607","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329446612":["hashtag1","hashtag2"]},{"1329446596":["hashtag1","hashtag2"]},{"1329446602":["hashtag1","hashtag2"]},{"1329446598":["hashtag1","hashtag2"]},{"1329446607":["hashtag1","hashtag2"]},{"1329446615":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329446612, 1329446596, 1329446602, 1329446598, 1329446607, 1329446615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.895646810531616 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:56:02.823191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/36/image_17012025_08_36_36_6573.jpg', '/media/data/images/17012025/08/36/image_17012025_08_36_29_5405.jpg', '/media/data/images/17012025/08/36/image_17012025_08_36_24_6652.jpg', '/media/data/images/17012025/08/36/image_17012025_08_36_17_5313.jpg', '/media/data/images/17012025/08/36/image_17012025_08_36_12_6539.jpg', '/media/data/images/17012025/08/36/image_17012025_08_36_05_6394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/36/image_17012025_08_36_36_6573.jpg
/media/data/images/17012025/08/36/image_17012025_08_36_29_5405.jpg
/media/data/images/17012025/08/36/image_17012025_08_36_24_6652.jpg
/media/data/images/17012025/08/36/image_17012025_08_36_17_5313.jpg
/media/data/images/17012025/08/36/image_17012025_08_36_12_6539.jpg
/media/data/images/17012025/08/36/image_17012025_08_36_05_6394.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: 7.132287263870239 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:56:22.703681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/36/image_17012025_08_36_36_6573.jpg', '/media/data/images/17012025/08/36/image_17012025_08_36_29_5405.jpg', '/media/data/images/17012025/08/36/image_17012025_08_36_24_6652.jpg', '/media/data/images/17012025/08/36/image_17012025_08_36_17_5313.jpg', '/media/data/images/17012025/08/36/image_17012025_08_36_12_6539.jpg', '/media/data/images/17012025/08/36/image_17012025_08_36_05_6394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/36/image_17012025_08_36_36_6573.jpg
/media/data/images/17012025/08/36/image_17012025_08_36_29_5405.jpg
/media/data/images/17012025/08/36/image_17012025_08_36_24_6652.jpg
/media/data/images/17012025/08/36/image_17012025_08_36_17_5313.jpg
/media/data/images/17012025/08/36/image_17012025_08_36_12_6539.jpg
/media/data/images/17012025/08/36/image_17012025_08_36_05_6394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329446667","1329446649","1329446672","1329446660","1329446654","1329446645"],"photo_ids_order":["1329446645","1329446649","1329446654","1329446660","1329446667","1329446672"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dc46a4920c5891722c1268fda22db4c9.jpg","text":"TemporaryFile(/tmp/multipartBody1271968471413887160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111450689,"filename":"image_17012025_08_36_12_6539.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a2c2b2656a725dc6b34aec47bb8fa2e6.jpg","text":"TemporaryFile(/tmp/multipartBody2874554315207441542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111450689,"filename":"image_17012025_08_36_29_5405.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3e981cce8943f0550386c6c28db3516a.jpg","text":"TemporaryFile(/tmp/multipartBody1433699653926194261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111450689,"filename":"image_17012025_08_36_05_6394.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b2e43b9552c98fd2801399f5bf68ff5b.jpg","text":"TemporaryFile(/tmp/multipartBody9192888203192852502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111450689,"filename":"image_17012025_08_36_17_5313.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/84828505c76f3695aef62e1623f18740.jpg","text":"TemporaryFile(/tmp/multipartBody1656524085170043447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111450689,"filename":"image_17012025_08_36_24_6652.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1d53157a085d701f3773837c6dd62caa.jpg","text":"TemporaryFile(/tmp/multipartBody1322951896651390867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111450689,"filename":"image_17012025_08_36_36_6573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329446654","file1":"1329446649","file0":"1329446645","file4":"1329446667","file5":"1329446672","file3":"1329446660"},"map_files_photo_id_array":[{"photo_id":"1329446672","filename":"file5"},{"photo_id":"1329446654","filename":"file2"},{"photo_id":"1329446667","filename":"file4"},{"photo_id":"1329446649","filename":"file1"},{"photo_id":"1329446645","filename":"file0"},{"photo_id":"1329446660","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329446667":["hashtag1","hashtag2"]},{"1329446649":["hashtag1","hashtag2"]},{"1329446672":["hashtag1","hashtag2"]},{"1329446660":["hashtag1","hashtag2"]},{"1329446654":["hashtag1","hashtag2"]},{"1329446645":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329446667, 1329446649, 1329446672, 1329446660, 1329446654, 1329446645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.620537519454956 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 11:57:21.813255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/35/image_17012025_08_35_59_5336.jpg', '/media/data/images/17012025/08/35/image_17012025_08_35_53_6568.jpg', '/media/data/images/17012025/08/35/image_17012025_08_35_47_5308.jpg', '/media/data/images/17012025/08/35/image_17012025_08_35_42_6558.jpg', '/media/data/images/17012025/08/35/image_17012025_08_35_35_5311.jpg', '/media/data/images/17012025/08/35/image_17012025_08_35_30_6547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/35/image_17012025_08_35_59_5336.jpg
/media/data/images/17012025/08/35/image_17012025_08_35_53_6568.jpg
/media/data/images/17012025/08/35/image_17012025_08_35_47_5308.jpg
/media/data/images/17012025/08/35/image_17012025_08_35_42_6558.jpg
/media/data/images/17012025/08/35/image_17012025_08_35_35_5311.jpg
/media/data/images/17012025/08/35/image_17012025_08_35_30_6547.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329446689","1329446708","1329446683","1329446704","1329446694","1329446700"],"photo_ids_order":["1329446683","1329446689","1329446694","1329446700","1329446704","1329446708"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2f6cf9ae30203bcb288bc373f74c32b9.jpg","text":"TemporaryFile(/tmp/multipartBody2307688643703124603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111507653,"filename":"image_17012025_08_35_53_6568.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b026e88a9e881e8207804d8765849940.jpg","text":"TemporaryFile(/tmp/multipartBody7604969606560634318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111507653,"filename":"image_17012025_08_35_30_6547.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/247b3773e8cdfda7f3db01ecc983a334.jpg","text":"TemporaryFile(/tmp/multipartBody2115947169359939689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111507653,"filename":"image_17012025_08_35_59_5336.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4695e1d57dc7dd8025ed71922e9edf64.jpg","text":"TemporaryFile(/tmp/multipartBody6394236395557690028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111507653,"filename":"image_17012025_08_35_35_5311.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3a449ff8e05fbabd0c9adff42c66f8b3.jpg","text":"TemporaryFile(/tmp/multipartBody7491519836520672034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111507653,"filename":"image_17012025_08_35_47_5308.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/823bddc92a48e49332f257f6e6360023.jpg","text":"TemporaryFile(/tmp/multipartBody6877792524410605744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111507653,"filename":"image_17012025_08_35_42_6558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329446694","file1":"1329446689","file0":"1329446683","file4":"1329446704","file5":"1329446708","file3":"1329446700"},"map_files_photo_id_array":[{"photo_id":"1329446708","filename":"file5"},{"photo_id":"1329446694","filename":"file2"},{"photo_id":"1329446704","filename":"file4"},{"photo_id":"1329446689","filename":"file1"},{"photo_id":"1329446683","filename":"file0"},{"photo_id":"1329446700","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329446689":["hashtag1","hashtag2"]},{"1329446708":["hashtag1","hashtag2"]},{"1329446683":["hashtag1","hashtag2"]},{"1329446704":["hashtag1","hashtag2"]},{"1329446694":["hashtag1","hashtag2"]},{"1329446700":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329446689, 1329446708, 1329446683, 1329446704, 1329446694, 1329446700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.021533250808716 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 11:59:02.804787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/40/image_17012025_11_40_53_6374.jpg', '/media/data/images/17012025/11/35/image_17012025_11_35_47_6400.jpg', '/media/data/images/17012025/11/30/image_17012025_11_30_29_6372.jpg', '/media/data/images/17012025/11/25/image_17012025_11_25_16_6361.jpg', '/media/data/images/17012025/08/35/image_17012025_08_35_23_6648.jpg', '/media/data/images/17012025/08/35/image_17012025_08_35_17_5400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/40/image_17012025_11_40_53_6374.jpg
/media/data/images/17012025/11/35/image_17012025_11_35_47_6400.jpg
/media/data/images/17012025/11/30/image_17012025_11_30_29_6372.jpg
/media/data/images/17012025/11/25/image_17012025_11_25_16_6361.jpg
/media/data/images/17012025/08/35/image_17012025_08_35_23_6648.jpg
/media/data/images/17012025/08/35/image_17012025_08_35_17_5400.jpg
2025-01-17 11:59:02.882217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/40/image_17012025_11_40_53_6374.jpg', '/media/data/images/17012025/11/35/image_17012025_11_35_47_6400.jpg', '/media/data/images/17012025/11/30/image_17012025_11_30_29_6372.jpg', '/media/data/images/17012025/11/25/image_17012025_11_25_16_6361.jpg', '/media/data/images/17012025/08/35/image_17012025_08_35_23_6648.jpg', '/media/data/images/17012025/08/35/image_17012025_08_35_17_5400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/40/image_17012025_11_40_53_6374.jpg
/media/data/images/17012025/11/35/image_17012025_11_35_47_6400.jpg
/media/data/images/17012025/11/30/image_17012025_11_30_29_6372.jpg
/media/data/images/17012025/11/25/image_17012025_11_25_16_6361.jpg
/media/data/images/17012025/08/35/image_17012025_08_35_23_6648.jpg
/media/data/images/17012025/08/35/image_17012025_08_35_17_5400.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329446794","1329446824","1329446803","1329446781","1329446814","1329446786"],"photo_ids_order":["1329446781","1329446786","1329446794","1329446803","1329446814","1329446824"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7330a319a066689577026c49d0997001.jpg","text":"TemporaryFile(/tmp/multipartBody8356745888127820915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111610986,"filename":"image_17012025_11_30_29_6372.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fa8c1b75cc1a53f0fd000b22188bf502.jpg","text":"TemporaryFile(/tmp/multipartBody2982476171640059312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111610986,"filename":"image_17012025_08_35_17_5400.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5590fe5fa07e37f08c39a86879086641.jpg","text":"TemporaryFile(/tmp/multipartBody4600486108480733385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111610986,"filename":"image_17012025_11_25_16_6361.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/825694ccd45163ea7faa4ba6dff5509a.jpg","text":"TemporaryFile(/tmp/multipartBody4973321679391357024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111610986,"filename":"image_17012025_11_40_53_6374.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ab5fbb4aa24d3839f0e444eea50decff.jpg","text":"TemporaryFile(/tmp/multipartBody2414496468093962301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111610986,"filename":"image_17012025_08_35_23_6648.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cd334239f05c22d9add97caa09e32a9b.jpg","text":"TemporaryFile(/tmp/multipartBody1670933571388509796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111610986,"filename":"image_17012025_11_35_47_6400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329446794","file1":"1329446786","file0":"1329446781","file4":"1329446814","file5":"1329446824","file3":"1329446803"},"map_files_photo_id_array":[{"photo_id":"1329446824","filename":"file5"},{"photo_id":"1329446794","filename":"file2"},{"photo_id":"1329446814","filename":"file4"},{"photo_id":"1329446786","filename":"file1"},{"photo_id":"1329446781","filename":"file0"},{"photo_id":"1329446803","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329446794":["hashtag1","hashtag2"]},{"1329446824":["hashtag1","hashtag2"]},{"1329446803":["hashtag1","hashtag2"]},{"1329446781":["hashtag1","hashtag2"]},{"1329446814":["hashtag1","hashtag2"]},{"1329446786":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329446794, 1329446824, 1329446803, 1329446781, 1329446814, 1329446786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.19352722167969 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329446806","1329446820","1329446789","1329446798","1329446780","1329446828"],"photo_ids_order":["1329446780","1329446789","1329446798","1329446806","1329446820","1329446828"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f115cd1a119865db205e103a05ec1208.jpg","text":"TemporaryFile(/tmp/multipartBody4437556542429174841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111611103,"filename":"image_17012025_11_25_16_6361.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1c56a400c9a4392ff865dcabe1f2087c.jpg","text":"TemporaryFile(/tmp/multipartBody4971635705148137024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111611103,"filename":"image_17012025_08_35_23_6648.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/00b800f06f8763f4e17166260098bf5d.jpg","text":"TemporaryFile(/tmp/multipartBody6458176008550971282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111611103,"filename":"image_17012025_11_35_47_6400.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c85a5831ffa751da7d0e327c89b7a17c.jpg","text":"TemporaryFile(/tmp/multipartBody3290429370602967679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111611103,"filename":"image_17012025_11_30_29_6372.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8d37c7ae4879b4bb560f337270898889.jpg","text":"TemporaryFile(/tmp/multipartBody7750155577036861844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111611103,"filename":"image_17012025_11_40_53_6374.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f714fd020e191c8cd91ab77d081475f4.jpg","text":"TemporaryFile(/tmp/multipartBody6548410065146881804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111611103,"filename":"image_17012025_08_35_17_5400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329446798","file1":"1329446789","file0":"1329446780","file4":"1329446820","file5":"1329446828","file3":"1329446806"},"map_files_photo_id_array":[{"photo_id":"1329446828","filename":"file5"},{"photo_id":"1329446798","filename":"file2"},{"photo_id":"1329446820","filename":"file4"},{"photo_id":"1329446789","filename":"file1"},{"photo_id":"1329446780","filename":"file0"},{"photo_id":"1329446806","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329446806":["hashtag1","hashtag2"]},{"1329446820":["hashtag1","hashtag2"]},{"1329446789":["hashtag1","hashtag2"]},{"1329446798":["hashtag1","hashtag2"]},{"1329446780":["hashtag1","hashtag2"]},{"1329446828":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329446806, 1329446820, 1329446789, 1329446798, 1329446780, 1329446828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.506234884262085 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:00:02.425842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/26/image_17012025_11_26_52_6348.jpg', '/media/data/images/17012025/11/26/image_17012025_11_26_46_5170.jpg', '/media/data/images/17012025/11/26/image_17012025_11_26_40_6396.jpg', '/media/data/images/17012025/11/26/image_17012025_11_26_34_6363.jpg', '/media/data/images/17012025/11/26/image_17012025_11_26_28_5145.jpg', '/media/data/images/17012025/11/26/image_17012025_11_26_23_6339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/26/image_17012025_11_26_52_6348.jpg
/media/data/images/17012025/11/26/image_17012025_11_26_46_5170.jpg
/media/data/images/17012025/11/26/image_17012025_11_26_40_6396.jpg
/media/data/images/17012025/11/26/image_17012025_11_26_34_6363.jpg
/media/data/images/17012025/11/26/image_17012025_11_26_28_5145.jpg
/media/data/images/17012025/11/26/image_17012025_11_26_23_6339.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329446854","1329446863","1329446866","1329446845","1329446850","1329446858"],"photo_ids_order":["1329446845","1329446850","1329446854","1329446858","1329446863","1329446866"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/eb0495b5915a31a4a20a3ae63143f211.jpg","text":"TemporaryFile(/tmp/multipartBody510783818913496418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111665611,"filename":"image_17012025_11_26_40_6396.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/64992fae59b8d6525906f390bba99f23.jpg","text":"TemporaryFile(/tmp/multipartBody7718293964891691555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111665611,"filename":"image_17012025_11_26_28_5145.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/318b66779ba93d9e44206d1bac3fdf07.jpg","text":"TemporaryFile(/tmp/multipartBody984043234379069358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111665611,"filename":"image_17012025_11_26_23_6339.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/318e44a9d8fe342e76ccf7990aecce34.jpg","text":"TemporaryFile(/tmp/multipartBody2279655032074046795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111665611,"filename":"image_17012025_11_26_52_6348.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/066ccd34d418b0d06634b3019a8c6f2c.jpg","text":"TemporaryFile(/tmp/multipartBody4390724649504998882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111665611,"filename":"image_17012025_11_26_46_5170.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9ab046b5a3dc14b5e59829f776c8507c.jpg","text":"TemporaryFile(/tmp/multipartBody1019170466511972895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111665611,"filename":"image_17012025_11_26_34_6363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329446854","file1":"1329446850","file0":"1329446845","file4":"1329446863","file5":"1329446866","file3":"1329446858"},"map_files_photo_id_array":[{"photo_id":"1329446866","filename":"file5"},{"photo_id":"1329446854","filename":"file2"},{"photo_id":"1329446863","filename":"file4"},{"photo_id":"1329446850","filename":"file1"},{"photo_id":"1329446845","filename":"file0"},{"photo_id":"1329446858","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329446854":["hashtag1","hashtag2"]},{"1329446863":["hashtag1","hashtag2"]},{"1329446866":["hashtag1","hashtag2"]},{"1329446845":["hashtag1","hashtag2"]},{"1329446850":["hashtag1","hashtag2"]},{"1329446858":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329446854, 1329446863, 1329446866, 1329446845, 1329446850, 1329446858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.340261697769165 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:00:42.285404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/30/image_17012025_11_30_52_5178.jpg', '/media/data/images/17012025/11/30/image_17012025_11_30_47_6414.jpg', '/media/data/images/17012025/11/30/image_17012025_11_30_40_6376.jpg', '/media/data/images/17012025/11/30/image_17012025_11_30_34_5163.jpg', '/media/data/images/17012025/11/30/image_17012025_11_30_22_6347.jpg', '/media/data/images/17012025/11/30/image_17012025_11_30_16_5156.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/30/image_17012025_11_30_52_5178.jpg
/media/data/images/17012025/11/30/image_17012025_11_30_47_6414.jpg
/media/data/images/17012025/11/30/image_17012025_11_30_40_6376.jpg
/media/data/images/17012025/11/30/image_17012025_11_30_34_5163.jpg
/media/data/images/17012025/11/30/image_17012025_11_30_22_6347.jpg
/media/data/images/17012025/11/30/image_17012025_11_30_16_5156.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329446893","1329446875","1329446878","1329446889","1329446882","1329446885"],"photo_ids_order":["1329446875","1329446878","1329446882","1329446885","1329446889","1329446893"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/71470429d684fb1a395cf4fc036381a5.jpg","text":"TemporaryFile(/tmp/multipartBody6508593917889012472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111705410,"filename":"image_17012025_11_30_16_5156.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/254a26b1dfe0ed30472da5ca2f1cf44a.jpg","text":"TemporaryFile(/tmp/multipartBody5547444151019668742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111705410,"filename":"image_17012025_11_30_52_5178.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/39335e1b5c055acae8a69bb53eeebd30.jpg","text":"TemporaryFile(/tmp/multipartBody282478883507147892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111705410,"filename":"image_17012025_11_30_47_6414.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/76af005ea8c1e768493fcf5fad70ccb7.jpg","text":"TemporaryFile(/tmp/multipartBody9160290236457150140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111705410,"filename":"image_17012025_11_30_22_6347.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3441d226d6687c2bc7b08b492301e855.jpg","text":"TemporaryFile(/tmp/multipartBody8188823892610357595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111705410,"filename":"image_17012025_11_30_40_6376.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4d4671d4b0a285b6923f23665ddc2ffb.jpg","text":"TemporaryFile(/tmp/multipartBody1506417226863163612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111705410,"filename":"image_17012025_11_30_34_5163.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329446882","file1":"1329446878","file0":"1329446875","file4":"1329446889","file5":"1329446893","file3":"1329446885"},"map_files_photo_id_array":[{"photo_id":"1329446893","filename":"file5"},{"photo_id":"1329446882","filename":"file2"},{"photo_id":"1329446889","filename":"file4"},{"photo_id":"1329446878","filename":"file1"},{"photo_id":"1329446875","filename":"file0"},{"photo_id":"1329446885","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329446893":["hashtag1","hashtag2"]},{"1329446875":["hashtag1","hashtag2"]},{"1329446878":["hashtag1","hashtag2"]},{"1329446889":["hashtag1","hashtag2"]},{"1329446882":["hashtag1","hashtag2"]},{"1329446885":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329446893, 1329446875, 1329446878, 1329446889, 1329446882, 1329446885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1845223903656 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:01:22.377900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/34/image_17012025_11_34_47_6375.jpg', '/media/data/images/17012025/11/34/image_17012025_11_34_40_6340.jpg', '/media/data/images/17012025/11/34/image_17012025_11_34_34_5173.jpg', '/media/data/images/17012025/11/34/image_17012025_11_34_29_6352.jpg', '/media/data/images/17012025/11/34/image_17012025_11_34_22_6351.jpg', '/media/data/images/17012025/11/34/image_17012025_11_34_16_6340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/34/image_17012025_11_34_47_6375.jpg
/media/data/images/17012025/11/34/image_17012025_11_34_40_6340.jpg
/media/data/images/17012025/11/34/image_17012025_11_34_34_5173.jpg
/media/data/images/17012025/11/34/image_17012025_11_34_29_6352.jpg
/media/data/images/17012025/11/34/image_17012025_11_34_22_6351.jpg
/media/data/images/17012025/11/34/image_17012025_11_34_16_6340.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329446903","1329447099","1329446901","1329446904","1329447005","1329446924"],"photo_ids_order":["1329446901","1329446903","1329446904","1329446924","1329447005","1329447099"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/506d1fd7a52bbd5fff719669aac7444c.jpg","text":"TemporaryFile(/tmp/multipartBody4855955087579532104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111745404,"filename":"image_17012025_11_34_40_6340.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b8600f58932904cf4fb3eb5fa8031395.jpg","text":"TemporaryFile(/tmp/multipartBody324717427110787220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111745404,"filename":"image_17012025_11_34_16_6340.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/93b42ae21c6bebc89b01685f98b628a8.jpg","text":"TemporaryFile(/tmp/multipartBody1387985243491580747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111745404,"filename":"image_17012025_11_34_47_6375.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/899aa074e7de61837f7478f96ddde99d.jpg","text":"TemporaryFile(/tmp/multipartBody8737426087666177734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111745404,"filename":"image_17012025_11_34_34_5173.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a3a6ef073a8c411cd6ee3484aa9d6d90.jpg","text":"TemporaryFile(/tmp/multipartBody5932087524274637300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111745404,"filename":"image_17012025_11_34_22_6351.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b681f0462e02f0f7653214c0c74205d3.jpg","text":"TemporaryFile(/tmp/multipartBody7094444321028398501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111745404,"filename":"image_17012025_11_34_29_6352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329446904","file1":"1329446903","file0":"1329446901","file4":"1329447005","file5":"1329447099","file3":"1329446924"},"map_files_photo_id_array":[{"photo_id":"1329447099","filename":"file5"},{"photo_id":"1329446904","filename":"file2"},{"photo_id":"1329447005","filename":"file4"},{"photo_id":"1329446903","filename":"file1"},{"photo_id":"1329446901","filename":"file0"},{"photo_id":"1329446924","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329446903":["hashtag1","hashtag2"]},{"1329447099":["hashtag1","hashtag2"]},{"1329446901":["hashtag1","hashtag2"]},{"1329446904":["hashtag1","hashtag2"]},{"1329447005":["hashtag1","hashtag2"]},{"1329446924":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329446903, 1329447099, 1329446901, 1329446904, 1329447005, 1329446924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.41843628883362 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:02:02.671989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/34/image_17012025_11_34_10_5162.jpg', '/media/data/images/17012025/11/33/image_17012025_11_34_05_6368.jpg', '/media/data/images/17012025/11/33/image_17012025_11_33_58_6361.jpg', '/media/data/images/17012025/11/33/image_17012025_11_33_52_5153.jpg', '/media/data/images/17012025/11/33/image_17012025_11_33_47_6371.jpg', '/media/data/images/17012025/11/33/image_17012025_11_33_40_6384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/34/image_17012025_11_34_10_5162.jpg
/media/data/images/17012025/11/33/image_17012025_11_34_05_6368.jpg
/media/data/images/17012025/11/33/image_17012025_11_33_58_6361.jpg
/media/data/images/17012025/11/33/image_17012025_11_33_52_5153.jpg
/media/data/images/17012025/11/33/image_17012025_11_33_47_6371.jpg
/media/data/images/17012025/11/33/image_17012025_11_33_40_6384.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329447169","1329447273","1329447267","1329447213","1329447173","1329447176"],"photo_ids_order":["1329447169","1329447173","1329447176","1329447213","1329447267","1329447273"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6f9f6e244ebb75dac6e9bb2af410a753.jpg","text":"TemporaryFile(/tmp/multipartBody6701947150527300456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111785644,"filename":"image_17012025_11_34_10_5162.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/95f89d5c4a331fc73f5698293c01bb63.jpg","text":"TemporaryFile(/tmp/multipartBody2354977032229299926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111785644,"filename":"image_17012025_11_33_40_6384.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/340d60cede67c118f3a12a60aa701e70.jpg","text":"TemporaryFile(/tmp/multipartBody752818227908925772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111785644,"filename":"image_17012025_11_33_47_6371.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/96c97a2fec46b6753fd15c16b872ed75.jpg","text":"TemporaryFile(/tmp/multipartBody5594161328489756539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111785644,"filename":"image_17012025_11_33_52_5153.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4628b5149d7610a76d4b1a4395d9e780.jpg","text":"TemporaryFile(/tmp/multipartBody5600736410880353307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111785644,"filename":"image_17012025_11_34_05_6368.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f618d808df2403ab889fcc0b3d445591.jpg","text":"TemporaryFile(/tmp/multipartBody8887729350338054270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111785644,"filename":"image_17012025_11_33_58_6361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329447176","file1":"1329447173","file0":"1329447169","file4":"1329447267","file5":"1329447273","file3":"1329447213"},"map_files_photo_id_array":[{"photo_id":"1329447273","filename":"file5"},{"photo_id":"1329447176","filename":"file2"},{"photo_id":"1329447267","filename":"file4"},{"photo_id":"1329447173","filename":"file1"},{"photo_id":"1329447169","filename":"file0"},{"photo_id":"1329447213","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329447169":["hashtag1","hashtag2"]},{"1329447273":["hashtag1","hashtag2"]},{"1329447267":["hashtag1","hashtag2"]},{"1329447213":["hashtag1","hashtag2"]},{"1329447173":["hashtag1","hashtag2"]},{"1329447176":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329447169, 1329447273, 1329447267, 1329447213, 1329447173, 1329447176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.85968732833862 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:02:42.442267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/38/image_17012025_11_38_46_5191.jpg', '/media/data/images/17012025/11/38/image_17012025_11_38_40_6380.jpg', '/media/data/images/17012025/11/38/image_17012025_11_38_34_6391.jpg', '/media/data/images/17012025/11/38/image_17012025_11_38_28_5182.jpg', '/media/data/images/17012025/11/38/image_17012025_11_38_23_6379.jpg', '/media/data/images/17012025/11/38/image_17012025_11_38_16_6368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/38/image_17012025_11_38_46_5191.jpg
/media/data/images/17012025/11/38/image_17012025_11_38_40_6380.jpg
/media/data/images/17012025/11/38/image_17012025_11_38_34_6391.jpg
/media/data/images/17012025/11/38/image_17012025_11_38_28_5182.jpg
/media/data/images/17012025/11/38/image_17012025_11_38_23_6379.jpg
/media/data/images/17012025/11/38/image_17012025_11_38_16_6368.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.278905153274536 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:03:03.011197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/38/image_17012025_11_38_46_5191.jpg', '/media/data/images/17012025/11/38/image_17012025_11_38_40_6380.jpg', '/media/data/images/17012025/11/38/image_17012025_11_38_34_6391.jpg', '/media/data/images/17012025/11/38/image_17012025_11_38_28_5182.jpg', '/media/data/images/17012025/11/38/image_17012025_11_38_23_6379.jpg', '/media/data/images/17012025/11/38/image_17012025_11_38_16_6368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/38/image_17012025_11_38_46_5191.jpg
/media/data/images/17012025/11/38/image_17012025_11_38_40_6380.jpg
/media/data/images/17012025/11/38/image_17012025_11_38_34_6391.jpg
/media/data/images/17012025/11/38/image_17012025_11_38_28_5182.jpg
/media/data/images/17012025/11/38/image_17012025_11_38_23_6379.jpg
/media/data/images/17012025/11/38/image_17012025_11_38_16_6368.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329447472","1329447462","1329447452","1329447440","1329447475","1329447469"],"photo_ids_order":["1329447440","1329447452","1329447462","1329447469","1329447472","1329447475"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/373fd7e7d8a1f62b04e54834f94e6565.jpg","text":"TemporaryFile(/tmp/multipartBody7779514955094449730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111845939,"filename":"image_17012025_11_38_23_6379.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b96c602d733f9ac7198fc73147aaeccd.jpg","text":"TemporaryFile(/tmp/multipartBody7821216392799317943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111845939,"filename":"image_17012025_11_38_34_6391.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/666c1e466364c7661e49b2eefcc9cf46.jpg","text":"TemporaryFile(/tmp/multipartBody6322084004349077096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111845939,"filename":"image_17012025_11_38_40_6380.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b99d6655db344df28e30c688adbaa1a1.jpg","text":"TemporaryFile(/tmp/multipartBody214353125230545534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111845939,"filename":"image_17012025_11_38_46_5191.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ba653d95aa6d16faf7adb46048ca9e0c.jpg","text":"TemporaryFile(/tmp/multipartBody4483177569635911924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111845939,"filename":"image_17012025_11_38_16_6368.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9ec29a87975a1ca7ff1b175a74217697.jpg","text":"TemporaryFile(/tmp/multipartBody3028827615247683636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111845939,"filename":"image_17012025_11_38_28_5182.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329447462","file1":"1329447452","file0":"1329447440","file4":"1329447472","file5":"1329447475","file3":"1329447469"},"map_files_photo_id_array":[{"photo_id":"1329447475","filename":"file5"},{"photo_id":"1329447462","filename":"file2"},{"photo_id":"1329447472","filename":"file4"},{"photo_id":"1329447452","filename":"file1"},{"photo_id":"1329447440","filename":"file0"},{"photo_id":"1329447469","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329447472":["hashtag1","hashtag2"]},{"1329447462":["hashtag1","hashtag2"]},{"1329447452":["hashtag1","hashtag2"]},{"1329447440":["hashtag1","hashtag2"]},{"1329447475":["hashtag1","hashtag2"]},{"1329447469":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329447472, 1329447462, 1329447452, 1329447440, 1329447475, 1329447469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.354304790496826 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:03:42.522060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/42/image_17012025_11_42_46_6373.jpg', '/media/data/images/17012025/11/42/image_17012025_11_42_40_6386.jpg', '/media/data/images/17012025/11/42/image_17012025_11_42_34_5139.jpg', '/media/data/images/17012025/11/42/image_17012025_11_42_29_6374.jpg', '/media/data/images/17012025/11/42/image_17012025_11_42_22_6397.jpg', '/media/data/images/17012025/11/42/image_17012025_11_42_16_5178.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/42/image_17012025_11_42_46_6373.jpg
/media/data/images/17012025/11/42/image_17012025_11_42_40_6386.jpg
/media/data/images/17012025/11/42/image_17012025_11_42_34_5139.jpg
/media/data/images/17012025/11/42/image_17012025_11_42_29_6374.jpg
/media/data/images/17012025/11/42/image_17012025_11_42_22_6397.jpg
/media/data/images/17012025/11/42/image_17012025_11_42_16_5178.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329447511","1329447517","1329447489","1329447483","1329447494","1329447485"],"photo_ids_order":["1329447483","1329447485","1329447489","1329447494","1329447511","1329447517"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2a60524d526907eb84f22d492ca5db30.jpg","text":"TemporaryFile(/tmp/multipartBody4897349042613032026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111886885,"filename":"image_17012025_11_42_22_6397.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2f5cf3f805892978a24953f2bb3f4fd5.jpg","text":"TemporaryFile(/tmp/multipartBody4310198069168225779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111886885,"filename":"image_17012025_11_42_16_5178.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/67ddde23b158371da38f2e68a44d5d3d.jpg","text":"TemporaryFile(/tmp/multipartBody4828765564596204426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111886885,"filename":"image_17012025_11_42_34_5139.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c748ef33c93762fe121e2d34482d97f7.jpg","text":"TemporaryFile(/tmp/multipartBody4178417614893115996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111886885,"filename":"image_17012025_11_42_46_6373.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/02c53ac5bb211d7efd59f82269217d2d.jpg","text":"TemporaryFile(/tmp/multipartBody5042188889346966212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111886885,"filename":"image_17012025_11_42_29_6374.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/26f9855d9a85ebe634e0c8448e4d12a8.jpg","text":"TemporaryFile(/tmp/multipartBody492857652809823461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111886885,"filename":"image_17012025_11_42_40_6386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329447489","file1":"1329447485","file0":"1329447483","file4":"1329447511","file5":"1329447517","file3":"1329447494"},"map_files_photo_id_array":[{"photo_id":"1329447517","filename":"file5"},{"photo_id":"1329447489","filename":"file2"},{"photo_id":"1329447511","filename":"file4"},{"photo_id":"1329447485","filename":"file1"},{"photo_id":"1329447483","filename":"file0"},{"photo_id":"1329447494","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329447511":["hashtag1","hashtag2"]},{"1329447517":["hashtag1","hashtag2"]},{"1329447489":["hashtag1","hashtag2"]},{"1329447483":["hashtag1","hashtag2"]},{"1329447494":["hashtag1","hashtag2"]},{"1329447485":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329447511, 1329447517, 1329447489, 1329447483, 1329447494, 1329447485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07840394973755 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:04:22.603638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/46/image_17012025_11_46_40_6309.jpg', '/media/data/images/17012025/11/46/image_17012025_11_46_34_6330.jpg', '/media/data/images/17012025/11/46/image_17012025_11_46_28_5137.jpg', '/media/data/images/17012025/11/46/image_17012025_11_46_23_6356.jpg', '/media/data/images/17012025/11/46/image_17012025_11_46_16_6378.jpg', '/media/data/images/17012025/11/46/image_17012025_11_46_10_5205.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/46/image_17012025_11_46_40_6309.jpg
/media/data/images/17012025/11/46/image_17012025_11_46_34_6330.jpg
/media/data/images/17012025/11/46/image_17012025_11_46_28_5137.jpg
/media/data/images/17012025/11/46/image_17012025_11_46_23_6356.jpg
/media/data/images/17012025/11/46/image_17012025_11_46_16_6378.jpg
/media/data/images/17012025/11/46/image_17012025_11_46_10_5205.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329447555","1329447558","1329447543","1329447546","1329447551","1329447548"],"photo_ids_order":["1329447543","1329447546","1329447548","1329447551","1329447555","1329447558"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f2db1f1d0e6e4e671d9102f1fc704904.jpg","text":"TemporaryFile(/tmp/multipartBody7421063459166048182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111925451,"filename":"image_17012025_11_46_16_6378.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/54f290ac92a4de3e5d94cc06e47c5cab.jpg","text":"TemporaryFile(/tmp/multipartBody5320416219202141143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111925451,"filename":"image_17012025_11_46_10_5205.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/89f09f9e4da9460d29d22a2319fbadc3.jpg","text":"TemporaryFile(/tmp/multipartBody7562878937215308007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111925451,"filename":"image_17012025_11_46_40_6309.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/845afca042f06845891f8742786ac970.jpg","text":"TemporaryFile(/tmp/multipartBody6506198804161757462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111925451,"filename":"image_17012025_11_46_34_6330.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a9e9da8d55cc364a37f0a3578b7b6200.jpg","text":"TemporaryFile(/tmp/multipartBody6642541620204324766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111925451,"filename":"image_17012025_11_46_23_6356.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cd03f5df85d034ae6e6a10caa4eef920.jpg","text":"TemporaryFile(/tmp/multipartBody6114657913745507215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111925451,"filename":"image_17012025_11_46_28_5137.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329447548","file1":"1329447546","file0":"1329447543","file4":"1329447555","file5":"1329447558","file3":"1329447551"},"map_files_photo_id_array":[{"photo_id":"1329447558","filename":"file5"},{"photo_id":"1329447548","filename":"file2"},{"photo_id":"1329447555","filename":"file4"},{"photo_id":"1329447546","filename":"file1"},{"photo_id":"1329447543","filename":"file0"},{"photo_id":"1329447551","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329447555":["hashtag1","hashtag2"]},{"1329447558":["hashtag1","hashtag2"]},{"1329447543":["hashtag1","hashtag2"]},{"1329447546":["hashtag1","hashtag2"]},{"1329447551":["hashtag1","hashtag2"]},{"1329447548":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329447555, 1329447558, 1329447543, 1329447546, 1329447551, 1329447548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.201327323913574 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:05:03.169954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/46/image_17012025_11_46_05_6244.jpg', '/media/data/images/17012025/11/45/image_17012025_11_45_58_6383.jpg', '/media/data/images/17012025/11/45/image_17012025_11_45_52_5189.jpg', '/media/data/images/17012025/11/45/image_17012025_11_45_47_6391.jpg', '/media/data/images/17012025/11/45/image_17012025_11_45_40_6397.jpg', '/media/data/images/17012025/11/45/image_17012025_11_45_34_6383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/46/image_17012025_11_46_05_6244.jpg
/media/data/images/17012025/11/45/image_17012025_11_45_58_6383.jpg
/media/data/images/17012025/11/45/image_17012025_11_45_52_5189.jpg
/media/data/images/17012025/11/45/image_17012025_11_45_47_6391.jpg
/media/data/images/17012025/11/45/image_17012025_11_45_40_6397.jpg
/media/data/images/17012025/11/45/image_17012025_11_45_34_6383.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329447573","1329447581","1329447590","1329447587","1329447583","1329447577"],"photo_ids_order":["1329447573","1329447577","1329447581","1329447583","1329447587","1329447590"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/53dccde31f154ef4d654cc8d1955b60b.jpg","text":"TemporaryFile(/tmp/multipartBody1796609813012143234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111966639,"filename":"image_17012025_11_46_05_6244.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9340c0c40e6167917e4aa97d4ad0efc7.jpg","text":"TemporaryFile(/tmp/multipartBody4580750616414859693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111966639,"filename":"image_17012025_11_45_52_5189.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/35cc4773099c2229aecc2d5b81bfb6ef.jpg","text":"TemporaryFile(/tmp/multipartBody2733425173255694450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111966639,"filename":"image_17012025_11_45_34_6383.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8e8a2042eace1d6a07e63d622ddac366.jpg","text":"TemporaryFile(/tmp/multipartBody4211014003454139698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111966639,"filename":"image_17012025_11_45_40_6397.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e2f1f36b3e532cf3ba620879dcc11364.jpg","text":"TemporaryFile(/tmp/multipartBody8669284549411000637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111966639,"filename":"image_17012025_11_45_47_6391.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ea7b27063aa59aa18c3116ddd2e9b620.jpg","text":"TemporaryFile(/tmp/multipartBody7788367357416714789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737111966639,"filename":"image_17012025_11_45_58_6383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329447581","file1":"1329447577","file0":"1329447573","file4":"1329447587","file5":"1329447590","file3":"1329447583"},"map_files_photo_id_array":[{"photo_id":"1329447590","filename":"file5"},{"photo_id":"1329447581","filename":"file2"},{"photo_id":"1329447587","filename":"file4"},{"photo_id":"1329447577","filename":"file1"},{"photo_id":"1329447573","filename":"file0"},{"photo_id":"1329447583","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329447573":["hashtag1","hashtag2"]},{"1329447581":["hashtag1","hashtag2"]},{"1329447590":["hashtag1","hashtag2"]},{"1329447587":["hashtag1","hashtag2"]},{"1329447583":["hashtag1","hashtag2"]},{"1329447577":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329447573, 1329447581, 1329447590, 1329447587, 1329447583, 1329447577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57680368423462 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:05:42.712984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/50/image_17012025_11_50_34_5138.jpg', '/media/data/images/17012025/11/50/image_17012025_11_50_29_6367.jpg', '/media/data/images/17012025/11/50/image_17012025_11_50_22_6359.jpg', '/media/data/images/17012025/11/50/image_17012025_11_50_16_6405.jpg', '/media/data/images/17012025/11/50/image_17012025_11_50_10_5163.jpg', '/media/data/images/17012025/11/50/image_17012025_11_50_04_6262.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/50/image_17012025_11_50_34_5138.jpg
/media/data/images/17012025/11/50/image_17012025_11_50_29_6367.jpg
/media/data/images/17012025/11/50/image_17012025_11_50_22_6359.jpg
/media/data/images/17012025/11/50/image_17012025_11_50_16_6405.jpg
/media/data/images/17012025/11/50/image_17012025_11_50_10_5163.jpg
/media/data/images/17012025/11/50/image_17012025_11_50_04_6262.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329447744","1329447755","1329447770","1329447800","1329447787","1329447796"],"photo_ids_order":["1329447744","1329447755","1329447770","1329447787","1329447796","1329447800"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5984ba709d142a79cdeaa4e3cafe3b58.jpg","text":"TemporaryFile(/tmp/multipartBody7342871260771666107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112006257,"filename":"image_17012025_11_50_34_5138.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e69bf87cad3e92e321f15275c24af144.jpg","text":"TemporaryFile(/tmp/multipartBody1811373083736824447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112006257,"filename":"image_17012025_11_50_29_6367.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ed4a5c3a9912452a88939af3ba29eb0c.jpg","text":"TemporaryFile(/tmp/multipartBody8677760970466835242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112006257,"filename":"image_17012025_11_50_22_6359.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d912e17a5e7fafee281958dc17d39ad3.jpg","text":"TemporaryFile(/tmp/multipartBody3463860372219414020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112006257,"filename":"image_17012025_11_50_04_6262.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/54f25eb2e1848de779970f21760a1614.jpg","text":"TemporaryFile(/tmp/multipartBody8715971419523014375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112006257,"filename":"image_17012025_11_50_16_6405.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/03b4bd0be11f2a832d4f27fd11f0adb0.jpg","text":"TemporaryFile(/tmp/multipartBody470969833186431869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112006257,"filename":"image_17012025_11_50_10_5163.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329447770","file1":"1329447755","file0":"1329447744","file4":"1329447796","file5":"1329447800","file3":"1329447787"},"map_files_photo_id_array":[{"photo_id":"1329447800","filename":"file5"},{"photo_id":"1329447770","filename":"file2"},{"photo_id":"1329447796","filename":"file4"},{"photo_id":"1329447755","filename":"file1"},{"photo_id":"1329447744","filename":"file0"},{"photo_id":"1329447787","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329447744":["hashtag1","hashtag2"]},{"1329447755":["hashtag1","hashtag2"]},{"1329447770":["hashtag1","hashtag2"]},{"1329447800":["hashtag1","hashtag2"]},{"1329447787":["hashtag1","hashtag2"]},{"1329447796":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329447744, 1329447755, 1329447770, 1329447800, 1329447787, 1329447796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01664757728577 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:06:21.823716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/54/image_17012025_11_54_28_5161.jpg', '/media/data/images/17012025/11/54/image_17012025_11_54_23_6349.jpg', '/media/data/images/17012025/11/54/image_17012025_11_54_16_6380.jpg', '/media/data/images/17012025/11/54/image_17012025_11_54_10_5245.jpg', '/media/data/images/17012025/11/54/image_17012025_11_54_05_6181.jpg', '/media/data/images/17012025/11/53/image_17012025_11_53_58_6358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/54/image_17012025_11_54_28_5161.jpg
/media/data/images/17012025/11/54/image_17012025_11_54_23_6349.jpg
/media/data/images/17012025/11/54/image_17012025_11_54_16_6380.jpg
/media/data/images/17012025/11/54/image_17012025_11_54_10_5245.jpg
/media/data/images/17012025/11/54/image_17012025_11_54_05_6181.jpg
/media/data/images/17012025/11/53/image_17012025_11_53_58_6358.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329447820","1329447811","1329447814","1329447816","1329447830","1329447824"],"photo_ids_order":["1329447811","1329447814","1329447816","1329447820","1329447824","1329447830"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4ee36a780ed7b2cb86a23c4ec664789d.jpg","text":"TemporaryFile(/tmp/multipartBody5638227221586018785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112045209,"filename":"image_17012025_11_54_10_5245.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/12d26924d1a56c4edf5ccfb89d5cfa8f.jpg","text":"TemporaryFile(/tmp/multipartBody6814595911888297452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112045209,"filename":"image_17012025_11_54_28_5161.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/63f12f901342be726a0df13eae0262eb.jpg","text":"TemporaryFile(/tmp/multipartBody616372758051622140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112045209,"filename":"image_17012025_11_54_23_6349.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/81ffe6e3abcddba93a23063da937a42b.jpg","text":"TemporaryFile(/tmp/multipartBody6359323290286442235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112045209,"filename":"image_17012025_11_54_16_6380.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a4688e76a1205ccf56b5a7532ccc19dc.jpg","text":"TemporaryFile(/tmp/multipartBody7709333445285647264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112045209,"filename":"image_17012025_11_53_58_6358.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b587fcff223c4ae134d229fb48b8a39e.jpg","text":"TemporaryFile(/tmp/multipartBody7858096719083454173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112045209,"filename":"image_17012025_11_54_05_6181.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329447816","file1":"1329447814","file0":"1329447811","file4":"1329447824","file5":"1329447830","file3":"1329447820"},"map_files_photo_id_array":[{"photo_id":"1329447830","filename":"file5"},{"photo_id":"1329447816","filename":"file2"},{"photo_id":"1329447824","filename":"file4"},{"photo_id":"1329447814","filename":"file1"},{"photo_id":"1329447811","filename":"file0"},{"photo_id":"1329447820","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329447820":["hashtag1","hashtag2"]},{"1329447811":["hashtag1","hashtag2"]},{"1329447814":["hashtag1","hashtag2"]},{"1329447816":["hashtag1","hashtag2"]},{"1329447830":["hashtag1","hashtag2"]},{"1329447824":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329447820, 1329447811, 1329447814, 1329447816, 1329447830, 1329447824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.322391748428345 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:07:02.317785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/53/image_17012025_11_53_52_6379.jpg', '/media/data/images/17012025/11/53/image_17012025_11_53_46_5171.jpg', '/media/data/images/17012025/11/53/image_17012025_11_53_41_6376.jpg', '/media/data/images/17012025/11/53/image_17012025_11_53_34_6410.jpg', '/media/data/images/17012025/11/53/image_17012025_11_53_28_5259.jpg', '/media/data/images/17012025/11/53/image_17012025_11_53_22_6395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/53/image_17012025_11_53_52_6379.jpg
/media/data/images/17012025/11/53/image_17012025_11_53_46_5171.jpg
/media/data/images/17012025/11/53/image_17012025_11_53_41_6376.jpg
/media/data/images/17012025/11/53/image_17012025_11_53_34_6410.jpg
/media/data/images/17012025/11/53/image_17012025_11_53_28_5259.jpg
/media/data/images/17012025/11/53/image_17012025_11_53_22_6395.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329447882","1329447891","1329447864","1329447887","1329447859","1329447868"],"photo_ids_order":["1329447859","1329447864","1329447868","1329447882","1329447887","1329447891"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0de1a267686ecd4f1d4a10af3d6078ba.jpg","text":"TemporaryFile(/tmp/multipartBody6153297713198630849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112086232,"filename":"image_17012025_11_53_34_6410.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0f29dd77e2d2b581a49f20c529dc65c5.jpg","text":"TemporaryFile(/tmp/multipartBody3145945436948184794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112086232,"filename":"image_17012025_11_53_22_6395.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/eaeacdf951d008caf248c1ef6e90bb5c.jpg","text":"TemporaryFile(/tmp/multipartBody8204483722327463653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112086232,"filename":"image_17012025_11_53_46_5171.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/80a975721d2e09d17f1d5743c5f2a5cd.jpg","text":"TemporaryFile(/tmp/multipartBody970245209263505860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112086232,"filename":"image_17012025_11_53_28_5259.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c86b8179d072ec9d3c3c9868c496b35c.jpg","text":"TemporaryFile(/tmp/multipartBody2141830808235415727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112086232,"filename":"image_17012025_11_53_52_6379.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c2f5e40066ff0cc75a68eb6c2b7483ba.jpg","text":"TemporaryFile(/tmp/multipartBody7698396326584864404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112086232,"filename":"image_17012025_11_53_41_6376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329447868","file1":"1329447864","file0":"1329447859","file4":"1329447887","file5":"1329447891","file3":"1329447882"},"map_files_photo_id_array":[{"photo_id":"1329447891","filename":"file5"},{"photo_id":"1329447868","filename":"file2"},{"photo_id":"1329447887","filename":"file4"},{"photo_id":"1329447864","filename":"file1"},{"photo_id":"1329447859","filename":"file0"},{"photo_id":"1329447882","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329447882":["hashtag1","hashtag2"]},{"1329447891":["hashtag1","hashtag2"]},{"1329447864":["hashtag1","hashtag2"]},{"1329447887":["hashtag1","hashtag2"]},{"1329447859":["hashtag1","hashtag2"]},{"1329447868":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329447882, 1329447891, 1329447864, 1329447887, 1329447859, 1329447868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.356709241867065 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:07:41.895609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/58/image_17012025_11_58_23_6379.jpg', '/media/data/images/17012025/11/58/image_17012025_11_58_16_6332.jpg', '/media/data/images/17012025/11/58/image_17012025_11_58_10_5169.jpg', '/media/data/images/17012025/11/58/image_17012025_11_58_05_6173.jpg', '/media/data/images/17012025/11/57/image_17012025_11_57_59_6374.jpg', '/media/data/images/17012025/11/57/image_17012025_11_57_52_6401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/58/image_17012025_11_58_23_6379.jpg
/media/data/images/17012025/11/58/image_17012025_11_58_16_6332.jpg
/media/data/images/17012025/11/58/image_17012025_11_58_10_5169.jpg
/media/data/images/17012025/11/58/image_17012025_11_58_05_6173.jpg
/media/data/images/17012025/11/57/image_17012025_11_57_59_6374.jpg
/media/data/images/17012025/11/57/image_17012025_11_57_52_6401.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329447943","1329447931","1329447939","1329447948","1329447935","1329447952"],"photo_ids_order":["1329447931","1329447935","1329447939","1329447943","1329447948","1329447952"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/46a78774ec8e85f93cfa9a9316b96d0f.jpg","text":"TemporaryFile(/tmp/multipartBody4634625080619781762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112125848,"filename":"image_17012025_11_58_05_6173.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c7c6e12f5c645f28e5cf980f684c5947.jpg","text":"TemporaryFile(/tmp/multipartBody5976686762955319542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112125848,"filename":"image_17012025_11_58_23_6379.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/60170c050f263b0af566c7f981702c1a.jpg","text":"TemporaryFile(/tmp/multipartBody8860839373629171980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112125848,"filename":"image_17012025_11_58_10_5169.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f7e311d1bfa9316a5d73d44bb8c5c802.jpg","text":"TemporaryFile(/tmp/multipartBody4023282753834305772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112125848,"filename":"image_17012025_11_57_59_6374.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/978d4664bbd08af3ce3fbba5bfa828c9.jpg","text":"TemporaryFile(/tmp/multipartBody2794530009073224530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112125848,"filename":"image_17012025_11_58_16_6332.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/baed7422fd187a99a8686807ca267057.jpg","text":"TemporaryFile(/tmp/multipartBody5412613777624790277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112125848,"filename":"image_17012025_11_57_52_6401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329447939","file1":"1329447935","file0":"1329447931","file4":"1329447948","file5":"1329447952","file3":"1329447943"},"map_files_photo_id_array":[{"photo_id":"1329447952","filename":"file5"},{"photo_id":"1329447939","filename":"file2"},{"photo_id":"1329447948","filename":"file4"},{"photo_id":"1329447935","filename":"file1"},{"photo_id":"1329447931","filename":"file0"},{"photo_id":"1329447943","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329447943":["hashtag1","hashtag2"]},{"1329447931":["hashtag1","hashtag2"]},{"1329447939":["hashtag1","hashtag2"]},{"1329447948":["hashtag1","hashtag2"]},{"1329447935":["hashtag1","hashtag2"]},{"1329447952":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329447943, 1329447931, 1329447939, 1329447948, 1329447935, 1329447952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.947370529174805 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:08:22.013984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/01/image_17012025_12_01_16_6554.jpg', '/media/data/images/17012025/12/01/image_17012025_12_01_10_5308.jpg', '/media/data/images/17012025/12/01/image_17012025_12_01_04_6292.jpg', '/media/data/images/17012025/12/00/image_17012025_12_00_53_6550.jpg', '/media/data/images/17012025/11/59/image_17012025_11_59_52_5306.jpg', '/media/data/images/17012025/11/59/image_17012025_11_59_47_6272.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/01/image_17012025_12_01_16_6554.jpg
/media/data/images/17012025/12/01/image_17012025_12_01_10_5308.jpg
/media/data/images/17012025/12/01/image_17012025_12_01_04_6292.jpg
/media/data/images/17012025/12/00/image_17012025_12_00_53_6550.jpg
/media/data/images/17012025/11/59/image_17012025_11_59_52_5306.jpg
/media/data/images/17012025/11/59/image_17012025_11_59_47_6272.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329447981","1329447978","1329447963","1329447966","1329447989","1329447973"],"photo_ids_order":["1329447963","1329447966","1329447973","1329447978","1329447981","1329447989"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5ac870912784e227a6d2ddf3d2e89707.jpg","text":"TemporaryFile(/tmp/multipartBody6215188785000094607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112169048,"filename":"image_17012025_11_59_52_5306.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/108f046c5783cbbb580009bc2debdcd2.jpg","text":"TemporaryFile(/tmp/multipartBody1913191142928288972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112169048,"filename":"image_17012025_12_00_53_6550.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f6400096b5e394f031fd0ef11407c2a8.jpg","text":"TemporaryFile(/tmp/multipartBody4750483129517926721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112169048,"filename":"image_17012025_12_01_16_6554.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9a389597a9ca6d15b9d5e3f433584574.jpg","text":"TemporaryFile(/tmp/multipartBody7191475942191026809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112169048,"filename":"image_17012025_12_01_10_5308.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4803f43a022fb1fad3b1e4c0f9d89509.jpg","text":"TemporaryFile(/tmp/multipartBody6002485131857730152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112169048,"filename":"image_17012025_11_59_47_6272.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4cd49a009f259a7c6f1472fe5222d19c.jpg","text":"TemporaryFile(/tmp/multipartBody774554795762262701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112169048,"filename":"image_17012025_12_01_04_6292.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329447973","file1":"1329447966","file0":"1329447963","file4":"1329447981","file5":"1329447989","file3":"1329447978"},"map_files_photo_id_array":[{"photo_id":"1329447989","filename":"file5"},{"photo_id":"1329447973","filename":"file2"},{"photo_id":"1329447981","filename":"file4"},{"photo_id":"1329447966","filename":"file1"},{"photo_id":"1329447963","filename":"file0"},{"photo_id":"1329447978","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329447981":["hashtag1","hashtag2"]},{"1329447978":["hashtag1","hashtag2"]},{"1329447963":["hashtag1","hashtag2"]},{"1329447966":["hashtag1","hashtag2"]},{"1329447989":["hashtag1","hashtag2"]},{"1329447973":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329447981, 1329447978, 1329447963, 1329447966, 1329447989, 1329447973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.51656889915466 secondes ---
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:09:22.129205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/06/image_17012025_12_06_10_5167.jpg', '/media/data/images/17012025/12/05/image_17012025_12_06_05_6491.jpg', '/media/data/images/17012025/12/05/image_17012025_12_05_58_6381.jpg', '/media/data/images/17012025/12/05/image_17012025_12_05_52_5163.jpg', '/media/data/images/17012025/12/05/image_17012025_12_05_47_6331.jpg', '/media/data/images/17012025/12/05/image_17012025_12_05_40_6353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/06/image_17012025_12_06_10_5167.jpg
/media/data/images/17012025/12/05/image_17012025_12_06_05_6491.jpg
/media/data/images/17012025/12/05/image_17012025_12_05_58_6381.jpg
/media/data/images/17012025/12/05/image_17012025_12_05_52_5163.jpg
/media/data/images/17012025/12/05/image_17012025_12_05_47_6331.jpg
/media/data/images/17012025/12/05/image_17012025_12_05_40_6353.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329448065","1329448059","1329448053","1329448046","1329448039","1329448042"],"photo_ids_order":["1329448039","1329448042","1329448046","1329448053","1329448059","1329448065"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0ce97c8a2536f0e92ce0d4bf79fa741c.jpg","text":"TemporaryFile(/tmp/multipartBody1934462205106354907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112225569,"filename":"image_17012025_12_05_40_6353.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a04f7e7c1a896c06ffb7bb39bb044f73.jpg","text":"TemporaryFile(/tmp/multipartBody4218953262515300767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112225569,"filename":"image_17012025_12_05_47_6331.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/49e93e18028fa58854bd9780b9253f9a.jpg","text":"TemporaryFile(/tmp/multipartBody4562903841219131290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112225569,"filename":"image_17012025_12_05_52_5163.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a1b59018359c28f653dab64351e50125.jpg","text":"TemporaryFile(/tmp/multipartBody7613288488535002575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112225569,"filename":"image_17012025_12_05_58_6381.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1baf876dd8414359afdd562df2ba46d1.jpg","text":"TemporaryFile(/tmp/multipartBody8798246427210679806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112225569,"filename":"image_17012025_12_06_10_5167.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8ff6ae0bbfe8d677aef1ceda2d6d268c.jpg","text":"TemporaryFile(/tmp/multipartBody3400011461834594499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112225569,"filename":"image_17012025_12_06_05_6491.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329448046","file1":"1329448042","file0":"1329448039","file4":"1329448059","file5":"1329448065","file3":"1329448053"},"map_files_photo_id_array":[{"photo_id":"1329448065","filename":"file5"},{"photo_id":"1329448046","filename":"file2"},{"photo_id":"1329448059","filename":"file4"},{"photo_id":"1329448042","filename":"file1"},{"photo_id":"1329448039","filename":"file0"},{"photo_id":"1329448053","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329448065":["hashtag1","hashtag2"]},{"1329448059":["hashtag1","hashtag2"]},{"1329448053":["hashtag1","hashtag2"]},{"1329448046":["hashtag1","hashtag2"]},{"1329448039":["hashtag1","hashtag2"]},{"1329448042":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329448065, 1329448059, 1329448053, 1329448046, 1329448039, 1329448042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73284149169922 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:10:02.596514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/05/image_17012025_12_05_34_5184.jpg', '/media/data/images/17012025/12/05/image_17012025_12_05_29_6417.jpg', '/media/data/images/17012025/12/05/image_17012025_12_05_22_6360.jpg', '/media/data/images/17012025/12/05/image_17012025_12_05_16_5142.jpg', '/media/data/images/17012025/12/05/image_17012025_12_05_11_6357.jpg', '/media/data/images/17012025/12/05/image_17012025_12_05_04_6190.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/05/image_17012025_12_05_34_5184.jpg
/media/data/images/17012025/12/05/image_17012025_12_05_29_6417.jpg
/media/data/images/17012025/12/05/image_17012025_12_05_22_6360.jpg
/media/data/images/17012025/12/05/image_17012025_12_05_16_5142.jpg
/media/data/images/17012025/12/05/image_17012025_12_05_11_6357.jpg
/media/data/images/17012025/12/05/image_17012025_12_05_04_6190.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329448137","1329448125","1329448134","1329448144","1329448138","1329448141"],"photo_ids_order":["1329448125","1329448134","1329448137","1329448138","1329448141","1329448144"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3cc4a80d9ef4195a93082e1fc8b0aad1.jpg","text":"TemporaryFile(/tmp/multipartBody1455429389588651167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112265805,"filename":"image_17012025_12_05_22_6360.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/50f891490d949ddd5bd803b4a694f73e.jpg","text":"TemporaryFile(/tmp/multipartBody7567318824015533693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112265805,"filename":"image_17012025_12_05_34_5184.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bc33943e0be88ddc8ff251c51b9112d3.jpg","text":"TemporaryFile(/tmp/multipartBody7975133984714632541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112265805,"filename":"image_17012025_12_05_29_6417.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/03a1ba64f76c36140f04e1d3e3440ef2.jpg","text":"TemporaryFile(/tmp/multipartBody8371382168123048494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112265805,"filename":"image_17012025_12_05_04_6190.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/17a9f8558745732d5310c206e9ff3721.jpg","text":"TemporaryFile(/tmp/multipartBody7169692391299847806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112265805,"filename":"image_17012025_12_05_16_5142.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ed90021ab63def52c4098d99db3b3b26.jpg","text":"TemporaryFile(/tmp/multipartBody4812827826810369181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112265805,"filename":"image_17012025_12_05_11_6357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329448137","file1":"1329448134","file0":"1329448125","file4":"1329448141","file5":"1329448144","file3":"1329448138"},"map_files_photo_id_array":[{"photo_id":"1329448144","filename":"file5"},{"photo_id":"1329448137","filename":"file2"},{"photo_id":"1329448141","filename":"file4"},{"photo_id":"1329448134","filename":"file1"},{"photo_id":"1329448125","filename":"file0"},{"photo_id":"1329448138","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329448137":["hashtag1","hashtag2"]},{"1329448125":["hashtag1","hashtag2"]},{"1329448134":["hashtag1","hashtag2"]},{"1329448144":["hashtag1","hashtag2"]},{"1329448138":["hashtag1","hashtag2"]},{"1329448141":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329448137, 1329448125, 1329448134, 1329448144, 1329448138, 1329448141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8570351600647 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:10:42.334045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/10/image_17012025_12_10_04_6179.jpg', '/media/data/images/17012025/12/09/image_17012025_12_09_58_6413.jpg', '/media/data/images/17012025/12/09/image_17012025_12_09_52_5174.jpg', '/media/data/images/17012025/12/09/image_17012025_12_09_47_6401.jpg', '/media/data/images/17012025/12/09/image_17012025_12_09_40_6400.jpg', '/media/data/images/17012025/12/09/image_17012025_12_09_34_5135.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/10/image_17012025_12_10_04_6179.jpg
/media/data/images/17012025/12/09/image_17012025_12_09_58_6413.jpg
/media/data/images/17012025/12/09/image_17012025_12_09_52_5174.jpg
/media/data/images/17012025/12/09/image_17012025_12_09_47_6401.jpg
/media/data/images/17012025/12/09/image_17012025_12_09_40_6400.jpg
/media/data/images/17012025/12/09/image_17012025_12_09_34_5135.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329448173","1329448167","1329448182","1329448170","1329448163","1329448177"],"photo_ids_order":["1329448163","1329448167","1329448170","1329448173","1329448177","1329448182"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/528e0eb18a9ff4cb0276a46493b6435c.jpg","text":"TemporaryFile(/tmp/multipartBody5414359035879592756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112306270,"filename":"image_17012025_12_09_47_6401.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/93bede31f310962d82c7ad722177bb73.jpg","text":"TemporaryFile(/tmp/multipartBody6482655393252157260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112306270,"filename":"image_17012025_12_09_58_6413.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7c75e6c22f527e8a554ef0ae9173d177.jpg","text":"TemporaryFile(/tmp/multipartBody8302868806255089958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112306270,"filename":"image_17012025_12_09_34_5135.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/019da2ce71a719a39bd70ceb20baaa44.jpg","text":"TemporaryFile(/tmp/multipartBody4789969376809248217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112306270,"filename":"image_17012025_12_09_52_5174.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e2a092a20a0362b7ad71155e6b501bcf.jpg","text":"TemporaryFile(/tmp/multipartBody5243801158321467164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112306270,"filename":"image_17012025_12_10_04_6179.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/191096104a0e73cd968bb597f54beeb1.jpg","text":"TemporaryFile(/tmp/multipartBody2117218610242865666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112306270,"filename":"image_17012025_12_09_40_6400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329448170","file1":"1329448167","file0":"1329448163","file4":"1329448177","file5":"1329448182","file3":"1329448173"},"map_files_photo_id_array":[{"photo_id":"1329448182","filename":"file5"},{"photo_id":"1329448170","filename":"file2"},{"photo_id":"1329448177","filename":"file4"},{"photo_id":"1329448167","filename":"file1"},{"photo_id":"1329448163","filename":"file0"},{"photo_id":"1329448173","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329448173":["hashtag1","hashtag2"]},{"1329448167":["hashtag1","hashtag2"]},{"1329448182":["hashtag1","hashtag2"]},{"1329448170":["hashtag1","hashtag2"]},{"1329448163":["hashtag1","hashtag2"]},{"1329448177":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329448173, 1329448167, 1329448182, 1329448170, 1329448163, 1329448177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.333580493927 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:11:22.441019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/11/image_17012025_12_11_52_5153.jpg', '/media/data/images/17012025/12/11/image_17012025_12_11_47_6387.jpg', '/media/data/images/17012025/12/11/image_17012025_12_11_40_6402.jpg', '/media/data/images/17012025/12/11/image_17012025_12_11_34_5157.jpg', '/media/data/images/17012025/12/11/image_17012025_12_11_29_6376.jpg', '/media/data/images/17012025/12/11/image_17012025_12_11_22_6351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/11/image_17012025_12_11_52_5153.jpg
/media/data/images/17012025/12/11/image_17012025_12_11_47_6387.jpg
/media/data/images/17012025/12/11/image_17012025_12_11_40_6402.jpg
/media/data/images/17012025/12/11/image_17012025_12_11_34_5157.jpg
/media/data/images/17012025/12/11/image_17012025_12_11_29_6376.jpg
/media/data/images/17012025/12/11/image_17012025_12_11_22_6351.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329448217","1329448195","1329448198","1329448237","1329448231","1329448225"],"photo_ids_order":["1329448195","1329448198","1329448217","1329448225","1329448231","1329448237"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/91a3ccd1e321e21aafdc93a0180b952f.jpg","text":"TemporaryFile(/tmp/multipartBody7203896383600641332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112345889,"filename":"image_17012025_12_11_40_6402.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/70d373ffec5be878b8b6833a711b448c.jpg","text":"TemporaryFile(/tmp/multipartBody6782180854939002719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112345889,"filename":"image_17012025_12_11_52_5153.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c7316affca5d4be324fde2436d3bbe8d.jpg","text":"TemporaryFile(/tmp/multipartBody1159228215407861098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112345889,"filename":"image_17012025_12_11_47_6387.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4aed05623ec13690993fd38bd6ad9647.jpg","text":"TemporaryFile(/tmp/multipartBody1286604028681974390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112345889,"filename":"image_17012025_12_11_22_6351.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ac65d2f303a3165ea9c9864c75bc9a2c.jpg","text":"TemporaryFile(/tmp/multipartBody5206373850203654210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112345889,"filename":"image_17012025_12_11_29_6376.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a5a19841995eb3981ef686ec7fcdcc4e.jpg","text":"TemporaryFile(/tmp/multipartBody5443457619186986588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112345889,"filename":"image_17012025_12_11_34_5157.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329448217","file1":"1329448198","file0":"1329448195","file4":"1329448231","file5":"1329448237","file3":"1329448225"},"map_files_photo_id_array":[{"photo_id":"1329448237","filename":"file5"},{"photo_id":"1329448217","filename":"file2"},{"photo_id":"1329448231","filename":"file4"},{"photo_id":"1329448198","filename":"file1"},{"photo_id":"1329448195","filename":"file0"},{"photo_id":"1329448225","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329448217":["hashtag1","hashtag2"]},{"1329448195":["hashtag1","hashtag2"]},{"1329448198":["hashtag1","hashtag2"]},{"1329448237":["hashtag1","hashtag2"]},{"1329448231":["hashtag1","hashtag2"]},{"1329448225":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329448217, 1329448195, 1329448198, 1329448237, 1329448231, 1329448225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.386473178863525 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:12:02.734239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/11/image_17012025_12_11_16_6381.jpg', '/media/data/images/17012025/12/11/image_17012025_12_11_10_5171.jpg', '/media/data/images/17012025/12/11/image_17012025_12_11_05_6171.jpg', '/media/data/images/17012025/12/10/image_17012025_12_10_58_6399.jpg', '/media/data/images/17012025/12/10/image_17012025_12_10_52_5191.jpg', '/media/data/images/17012025/12/10/image_17012025_12_10_47_6403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/11/image_17012025_12_11_16_6381.jpg
/media/data/images/17012025/12/11/image_17012025_12_11_10_5171.jpg
/media/data/images/17012025/12/11/image_17012025_12_11_05_6171.jpg
/media/data/images/17012025/12/10/image_17012025_12_10_58_6399.jpg
/media/data/images/17012025/12/10/image_17012025_12_10_52_5191.jpg
/media/data/images/17012025/12/10/image_17012025_12_10_47_6403.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.046607494354248 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:12:22.513545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/12/image_17012025_12_12_52_5201.jpg', '/media/data/images/17012025/12/12/image_17012025_12_12_47_6393.jpg', '/media/data/images/17012025/12/12/image_17012025_12_12_40_6393.jpg', '/media/data/images/17012025/12/12/image_17012025_12_12_34_5155.jpg', '/media/data/images/17012025/12/12/image_17012025_12_12_29_6361.jpg', '/media/data/images/17012025/12/12/image_17012025_12_12_22_6355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/12/image_17012025_12_12_52_5201.jpg
/media/data/images/17012025/12/12/image_17012025_12_12_47_6393.jpg
/media/data/images/17012025/12/12/image_17012025_12_12_40_6393.jpg
/media/data/images/17012025/12/12/image_17012025_12_12_34_5155.jpg
/media/data/images/17012025/12/12/image_17012025_12_12_29_6361.jpg
/media/data/images/17012025/12/12/image_17012025_12_12_22_6355.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329448303","1329448287","1329448269","1329448283","1329448292","1329448267"],"photo_ids_order":["1329448267","1329448269","1329448283","1329448287","1329448292","1329448303"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/147e528d1bacef0529ef22227c6cefc6.jpg","text":"TemporaryFile(/tmp/multipartBody9077094282300321084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112405974,"filename":"image_17012025_12_12_22_6355.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e3324f36adacb7f193e64838c5849cf6.jpg","text":"TemporaryFile(/tmp/multipartBody3565735563817949512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112405974,"filename":"image_17012025_12_12_34_5155.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6d5982ebf9dd3fae0bdc93baa74393cb.jpg","text":"TemporaryFile(/tmp/multipartBody4569437633844690021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112405974,"filename":"image_17012025_12_12_47_6393.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7e923974bb46c31f73e239e92b74570f.jpg","text":"TemporaryFile(/tmp/multipartBody3344425516161770386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112405974,"filename":"image_17012025_12_12_40_6393.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b96025b0552309422fd875d38c4b5dd5.jpg","text":"TemporaryFile(/tmp/multipartBody6701837231704586100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112405974,"filename":"image_17012025_12_12_29_6361.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a199d6ae504030bb21957bbfc7996cc6.jpg","text":"TemporaryFile(/tmp/multipartBody6657558527588503547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112405974,"filename":"image_17012025_12_12_52_5201.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329448283","file1":"1329448269","file0":"1329448267","file4":"1329448292","file5":"1329448303","file3":"1329448287"},"map_files_photo_id_array":[{"photo_id":"1329448303","filename":"file5"},{"photo_id":"1329448283","filename":"file2"},{"photo_id":"1329448292","filename":"file4"},{"photo_id":"1329448269","filename":"file1"},{"photo_id":"1329448267","filename":"file0"},{"photo_id":"1329448287","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329448303":["hashtag1","hashtag2"]},{"1329448287":["hashtag1","hashtag2"]},{"1329448269":["hashtag1","hashtag2"]},{"1329448283":["hashtag1","hashtag2"]},{"1329448292":["hashtag1","hashtag2"]},{"1329448267":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329448303, 1329448287, 1329448269, 1329448283, 1329448292, 1329448267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.24335289001465 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:13:02.994666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/12/image_17012025_12_12_16_6379.jpg', '/media/data/images/17012025/12/12/image_17012025_12_12_10_5174.jpg', '/media/data/images/17012025/12/12/image_17012025_12_12_05_6236.jpg', '/media/data/images/17012025/12/11/image_17012025_12_11_58_6387.jpg', '/media/data/images/17012025/12/11/image_17012025_12_11_16_6381.jpg', '/media/data/images/17012025/12/11/image_17012025_12_11_10_5171.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/12/image_17012025_12_12_16_6379.jpg
/media/data/images/17012025/12/12/image_17012025_12_12_10_5174.jpg
/media/data/images/17012025/12/12/image_17012025_12_12_05_6236.jpg
/media/data/images/17012025/12/11/image_17012025_12_11_58_6387.jpg
/media/data/images/17012025/12/11/image_17012025_12_11_16_6381.jpg
/media/data/images/17012025/12/11/image_17012025_12_11_10_5171.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.2859561443328857 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:13:22.602484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/13/image_17012025_12_13_52_5182.jpg', '/media/data/images/17012025/12/13/image_17012025_12_13_47_6385.jpg', '/media/data/images/17012025/12/13/image_17012025_12_13_40_6382.jpg', '/media/data/images/17012025/12/13/image_17012025_12_13_34_6386.jpg', '/media/data/images/17012025/12/13/image_17012025_12_13_28_5186.jpg', '/media/data/images/17012025/12/13/image_17012025_12_13_22_6384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/13/image_17012025_12_13_52_5182.jpg
/media/data/images/17012025/12/13/image_17012025_12_13_47_6385.jpg
/media/data/images/17012025/12/13/image_17012025_12_13_40_6382.jpg
/media/data/images/17012025/12/13/image_17012025_12_13_34_6386.jpg
/media/data/images/17012025/12/13/image_17012025_12_13_28_5186.jpg
/media/data/images/17012025/12/13/image_17012025_12_13_22_6384.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329450177","1329450084","1329450155","1329450172","1329449796","1329450181"],"photo_ids_order":["1329449796","1329450084","1329450155","1329450172","1329450177","1329450181"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ff43bd99f8e474bb10331f86f139e7be.jpg","text":"TemporaryFile(/tmp/multipartBody9198699080293136960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112466205,"filename":"image_17012025_12_13_28_5186.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/65a45ef2a505c1e07eea81e42c30a8c1.jpg","text":"TemporaryFile(/tmp/multipartBody6956616011936432152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112466205,"filename":"image_17012025_12_13_47_6385.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/916fd12b7d5590256a1b39736961b207.jpg","text":"TemporaryFile(/tmp/multipartBody6562387749307367334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112466205,"filename":"image_17012025_12_13_40_6382.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/eab194d0402fa78d1337ebe4b86aa25f.jpg","text":"TemporaryFile(/tmp/multipartBody3019130157277851964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112466205,"filename":"image_17012025_12_13_34_6386.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/378e21789db58e82f8e4391286fac7c7.jpg","text":"TemporaryFile(/tmp/multipartBody8028804661969016612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112466205,"filename":"image_17012025_12_13_52_5182.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/952b70d2f06e727f64d6dc0d2157dadc.jpg","text":"TemporaryFile(/tmp/multipartBody7439586920086192907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112466205,"filename":"image_17012025_12_13_22_6384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329450155","file1":"1329450084","file0":"1329449796","file4":"1329450177","file5":"1329450181","file3":"1329450172"},"map_files_photo_id_array":[{"photo_id":"1329450181","filename":"file5"},{"photo_id":"1329450155","filename":"file2"},{"photo_id":"1329450177","filename":"file4"},{"photo_id":"1329450084","filename":"file1"},{"photo_id":"1329449796","filename":"file0"},{"photo_id":"1329450172","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329450177":["hashtag1","hashtag2"]},{"1329450084":["hashtag1","hashtag2"]},{"1329450155":["hashtag1","hashtag2"]},{"1329450172":["hashtag1","hashtag2"]},{"1329449796":["hashtag1","hashtag2"]},{"1329450181":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329450177, 1329450084, 1329450155, 1329450172, 1329449796, 1329450181)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96585273742676 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 12:14:03.031366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/13/image_17012025_12_13_16_6382.jpg', '/media/data/images/17012025/12/13/image_17012025_12_13_10_5184.jpg', '/media/data/images/17012025/12/13/image_17012025_12_13_05_6190.jpg', '/media/data/images/17012025/12/12/image_17012025_12_12_58_6373.jpg', '/media/data/images/17012025/12/12/image_17012025_12_12_16_6379.jpg', '/media/data/images/17012025/12/12/image_17012025_12_12_10_5174.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/13/image_17012025_12_13_16_6382.jpg
/media/data/images/17012025/12/13/image_17012025_12_13_10_5184.jpg
/media/data/images/17012025/12/13/image_17012025_12_13_05_6190.jpg
/media/data/images/17012025/12/12/image_17012025_12_12_58_6373.jpg
/media/data/images/17012025/12/12/image_17012025_12_12_16_6379.jpg
/media/data/images/17012025/12/12/image_17012025_12_12_10_5174.jpg
2025-01-17 12:14:03.275303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/13/image_17012025_12_13_16_6382.jpg', '/media/data/images/17012025/12/13/image_17012025_12_13_10_5184.jpg', '/media/data/images/17012025/12/13/image_17012025_12_13_05_6190.jpg', '/media/data/images/17012025/12/12/image_17012025_12_12_58_6373.jpg', '/media/data/images/17012025/12/12/image_17012025_12_12_16_6379.jpg', '/media/data/images/17012025/12/12/image_17012025_12_12_10_5174.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/13/image_17012025_12_13_16_6382.jpg
/media/data/images/17012025/12/13/image_17012025_12_13_10_5184.jpg
/media/data/images/17012025/12/13/image_17012025_12_13_05_6190.jpg
/media/data/images/17012025/12/12/image_17012025_12_12_58_6373.jpg
/media/data/images/17012025/12/12/image_17012025_12_12_16_6379.jpg
/media/data/images/17012025/12/12/image_17012025_12_12_10_5174.jpg
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329450219","1329450227","1329450212","1329450215","1329450223","1329450217"],"photo_ids_order":["1329450212","1329450215","1329450217","1329450219","1329450223","1329450227"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/820a7b225187573edc3eadeb8e8f4756.jpg","text":"TemporaryFile(/tmp/multipartBody4000647934841033616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112509194,"filename":"image_17012025_12_12_58_6373.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/91dbb26e6a1ea4c710004792f3a17bba.jpg","text":"TemporaryFile(/tmp/multipartBody4700830730891508603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112509194,"filename":"image_17012025_12_12_10_5174.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cae85ab5d58dcfbe713434e5fb787be7.jpg","text":"TemporaryFile(/tmp/multipartBody4266362449984984108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112509194,"filename":"image_17012025_12_13_16_6382.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1af171844f88cf8955d9dc58ec0ea9c7.jpg","text":"TemporaryFile(/tmp/multipartBody2606409689807532321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112509194,"filename":"image_17012025_12_13_10_5184.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a54e46164860b32af328f431d6c1f814.jpg","text":"TemporaryFile(/tmp/multipartBody1406314345040125294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112509194,"filename":"image_17012025_12_12_16_6379.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e5f01487506698b04491deaba587b912.jpg","text":"TemporaryFile(/tmp/multipartBody6502156457206294677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112509194,"filename":"image_17012025_12_13_05_6190.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329450217","file1":"1329450215","file0":"1329450212","file4":"1329450223","file5":"1329450227","file3":"1329450219"},"map_files_photo_id_array":[{"photo_id":"1329450227","filename":"file5"},{"photo_id":"1329450217","filename":"file2"},{"photo_id":"1329450223","filename":"file4"},{"photo_id":"1329450215","filename":"file1"},{"photo_id":"1329450212","filename":"file0"},{"photo_id":"1329450219","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329450219":["hashtag1","hashtag2"]},{"1329450227":["hashtag1","hashtag2"]},{"1329450212":["hashtag1","hashtag2"]},{"1329450215":["hashtag1","hashtag2"]},{"1329450223":["hashtag1","hashtag2"]},{"1329450217":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329450219, 1329450227, 1329450212, 1329450215, 1329450223, 1329450217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.44582486152649 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329450211","1329450228","1329450216","1329450224","1329450218","1329450214"],"photo_ids_order":["1329450211","1329450214","1329450216","1329450218","1329450224","1329450228"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ea0475bba9dc9b1d9e622df158663823.jpg","text":"TemporaryFile(/tmp/multipartBody3466277419918204602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112508999,"filename":"image_17012025_12_13_16_6382.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/22e67a7040e9c9a5fc79744621ab853d.jpg","text":"TemporaryFile(/tmp/multipartBody4763682215966201251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112508999,"filename":"image_17012025_12_12_10_5174.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/063388100e1317389d233da7a53ef5ca.jpg","text":"TemporaryFile(/tmp/multipartBody6192665418129425304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112508999,"filename":"image_17012025_12_13_05_6190.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4e82b146e232ec2bfa50cd9ee367c01f.jpg","text":"TemporaryFile(/tmp/multipartBody69984283919716005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112508999,"filename":"image_17012025_12_12_16_6379.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3845afde292c942964eb7beb76805a24.jpg","text":"TemporaryFile(/tmp/multipartBody8657041342249536691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112508999,"filename":"image_17012025_12_12_58_6373.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/baeed68f3d7f98de5fb6457255a7880f.jpg","text":"TemporaryFile(/tmp/multipartBody2659227674609947093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112508999,"filename":"image_17012025_12_13_10_5184.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329450216","file1":"1329450214","file0":"1329450211","file4":"1329450224","file5":"1329450228","file3":"1329450218"},"map_files_photo_id_array":[{"photo_id":"1329450228","filename":"file5"},{"photo_id":"1329450216","filename":"file2"},{"photo_id":"1329450224","filename":"file4"},{"photo_id":"1329450214","filename":"file1"},{"photo_id":"1329450211","filename":"file0"},{"photo_id":"1329450218","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329450211":["hashtag1","hashtag2"]},{"1329450228":["hashtag1","hashtag2"]},{"1329450216":["hashtag1","hashtag2"]},{"1329450224":["hashtag1","hashtag2"]},{"1329450218":["hashtag1","hashtag2"]},{"1329450214":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329450211, 1329450228, 1329450216, 1329450224, 1329450218, 1329450214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.773273944854736 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:14:42.683081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/14/image_17012025_12_14_52_6379.jpg', '/media/data/images/17012025/12/14/image_17012025_12_14_46_5167.jpg', '/media/data/images/17012025/12/14/image_17012025_12_14_41_6376.jpg', '/media/data/images/17012025/12/14/image_17012025_12_14_34_6400.jpg', '/media/data/images/17012025/12/14/image_17012025_12_14_28_5186.jpg', '/media/data/images/17012025/12/14/image_17012025_12_14_23_6433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/14/image_17012025_12_14_52_6379.jpg
/media/data/images/17012025/12/14/image_17012025_12_14_46_5167.jpg
/media/data/images/17012025/12/14/image_17012025_12_14_41_6376.jpg
/media/data/images/17012025/12/14/image_17012025_12_14_34_6400.jpg
/media/data/images/17012025/12/14/image_17012025_12_14_28_5186.jpg
/media/data/images/17012025/12/14/image_17012025_12_14_23_6433.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329450264","1329450267","1329450290","1329450296","1329450271","1329450262"],"photo_ids_order":["1329450262","1329450264","1329450267","1329450271","1329450290","1329450296"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d143e05c6e220467138f5383ba61c341.jpg","text":"TemporaryFile(/tmp/multipartBody6376303822333264489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112546909,"filename":"image_17012025_12_14_46_5167.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/126b5acfc805f0d05bfc16ac417e62c7.jpg","text":"TemporaryFile(/tmp/multipartBody6292572078309127858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112546909,"filename":"image_17012025_12_14_41_6376.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ad5cfb1f2c5003090901fbcdd1ebd4ab.jpg","text":"TemporaryFile(/tmp/multipartBody3736005211649808507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112546909,"filename":"image_17012025_12_14_28_5186.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1fbe688fa95ece9ea72c802747d17034.jpg","text":"TemporaryFile(/tmp/multipartBody8107387673959548316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112546909,"filename":"image_17012025_12_14_23_6433.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bbe691e6b3374ddeb9319147f2fb5282.jpg","text":"TemporaryFile(/tmp/multipartBody3547253145466608987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112546909,"filename":"image_17012025_12_14_34_6400.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cc7a7bf7c11bce21b848a8c071e7f7b5.jpg","text":"TemporaryFile(/tmp/multipartBody9217555639415997702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112546909,"filename":"image_17012025_12_14_52_6379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329450267","file1":"1329450264","file0":"1329450262","file4":"1329450290","file5":"1329450296","file3":"1329450271"},"map_files_photo_id_array":[{"photo_id":"1329450296","filename":"file5"},{"photo_id":"1329450267","filename":"file2"},{"photo_id":"1329450290","filename":"file4"},{"photo_id":"1329450264","filename":"file1"},{"photo_id":"1329450262","filename":"file0"},{"photo_id":"1329450271","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329450264":["hashtag1","hashtag2"]},{"1329450267":["hashtag1","hashtag2"]},{"1329450290":["hashtag1","hashtag2"]},{"1329450296":["hashtag1","hashtag2"]},{"1329450271":["hashtag1","hashtag2"]},{"1329450262":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329450264, 1329450267, 1329450290, 1329450296, 1329450271, 1329450262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.207008600234985 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:15:21.767696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/15/image_17012025_12_15_52_6435.jpg', '/media/data/images/17012025/12/15/image_17012025_12_15_46_6411.jpg', '/media/data/images/17012025/12/15/image_17012025_12_15_40_5164.jpg', '/media/data/images/17012025/12/15/image_17012025_12_15_34_6379.jpg', '/media/data/images/17012025/12/15/image_17012025_12_15_28_6367.jpg', '/media/data/images/17012025/12/15/image_17012025_12_15_22_5164.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/15/image_17012025_12_15_52_6435.jpg
/media/data/images/17012025/12/15/image_17012025_12_15_46_6411.jpg
/media/data/images/17012025/12/15/image_17012025_12_15_40_5164.jpg
/media/data/images/17012025/12/15/image_17012025_12_15_34_6379.jpg
/media/data/images/17012025/12/15/image_17012025_12_15_28_6367.jpg
/media/data/images/17012025/12/15/image_17012025_12_15_22_5164.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329450319","1329450324","1329450312","1329450321","1329450314","1329450328"],"photo_ids_order":["1329450312","1329450314","1329450319","1329450321","1329450324","1329450328"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/18351b1fed267b42a0f27719d028cd60.jpg","text":"TemporaryFile(/tmp/multipartBody4301851555302454114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112585111,"filename":"image_17012025_12_15_40_5164.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ef58703f7bfed84b064f69ed7bd4d871.jpg","text":"TemporaryFile(/tmp/multipartBody1636032296376443470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112585111,"filename":"image_17012025_12_15_28_6367.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/81b080b684c119383b45f600e586d5e3.jpg","text":"TemporaryFile(/tmp/multipartBody7881117984480869519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112585111,"filename":"image_17012025_12_15_52_6435.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/42512d15dae93cecc8bd2fe2bfb2a17d.jpg","text":"TemporaryFile(/tmp/multipartBody8314106650750652647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112585111,"filename":"image_17012025_12_15_34_6379.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/04fe1a285403185de2846fb320dffbe9.jpg","text":"TemporaryFile(/tmp/multipartBody1814768556947652200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112585111,"filename":"image_17012025_12_15_46_6411.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2b52f158db72f02c319680d0827bbf9a.jpg","text":"TemporaryFile(/tmp/multipartBody3061998130199923994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112585111,"filename":"image_17012025_12_15_22_5164.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329450319","file1":"1329450314","file0":"1329450312","file4":"1329450324","file5":"1329450328","file3":"1329450321"},"map_files_photo_id_array":[{"photo_id":"1329450328","filename":"file5"},{"photo_id":"1329450319","filename":"file2"},{"photo_id":"1329450324","filename":"file4"},{"photo_id":"1329450314","filename":"file1"},{"photo_id":"1329450312","filename":"file0"},{"photo_id":"1329450321","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329450319":["hashtag1","hashtag2"]},{"1329450324":["hashtag1","hashtag2"]},{"1329450312":["hashtag1","hashtag2"]},{"1329450321":["hashtag1","hashtag2"]},{"1329450314":["hashtag1","hashtag2"]},{"1329450328":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329450319, 1329450324, 1329450312, 1329450321, 1329450314, 1329450328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.46642303466797 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:16:02.154679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/15/image_17012025_12_15_17_6349.jpg', '/media/data/images/17012025/12/15/image_17012025_12_15_10_6396.jpg', '/media/data/images/17012025/12/15/image_17012025_12_15_04_5190.jpg', '/media/data/images/17012025/12/14/image_17012025_12_14_59_6380.jpg', '/media/data/images/17012025/12/14/image_17012025_12_14_16_6395.jpg', '/media/data/images/17012025/12/14/image_17012025_12_14_10_5251.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/15/image_17012025_12_15_17_6349.jpg
/media/data/images/17012025/12/15/image_17012025_12_15_10_6396.jpg
/media/data/images/17012025/12/15/image_17012025_12_15_04_5190.jpg
/media/data/images/17012025/12/14/image_17012025_12_14_59_6380.jpg
/media/data/images/17012025/12/14/image_17012025_12_14_16_6395.jpg
/media/data/images/17012025/12/14/image_17012025_12_14_10_5251.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329451091","1329450348","1329450686","1329450422","1329450344","1329451030"],"photo_ids_order":["1329450344","1329450348","1329450422","1329450686","1329451030","1329451091"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2dfe757dab8b91674e1ae18031bf3a4b.jpg","text":"TemporaryFile(/tmp/multipartBody3088391214517381961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112625518,"filename":"image_17012025_12_14_10_5251.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c395200bfe8d6f5f43e4b4b58c2c957c.jpg","text":"TemporaryFile(/tmp/multipartBody4819011601680916731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112625518,"filename":"image_17012025_12_15_10_6396.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ac17bd4ffef63bc5956e25b1c633e2ec.jpg","text":"TemporaryFile(/tmp/multipartBody8564300968748923873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112625518,"filename":"image_17012025_12_14_59_6380.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/10831316a83755bcddbaa93abb655b68.jpg","text":"TemporaryFile(/tmp/multipartBody6125702721932005430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112625518,"filename":"image_17012025_12_15_04_5190.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/beff668f89aa8afca573f48c89e2f4ec.jpg","text":"TemporaryFile(/tmp/multipartBody382775143121039973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112625518,"filename":"image_17012025_12_15_17_6349.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/41251dd66a346d56b23de770c5043504.jpg","text":"TemporaryFile(/tmp/multipartBody973447443943518469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112625518,"filename":"image_17012025_12_14_16_6395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329450422","file1":"1329450348","file0":"1329450344","file4":"1329451030","file5":"1329451091","file3":"1329450686"},"map_files_photo_id_array":[{"photo_id":"1329451091","filename":"file5"},{"photo_id":"1329450422","filename":"file2"},{"photo_id":"1329451030","filename":"file4"},{"photo_id":"1329450348","filename":"file1"},{"photo_id":"1329450344","filename":"file0"},{"photo_id":"1329450686","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329451091":["hashtag1","hashtag2"]},{"1329450348":["hashtag1","hashtag2"]},{"1329450686":["hashtag1","hashtag2"]},{"1329450422":["hashtag1","hashtag2"]},{"1329450344":["hashtag1","hashtag2"]},{"1329451030":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329451091, 1329450348, 1329450686, 1329450422, 1329450344, 1329451030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.60672068595886 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:16:41.878939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/16/image_17012025_12_16_53_6369.jpg', '/media/data/images/17012025/12/16/image_17012025_12_16_46_6379.jpg', '/media/data/images/17012025/12/16/image_17012025_12_16_40_6369.jpg', '/media/data/images/17012025/12/16/image_17012025_12_16_34_5171.jpg', '/media/data/images/17012025/12/16/image_17012025_12_16_29_6403.jpg', '/media/data/images/17012025/12/16/image_17012025_12_16_22_6386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/16/image_17012025_12_16_53_6369.jpg
/media/data/images/17012025/12/16/image_17012025_12_16_46_6379.jpg
/media/data/images/17012025/12/16/image_17012025_12_16_40_6369.jpg
/media/data/images/17012025/12/16/image_17012025_12_16_34_5171.jpg
/media/data/images/17012025/12/16/image_17012025_12_16_29_6403.jpg
/media/data/images/17012025/12/16/image_17012025_12_16_22_6386.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329451151","1329451157","1329451145","1329451162","1329451141","1329451167"],"photo_ids_order":["1329451141","1329451145","1329451151","1329451157","1329451162","1329451167"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d04940e668f23cec7ef2a024c9e48cd3.jpg","text":"TemporaryFile(/tmp/multipartBody8108559401244525263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112667048,"filename":"image_17012025_12_16_40_6369.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f28d2b4925e6cf7de2de0c6860b7742a.jpg","text":"TemporaryFile(/tmp/multipartBody5055255185567076110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112667048,"filename":"image_17012025_12_16_34_5171.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5a5404141e6fdb4c70b5201ba266fa36.jpg","text":"TemporaryFile(/tmp/multipartBody8920710703170186918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112667048,"filename":"image_17012025_12_16_46_6379.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5d51792a316eb03578d1b2bebbd6002f.jpg","text":"TemporaryFile(/tmp/multipartBody2643469313143815208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112667048,"filename":"image_17012025_12_16_29_6403.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c77a13be4b667157c9f5b0d6feb0c8d0.jpg","text":"TemporaryFile(/tmp/multipartBody5220658065820502228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112667048,"filename":"image_17012025_12_16_53_6369.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1057477ca972603bcbb90e718090198f.jpg","text":"TemporaryFile(/tmp/multipartBody3463547948385479766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112667048,"filename":"image_17012025_12_16_22_6386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329451151","file1":"1329451145","file0":"1329451141","file4":"1329451162","file5":"1329451167","file3":"1329451157"},"map_files_photo_id_array":[{"photo_id":"1329451167","filename":"file5"},{"photo_id":"1329451151","filename":"file2"},{"photo_id":"1329451162","filename":"file4"},{"photo_id":"1329451145","filename":"file1"},{"photo_id":"1329451141","filename":"file0"},{"photo_id":"1329451157","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329451151":["hashtag1","hashtag2"]},{"1329451157":["hashtag1","hashtag2"]},{"1329451145":["hashtag1","hashtag2"]},{"1329451162":["hashtag1","hashtag2"]},{"1329451141":["hashtag1","hashtag2"]},{"1329451167":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329451151, 1329451157, 1329451145, 1329451162, 1329451141, 1329451167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.667033195495605 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:17:21.992280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/16/image_17012025_12_16_16_5188.jpg', '/media/data/images/17012025/12/16/image_17012025_12_16_11_6428.jpg', '/media/data/images/17012025/12/15/image_17012025_12_16_04_6434.jpg', '/media/data/images/17012025/12/15/image_17012025_12_15_58_5172.jpg', '/media/data/images/17012025/12/14/image_17012025_12_14_05_6260.jpg', '/media/data/images/17012025/12/13/image_17012025_12_13_58_6387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/16/image_17012025_12_16_16_5188.jpg
/media/data/images/17012025/12/16/image_17012025_12_16_11_6428.jpg
/media/data/images/17012025/12/15/image_17012025_12_16_04_6434.jpg
/media/data/images/17012025/12/15/image_17012025_12_15_58_5172.jpg
/media/data/images/17012025/12/14/image_17012025_12_14_05_6260.jpg
/media/data/images/17012025/12/13/image_17012025_12_13_58_6387.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329451329","1329451313","1329451324","1329451318","1329451306","1329451309"],"photo_ids_order":["1329451306","1329451309","1329451313","1329451318","1329451324","1329451329"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/46b8bd38c2bbe0663c89d6153427a96c.jpg","text":"TemporaryFile(/tmp/multipartBody2568453300024840263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112705607,"filename":"image_17012025_12_13_58_6387.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6b51d731d13afe0a2e5ade7978138e84.jpg","text":"TemporaryFile(/tmp/multipartBody6012046264110480081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112705607,"filename":"image_17012025_12_16_04_6434.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1390354b228060236333287308cffa5f.jpg","text":"TemporaryFile(/tmp/multipartBody3980292007916797636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112705607,"filename":"image_17012025_12_14_05_6260.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/946ab57a16c1fb70c48ffd612f5bbf67.jpg","text":"TemporaryFile(/tmp/multipartBody259442760889239160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112705607,"filename":"image_17012025_12_15_58_5172.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2c9b1d0f3e37933ba424ae4bd44e3510.jpg","text":"TemporaryFile(/tmp/multipartBody966721790878669750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112705607,"filename":"image_17012025_12_16_16_5188.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/55f9746f1be86296eb1c6e4b0614842f.jpg","text":"TemporaryFile(/tmp/multipartBody1495470026412072244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112705607,"filename":"image_17012025_12_16_11_6428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329451313","file1":"1329451309","file0":"1329451306","file4":"1329451324","file5":"1329451329","file3":"1329451318"},"map_files_photo_id_array":[{"photo_id":"1329451329","filename":"file5"},{"photo_id":"1329451313","filename":"file2"},{"photo_id":"1329451324","filename":"file4"},{"photo_id":"1329451309","filename":"file1"},{"photo_id":"1329451306","filename":"file0"},{"photo_id":"1329451318","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329451329":["hashtag1","hashtag2"]},{"1329451313":["hashtag1","hashtag2"]},{"1329451324":["hashtag1","hashtag2"]},{"1329451318":["hashtag1","hashtag2"]},{"1329451306":["hashtag1","hashtag2"]},{"1329451309":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329451329, 1329451313, 1329451324, 1329451318, 1329451306, 1329451309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95783257484436 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:18:02.189733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/12/image_17012025_12_12_05_6236.jpg', '/media/data/images/17012025/12/11/image_17012025_12_11_58_6387.jpg', '/media/data/images/17012025/12/11/image_17012025_12_11_16_6381.jpg', '/media/data/images/17012025/12/11/image_17012025_12_11_10_5171.jpg', '/media/data/images/17012025/12/11/image_17012025_12_11_05_6171.jpg', '/media/data/images/17012025/12/10/image_17012025_12_10_58_6399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/12/image_17012025_12_12_05_6236.jpg
/media/data/images/17012025/12/11/image_17012025_12_11_58_6387.jpg
/media/data/images/17012025/12/11/image_17012025_12_11_16_6381.jpg
/media/data/images/17012025/12/11/image_17012025_12_11_10_5171.jpg
/media/data/images/17012025/12/11/image_17012025_12_11_05_6171.jpg
/media/data/images/17012025/12/10/image_17012025_12_10_58_6399.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329451620","1329451602","1329451625","1329451628","1329451368","1329451347"],"photo_ids_order":["1329451347","1329451368","1329451602","1329451620","1329451625","1329451628"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/493a1ccf0f871b48e14ae6aebde5dd49.jpg","text":"TemporaryFile(/tmp/multipartBody918224109444886370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112745672,"filename":"image_17012025_12_11_10_5171.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/97e141a7ff49c8ccf44836b2123e1210.jpg","text":"TemporaryFile(/tmp/multipartBody4083815188876590208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112745672,"filename":"image_17012025_12_11_16_6381.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d94fa8486ec2e33c63a9551b7f4fef06.jpg","text":"TemporaryFile(/tmp/multipartBody3491364688065408834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112745672,"filename":"image_17012025_12_11_05_6171.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/30dfc8ca4512c471449e78aa6a0cd033.jpg","text":"TemporaryFile(/tmp/multipartBody5006655987680944705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112745672,"filename":"image_17012025_12_10_58_6399.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/be2ba790b39826ce487193dd850589c0.jpg","text":"TemporaryFile(/tmp/multipartBody4228881875322670024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112745672,"filename":"image_17012025_12_11_58_6387.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/294b934c24e8542f969337082f1a03c7.jpg","text":"TemporaryFile(/tmp/multipartBody5269364241961133229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112745672,"filename":"image_17012025_12_12_05_6236.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329451602","file1":"1329451368","file0":"1329451347","file4":"1329451625","file5":"1329451628","file3":"1329451620"},"map_files_photo_id_array":[{"photo_id":"1329451628","filename":"file5"},{"photo_id":"1329451602","filename":"file2"},{"photo_id":"1329451625","filename":"file4"},{"photo_id":"1329451368","filename":"file1"},{"photo_id":"1329451347","filename":"file0"},{"photo_id":"1329451620","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329451620":["hashtag1","hashtag2"]},{"1329451602":["hashtag1","hashtag2"]},{"1329451625":["hashtag1","hashtag2"]},{"1329451628":["hashtag1","hashtag2"]},{"1329451368":["hashtag1","hashtag2"]},{"1329451347":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329451620, 1329451602, 1329451625, 1329451628, 1329451368, 1329451347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.33123564720154 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:18:42.064400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/10/image_17012025_12_10_52_5191.jpg', '/media/data/images/17012025/12/10/image_17012025_12_10_47_6403.jpg', '/media/data/images/17012025/12/10/image_17012025_12_10_40_6408.jpg', '/media/data/images/17012025/12/10/image_17012025_12_10_34_5178.jpg', '/media/data/images/17012025/12/10/image_17012025_12_10_29_6382.jpg', '/media/data/images/17012025/12/10/image_17012025_12_10_22_6398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/10/image_17012025_12_10_52_5191.jpg
/media/data/images/17012025/12/10/image_17012025_12_10_47_6403.jpg
/media/data/images/17012025/12/10/image_17012025_12_10_40_6408.jpg
/media/data/images/17012025/12/10/image_17012025_12_10_34_5178.jpg
/media/data/images/17012025/12/10/image_17012025_12_10_29_6382.jpg
/media/data/images/17012025/12/10/image_17012025_12_10_22_6398.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329451688","1329451664","1329451672","1329451669","1329451683","1329451677"],"photo_ids_order":["1329451664","1329451669","1329451672","1329451677","1329451683","1329451688"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d2ea5c8d4f493c760072d43635de3609.jpg","text":"TemporaryFile(/tmp/multipartBody3903376506714705590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112786201,"filename":"image_17012025_12_10_22_6398.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/00675a2019b80cbfbd6b56289af1a0da.jpg","text":"TemporaryFile(/tmp/multipartBody6823802010154891778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112786201,"filename":"image_17012025_12_10_52_5191.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9b8fa2391ddf1026ab89ff97a2f2dfa2.jpg","text":"TemporaryFile(/tmp/multipartBody3973603064117295949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112786201,"filename":"image_17012025_12_10_40_6408.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/668c663554f81b8f537200dd26e94a7a.jpg","text":"TemporaryFile(/tmp/multipartBody4610341196267828459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112786201,"filename":"image_17012025_12_10_47_6403.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/daab475403206bf838947e3788a02751.jpg","text":"TemporaryFile(/tmp/multipartBody4408828444827633442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112786201,"filename":"image_17012025_12_10_29_6382.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4168243d3c1493fc56b2a644722171fa.jpg","text":"TemporaryFile(/tmp/multipartBody2863506240323070654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112786201,"filename":"image_17012025_12_10_34_5178.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329451672","file1":"1329451669","file0":"1329451664","file4":"1329451683","file5":"1329451688","file3":"1329451677"},"map_files_photo_id_array":[{"photo_id":"1329451688","filename":"file5"},{"photo_id":"1329451672","filename":"file2"},{"photo_id":"1329451683","filename":"file4"},{"photo_id":"1329451669","filename":"file1"},{"photo_id":"1329451664","filename":"file0"},{"photo_id":"1329451677","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329451688":["hashtag1","hashtag2"]},{"1329451664":["hashtag1","hashtag2"]},{"1329451672":["hashtag1","hashtag2"]},{"1329451669":["hashtag1","hashtag2"]},{"1329451683":["hashtag1","hashtag2"]},{"1329451677":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329451688, 1329451664, 1329451672, 1329451669, 1329451683, 1329451677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.849722385406494 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:19:22.185874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/10/image_17012025_12_10_16_5208.jpg', '/media/data/images/17012025/12/10/image_17012025_12_10_11_6388.jpg', '/media/data/images/17012025/12/09/image_17012025_12_09_29_6382.jpg', '/media/data/images/17012025/12/09/image_17012025_12_09_22_6384.jpg', '/media/data/images/17012025/12/09/image_17012025_12_09_16_5173.jpg', '/media/data/images/17012025/12/09/image_17012025_12_09_11_6375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/10/image_17012025_12_10_16_5208.jpg
/media/data/images/17012025/12/10/image_17012025_12_10_11_6388.jpg
/media/data/images/17012025/12/09/image_17012025_12_09_29_6382.jpg
/media/data/images/17012025/12/09/image_17012025_12_09_22_6384.jpg
/media/data/images/17012025/12/09/image_17012025_12_09_16_5173.jpg
/media/data/images/17012025/12/09/image_17012025_12_09_11_6375.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329451716","1329451701","1329451694","1329451697","1329451706","1329451726"],"photo_ids_order":["1329451694","1329451697","1329451701","1329451706","1329451716","1329451726"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1d575fedeb997b58b2d97328588b2b93.jpg","text":"TemporaryFile(/tmp/multipartBody2458140578737388924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112826015,"filename":"image_17012025_12_09_16_5173.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2506cee44eddc8449957422fc1adf19e.jpg","text":"TemporaryFile(/tmp/multipartBody3651727439540634388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112826015,"filename":"image_17012025_12_09_29_6382.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/95031313d27eaea345e0bc7a350213cb.jpg","text":"TemporaryFile(/tmp/multipartBody2663285215807301177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112826015,"filename":"image_17012025_12_10_16_5208.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f2f82eca280de383c903458b4ddcaa01.jpg","text":"TemporaryFile(/tmp/multipartBody8235327530830490222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112826015,"filename":"image_17012025_12_10_11_6388.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7bbc65ab5f4d3b292371cd3cdf444fa9.jpg","text":"TemporaryFile(/tmp/multipartBody4874790768670629945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112826015,"filename":"image_17012025_12_09_22_6384.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/05f85cbb1a5eff7c45a10612827b388a.jpg","text":"TemporaryFile(/tmp/multipartBody8870910520483278777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112826015,"filename":"image_17012025_12_09_11_6375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329451701","file1":"1329451697","file0":"1329451694","file4":"1329451716","file5":"1329451726","file3":"1329451706"},"map_files_photo_id_array":[{"photo_id":"1329451726","filename":"file5"},{"photo_id":"1329451701","filename":"file2"},{"photo_id":"1329451716","filename":"file4"},{"photo_id":"1329451697","filename":"file1"},{"photo_id":"1329451694","filename":"file0"},{"photo_id":"1329451706","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329451716":["hashtag1","hashtag2"]},{"1329451701":["hashtag1","hashtag2"]},{"1329451694":["hashtag1","hashtag2"]},{"1329451697":["hashtag1","hashtag2"]},{"1329451706":["hashtag1","hashtag2"]},{"1329451726":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329451716, 1329451701, 1329451694, 1329451697, 1329451706, 1329451726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27560615539551 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:20:02.369743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/09/image_17012025_12_09_04_6186.jpg', '/media/data/images/17012025/12/08/image_17012025_12_08_58_6519.jpg', '/media/data/images/17012025/12/08/image_17012025_12_08_52_5260.jpg', '/media/data/images/17012025/12/08/image_17012025_12_08_46_6371.jpg', '/media/data/images/17012025/12/08/image_17012025_12_08_40_6417.jpg', '/media/data/images/17012025/12/08/image_17012025_12_08_04_5239.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/09/image_17012025_12_09_04_6186.jpg
/media/data/images/17012025/12/08/image_17012025_12_08_58_6519.jpg
/media/data/images/17012025/12/08/image_17012025_12_08_52_5260.jpg
/media/data/images/17012025/12/08/image_17012025_12_08_46_6371.jpg
/media/data/images/17012025/12/08/image_17012025_12_08_40_6417.jpg
/media/data/images/17012025/12/08/image_17012025_12_08_04_5239.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329451746","1329451749","1329451751","1329451759","1329451753","1329451756"],"photo_ids_order":["1329451746","1329451749","1329451751","1329451753","1329451756","1329451759"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a905575164508d2738bb35676a583117.jpg","text":"TemporaryFile(/tmp/multipartBody603927690047679838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112866717,"filename":"image_17012025_12_09_04_6186.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8453100cc33cc5fe6e2561e6777bf4d4.jpg","text":"TemporaryFile(/tmp/multipartBody6286340239363387908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112866717,"filename":"image_17012025_12_08_58_6519.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ee2d829bca9b940da05ef6aa4c293e08.jpg","text":"TemporaryFile(/tmp/multipartBody2768691819258370842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112866717,"filename":"image_17012025_12_08_52_5260.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/29f1821746468055339ad9c9104999c6.jpg","text":"TemporaryFile(/tmp/multipartBody5262258026532279638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112866717,"filename":"image_17012025_12_08_04_5239.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e7f752bdfcdbc6ba2f986c68448726c7.jpg","text":"TemporaryFile(/tmp/multipartBody3273964481213303041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112866717,"filename":"image_17012025_12_08_46_6371.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/75b89c7950ea8543317be11a101dc8e5.jpg","text":"TemporaryFile(/tmp/multipartBody7330088612386188082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112866717,"filename":"image_17012025_12_08_40_6417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329451751","file1":"1329451749","file0":"1329451746","file4":"1329451756","file5":"1329451759","file3":"1329451753"},"map_files_photo_id_array":[{"photo_id":"1329451759","filename":"file5"},{"photo_id":"1329451751","filename":"file2"},{"photo_id":"1329451756","filename":"file4"},{"photo_id":"1329451749","filename":"file1"},{"photo_id":"1329451746","filename":"file0"},{"photo_id":"1329451753","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329451746":["hashtag1","hashtag2"]},{"1329451749":["hashtag1","hashtag2"]},{"1329451751":["hashtag1","hashtag2"]},{"1329451759":["hashtag1","hashtag2"]},{"1329451753":["hashtag1","hashtag2"]},{"1329451756":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329451746, 1329451749, 1329451751, 1329451759, 1329451753, 1329451756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.4820830821991 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:21:02.700749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/07/image_17012025_12_07_58_6431.jpg', '/media/data/images/17012025/12/07/image_17012025_12_07_47_6472.jpg', '/media/data/images/17012025/12/07/image_17012025_12_07_40_6474.jpg', '/media/data/images/17012025/12/07/image_17012025_12_07_22_6460.jpg', '/media/data/images/17012025/12/07/image_17012025_12_07_16_5283.jpg', '/media/data/images/17012025/12/07/image_17012025_12_07_04_5071.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/07/image_17012025_12_07_58_6431.jpg
/media/data/images/17012025/12/07/image_17012025_12_07_47_6472.jpg
/media/data/images/17012025/12/07/image_17012025_12_07_40_6474.jpg
/media/data/images/17012025/12/07/image_17012025_12_07_22_6460.jpg
/media/data/images/17012025/12/07/image_17012025_12_07_16_5283.jpg
/media/data/images/17012025/12/07/image_17012025_12_07_04_5071.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329451830","1329451835","1329451820","1329451823","1329451817","1329451832"],"photo_ids_order":["1329451817","1329451820","1329451823","1329451830","1329451832","1329451835"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/88ecbf7f8563c8032f8f8ef48c2ce76d.jpg","text":"TemporaryFile(/tmp/multipartBody4409418454508796675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112929043,"filename":"image_17012025_12_07_22_6460.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c41693f532d713563bc6fb305dea94f3.jpg","text":"TemporaryFile(/tmp/multipartBody5411964462725258633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112929043,"filename":"image_17012025_12_07_04_5071.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3c76d80b3d24006f8428f5369c8d7921.jpg","text":"TemporaryFile(/tmp/multipartBody183005113992888163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112929043,"filename":"image_17012025_12_07_47_6472.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/961ae2dde53bab48efce4a90b8c02e63.jpg","text":"TemporaryFile(/tmp/multipartBody2158749021189049903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112929043,"filename":"image_17012025_12_07_40_6474.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c8c35e3fcb5ed4f65fd233c2f4136b26.jpg","text":"TemporaryFile(/tmp/multipartBody5485348031056787685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112929043,"filename":"image_17012025_12_07_58_6431.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/664aa03ae0839a9e63616a7099d1d24f.jpg","text":"TemporaryFile(/tmp/multipartBody3051451951664874693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112929043,"filename":"image_17012025_12_07_16_5283.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329451823","file1":"1329451820","file0":"1329451817","file4":"1329451832","file5":"1329451835","file3":"1329451830"},"map_files_photo_id_array":[{"photo_id":"1329451835","filename":"file5"},{"photo_id":"1329451823","filename":"file2"},{"photo_id":"1329451832","filename":"file4"},{"photo_id":"1329451820","filename":"file1"},{"photo_id":"1329451817","filename":"file0"},{"photo_id":"1329451830","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329451830":["hashtag1","hashtag2"]},{"1329451835":["hashtag1","hashtag2"]},{"1329451820":["hashtag1","hashtag2"]},{"1329451823":["hashtag1","hashtag2"]},{"1329451817":["hashtag1","hashtag2"]},{"1329451832":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329451830, 1329451835, 1329451820, 1329451823, 1329451817, 1329451832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.492438554763794 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:22:02.634645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/20/image_17012025_12_20_47_6391.jpg', '/media/data/images/17012025/12/20/image_17012025_12_20_40_6390.jpg', '/media/data/images/17012025/12/20/image_17012025_12_20_34_5198.jpg', '/media/data/images/17012025/12/20/image_17012025_12_20_29_6465.jpg', '/media/data/images/17012025/12/20/image_17012025_12_20_22_6315.jpg', '/media/data/images/17012025/12/20/image_17012025_12_20_16_5167.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/20/image_17012025_12_20_47_6391.jpg
/media/data/images/17012025/12/20/image_17012025_12_20_40_6390.jpg
/media/data/images/17012025/12/20/image_17012025_12_20_34_5198.jpg
/media/data/images/17012025/12/20/image_17012025_12_20_29_6465.jpg
/media/data/images/17012025/12/20/image_17012025_12_20_22_6315.jpg
/media/data/images/17012025/12/20/image_17012025_12_20_16_5167.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329451892","1329451871","1329451880","1329451900","1329451890","1329451875"],"photo_ids_order":["1329451871","1329451875","1329451880","1329451890","1329451892","1329451900"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/89eb9b92081d0cc380f60ca8ad392818.jpg","text":"TemporaryFile(/tmp/multipartBody1281984166645628619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112986133,"filename":"image_17012025_12_20_22_6315.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/862785ef1501714f364e3f159361aebf.jpg","text":"TemporaryFile(/tmp/multipartBody9182244340462818113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112986133,"filename":"image_17012025_12_20_47_6391.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e8d15c1dda5ae356e4d2a865e2ba6325.jpg","text":"TemporaryFile(/tmp/multipartBody8001766444462564614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112986133,"filename":"image_17012025_12_20_34_5198.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/428199a8fe9ea8574c036601482efea5.jpg","text":"TemporaryFile(/tmp/multipartBody8066453919189515208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112986133,"filename":"image_17012025_12_20_16_5167.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/925760fdac64e57f4b077be7164df0ff.jpg","text":"TemporaryFile(/tmp/multipartBody6946136222276381631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112986133,"filename":"image_17012025_12_20_29_6465.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/38ea6158996a5e69cdf532fbf6d81a30.jpg","text":"TemporaryFile(/tmp/multipartBody6409577088270549701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737112986133,"filename":"image_17012025_12_20_40_6390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329451880","file1":"1329451875","file0":"1329451871","file4":"1329451892","file5":"1329451900","file3":"1329451890"},"map_files_photo_id_array":[{"photo_id":"1329451900","filename":"file5"},{"photo_id":"1329451880","filename":"file2"},{"photo_id":"1329451892","filename":"file4"},{"photo_id":"1329451875","filename":"file1"},{"photo_id":"1329451871","filename":"file0"},{"photo_id":"1329451890","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329451892":["hashtag1","hashtag2"]},{"1329451871":["hashtag1","hashtag2"]},{"1329451880":["hashtag1","hashtag2"]},{"1329451900":["hashtag1","hashtag2"]},{"1329451890":["hashtag1","hashtag2"]},{"1329451875":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329451892, 1329451871, 1329451880, 1329451900, 1329451890, 1329451875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.50997710227966 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:22:42.395056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/22/image_17012025_12_22_52_5149.jpg', '/media/data/images/17012025/12/22/image_17012025_12_22_47_6353.jpg', '/media/data/images/17012025/12/22/image_17012025_12_22_40_6363.jpg', '/media/data/images/17012025/12/22/image_17012025_12_22_34_6356.jpg', '/media/data/images/17012025/12/22/image_17012025_12_22_28_5152.jpg', '/media/data/images/17012025/12/22/image_17012025_12_22_23_6363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/22/image_17012025_12_22_52_5149.jpg
/media/data/images/17012025/12/22/image_17012025_12_22_47_6353.jpg
/media/data/images/17012025/12/22/image_17012025_12_22_40_6363.jpg
/media/data/images/17012025/12/22/image_17012025_12_22_34_6356.jpg
/media/data/images/17012025/12/22/image_17012025_12_22_28_5152.jpg
/media/data/images/17012025/12/22/image_17012025_12_22_23_6363.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329451923","1329451961","1329451928","1329451916","1329451963","1329451935"],"photo_ids_order":["1329451916","1329451923","1329451928","1329451935","1329451961","1329451963"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/866dc5653cdf9dc7b83d0fc861d3faf4.jpg","text":"TemporaryFile(/tmp/multipartBody7771675699248547204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113025781,"filename":"image_17012025_12_22_47_6353.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/60d81ff48057c29f9f7a19f102ab9fa6.jpg","text":"TemporaryFile(/tmp/multipartBody4819816376616248115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113025781,"filename":"image_17012025_12_22_28_5152.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/26df9fc2006848924b37826ea6b7356d.jpg","text":"TemporaryFile(/tmp/multipartBody898795296248698721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113025781,"filename":"image_17012025_12_22_40_6363.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/28693d232f979fa122b9d3ccdd121b51.jpg","text":"TemporaryFile(/tmp/multipartBody5508482648866914530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113025781,"filename":"image_17012025_12_22_52_5149.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bcfd3d2223239ee063359d74b9f1b947.jpg","text":"TemporaryFile(/tmp/multipartBody2096158139217605402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113025781,"filename":"image_17012025_12_22_23_6363.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/456f3bc889609473629cae0f7a60a09b.jpg","text":"TemporaryFile(/tmp/multipartBody3215001549166271312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113025781,"filename":"image_17012025_12_22_34_6356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329451928","file1":"1329451923","file0":"1329451916","file4":"1329451961","file5":"1329451963","file3":"1329451935"},"map_files_photo_id_array":[{"photo_id":"1329451963","filename":"file5"},{"photo_id":"1329451928","filename":"file2"},{"photo_id":"1329451961","filename":"file4"},{"photo_id":"1329451923","filename":"file1"},{"photo_id":"1329451916","filename":"file0"},{"photo_id":"1329451935","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329451923":["hashtag1","hashtag2"]},{"1329451961":["hashtag1","hashtag2"]},{"1329451928":["hashtag1","hashtag2"]},{"1329451916":["hashtag1","hashtag2"]},{"1329451963":["hashtag1","hashtag2"]},{"1329451935":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329451923, 1329451961, 1329451928, 1329451916, 1329451963, 1329451935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.72385263442993 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:23:22.488255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/22/image_17012025_12_22_16_6404.jpg', '/media/data/images/17012025/12/22/image_17012025_12_22_10_5180.jpg', '/media/data/images/17012025/12/22/image_17012025_12_22_05_6235.jpg', '/media/data/images/17012025/12/21/image_17012025_12_21_58_6422.jpg', '/media/data/images/17012025/12/21/image_17012025_12_21_52_5158.jpg', '/media/data/images/17012025/12/21/image_17012025_12_21_47_6379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/22/image_17012025_12_22_16_6404.jpg
/media/data/images/17012025/12/22/image_17012025_12_22_10_5180.jpg
/media/data/images/17012025/12/22/image_17012025_12_22_05_6235.jpg
/media/data/images/17012025/12/21/image_17012025_12_21_58_6422.jpg
/media/data/images/17012025/12/21/image_17012025_12_21_52_5158.jpg
/media/data/images/17012025/12/21/image_17012025_12_21_47_6379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329452007","1329451994","1329451997","1329452002","1329451989","1329451980"],"photo_ids_order":["1329451980","1329451989","1329451994","1329451997","1329452002","1329452007"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0bc5cc018550bbcc045ca416183f28ca.jpg","text":"TemporaryFile(/tmp/multipartBody7786564734108702744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113066017,"filename":"image_17012025_12_21_47_6379.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/463f432283a9885c4772c0bd6a4e6a45.jpg","text":"TemporaryFile(/tmp/multipartBody186193951684806578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113066017,"filename":"image_17012025_12_22_05_6235.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/812f614e26c04ef77dc798620ec4b3b9.jpg","text":"TemporaryFile(/tmp/multipartBody8479224040285090807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113066017,"filename":"image_17012025_12_21_58_6422.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/844a49cc7a3c69dcbb8c9749def71e9d.jpg","text":"TemporaryFile(/tmp/multipartBody3714898692128293757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113066017,"filename":"image_17012025_12_21_52_5158.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6df7fc0702e771c688061ebf0f096aee.jpg","text":"TemporaryFile(/tmp/multipartBody7504530672564674799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113066017,"filename":"image_17012025_12_22_10_5180.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7f0860b15edf9a2fe15a05c582636da8.jpg","text":"TemporaryFile(/tmp/multipartBody6282470915027513572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113066017,"filename":"image_17012025_12_22_16_6404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329451994","file1":"1329451989","file0":"1329451980","file4":"1329452002","file5":"1329452007","file3":"1329451997"},"map_files_photo_id_array":[{"photo_id":"1329452007","filename":"file5"},{"photo_id":"1329451994","filename":"file2"},{"photo_id":"1329452002","filename":"file4"},{"photo_id":"1329451989","filename":"file1"},{"photo_id":"1329451980","filename":"file0"},{"photo_id":"1329451997","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329452007":["hashtag1","hashtag2"]},{"1329451994":["hashtag1","hashtag2"]},{"1329451997":["hashtag1","hashtag2"]},{"1329452002":["hashtag1","hashtag2"]},{"1329451989":["hashtag1","hashtag2"]},{"1329451980":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329452007, 1329451994, 1329451997, 1329452002, 1329451989, 1329451980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.74189329147339 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:24:22.578416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/21/image_17012025_12_21_40_6514.jpg', '/media/data/images/17012025/12/21/image_17012025_12_21_34_5157.jpg', '/media/data/images/17012025/12/21/image_17012025_12_21_29_6366.jpg', '/media/data/images/17012025/12/21/image_17012025_12_21_22_6359.jpg', '/media/data/images/17012025/12/21/image_17012025_12_21_16_5174.jpg', '/media/data/images/17012025/12/21/image_17012025_12_21_11_6383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/21/image_17012025_12_21_40_6514.jpg
/media/data/images/17012025/12/21/image_17012025_12_21_34_5157.jpg
/media/data/images/17012025/12/21/image_17012025_12_21_29_6366.jpg
/media/data/images/17012025/12/21/image_17012025_12_21_22_6359.jpg
/media/data/images/17012025/12/21/image_17012025_12_21_16_5174.jpg
/media/data/images/17012025/12/21/image_17012025_12_21_11_6383.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329452075","1329452066","1329452048","1329452042","1329452080","1329452062"],"photo_ids_order":["1329452042","1329452048","1329452062","1329452066","1329452075","1329452080"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d46d8e5841ccba57ed0ff6270ccf06cd.jpg","text":"TemporaryFile(/tmp/multipartBody7967626328622331332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113126263,"filename":"image_17012025_12_21_16_5174.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/93fc9d831c2a8d0142f246e6fde96c0b.jpg","text":"TemporaryFile(/tmp/multipartBody3791711956446059921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113126263,"filename":"image_17012025_12_21_22_6359.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/15dcae58b6262c6cb12742966c9b416b.jpg","text":"TemporaryFile(/tmp/multipartBody4991851517818991640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113126263,"filename":"image_17012025_12_21_34_5157.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f979e0583a78ec596c6e134d0d53a87e.jpg","text":"TemporaryFile(/tmp/multipartBody203114259472206280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113126263,"filename":"image_17012025_12_21_40_6514.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3bdfdb61bf96bc62747e1e2f072f750f.jpg","text":"TemporaryFile(/tmp/multipartBody4776981350547101390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113126263,"filename":"image_17012025_12_21_11_6383.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/997adc40924660759ed223b877b5de48.jpg","text":"TemporaryFile(/tmp/multipartBody4444327017532768682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113126263,"filename":"image_17012025_12_21_29_6366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329452062","file1":"1329452048","file0":"1329452042","file4":"1329452075","file5":"1329452080","file3":"1329452066"},"map_files_photo_id_array":[{"photo_id":"1329452080","filename":"file5"},{"photo_id":"1329452062","filename":"file2"},{"photo_id":"1329452075","filename":"file4"},{"photo_id":"1329452048","filename":"file1"},{"photo_id":"1329452042","filename":"file0"},{"photo_id":"1329452066","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329452075":["hashtag1","hashtag2"]},{"1329452066":["hashtag1","hashtag2"]},{"1329452048":["hashtag1","hashtag2"]},{"1329452042":["hashtag1","hashtag2"]},{"1329452080":["hashtag1","hashtag2"]},{"1329452062":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329452075, 1329452066, 1329452048, 1329452042, 1329452080, 1329452062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.51092505455017 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:25:02.864476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/21/image_17012025_12_21_04_6183.jpg', '/media/data/images/17012025/12/20/image_17012025_12_20_58_6378.jpg', '/media/data/images/17012025/12/20/image_17012025_12_20_52_5182.jpg', '/media/data/images/17012025/12/20/image_17012025_12_20_11_6374.jpg', '/media/data/images/17012025/12/20/image_17012025_12_20_04_6157.jpg', '/media/data/images/17012025/12/19/image_17012025_12_19_58_6355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/21/image_17012025_12_21_04_6183.jpg
/media/data/images/17012025/12/20/image_17012025_12_20_58_6378.jpg
/media/data/images/17012025/12/20/image_17012025_12_20_52_5182.jpg
/media/data/images/17012025/12/20/image_17012025_12_20_11_6374.jpg
/media/data/images/17012025/12/20/image_17012025_12_20_04_6157.jpg
/media/data/images/17012025/12/19/image_17012025_12_19_58_6355.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329452111","1329452102","1329452119","1329452107","1329452127","1329452124"],"photo_ids_order":["1329452102","1329452107","1329452111","1329452119","1329452124","1329452127"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/83dda7443a72f509ce0a5d503e5bde4c.jpg","text":"TemporaryFile(/tmp/multipartBody3740134213273735013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113166344,"filename":"image_17012025_12_20_52_5182.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3ab4318c04eb8a989ae3c01fd4a04424.jpg","text":"TemporaryFile(/tmp/multipartBody2409722705997321074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113166344,"filename":"image_17012025_12_21_04_6183.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/61b70678c5fd9e8eb4edd306bae6b3a6.jpg","text":"TemporaryFile(/tmp/multipartBody3220401717374035765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113166344,"filename":"image_17012025_12_20_11_6374.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/692d3d735228dcb146ebbde041112da1.jpg","text":"TemporaryFile(/tmp/multipartBody731463959830008508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113166344,"filename":"image_17012025_12_20_58_6378.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8629357a67f8b705cc6041a59f6b3711.jpg","text":"TemporaryFile(/tmp/multipartBody2009409660249264831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113166344,"filename":"image_17012025_12_19_58_6355.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/84f002bd78add565bcba3fe514a028c8.jpg","text":"TemporaryFile(/tmp/multipartBody2557447349970637661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113166344,"filename":"image_17012025_12_20_04_6157.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329452111","file1":"1329452107","file0":"1329452102","file4":"1329452124","file5":"1329452127","file3":"1329452119"},"map_files_photo_id_array":[{"photo_id":"1329452127","filename":"file5"},{"photo_id":"1329452111","filename":"file2"},{"photo_id":"1329452124","filename":"file4"},{"photo_id":"1329452107","filename":"file1"},{"photo_id":"1329452102","filename":"file0"},{"photo_id":"1329452119","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329452111":["hashtag1","hashtag2"]},{"1329452102":["hashtag1","hashtag2"]},{"1329452119":["hashtag1","hashtag2"]},{"1329452107":["hashtag1","hashtag2"]},{"1329452127":["hashtag1","hashtag2"]},{"1329452124":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329452111, 1329452102, 1329452119, 1329452107, 1329452127, 1329452124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.24734354019165 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:25:42.651037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/19/image_17012025_12_19_52_5150.jpg', '/media/data/images/17012025/12/19/image_17012025_12_19_47_6392.jpg', '/media/data/images/17012025/12/19/image_17012025_12_19_40_6372.jpg', '/media/data/images/17012025/12/19/image_17012025_12_19_34_5154.jpg', '/media/data/images/17012025/12/19/image_17012025_12_19_29_6387.jpg', '/media/data/images/17012025/12/19/image_17012025_12_19_22_6395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/19/image_17012025_12_19_52_5150.jpg
/media/data/images/17012025/12/19/image_17012025_12_19_47_6392.jpg
/media/data/images/17012025/12/19/image_17012025_12_19_40_6372.jpg
/media/data/images/17012025/12/19/image_17012025_12_19_34_5154.jpg
/media/data/images/17012025/12/19/image_17012025_12_19_29_6387.jpg
/media/data/images/17012025/12/19/image_17012025_12_19_22_6395.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329452156","1329452138","1329452143","1329452146","1329452172","1329452151"],"photo_ids_order":["1329452138","1329452143","1329452146","1329452151","1329452156","1329452172"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3de8135131c8e2fe8dfffa5be77551ea.jpg","text":"TemporaryFile(/tmp/multipartBody6680503010991285854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113207329,"filename":"image_17012025_12_19_29_6387.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a28e45de682ff60e835fae861a234d7d.jpg","text":"TemporaryFile(/tmp/multipartBody1016874158334131514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113207329,"filename":"image_17012025_12_19_52_5150.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/966e82734f62df2a3bc6b91d5ac4b30e.jpg","text":"TemporaryFile(/tmp/multipartBody807687694966294409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113207329,"filename":"image_17012025_12_19_47_6392.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/79e5426b1597fe7a71748d956fad0cfc.jpg","text":"TemporaryFile(/tmp/multipartBody5964554469150924292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113207329,"filename":"image_17012025_12_19_40_6372.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d51f8900f937a59ee572e2649f394d7c.jpg","text":"TemporaryFile(/tmp/multipartBody3958515800884242839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113207329,"filename":"image_17012025_12_19_22_6395.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c2e70fa9b8d2ce1108131d59b4cbd151.jpg","text":"TemporaryFile(/tmp/multipartBody1309063757609398367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113207329,"filename":"image_17012025_12_19_34_5154.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329452146","file1":"1329452143","file0":"1329452138","file4":"1329452156","file5":"1329452172","file3":"1329452151"},"map_files_photo_id_array":[{"photo_id":"1329452172","filename":"file5"},{"photo_id":"1329452146","filename":"file2"},{"photo_id":"1329452156","filename":"file4"},{"photo_id":"1329452143","filename":"file1"},{"photo_id":"1329452138","filename":"file0"},{"photo_id":"1329452151","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329452156":["hashtag1","hashtag2"]},{"1329452138":["hashtag1","hashtag2"]},{"1329452143":["hashtag1","hashtag2"]},{"1329452146":["hashtag1","hashtag2"]},{"1329452172":["hashtag1","hashtag2"]},{"1329452151":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329452156, 1329452138, 1329452143, 1329452146, 1329452172, 1329452151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.59004759788513 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:26:42.716613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/19/image_17012025_12_19_16_5171.jpg', '/media/data/images/17012025/12/19/image_17012025_12_19_11_6365.jpg', '/media/data/images/17012025/12/19/image_17012025_12_19_04_6171.jpg', '/media/data/images/17012025/12/18/image_17012025_12_18_58_6392.jpg', '/media/data/images/17012025/12/18/image_17012025_12_18_52_5170.jpg', '/media/data/images/17012025/12/18/image_17012025_12_18_47_6380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/19/image_17012025_12_19_16_5171.jpg
/media/data/images/17012025/12/19/image_17012025_12_19_11_6365.jpg
/media/data/images/17012025/12/19/image_17012025_12_19_04_6171.jpg
/media/data/images/17012025/12/18/image_17012025_12_18_58_6392.jpg
/media/data/images/17012025/12/18/image_17012025_12_18_52_5170.jpg
/media/data/images/17012025/12/18/image_17012025_12_18_47_6380.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329453691","1329453454","1329452851","1329452206","1329453167","1329452526"],"photo_ids_order":["1329452206","1329452526","1329452851","1329453167","1329453454","1329453691"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/18ea946526a31d3f3139c3ca4ba46e4e.jpg","text":"TemporaryFile(/tmp/multipartBody2473148936822764398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113266723,"filename":"image_17012025_12_18_47_6380.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1399fdcfd0366c91bdaf513444490c8d.jpg","text":"TemporaryFile(/tmp/multipartBody3366029751436558845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113266723,"filename":"image_17012025_12_18_52_5170.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cbdc2fc7e714cba7b19711bb4dafb66f.jpg","text":"TemporaryFile(/tmp/multipartBody1880826289746726542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113266723,"filename":"image_17012025_12_19_04_6171.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f4b525b0cd87f14732559ecb70ff20fe.jpg","text":"TemporaryFile(/tmp/multipartBody7521441871879391151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113266723,"filename":"image_17012025_12_19_16_5171.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/12a33762e12e8414a6dca623816bcf93.jpg","text":"TemporaryFile(/tmp/multipartBody1299382555134034585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113266723,"filename":"image_17012025_12_18_58_6392.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d0869094fe4f80ec7f6de88025f7677c.jpg","text":"TemporaryFile(/tmp/multipartBody382140777492223327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113266723,"filename":"image_17012025_12_19_11_6365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329452851","file1":"1329452526","file0":"1329452206","file4":"1329453454","file5":"1329453691","file3":"1329453167"},"map_files_photo_id_array":[{"photo_id":"1329453691","filename":"file5"},{"photo_id":"1329452851","filename":"file2"},{"photo_id":"1329453454","filename":"file4"},{"photo_id":"1329452526","filename":"file1"},{"photo_id":"1329452206","filename":"file0"},{"photo_id":"1329453167","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329453691":["hashtag1","hashtag2"]},{"1329453454":["hashtag1","hashtag2"]},{"1329452851":["hashtag1","hashtag2"]},{"1329452206":["hashtag1","hashtag2"]},{"1329453167":["hashtag1","hashtag2"]},{"1329452526":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329453691, 1329453454, 1329452851, 1329452206, 1329453167, 1329452526)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.45771026611328 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:27:41.828551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/18/image_17012025_12_18_40_6314.jpg', '/media/data/images/17012025/12/18/image_17012025_12_18_34_6385.jpg', '/media/data/images/17012025/12/18/image_17012025_12_18_28_5181.jpg', '/media/data/images/17012025/12/18/image_17012025_12_18_22_6386.jpg', '/media/data/images/17012025/12/18/image_17012025_12_18_16_6394.jpg', '/media/data/images/17012025/12/18/image_17012025_12_18_10_5172.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/18/image_17012025_12_18_40_6314.jpg
/media/data/images/17012025/12/18/image_17012025_12_18_34_6385.jpg
/media/data/images/17012025/12/18/image_17012025_12_18_28_5181.jpg
/media/data/images/17012025/12/18/image_17012025_12_18_22_6386.jpg
/media/data/images/17012025/12/18/image_17012025_12_18_16_6394.jpg
/media/data/images/17012025/12/18/image_17012025_12_18_10_5172.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329454030","1329454024","1329454006","1329454011","1329453998","1329454001"],"photo_ids_order":["1329453998","1329454001","1329454006","1329454011","1329454024","1329454030"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/da063fc15015c8b14e591cf50aaea13b.jpg","text":"TemporaryFile(/tmp/multipartBody6610887770612312736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113325642,"filename":"image_17012025_12_18_10_5172.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/eeba4ff45f83ba049e78c805eb512c52.jpg","text":"TemporaryFile(/tmp/multipartBody7633811311695459989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113325642,"filename":"image_17012025_12_18_16_6394.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8644abc88a27ed76e725d5c306156568.jpg","text":"TemporaryFile(/tmp/multipartBody7409534205143644997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113325642,"filename":"image_17012025_12_18_28_5181.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1119dbe6a063dec28ab09c8f14c70640.jpg","text":"TemporaryFile(/tmp/multipartBody8877205963922038208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113325642,"filename":"image_17012025_12_18_22_6386.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0fb601cfae7dd5e86b6913960a85d4cf.jpg","text":"TemporaryFile(/tmp/multipartBody3956559711724621189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113325642,"filename":"image_17012025_12_18_40_6314.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/97f959cc2855128d4dd548ee9118da04.jpg","text":"TemporaryFile(/tmp/multipartBody1794808152237392149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113325642,"filename":"image_17012025_12_18_34_6385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329454006","file1":"1329454001","file0":"1329453998","file4":"1329454024","file5":"1329454030","file3":"1329454011"},"map_files_photo_id_array":[{"photo_id":"1329454030","filename":"file5"},{"photo_id":"1329454006","filename":"file2"},{"photo_id":"1329454024","filename":"file4"},{"photo_id":"1329454001","filename":"file1"},{"photo_id":"1329453998","filename":"file0"},{"photo_id":"1329454011","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329454030":["hashtag1","hashtag2"]},{"1329454024":["hashtag1","hashtag2"]},{"1329454006":["hashtag1","hashtag2"]},{"1329454011":["hashtag1","hashtag2"]},{"1329453998":["hashtag1","hashtag2"]},{"1329454001":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329454030, 1329454024, 1329454006, 1329454011, 1329453998, 1329454001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.269404888153076 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:28:21.913502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/18/image_17012025_12_18_05_6206.jpg', '/media/data/images/17012025/12/17/image_17012025_12_17_58_6421.jpg', '/media/data/images/17012025/12/17/image_17012025_12_17_52_5198.jpg', '/media/data/images/17012025/12/17/image_17012025_12_17_47_6418.jpg', '/media/data/images/17012025/12/17/image_17012025_12_17_40_6374.jpg', '/media/data/images/17012025/12/17/image_17012025_12_17_34_5169.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/18/image_17012025_12_18_05_6206.jpg
/media/data/images/17012025/12/17/image_17012025_12_17_58_6421.jpg
/media/data/images/17012025/12/17/image_17012025_12_17_52_5198.jpg
/media/data/images/17012025/12/17/image_17012025_12_17_47_6418.jpg
/media/data/images/17012025/12/17/image_17012025_12_17_40_6374.jpg
/media/data/images/17012025/12/17/image_17012025_12_17_34_5169.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329454051","1329454065","1329454053","1329454061","1329454055","1329454058"],"photo_ids_order":["1329454051","1329454053","1329454055","1329454058","1329454061","1329454065"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a9c781e149f472b8b1a935fe3ca595cb.jpg","text":"TemporaryFile(/tmp/multipartBody1447388530735612356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113365007,"filename":"image_17012025_12_18_05_6206.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a5db92b41b56cf97a7a109a74c62b4ee.jpg","text":"TemporaryFile(/tmp/multipartBody7859736837081477919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113365007,"filename":"image_17012025_12_17_34_5169.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e11c5f6d2116bdea521d5c1bc904eed8.jpg","text":"TemporaryFile(/tmp/multipartBody7901622566132271923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113365007,"filename":"image_17012025_12_17_58_6421.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ac0cc2095e713599a96c64752aade2f5.jpg","text":"TemporaryFile(/tmp/multipartBody6897206559611240425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113365007,"filename":"image_17012025_12_17_40_6374.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/97cc768df43fbe1dd5856b5a30497282.jpg","text":"TemporaryFile(/tmp/multipartBody7466092864841000989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113365007,"filename":"image_17012025_12_17_52_5198.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/24c8367e73cf6c481ed53222a16debcb.jpg","text":"TemporaryFile(/tmp/multipartBody6790955164328557435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113365007,"filename":"image_17012025_12_17_47_6418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329454055","file1":"1329454053","file0":"1329454051","file4":"1329454061","file5":"1329454065","file3":"1329454058"},"map_files_photo_id_array":[{"photo_id":"1329454065","filename":"file5"},{"photo_id":"1329454055","filename":"file2"},{"photo_id":"1329454061","filename":"file4"},{"photo_id":"1329454053","filename":"file1"},{"photo_id":"1329454051","filename":"file0"},{"photo_id":"1329454058","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329454051":["hashtag1","hashtag2"]},{"1329454065":["hashtag1","hashtag2"]},{"1329454053":["hashtag1","hashtag2"]},{"1329454061":["hashtag1","hashtag2"]},{"1329454055":["hashtag1","hashtag2"]},{"1329454058":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329454051, 1329454065, 1329454053, 1329454061, 1329454055, 1329454058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06373357772827 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 12:29:02.435495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/17/image_17012025_12_17_29_6387.jpg', '/media/data/images/17012025/12/17/image_17012025_12_17_22_6384.jpg', '/media/data/images/17012025/12/17/image_17012025_12_17_16_5175.jpg', '/media/data/images/17012025/12/17/image_17012025_12_17_11_6387.jpg', '/media/data/images/17012025/12/16/image_17012025_12_17_04_6417.jpg', '/media/data/images/17012025/12/16/image_17012025_12_16_58_5168.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/17/image_17012025_12_17_29_6387.jpg
/media/data/images/17012025/12/17/image_17012025_12_17_22_6384.jpg
/media/data/images/17012025/12/17/image_17012025_12_17_16_5175.jpg
/media/data/images/17012025/12/17/image_17012025_12_17_11_6387.jpg
/media/data/images/17012025/12/16/image_17012025_12_17_04_6417.jpg
/media/data/images/17012025/12/16/image_17012025_12_16_58_5168.jpg
2025-01-17 12:29:02.506182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/17/image_17012025_12_17_29_6387.jpg', '/media/data/images/17012025/12/17/image_17012025_12_17_22_6384.jpg', '/media/data/images/17012025/12/17/image_17012025_12_17_16_5175.jpg', '/media/data/images/17012025/12/17/image_17012025_12_17_11_6387.jpg', '/media/data/images/17012025/12/16/image_17012025_12_17_04_6417.jpg', '/media/data/images/17012025/12/16/image_17012025_12_16_58_5168.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/17/image_17012025_12_17_29_6387.jpg
/media/data/images/17012025/12/17/image_17012025_12_17_22_6384.jpg
/media/data/images/17012025/12/17/image_17012025_12_17_16_5175.jpg
/media/data/images/17012025/12/17/image_17012025_12_17_11_6387.jpg
/media/data/images/17012025/12/16/image_17012025_12_17_04_6417.jpg
/media/data/images/17012025/12/16/image_17012025_12_16_58_5168.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329454117","1329454089","1329454097","1329454082","1329454094","1329454109"],"photo_ids_order":["1329454082","1329454089","1329454094","1329454097","1329454109","1329454117"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/aef0066f3bb58d160f53558a58fc1cc1.jpg","text":"TemporaryFile(/tmp/multipartBody212931282214380108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113409227,"filename":"image_17012025_12_16_58_5168.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8bd7a9d5e6ec1675208667bb519ecf90.jpg","text":"TemporaryFile(/tmp/multipartBody1080926210515300551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113409227,"filename":"image_17012025_12_17_22_6384.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fb5ea41a0274af2836534a109712d7f1.jpg","text":"TemporaryFile(/tmp/multipartBody6808130791239680154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113409227,"filename":"image_17012025_12_17_11_6387.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f699dec976599a898175a3876f483894.jpg","text":"TemporaryFile(/tmp/multipartBody2102727856726281400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113409227,"filename":"image_17012025_12_17_29_6387.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/91becdfef4d082944f208d36146e4d6b.jpg","text":"TemporaryFile(/tmp/multipartBody2733666274242437351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113409227,"filename":"image_17012025_12_17_16_5175.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/45dff8b0557b4e26c46bc0c6c1dbc635.jpg","text":"TemporaryFile(/tmp/multipartBody2125110859670986986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113409227,"filename":"image_17012025_12_17_04_6417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329454094","file1":"1329454089","file0":"1329454082","file4":"1329454109","file5":"1329454117","file3":"1329454097"},"map_files_photo_id_array":[{"photo_id":"1329454117","filename":"file5"},{"photo_id":"1329454094","filename":"file2"},{"photo_id":"1329454109","filename":"file4"},{"photo_id":"1329454089","filename":"file1"},{"photo_id":"1329454082","filename":"file0"},{"photo_id":"1329454097","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329454117":["hashtag1","hashtag2"]},{"1329454089":["hashtag1","hashtag2"]},{"1329454097":["hashtag1","hashtag2"]},{"1329454082":["hashtag1","hashtag2"]},{"1329454094":["hashtag1","hashtag2"]},{"1329454109":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329454117, 1329454089, 1329454097, 1329454082, 1329454094, 1329454109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.924806118011475 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329454099","1329454090","1329454095","1329454083","1329454115","1329454118"],"photo_ids_order":["1329454083","1329454090","1329454095","1329454099","1329454115","1329454118"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c0195786b21e991afebf327684e97ecc.jpg","text":"TemporaryFile(/tmp/multipartBody4911257094763697648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113409182,"filename":"image_17012025_12_17_11_6387.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/aebf9fc1f4b5fb644b920e58eb25d436.jpg","text":"TemporaryFile(/tmp/multipartBody898113123110486109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113409182,"filename":"image_17012025_12_17_22_6384.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/50afec0d9cae1c3697a0ee0eb77879fe.jpg","text":"TemporaryFile(/tmp/multipartBody7354873870644750016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113409182,"filename":"image_17012025_12_17_16_5175.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3878896e5f1599cdcc8bdfe23847bd4f.jpg","text":"TemporaryFile(/tmp/multipartBody1523130521373248797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113409182,"filename":"image_17012025_12_17_29_6387.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9204649e4820b1e2207433e2f7d613c2.jpg","text":"TemporaryFile(/tmp/multipartBody6452114409776442226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113409182,"filename":"image_17012025_12_17_04_6417.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5a3f3343b5f15b1f4aee22748e3a6e27.jpg","text":"TemporaryFile(/tmp/multipartBody1995768893331658790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113409182,"filename":"image_17012025_12_16_58_5168.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329454095","file1":"1329454090","file0":"1329454083","file4":"1329454115","file5":"1329454118","file3":"1329454099"},"map_files_photo_id_array":[{"photo_id":"1329454118","filename":"file5"},{"photo_id":"1329454095","filename":"file2"},{"photo_id":"1329454115","filename":"file4"},{"photo_id":"1329454090","filename":"file1"},{"photo_id":"1329454083","filename":"file0"},{"photo_id":"1329454099","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329454099":["hashtag1","hashtag2"]},{"1329454090":["hashtag1","hashtag2"]},{"1329454095":["hashtag1","hashtag2"]},{"1329454083":["hashtag1","hashtag2"]},{"1329454115":["hashtag1","hashtag2"]},{"1329454118":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329454099, 1329454090, 1329454095, 1329454083, 1329454115, 1329454118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.646533727645874 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:30:02.280321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/06/image_17012025_12_06_59_6473.jpg', '/media/data/images/17012025/12/06/image_17012025_12_06_52_6422.jpg', '/media/data/images/17012025/12/06/image_17012025_12_06_46_5169.jpg', '/media/data/images/17012025/12/06/image_17012025_12_06_41_6398.jpg', '/media/data/images/17012025/12/06/image_17012025_12_06_34_6435.jpg', '/media/data/images/17012025/12/06/image_17012025_12_06_28_5208.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/06/image_17012025_12_06_59_6473.jpg
/media/data/images/17012025/12/06/image_17012025_12_06_52_6422.jpg
/media/data/images/17012025/12/06/image_17012025_12_06_46_5169.jpg
/media/data/images/17012025/12/06/image_17012025_12_06_41_6398.jpg
/media/data/images/17012025/12/06/image_17012025_12_06_34_6435.jpg
/media/data/images/17012025/12/06/image_17012025_12_06_28_5208.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329454870","1329454864","1329454866","1329454860","1329454868","1329454862"],"photo_ids_order":["1329454860","1329454862","1329454864","1329454866","1329454868","1329454870"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ecf4fd7232874a02bf7e640354c75491.jpg","text":"TemporaryFile(/tmp/multipartBody4023264585368572216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113467075,"filename":"image_17012025_12_06_28_5208.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/35311818c0f51405489f29055515b12d.jpg","text":"TemporaryFile(/tmp/multipartBody1808784706947141481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113467075,"filename":"image_17012025_12_06_46_5169.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/041f9b2526f116c7794a73fe184831a7.jpg","text":"TemporaryFile(/tmp/multipartBody1624874517495137015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113467075,"filename":"image_17012025_12_06_41_6398.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/700ed72240979c37601e94b1b777c7c5.jpg","text":"TemporaryFile(/tmp/multipartBody243588953316160879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113467075,"filename":"image_17012025_12_06_59_6473.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a1f960996a6dd7e36af252bf48c8eae8.jpg","text":"TemporaryFile(/tmp/multipartBody8191803100969934139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113467075,"filename":"image_17012025_12_06_34_6435.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c3a3c12b4a67a4248cab8e9c4b532116.jpg","text":"TemporaryFile(/tmp/multipartBody161504504414425211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113467075,"filename":"image_17012025_12_06_52_6422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329454864","file1":"1329454862","file0":"1329454860","file4":"1329454868","file5":"1329454870","file3":"1329454866"},"map_files_photo_id_array":[{"photo_id":"1329454870","filename":"file5"},{"photo_id":"1329454864","filename":"file2"},{"photo_id":"1329454868","filename":"file4"},{"photo_id":"1329454862","filename":"file1"},{"photo_id":"1329454860","filename":"file0"},{"photo_id":"1329454866","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329454870":["hashtag1","hashtag2"]},{"1329454864":["hashtag1","hashtag2"]},{"1329454866":["hashtag1","hashtag2"]},{"1329454860":["hashtag1","hashtag2"]},{"1329454868":["hashtag1","hashtag2"]},{"1329454862":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329454870, 1329454864, 1329454866, 1329454860, 1329454868, 1329454862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.31435704231262 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:31:02.443052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/06/image_17012025_12_06_23_6431.jpg', '/media/data/images/17012025/12/06/image_17012025_12_06_16_6457.jpg', '/media/data/images/17012025/12/04/image_17012025_12_04_58_6359.jpg', '/media/data/images/17012025/12/04/image_17012025_12_04_52_5183.jpg', '/media/data/images/17012025/12/04/image_17012025_12_04_47_6407.jpg', '/media/data/images/17012025/12/04/image_17012025_12_04_40_6403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/06/image_17012025_12_06_23_6431.jpg
/media/data/images/17012025/12/06/image_17012025_12_06_16_6457.jpg
/media/data/images/17012025/12/04/image_17012025_12_04_58_6359.jpg
/media/data/images/17012025/12/04/image_17012025_12_04_52_5183.jpg
/media/data/images/17012025/12/04/image_17012025_12_04_47_6407.jpg
/media/data/images/17012025/12/04/image_17012025_12_04_40_6403.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329455122","1329455116","1329455131","1329455125","1329455119","1329455128"],"photo_ids_order":["1329455116","1329455119","1329455122","1329455125","1329455128","1329455131"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/45340f2d3d3cbc14cfd2cef6b6a1b2a4.jpg","text":"TemporaryFile(/tmp/multipartBody5434956659173940540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113525865,"filename":"image_17012025_12_04_58_6359.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/949f356e99519fab115029e483a63b71.jpg","text":"TemporaryFile(/tmp/multipartBody7792241287238382362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113525865,"filename":"image_17012025_12_06_23_6431.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2746b14e449d302595159053c58e5e51.jpg","text":"TemporaryFile(/tmp/multipartBody5993927103870825696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113525865,"filename":"image_17012025_12_04_40_6403.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0b7f0222cf0660c2e9d6aae697f44261.jpg","text":"TemporaryFile(/tmp/multipartBody8786150350816341392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113525865,"filename":"image_17012025_12_04_52_5183.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b606134a7b7ddd1fd17321198ebf2def.jpg","text":"TemporaryFile(/tmp/multipartBody8456955105998037139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113525865,"filename":"image_17012025_12_06_16_6457.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1564c5f11cff6e7f307fb4f602f91ba7.jpg","text":"TemporaryFile(/tmp/multipartBody1486264388290632603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113525865,"filename":"image_17012025_12_04_47_6407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329455122","file1":"1329455119","file0":"1329455116","file4":"1329455128","file5":"1329455131","file3":"1329455125"},"map_files_photo_id_array":[{"photo_id":"1329455131","filename":"file5"},{"photo_id":"1329455122","filename":"file2"},{"photo_id":"1329455128","filename":"file4"},{"photo_id":"1329455119","filename":"file1"},{"photo_id":"1329455116","filename":"file0"},{"photo_id":"1329455125","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329455122":["hashtag1","hashtag2"]},{"1329455116":["hashtag1","hashtag2"]},{"1329455131":["hashtag1","hashtag2"]},{"1329455125":["hashtag1","hashtag2"]},{"1329455119":["hashtag1","hashtag2"]},{"1329455128":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329455122, 1329455116, 1329455131, 1329455125, 1329455119, 1329455128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.420541763305664 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:31:42.216471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/04/image_17012025_12_04_34_5159.jpg', '/media/data/images/17012025/12/04/image_17012025_12_04_29_6357.jpg', '/media/data/images/17012025/12/04/image_17012025_12_04_22_6342.jpg', '/media/data/images/17012025/12/04/image_17012025_12_04_16_6392.jpg', '/media/data/images/17012025/12/04/image_17012025_12_04_10_5182.jpg', '/media/data/images/17012025/12/03/image_17012025_12_04_04_6411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/04/image_17012025_12_04_34_5159.jpg
/media/data/images/17012025/12/04/image_17012025_12_04_29_6357.jpg
/media/data/images/17012025/12/04/image_17012025_12_04_22_6342.jpg
/media/data/images/17012025/12/04/image_17012025_12_04_16_6392.jpg
/media/data/images/17012025/12/04/image_17012025_12_04_10_5182.jpg
/media/data/images/17012025/12/03/image_17012025_12_04_04_6411.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329455367","1329455498","1329455489","1329455147","1329455141","1329455152"],"photo_ids_order":["1329455141","1329455147","1329455152","1329455367","1329455489","1329455498"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1e2799f21d83ac6795d463c54d473996.jpg","text":"TemporaryFile(/tmp/multipartBody6156665243162395292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113565828,"filename":"image_17012025_12_04_16_6392.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/54c23105b7398681addd42bbc38d44ba.jpg","text":"TemporaryFile(/tmp/multipartBody9223371867782853166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113565828,"filename":"image_17012025_12_04_04_6411.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1d09ddd5d89d972c0c60dc8a87781881.jpg","text":"TemporaryFile(/tmp/multipartBody2637948097072658624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113565828,"filename":"image_17012025_12_04_10_5182.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a50293994cea08b2458c7b34c1068b04.jpg","text":"TemporaryFile(/tmp/multipartBody4479040478397262792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113565828,"filename":"image_17012025_12_04_29_6357.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2fc38833cf7d2418e3f0c5763d1df3f9.jpg","text":"TemporaryFile(/tmp/multipartBody4266416409677512963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113565828,"filename":"image_17012025_12_04_34_5159.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/866aa6f68ff7f76ba28035899e408d68.jpg","text":"TemporaryFile(/tmp/multipartBody634329509224131984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113565828,"filename":"image_17012025_12_04_22_6342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329455152","file1":"1329455147","file0":"1329455141","file4":"1329455489","file5":"1329455498","file3":"1329455367"},"map_files_photo_id_array":[{"photo_id":"1329455498","filename":"file5"},{"photo_id":"1329455152","filename":"file2"},{"photo_id":"1329455489","filename":"file4"},{"photo_id":"1329455147","filename":"file1"},{"photo_id":"1329455141","filename":"file0"},{"photo_id":"1329455367","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329455367":["hashtag1","hashtag2"]},{"1329455498":["hashtag1","hashtag2"]},{"1329455489":["hashtag1","hashtag2"]},{"1329455147":["hashtag1","hashtag2"]},{"1329455141":["hashtag1","hashtag2"]},{"1329455152":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329455367, 1329455498, 1329455489, 1329455147, 1329455141, 1329455152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55024337768555 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:32:22.330358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/03/image_17012025_12_03_58_6375.jpg', '/media/data/images/17012025/12/03/image_17012025_12_03_52_5128.jpg', '/media/data/images/17012025/12/03/image_17012025_12_03_47_6356.jpg', '/media/data/images/17012025/12/03/image_17012025_12_03_40_6377.jpg', '/media/data/images/17012025/12/03/image_17012025_12_03_34_5164.jpg', '/media/data/images/17012025/12/03/image_17012025_12_03_29_6354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/03/image_17012025_12_03_58_6375.jpg
/media/data/images/17012025/12/03/image_17012025_12_03_52_5128.jpg
/media/data/images/17012025/12/03/image_17012025_12_03_47_6356.jpg
/media/data/images/17012025/12/03/image_17012025_12_03_40_6377.jpg
/media/data/images/17012025/12/03/image_17012025_12_03_34_5164.jpg
/media/data/images/17012025/12/03/image_17012025_12_03_29_6354.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329455512","1329455509","1329455518","1329455547","1329455532","1329455542"],"photo_ids_order":["1329455509","1329455512","1329455518","1329455532","1329455542","1329455547"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5ee5efb23205ebf1fb1ef8810f0551ab.jpg","text":"TemporaryFile(/tmp/multipartBody6618189542131058963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113606003,"filename":"image_17012025_12_03_52_5128.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/229acb52df8261eb06e97abfed5ede6b.jpg","text":"TemporaryFile(/tmp/multipartBody8363364164404573059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113606003,"filename":"image_17012025_12_03_58_6375.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/428b7821b926224ea743a54264f52e3f.jpg","text":"TemporaryFile(/tmp/multipartBody2049000165048674541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113606003,"filename":"image_17012025_12_03_47_6356.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/de5213cdbd57a97c4cc04de94316d918.jpg","text":"TemporaryFile(/tmp/multipartBody7621692679984157704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113606003,"filename":"image_17012025_12_03_29_6354.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/89928515a37c237d7b7508772d68e19a.jpg","text":"TemporaryFile(/tmp/multipartBody918719368928018409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113606003,"filename":"image_17012025_12_03_40_6377.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9e2b2822acd003fcefc47ce6f463ddd7.jpg","text":"TemporaryFile(/tmp/multipartBody496884618149610808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113606003,"filename":"image_17012025_12_03_34_5164.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329455518","file1":"1329455512","file0":"1329455509","file4":"1329455542","file5":"1329455547","file3":"1329455532"},"map_files_photo_id_array":[{"photo_id":"1329455547","filename":"file5"},{"photo_id":"1329455518","filename":"file2"},{"photo_id":"1329455542","filename":"file4"},{"photo_id":"1329455512","filename":"file1"},{"photo_id":"1329455509","filename":"file0"},{"photo_id":"1329455532","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329455512":["hashtag1","hashtag2"]},{"1329455509":["hashtag1","hashtag2"]},{"1329455518":["hashtag1","hashtag2"]},{"1329455547":["hashtag1","hashtag2"]},{"1329455532":["hashtag1","hashtag2"]},{"1329455542":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329455512, 1329455509, 1329455518, 1329455547, 1329455532, 1329455542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.940359115600586 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:33:02.650806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/03/image_17012025_12_03_22_6364.jpg', '/media/data/images/17012025/12/03/image_17012025_12_03_16_5147.jpg', '/media/data/images/17012025/12/03/image_17012025_12_03_11_6349.jpg', '/media/data/images/17012025/12/03/image_17012025_12_03_04_6147.jpg', '/media/data/images/17012025/12/02/image_17012025_12_02_58_6344.jpg', '/media/data/images/17012025/12/02/image_17012025_12_02_52_5129.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/03/image_17012025_12_03_22_6364.jpg
/media/data/images/17012025/12/03/image_17012025_12_03_16_5147.jpg
/media/data/images/17012025/12/03/image_17012025_12_03_11_6349.jpg
/media/data/images/17012025/12/03/image_17012025_12_03_04_6147.jpg
/media/data/images/17012025/12/02/image_17012025_12_02_58_6344.jpg
/media/data/images/17012025/12/02/image_17012025_12_02_52_5129.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329455589","1329455580","1329455583","1329455577","1329455591","1329455585"],"photo_ids_order":["1329455577","1329455580","1329455583","1329455585","1329455589","1329455591"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f8e8e29c607fb1608812a0415a182ebf.jpg","text":"TemporaryFile(/tmp/multipartBody865341707349301689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113645997,"filename":"image_17012025_12_02_58_6344.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b3a5ed65a8b63077e5aceb067b90ff80.jpg","text":"TemporaryFile(/tmp/multipartBody8730444081136170950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113645997,"filename":"image_17012025_12_03_16_5147.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/305107a285d2daba85b02d8c58ec9988.jpg","text":"TemporaryFile(/tmp/multipartBody1752732936279022873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113645997,"filename":"image_17012025_12_03_11_6349.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/339fd20e7c257a5215bda4fe52b89b8b.jpg","text":"TemporaryFile(/tmp/multipartBody6221930897906468325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113645997,"filename":"image_17012025_12_03_22_6364.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a202f06088c7cd016790fba2d23770d7.jpg","text":"TemporaryFile(/tmp/multipartBody8829794543722142901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113645997,"filename":"image_17012025_12_02_52_5129.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b3bf9e1b9cbf7e7ee1afa98f3f5ff9bc.jpg","text":"TemporaryFile(/tmp/multipartBody1045055614597129166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113645997,"filename":"image_17012025_12_03_04_6147.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329455583","file1":"1329455580","file0":"1329455577","file4":"1329455589","file5":"1329455591","file3":"1329455585"},"map_files_photo_id_array":[{"photo_id":"1329455591","filename":"file5"},{"photo_id":"1329455583","filename":"file2"},{"photo_id":"1329455589","filename":"file4"},{"photo_id":"1329455580","filename":"file1"},{"photo_id":"1329455577","filename":"file0"},{"photo_id":"1329455585","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329455589":["hashtag1","hashtag2"]},{"1329455580":["hashtag1","hashtag2"]},{"1329455583":["hashtag1","hashtag2"]},{"1329455577":["hashtag1","hashtag2"]},{"1329455591":["hashtag1","hashtag2"]},{"1329455585":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329455589, 1329455580, 1329455583, 1329455577, 1329455591, 1329455585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33505940437317 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:33:42.420156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/02/image_17012025_12_02_47_6475.jpg', '/media/data/images/17012025/12/02/image_17012025_12_02_34_5311.jpg', '/media/data/images/17012025/12/02/image_17012025_12_02_22_5308.jpg', '/media/data/images/17012025/11/59/image_17012025_11_59_40_6363.jpg', '/media/data/images/17012025/11/59/image_17012025_11_59_34_6357.jpg', '/media/data/images/17012025/11/59/image_17012025_11_59_28_5205.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/02/image_17012025_12_02_47_6475.jpg
/media/data/images/17012025/12/02/image_17012025_12_02_34_5311.jpg
/media/data/images/17012025/12/02/image_17012025_12_02_22_5308.jpg
/media/data/images/17012025/11/59/image_17012025_11_59_40_6363.jpg
/media/data/images/17012025/11/59/image_17012025_11_59_34_6357.jpg
/media/data/images/17012025/11/59/image_17012025_11_59_28_5205.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329455640","1329455646","1329455619","1329455627","1329455615","1329455623"],"photo_ids_order":["1329455615","1329455619","1329455623","1329455627","1329455640","1329455646"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f3d060f79286523f4df578476278ca10.jpg","text":"TemporaryFile(/tmp/multipartBody8169070071669801553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113686818,"filename":"image_17012025_11_59_34_6357.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0aff041952984398e123b9bced073afc.jpg","text":"TemporaryFile(/tmp/multipartBody8256638212290521041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113686818,"filename":"image_17012025_11_59_28_5205.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5a046e89b61e17dbab3e7cc2bee71341.jpg","text":"TemporaryFile(/tmp/multipartBody6013184579907555605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113686818,"filename":"image_17012025_12_02_34_5311.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dbfb1332b67bb8f420bfe0c7ff038d53.jpg","text":"TemporaryFile(/tmp/multipartBody2491776693867109988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113686818,"filename":"image_17012025_11_59_40_6363.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f19b0a13a82303ed798bf32ba0a89766.jpg","text":"TemporaryFile(/tmp/multipartBody3085840730649787971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113686818,"filename":"image_17012025_12_02_47_6475.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/97a9062c606b82ffe973db927b7c5f59.jpg","text":"TemporaryFile(/tmp/multipartBody839920832304622615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113686818,"filename":"image_17012025_12_02_22_5308.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329455623","file1":"1329455619","file0":"1329455615","file4":"1329455640","file5":"1329455646","file3":"1329455627"},"map_files_photo_id_array":[{"photo_id":"1329455646","filename":"file5"},{"photo_id":"1329455623","filename":"file2"},{"photo_id":"1329455640","filename":"file4"},{"photo_id":"1329455619","filename":"file1"},{"photo_id":"1329455615","filename":"file0"},{"photo_id":"1329455627","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329455640":["hashtag1","hashtag2"]},{"1329455646":["hashtag1","hashtag2"]},{"1329455619":["hashtag1","hashtag2"]},{"1329455627":["hashtag1","hashtag2"]},{"1329455615":["hashtag1","hashtag2"]},{"1329455623":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329455640, 1329455646, 1329455619, 1329455627, 1329455615, 1329455623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.2740695476532 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:34:22.538560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/59/image_17012025_11_59_23_6379.jpg', '/media/data/images/17012025/11/59/image_17012025_11_59_16_6387.jpg', '/media/data/images/17012025/11/59/image_17012025_11_59_10_5139.jpg', '/media/data/images/17012025/11/59/image_17012025_11_59_05_6169.jpg', '/media/data/images/17012025/11/58/image_17012025_11_58_59_6371.jpg', '/media/data/images/17012025/11/58/image_17012025_11_58_52_6398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/59/image_17012025_11_59_23_6379.jpg
/media/data/images/17012025/11/59/image_17012025_11_59_16_6387.jpg
/media/data/images/17012025/11/59/image_17012025_11_59_10_5139.jpg
/media/data/images/17012025/11/59/image_17012025_11_59_05_6169.jpg
/media/data/images/17012025/11/58/image_17012025_11_58_59_6371.jpg
/media/data/images/17012025/11/58/image_17012025_11_58_52_6398.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: 4.8565850257873535 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:34:42.543114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/59/image_17012025_11_59_23_6379.jpg', '/media/data/images/17012025/11/59/image_17012025_11_59_16_6387.jpg', '/media/data/images/17012025/11/59/image_17012025_11_59_10_5139.jpg', '/media/data/images/17012025/11/59/image_17012025_11_59_05_6169.jpg', '/media/data/images/17012025/11/58/image_17012025_11_58_59_6371.jpg', '/media/data/images/17012025/11/58/image_17012025_11_58_52_6398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/59/image_17012025_11_59_23_6379.jpg
/media/data/images/17012025/11/59/image_17012025_11_59_16_6387.jpg
/media/data/images/17012025/11/59/image_17012025_11_59_10_5139.jpg
/media/data/images/17012025/11/59/image_17012025_11_59_05_6169.jpg
/media/data/images/17012025/11/58/image_17012025_11_58_59_6371.jpg
/media/data/images/17012025/11/58/image_17012025_11_58_52_6398.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329455704","1329455697","1329455701","1329455708","1329455801","1329455686"],"photo_ids_order":["1329455686","1329455697","1329455701","1329455704","1329455708","1329455801"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a941d200f762fbe5b087b01961040bd8.jpg","text":"TemporaryFile(/tmp/multipartBody1472969021756468102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113745557,"filename":"image_17012025_11_59_05_6169.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/989ed769f17ff2b6548a9619dfd10ac2.jpg","text":"TemporaryFile(/tmp/multipartBody7855829408462027874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113745557,"filename":"image_17012025_11_59_16_6387.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8363f8f56a14f72d731937b23d6875c0.jpg","text":"TemporaryFile(/tmp/multipartBody9088982645188410874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113745557,"filename":"image_17012025_11_59_10_5139.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2a8821fb032ae6f07388b88412429139.jpg","text":"TemporaryFile(/tmp/multipartBody7448383264966149705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113745557,"filename":"image_17012025_11_58_59_6371.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4e7c661b75557af4674813e4c997e698.jpg","text":"TemporaryFile(/tmp/multipartBody8064337453521155162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113745557,"filename":"image_17012025_11_58_52_6398.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5ae1a1431ffa030c96e87a87502d56cc.jpg","text":"TemporaryFile(/tmp/multipartBody2586633907118941232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113745557,"filename":"image_17012025_11_59_23_6379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329455701","file1":"1329455697","file0":"1329455686","file4":"1329455708","file5":"1329455801","file3":"1329455704"},"map_files_photo_id_array":[{"photo_id":"1329455801","filename":"file5"},{"photo_id":"1329455701","filename":"file2"},{"photo_id":"1329455708","filename":"file4"},{"photo_id":"1329455697","filename":"file1"},{"photo_id":"1329455686","filename":"file0"},{"photo_id":"1329455704","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329455704":["hashtag1","hashtag2"]},{"1329455697":["hashtag1","hashtag2"]},{"1329455701":["hashtag1","hashtag2"]},{"1329455708":["hashtag1","hashtag2"]},{"1329455801":["hashtag1","hashtag2"]},{"1329455686":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329455704, 1329455697, 1329455701, 1329455708, 1329455801, 1329455686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.92269444465637 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:35:22.630613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/58/image_17012025_11_58_46_5178.jpg', '/media/data/images/17012025/11/58/image_17012025_11_58_41_6400.jpg', '/media/data/images/17012025/11/58/image_17012025_11_58_34_6397.jpg', '/media/data/images/17012025/11/58/image_17012025_11_58_28_5203.jpg', '/media/data/images/17012025/11/57/image_17012025_11_57_46_5177.jpg', '/media/data/images/17012025/11/57/image_17012025_11_57_41_6389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/58/image_17012025_11_58_46_5178.jpg
/media/data/images/17012025/11/58/image_17012025_11_58_41_6400.jpg
/media/data/images/17012025/11/58/image_17012025_11_58_34_6397.jpg
/media/data/images/17012025/11/58/image_17012025_11_58_28_5203.jpg
/media/data/images/17012025/11/57/image_17012025_11_57_46_5177.jpg
/media/data/images/17012025/11/57/image_17012025_11_57_41_6389.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329456459","1329456447","1329456432","1329456426","1329456455","1329456449"],"photo_ids_order":["1329456426","1329456432","1329456447","1329456449","1329456455","1329456459"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6703f103fec7d80f630ed16e40ebd3f7.jpg","text":"TemporaryFile(/tmp/multipartBody1701734657823542440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113786385,"filename":"image_17012025_11_57_41_6389.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/57295c269fd81bdf5d7ee34bc9204995.jpg","text":"TemporaryFile(/tmp/multipartBody9089463992663419624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113786385,"filename":"image_17012025_11_58_34_6397.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2ae30489e09a4be5fa38bb53ac2e174e.jpg","text":"TemporaryFile(/tmp/multipartBody9065961704260720943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113786385,"filename":"image_17012025_11_58_41_6400.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/18528912d2ede36f63ec8ea6e56af203.jpg","text":"TemporaryFile(/tmp/multipartBody2065139866166227099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113786385,"filename":"image_17012025_11_58_46_5178.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e8049b0f56a24cc0c1e644eb49c44c43.jpg","text":"TemporaryFile(/tmp/multipartBody3940800141661288908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113786385,"filename":"image_17012025_11_57_46_5177.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bb3c411d0012e2151a1eb3c0d5945591.jpg","text":"TemporaryFile(/tmp/multipartBody3593827867672457641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113786385,"filename":"image_17012025_11_58_28_5203.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329456447","file1":"1329456432","file0":"1329456426","file4":"1329456455","file5":"1329456459","file3":"1329456449"},"map_files_photo_id_array":[{"photo_id":"1329456459","filename":"file5"},{"photo_id":"1329456447","filename":"file2"},{"photo_id":"1329456455","filename":"file4"},{"photo_id":"1329456432","filename":"file1"},{"photo_id":"1329456426","filename":"file0"},{"photo_id":"1329456449","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329456459":["hashtag1","hashtag2"]},{"1329456447":["hashtag1","hashtag2"]},{"1329456432":["hashtag1","hashtag2"]},{"1329456426":["hashtag1","hashtag2"]},{"1329456455":["hashtag1","hashtag2"]},{"1329456449":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329456459, 1329456447, 1329456432, 1329456426, 1329456455, 1329456449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.09384274482727 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:36:02.845087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/57/image_17012025_11_57_34_6435.jpg', '/media/data/images/17012025/11/57/image_17012025_11_57_28_5227.jpg', '/media/data/images/17012025/11/57/image_17012025_11_57_23_6402.jpg', '/media/data/images/17012025/11/57/image_17012025_11_57_16_6385.jpg', '/media/data/images/17012025/11/57/image_17012025_11_57_10_5244.jpg', '/media/data/images/17012025/11/57/image_17012025_11_57_05_6211.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/57/image_17012025_11_57_34_6435.jpg
/media/data/images/17012025/11/57/image_17012025_11_57_28_5227.jpg
/media/data/images/17012025/11/57/image_17012025_11_57_23_6402.jpg
/media/data/images/17012025/11/57/image_17012025_11_57_16_6385.jpg
/media/data/images/17012025/11/57/image_17012025_11_57_10_5244.jpg
/media/data/images/17012025/11/57/image_17012025_11_57_05_6211.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329456486","1329456624","1329456482","1329456629","1329456634","1329456637"],"photo_ids_order":["1329456482","1329456486","1329456624","1329456629","1329456634","1329456637"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/42258d0bdd39af06ce11f9c1bf158d20.jpg","text":"TemporaryFile(/tmp/multipartBody6046017644024520063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113826354,"filename":"image_17012025_11_57_28_5227.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b6104d00e6d5c761448ff93b0be6a2cc.jpg","text":"TemporaryFile(/tmp/multipartBody2917252317149411435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113826354,"filename":"image_17012025_11_57_23_6402.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ee2366df5331c3e856e5d37b53d46eaa.jpg","text":"TemporaryFile(/tmp/multipartBody8906786188697235948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113826354,"filename":"image_17012025_11_57_34_6435.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/630aa74a6dbf7928d9e75a2d2f887b46.jpg","text":"TemporaryFile(/tmp/multipartBody3074119509961875026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113826354,"filename":"image_17012025_11_57_16_6385.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c3a66a8508bdfe39a154b9045bd6ebdc.jpg","text":"TemporaryFile(/tmp/multipartBody1066567398615300692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113826354,"filename":"image_17012025_11_57_10_5244.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/70d38f2e358ed41579700baefa8807a3.jpg","text":"TemporaryFile(/tmp/multipartBody6991513672420514052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113826354,"filename":"image_17012025_11_57_05_6211.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329456624","file1":"1329456486","file0":"1329456482","file4":"1329456634","file5":"1329456637","file3":"1329456629"},"map_files_photo_id_array":[{"photo_id":"1329456637","filename":"file5"},{"photo_id":"1329456624","filename":"file2"},{"photo_id":"1329456634","filename":"file4"},{"photo_id":"1329456486","filename":"file1"},{"photo_id":"1329456482","filename":"file0"},{"photo_id":"1329456629","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329456486":["hashtag1","hashtag2"]},{"1329456624":["hashtag1","hashtag2"]},{"1329456482":["hashtag1","hashtag2"]},{"1329456629":["hashtag1","hashtag2"]},{"1329456634":["hashtag1","hashtag2"]},{"1329456637":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329456486, 1329456624, 1329456482, 1329456629, 1329456634, 1329456637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.425493478775024 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:36:42.689631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/56/image_17012025_11_56_58_6350.jpg', '/media/data/images/17012025/11/56/image_17012025_11_56_52_5176.jpg', '/media/data/images/17012025/11/56/image_17012025_11_56_47_6388.jpg', '/media/data/images/17012025/11/56/image_17012025_11_56_40_6413.jpg', '/media/data/images/17012025/11/56/image_17012025_11_56_34_5196.jpg', '/media/data/images/17012025/11/56/image_17012025_11_56_29_6414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/56/image_17012025_11_56_58_6350.jpg
/media/data/images/17012025/11/56/image_17012025_11_56_52_5176.jpg
/media/data/images/17012025/11/56/image_17012025_11_56_47_6388.jpg
/media/data/images/17012025/11/56/image_17012025_11_56_40_6413.jpg
/media/data/images/17012025/11/56/image_17012025_11_56_34_5196.jpg
/media/data/images/17012025/11/56/image_17012025_11_56_29_6414.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: 8.183255195617676 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:37:02.020437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/56/image_17012025_11_56_58_6350.jpg', '/media/data/images/17012025/11/56/image_17012025_11_56_52_5176.jpg', '/media/data/images/17012025/11/56/image_17012025_11_56_47_6388.jpg', '/media/data/images/17012025/11/56/image_17012025_11_56_40_6413.jpg', '/media/data/images/17012025/11/56/image_17012025_11_56_34_5196.jpg', '/media/data/images/17012025/11/56/image_17012025_11_56_29_6414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/56/image_17012025_11_56_58_6350.jpg
/media/data/images/17012025/11/56/image_17012025_11_56_52_5176.jpg
/media/data/images/17012025/11/56/image_17012025_11_56_47_6388.jpg
/media/data/images/17012025/11/56/image_17012025_11_56_40_6413.jpg
/media/data/images/17012025/11/56/image_17012025_11_56_34_5196.jpg
/media/data/images/17012025/11/56/image_17012025_11_56_29_6414.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329457131","1329457008","1329457133","1329457136","1329457043","1329457016"],"photo_ids_order":["1329457008","1329457016","1329457043","1329457131","1329457133","1329457136"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/06bdcadbdee8fb961cab34f1062ba60c.jpg","text":"TemporaryFile(/tmp/multipartBody2952951819666113326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113886685,"filename":"image_17012025_11_56_40_6413.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7cb17bc4c7a32ee0f11a2590cba004d4.jpg","text":"TemporaryFile(/tmp/multipartBody7613611677091138277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113886685,"filename":"image_17012025_11_56_58_6350.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/723a929a50a214e8e2cf411eac65cced.jpg","text":"TemporaryFile(/tmp/multipartBody5822035754805673734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113886685,"filename":"image_17012025_11_56_34_5196.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/880fdbec80bb77ac54160797b2f70d6f.jpg","text":"TemporaryFile(/tmp/multipartBody3357626122599640942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113886685,"filename":"image_17012025_11_56_29_6414.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e1feb69e7fb349c97231416b8ac65357.jpg","text":"TemporaryFile(/tmp/multipartBody6018217380611419910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113886685,"filename":"image_17012025_11_56_47_6388.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/89b231beff53b80d1ce8c2d8b55bd6a0.jpg","text":"TemporaryFile(/tmp/multipartBody1726234113037223098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113886685,"filename":"image_17012025_11_56_52_5176.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329457043","file1":"1329457016","file0":"1329457008","file4":"1329457133","file5":"1329457136","file3":"1329457131"},"map_files_photo_id_array":[{"photo_id":"1329457136","filename":"file5"},{"photo_id":"1329457043","filename":"file2"},{"photo_id":"1329457133","filename":"file4"},{"photo_id":"1329457016","filename":"file1"},{"photo_id":"1329457008","filename":"file0"},{"photo_id":"1329457131","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329457131":["hashtag1","hashtag2"]},{"1329457008":["hashtag1","hashtag2"]},{"1329457133":["hashtag1","hashtag2"]},{"1329457136":["hashtag1","hashtag2"]},{"1329457043":["hashtag1","hashtag2"]},{"1329457016":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329457131, 1329457008, 1329457133, 1329457136, 1329457043, 1329457016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.234989166259766 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:38:02.021846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/56/image_17012025_11_56_22_6397.jpg', '/media/data/images/17012025/11/56/image_17012025_11_56_16_5167.jpg', '/media/data/images/17012025/11/56/image_17012025_11_56_11_6360.jpg', '/media/data/images/17012025/11/56/image_17012025_11_56_04_6239.jpg', '/media/data/images/17012025/11/55/image_17012025_11_55_58_6367.jpg', '/media/data/images/17012025/11/55/image_17012025_11_55_52_5163.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/56/image_17012025_11_56_22_6397.jpg
/media/data/images/17012025/11/56/image_17012025_11_56_16_5167.jpg
/media/data/images/17012025/11/56/image_17012025_11_56_11_6360.jpg
/media/data/images/17012025/11/56/image_17012025_11_56_04_6239.jpg
/media/data/images/17012025/11/55/image_17012025_11_55_58_6367.jpg
/media/data/images/17012025/11/55/image_17012025_11_55_52_5163.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329457295","1329457285","1329457276","1329457279","1329457281","1329457290"],"photo_ids_order":["1329457276","1329457279","1329457281","1329457285","1329457290","1329457295"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1171ac7c29dd07485b7210725c4aef91.jpg","text":"TemporaryFile(/tmp/multipartBody9176172535409084077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113945821,"filename":"image_17012025_11_55_52_5163.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/46cfe3d8b9f56dce8006026807be0e94.jpg","text":"TemporaryFile(/tmp/multipartBody4375085675710766424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113945821,"filename":"image_17012025_11_56_04_6239.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9db92155cf7216af0228f6ec00dee632.jpg","text":"TemporaryFile(/tmp/multipartBody7140707535648705598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113945821,"filename":"image_17012025_11_56_22_6397.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/599349df48d424a2da70559ff12e5054.jpg","text":"TemporaryFile(/tmp/multipartBody6836308694216498023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113945821,"filename":"image_17012025_11_56_16_5167.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/464545100208f794d9d565dc6f007fb3.jpg","text":"TemporaryFile(/tmp/multipartBody489119667177195730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113945821,"filename":"image_17012025_11_56_11_6360.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8a89ddb17e7c679cdb446f6d371fe40f.jpg","text":"TemporaryFile(/tmp/multipartBody887740779462865709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113945821,"filename":"image_17012025_11_55_58_6367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329457281","file1":"1329457279","file0":"1329457276","file4":"1329457290","file5":"1329457295","file3":"1329457285"},"map_files_photo_id_array":[{"photo_id":"1329457295","filename":"file5"},{"photo_id":"1329457281","filename":"file2"},{"photo_id":"1329457290","filename":"file4"},{"photo_id":"1329457279","filename":"file1"},{"photo_id":"1329457276","filename":"file0"},{"photo_id":"1329457285","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329457295":["hashtag1","hashtag2"]},{"1329457285":["hashtag1","hashtag2"]},{"1329457276":["hashtag1","hashtag2"]},{"1329457279":["hashtag1","hashtag2"]},{"1329457281":["hashtag1","hashtag2"]},{"1329457290":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329457295, 1329457285, 1329457276, 1329457279, 1329457281, 1329457290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.76655125617981 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:38:41.864120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/55/image_17012025_11_55_47_6388.jpg', '/media/data/images/17012025/11/55/image_17012025_11_55_40_6350.jpg', '/media/data/images/17012025/11/55/image_17012025_11_55_34_5162.jpg', '/media/data/images/17012025/11/55/image_17012025_11_55_29_6385.jpg', '/media/data/images/17012025/11/55/image_17012025_11_55_22_6340.jpg', '/media/data/images/17012025/11/55/image_17012025_11_55_16_6369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/55/image_17012025_11_55_47_6388.jpg
/media/data/images/17012025/11/55/image_17012025_11_55_40_6350.jpg
/media/data/images/17012025/11/55/image_17012025_11_55_34_5162.jpg
/media/data/images/17012025/11/55/image_17012025_11_55_29_6385.jpg
/media/data/images/17012025/11/55/image_17012025_11_55_22_6340.jpg
/media/data/images/17012025/11/55/image_17012025_11_55_16_6369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329457335","1329457311","1329457325","1329457307","1329457342","1329457315"],"photo_ids_order":["1329457307","1329457311","1329457315","1329457325","1329457335","1329457342"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f2c4c62fccd68e79fa1bc43e1ca3666a.jpg","text":"TemporaryFile(/tmp/multipartBody3805606282363212048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113986089,"filename":"image_17012025_11_55_22_6340.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6e8250e48261bebe6c9b1692ca7d481a.jpg","text":"TemporaryFile(/tmp/multipartBody7305734142246367509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113986089,"filename":"image_17012025_11_55_40_6350.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/160e0173702bffd033293bfe8af8bb7e.jpg","text":"TemporaryFile(/tmp/multipartBody3083089070975193866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113986089,"filename":"image_17012025_11_55_29_6385.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/aaca1c9771cc730e3ebeb7da993ebe10.jpg","text":"TemporaryFile(/tmp/multipartBody6896037922640900649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113986089,"filename":"image_17012025_11_55_47_6388.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b67b585a6ab91a4e54d8060de67fb319.jpg","text":"TemporaryFile(/tmp/multipartBody2250436484253154838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113986089,"filename":"image_17012025_11_55_16_6369.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7baaa0451a5cf0357ac333a5d1744cd2.jpg","text":"TemporaryFile(/tmp/multipartBody2449678956773828878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737113986089,"filename":"image_17012025_11_55_34_5162.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329457315","file1":"1329457311","file0":"1329457307","file4":"1329457335","file5":"1329457342","file3":"1329457325"},"map_files_photo_id_array":[{"photo_id":"1329457342","filename":"file5"},{"photo_id":"1329457315","filename":"file2"},{"photo_id":"1329457335","filename":"file4"},{"photo_id":"1329457311","filename":"file1"},{"photo_id":"1329457307","filename":"file0"},{"photo_id":"1329457325","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329457335":["hashtag1","hashtag2"]},{"1329457311":["hashtag1","hashtag2"]},{"1329457325":["hashtag1","hashtag2"]},{"1329457307":["hashtag1","hashtag2"]},{"1329457342":["hashtag1","hashtag2"]},{"1329457315":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329457335, 1329457311, 1329457325, 1329457307, 1329457342, 1329457315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.94998049736023 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:39:41.963107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/55/image_17012025_11_55_10_5135.jpg', '/media/data/images/17012025/11/55/image_17012025_11_55_05_6157.jpg', '/media/data/images/17012025/11/54/image_17012025_11_54_58_6367.jpg', '/media/data/images/17012025/11/54/image_17012025_11_54_52_5161.jpg', '/media/data/images/17012025/11/54/image_17012025_11_54_47_6360.jpg', '/media/data/images/17012025/11/54/image_17012025_11_54_40_6363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/55/image_17012025_11_55_10_5135.jpg
/media/data/images/17012025/11/55/image_17012025_11_55_05_6157.jpg
/media/data/images/17012025/11/54/image_17012025_11_54_58_6367.jpg
/media/data/images/17012025/11/54/image_17012025_11_54_52_5161.jpg
/media/data/images/17012025/11/54/image_17012025_11_54_47_6360.jpg
/media/data/images/17012025/11/54/image_17012025_11_54_40_6363.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329457394","1329457373","1329457385","1329457390","1329457381","1329457377"],"photo_ids_order":["1329457373","1329457377","1329457381","1329457385","1329457390","1329457394"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/801b5b8133bc0255c175e9b9dc92e363.jpg","text":"TemporaryFile(/tmp/multipartBody5142762817794907905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114045693,"filename":"image_17012025_11_54_40_6363.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ec14e9fa9eb40c2631b806d53091a6f9.jpg","text":"TemporaryFile(/tmp/multipartBody6630911229700274011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114045693,"filename":"image_17012025_11_55_10_5135.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b9e8fb786bba58dc51569128e38afedd.jpg","text":"TemporaryFile(/tmp/multipartBody1400744319710926366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114045693,"filename":"image_17012025_11_54_52_5161.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/eecae8fee5a18d2e0638d2be8689ef39.jpg","text":"TemporaryFile(/tmp/multipartBody9079505939212227911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114045693,"filename":"image_17012025_11_54_47_6360.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a66286e2094e38dac0e60ba3db40c307.jpg","text":"TemporaryFile(/tmp/multipartBody49629158279999937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114045693,"filename":"image_17012025_11_54_58_6367.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/513f1a7d297633087830d1fa47552efa.jpg","text":"TemporaryFile(/tmp/multipartBody1652821533115145942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114045693,"filename":"image_17012025_11_55_05_6157.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329457381","file1":"1329457377","file0":"1329457373","file4":"1329457390","file5":"1329457394","file3":"1329457385"},"map_files_photo_id_array":[{"photo_id":"1329457394","filename":"file5"},{"photo_id":"1329457381","filename":"file2"},{"photo_id":"1329457390","filename":"file4"},{"photo_id":"1329457377","filename":"file1"},{"photo_id":"1329457373","filename":"file0"},{"photo_id":"1329457385","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329457394":["hashtag1","hashtag2"]},{"1329457373":["hashtag1","hashtag2"]},{"1329457385":["hashtag1","hashtag2"]},{"1329457390":["hashtag1","hashtag2"]},{"1329457381":["hashtag1","hashtag2"]},{"1329457377":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329457394, 1329457373, 1329457385, 1329457390, 1329457381, 1329457377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63447880744934 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:40:22.062279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/54/image_17012025_11_54_34_6354.jpg', '/media/data/images/17012025/11/53/image_17012025_11_53_16_6398.jpg', '/media/data/images/17012025/11/53/image_17012025_11_53_10_5175.jpg', '/media/data/images/17012025/11/53/image_17012025_11_53_05_6187.jpg', '/media/data/images/17012025/11/52/image_17012025_11_52_58_6395.jpg', '/media/data/images/17012025/11/52/image_17012025_11_52_52_5126.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/54/image_17012025_11_54_34_6354.jpg
/media/data/images/17012025/11/53/image_17012025_11_53_16_6398.jpg
/media/data/images/17012025/11/53/image_17012025_11_53_10_5175.jpg
/media/data/images/17012025/11/53/image_17012025_11_53_05_6187.jpg
/media/data/images/17012025/11/52/image_17012025_11_52_58_6395.jpg
/media/data/images/17012025/11/52/image_17012025_11_52_52_5126.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329457401","1329457404","1329457457","1329457430","1329457424","1329457418"],"photo_ids_order":["1329457401","1329457404","1329457418","1329457424","1329457430","1329457457"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a6656881996b882b2cef27e7fc344db2.jpg","text":"TemporaryFile(/tmp/multipartBody4107031277891286293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114085549,"filename":"image_17012025_11_54_34_6354.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1832fcc928e3cc8498fd299fc5157ef9.jpg","text":"TemporaryFile(/tmp/multipartBody7499744880614689390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114085549,"filename":"image_17012025_11_53_16_6398.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0f8fdd9e8d26a52c3889307227a297c0.jpg","text":"TemporaryFile(/tmp/multipartBody774281183261527584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114085549,"filename":"image_17012025_11_52_52_5126.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3d4519db43edc54e5a8803b586f8df00.jpg","text":"TemporaryFile(/tmp/multipartBody3906077058767631916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114085549,"filename":"image_17012025_11_52_58_6395.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4cab34fc19aea60ad6b29bc4597ed277.jpg","text":"TemporaryFile(/tmp/multipartBody6152762962547496315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114085549,"filename":"image_17012025_11_53_05_6187.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/53e816164d69a73b0deeb31b51b2ad2a.jpg","text":"TemporaryFile(/tmp/multipartBody6231097357247781828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114085549,"filename":"image_17012025_11_53_10_5175.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329457418","file1":"1329457404","file0":"1329457401","file4":"1329457430","file5":"1329457457","file3":"1329457424"},"map_files_photo_id_array":[{"photo_id":"1329457457","filename":"file5"},{"photo_id":"1329457418","filename":"file2"},{"photo_id":"1329457430","filename":"file4"},{"photo_id":"1329457404","filename":"file1"},{"photo_id":"1329457401","filename":"file0"},{"photo_id":"1329457424","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329457401":["hashtag1","hashtag2"]},{"1329457404":["hashtag1","hashtag2"]},{"1329457457":["hashtag1","hashtag2"]},{"1329457430":["hashtag1","hashtag2"]},{"1329457424":["hashtag1","hashtag2"]},{"1329457418":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329457401, 1329457404, 1329457457, 1329457430, 1329457424, 1329457418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23275566101074 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:41:02.407811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/52/image_17012025_11_52_47_6349.jpg', '/media/data/images/17012025/11/52/image_17012025_11_52_40_6360.jpg', '/media/data/images/17012025/11/52/image_17012025_11_52_34_6366.jpg', '/media/data/images/17012025/11/52/image_17012025_11_52_28_5228.jpg', '/media/data/images/17012025/11/52/image_17012025_11_52_22_6380.jpg', '/media/data/images/17012025/11/52/image_17012025_11_52_16_6377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/52/image_17012025_11_52_47_6349.jpg
/media/data/images/17012025/11/52/image_17012025_11_52_40_6360.jpg
/media/data/images/17012025/11/52/image_17012025_11_52_34_6366.jpg
/media/data/images/17012025/11/52/image_17012025_11_52_28_5228.jpg
/media/data/images/17012025/11/52/image_17012025_11_52_22_6380.jpg
/media/data/images/17012025/11/52/image_17012025_11_52_16_6377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329457483","1329457477","1329457471","1329457474","1329457494","1329457479"],"photo_ids_order":["1329457471","1329457474","1329457477","1329457479","1329457483","1329457494"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/808c099f2669dc44417d06dd379ab26b.jpg","text":"TemporaryFile(/tmp/multipartBody8386358468194249704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114126072,"filename":"image_17012025_11_52_22_6380.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/aa75047cf821013c2e2f5fd638c189f3.jpg","text":"TemporaryFile(/tmp/multipartBody303907391448709219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114126072,"filename":"image_17012025_11_52_34_6366.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c7ac5c1cd0f5af423bfcbfe75352caf9.jpg","text":"TemporaryFile(/tmp/multipartBody5439482436567760179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114126072,"filename":"image_17012025_11_52_47_6349.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b7e3f2107b9fb6299da8e5c4a0c05666.jpg","text":"TemporaryFile(/tmp/multipartBody735748613507372752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114126072,"filename":"image_17012025_11_52_40_6360.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/06ab6b162695010723431f428af21090.jpg","text":"TemporaryFile(/tmp/multipartBody7827483001842973027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114126072,"filename":"image_17012025_11_52_16_6377.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ab09a9f720a781220bf3172276ad2c52.jpg","text":"TemporaryFile(/tmp/multipartBody7957142264309722153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114126072,"filename":"image_17012025_11_52_28_5228.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329457477","file1":"1329457474","file0":"1329457471","file4":"1329457483","file5":"1329457494","file3":"1329457479"},"map_files_photo_id_array":[{"photo_id":"1329457494","filename":"file5"},{"photo_id":"1329457477","filename":"file2"},{"photo_id":"1329457483","filename":"file4"},{"photo_id":"1329457474","filename":"file1"},{"photo_id":"1329457471","filename":"file0"},{"photo_id":"1329457479","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329457483":["hashtag1","hashtag2"]},{"1329457477":["hashtag1","hashtag2"]},{"1329457471":["hashtag1","hashtag2"]},{"1329457474":["hashtag1","hashtag2"]},{"1329457494":["hashtag1","hashtag2"]},{"1329457479":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329457483, 1329457477, 1329457471, 1329457474, 1329457494, 1329457479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.10737681388855 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:42:02.404629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/52/image_17012025_11_52_10_5156.jpg', '/media/data/images/17012025/11/52/image_17012025_11_52_05_6165.jpg', '/media/data/images/17012025/11/51/image_17012025_11_51_58_6412.jpg', '/media/data/images/17012025/11/51/image_17012025_11_51_52_5178.jpg', '/media/data/images/17012025/11/51/image_17012025_11_51_47_6384.jpg', '/media/data/images/17012025/11/51/image_17012025_11_51_40_6365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/52/image_17012025_11_52_10_5156.jpg
/media/data/images/17012025/11/52/image_17012025_11_52_05_6165.jpg
/media/data/images/17012025/11/51/image_17012025_11_51_58_6412.jpg
/media/data/images/17012025/11/51/image_17012025_11_51_52_5178.jpg
/media/data/images/17012025/11/51/image_17012025_11_51_47_6384.jpg
/media/data/images/17012025/11/51/image_17012025_11_51_40_6365.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329457536","1329457565","1329457529","1329457532","1329457540","1329457569"],"photo_ids_order":["1329457529","1329457532","1329457536","1329457540","1329457565","1329457569"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f59d6f391022a7607d16adf67e3dea52.jpg","text":"TemporaryFile(/tmp/multipartBody6959289657983260798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114186105,"filename":"image_17012025_11_51_58_6412.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f41fe4cdc7d59bf4580e42f6c7ba7697.jpg","text":"TemporaryFile(/tmp/multipartBody3028229763068459010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114186105,"filename":"image_17012025_11_51_47_6384.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fe06f23597f1c18243de4d24bc5ba34a.jpg","text":"TemporaryFile(/tmp/multipartBody8177821259720222825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114186105,"filename":"image_17012025_11_52_10_5156.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5421ee98c3436a36bb5fa8fc529321c5.jpg","text":"TemporaryFile(/tmp/multipartBody7520825934870735057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114186105,"filename":"image_17012025_11_52_05_6165.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9870d80a4d3426f3c70c90b3d53b46e7.jpg","text":"TemporaryFile(/tmp/multipartBody6764552900626441224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114186105,"filename":"image_17012025_11_51_52_5178.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7fe89b3be4f00f0c73d4fc49b8503a3f.jpg","text":"TemporaryFile(/tmp/multipartBody4201691316105738296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114186105,"filename":"image_17012025_11_51_40_6365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329457536","file1":"1329457532","file0":"1329457529","file4":"1329457565","file5":"1329457569","file3":"1329457540"},"map_files_photo_id_array":[{"photo_id":"1329457569","filename":"file5"},{"photo_id":"1329457536","filename":"file2"},{"photo_id":"1329457565","filename":"file4"},{"photo_id":"1329457532","filename":"file1"},{"photo_id":"1329457529","filename":"file0"},{"photo_id":"1329457540","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329457536":["hashtag1","hashtag2"]},{"1329457565":["hashtag1","hashtag2"]},{"1329457529":["hashtag1","hashtag2"]},{"1329457532":["hashtag1","hashtag2"]},{"1329457540":["hashtag1","hashtag2"]},{"1329457569":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329457536, 1329457565, 1329457529, 1329457532, 1329457540, 1329457569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.59205412864685 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:42:42.297197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/51/image_17012025_11_51_34_6416.jpg', '/media/data/images/17012025/11/51/image_17012025_11_51_28_5221.jpg', '/media/data/images/17012025/11/51/image_17012025_11_51_22_6392.jpg', '/media/data/images/17012025/11/51/image_17012025_11_51_16_6377.jpg', '/media/data/images/17012025/11/51/image_17012025_11_51_10_5233.jpg', '/media/data/images/17012025/11/51/image_17012025_11_51_04_6188.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/51/image_17012025_11_51_34_6416.jpg
/media/data/images/17012025/11/51/image_17012025_11_51_28_5221.jpg
/media/data/images/17012025/11/51/image_17012025_11_51_22_6392.jpg
/media/data/images/17012025/11/51/image_17012025_11_51_16_6377.jpg
/media/data/images/17012025/11/51/image_17012025_11_51_10_5233.jpg
/media/data/images/17012025/11/51/image_17012025_11_51_04_6188.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329457643","1329457619","1329457610","1329457597","1329457638","1329457623"],"photo_ids_order":["1329457597","1329457610","1329457619","1329457623","1329457638","1329457643"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f7c73e3f76bda121dadeddf0d8103e59.jpg","text":"TemporaryFile(/tmp/multipartBody2235448821728258764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114225831,"filename":"image_17012025_11_51_04_6188.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/843d52f7565b5dcb0aed1fe16f8c05a1.jpg","text":"TemporaryFile(/tmp/multipartBody1699495659320743604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114225831,"filename":"image_17012025_11_51_22_6392.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cd99d4ac70382d8b551b8aa39d7cf429.jpg","text":"TemporaryFile(/tmp/multipartBody880209263729632450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114225831,"filename":"image_17012025_11_51_28_5221.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0b175340e031d2005b09fc9d2920f5a9.jpg","text":"TemporaryFile(/tmp/multipartBody8865072765517695590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114225831,"filename":"image_17012025_11_51_34_6416.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/82e6ba93f43b5e2a4793301b8be1a24f.jpg","text":"TemporaryFile(/tmp/multipartBody7254103234344587424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114225831,"filename":"image_17012025_11_51_10_5233.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/806dec3d2c2b1ff7c8dce8e2dd54f9a9.jpg","text":"TemporaryFile(/tmp/multipartBody1839046952182008110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114225831,"filename":"image_17012025_11_51_16_6377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329457619","file1":"1329457610","file0":"1329457597","file4":"1329457638","file5":"1329457643","file3":"1329457623"},"map_files_photo_id_array":[{"photo_id":"1329457643","filename":"file5"},{"photo_id":"1329457619","filename":"file2"},{"photo_id":"1329457638","filename":"file4"},{"photo_id":"1329457610","filename":"file1"},{"photo_id":"1329457597","filename":"file0"},{"photo_id":"1329457623","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329457643":["hashtag1","hashtag2"]},{"1329457619":["hashtag1","hashtag2"]},{"1329457610":["hashtag1","hashtag2"]},{"1329457597":["hashtag1","hashtag2"]},{"1329457638":["hashtag1","hashtag2"]},{"1329457623":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329457643, 1329457619, 1329457610, 1329457597, 1329457638, 1329457623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.751394271850586 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:43:22.417631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/50/image_17012025_11_50_58_6406.jpg', '/media/data/images/17012025/11/50/image_17012025_11_50_52_5174.jpg', '/media/data/images/17012025/11/50/image_17012025_11_50_47_6397.jpg', '/media/data/images/17012025/11/50/image_17012025_11_50_40_6338.jpg', '/media/data/images/17012025/11/49/image_17012025_11_49_58_6374.jpg', '/media/data/images/17012025/11/49/image_17012025_11_49_52_5170.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/50/image_17012025_11_50_58_6406.jpg
/media/data/images/17012025/11/50/image_17012025_11_50_52_5174.jpg
/media/data/images/17012025/11/50/image_17012025_11_50_47_6397.jpg
/media/data/images/17012025/11/50/image_17012025_11_50_40_6338.jpg
/media/data/images/17012025/11/49/image_17012025_11_49_58_6374.jpg
/media/data/images/17012025/11/49/image_17012025_11_49_52_5170.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329457661","1329457658","1329457666","1329457651","1329457654","1329457671"],"photo_ids_order":["1329457651","1329457654","1329457658","1329457661","1329457666","1329457671"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0ac234fbc95fc3f1804b90d8e50b50a0.jpg","text":"TemporaryFile(/tmp/multipartBody1213196107580269176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114265979,"filename":"image_17012025_11_50_40_6338.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7bca1fe421f4246e9255d0fb5733c286.jpg","text":"TemporaryFile(/tmp/multipartBody3472322301257304476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114265979,"filename":"image_17012025_11_50_47_6397.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ecb378d61bccd7d558e68bdda41d10d6.jpg","text":"TemporaryFile(/tmp/multipartBody4128437292034848594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114265979,"filename":"image_17012025_11_49_58_6374.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f3ca61615b8e889308f9d5da043c98e9.jpg","text":"TemporaryFile(/tmp/multipartBody8539093174239505699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114265979,"filename":"image_17012025_11_50_58_6406.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4c830674c2aef659f5ead938993aec91.jpg","text":"TemporaryFile(/tmp/multipartBody1398665286221778749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114265979,"filename":"image_17012025_11_50_52_5174.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/de361c35264a97a256b6cf4a8bd28462.jpg","text":"TemporaryFile(/tmp/multipartBody2199659744141472828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114265979,"filename":"image_17012025_11_49_52_5170.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329457658","file1":"1329457654","file0":"1329457651","file4":"1329457666","file5":"1329457671","file3":"1329457661"},"map_files_photo_id_array":[{"photo_id":"1329457671","filename":"file5"},{"photo_id":"1329457658","filename":"file2"},{"photo_id":"1329457666","filename":"file4"},{"photo_id":"1329457654","filename":"file1"},{"photo_id":"1329457651","filename":"file0"},{"photo_id":"1329457661","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329457661":["hashtag1","hashtag2"]},{"1329457658":["hashtag1","hashtag2"]},{"1329457666":["hashtag1","hashtag2"]},{"1329457651":["hashtag1","hashtag2"]},{"1329457654":["hashtag1","hashtag2"]},{"1329457671":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329457661, 1329457658, 1329457666, 1329457651, 1329457654, 1329457671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.01038718223572 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:44:02.866682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/49/image_17012025_11_49_47_6373.jpg', '/media/data/images/17012025/11/49/image_17012025_11_49_40_6402.jpg', '/media/data/images/17012025/11/49/image_17012025_11_49_34_5138.jpg', '/media/data/images/17012025/11/49/image_17012025_11_49_29_6367.jpg', '/media/data/images/17012025/11/49/image_17012025_11_49_22_6352.jpg', '/media/data/images/17012025/11/49/image_17012025_11_49_16_6360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/49/image_17012025_11_49_47_6373.jpg
/media/data/images/17012025/11/49/image_17012025_11_49_40_6402.jpg
/media/data/images/17012025/11/49/image_17012025_11_49_34_5138.jpg
/media/data/images/17012025/11/49/image_17012025_11_49_29_6367.jpg
/media/data/images/17012025/11/49/image_17012025_11_49_22_6352.jpg
/media/data/images/17012025/11/49/image_17012025_11_49_16_6360.jpg
2025-01-17 12:44:02.873353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/49/image_17012025_11_49_47_6373.jpg', '/media/data/images/17012025/11/49/image_17012025_11_49_40_6402.jpg', '/media/data/images/17012025/11/49/image_17012025_11_49_34_5138.jpg', '/media/data/images/17012025/11/49/image_17012025_11_49_29_6367.jpg', '/media/data/images/17012025/11/49/image_17012025_11_49_22_6352.jpg', '/media/data/images/17012025/11/49/image_17012025_11_49_16_6360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/49/image_17012025_11_49_47_6373.jpg
/media/data/images/17012025/11/49/image_17012025_11_49_40_6402.jpg
/media/data/images/17012025/11/49/image_17012025_11_49_34_5138.jpg
/media/data/images/17012025/11/49/image_17012025_11_49_29_6367.jpg
/media/data/images/17012025/11/49/image_17012025_11_49_22_6352.jpg
/media/data/images/17012025/11/49/image_17012025_11_49_16_6360.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329457697","1329457694","1329457709","1329457718","1329457700","1329457722"],"photo_ids_order":["1329457694","1329457697","1329457700","1329457709","1329457718","1329457722"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/196b32f9293bc521407c2c8baaf07753.jpg","text":"TemporaryFile(/tmp/multipartBody7217742407570491605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114308699,"filename":"image_17012025_11_49_40_6402.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b6afe6ab380605394f241d10a1070df7.jpg","text":"TemporaryFile(/tmp/multipartBody2838781277846550996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114308699,"filename":"image_17012025_11_49_47_6373.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/398d5ea5be72409230535a1ec0109b33.jpg","text":"TemporaryFile(/tmp/multipartBody6161398256070080141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114308699,"filename":"image_17012025_11_49_29_6367.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c30b74a1c107cbe2539a47da7c15f5fb.jpg","text":"TemporaryFile(/tmp/multipartBody758537531292598932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114308699,"filename":"image_17012025_11_49_22_6352.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4497e26adc88782f41b4f891efe14946.jpg","text":"TemporaryFile(/tmp/multipartBody1256147264144104662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114308699,"filename":"image_17012025_11_49_34_5138.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3f31ebcaed6ca48d7b22925f54b2ff80.jpg","text":"TemporaryFile(/tmp/multipartBody3758777080589775067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114308699,"filename":"image_17012025_11_49_16_6360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329457700","file1":"1329457697","file0":"1329457694","file4":"1329457718","file5":"1329457722","file3":"1329457709"},"map_files_photo_id_array":[{"photo_id":"1329457722","filename":"file5"},{"photo_id":"1329457700","filename":"file2"},{"photo_id":"1329457718","filename":"file4"},{"photo_id":"1329457697","filename":"file1"},{"photo_id":"1329457694","filename":"file0"},{"photo_id":"1329457709","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329457697":["hashtag1","hashtag2"]},{"1329457694":["hashtag1","hashtag2"]},{"1329457709":["hashtag1","hashtag2"]},{"1329457718":["hashtag1","hashtag2"]},{"1329457700":["hashtag1","hashtag2"]},{"1329457722":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329457697, 1329457694, 1329457709, 1329457718, 1329457700, 1329457722)","result":[],"list_datou_current":[]}'
Result OK !
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329457719","1329457701","1329457693","1329457712","1329457698","1329457723"],"photo_ids_order":["1329457693","1329457698","1329457701","1329457712","1329457719","1329457723"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6a52bed0411b02809ee10d442c8e77c2.jpg","text":"TemporaryFile(/tmp/multipartBody9076729607974140911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114308678,"filename":"image_17012025_11_49_22_6352.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9f947bd377a8c78914a6d3cc1259deed.jpg","text":"TemporaryFile(/tmp/multipartBody4429548829304618706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114308678,"filename":"image_17012025_11_49_34_5138.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a7bc57768f57b234ed403651b20fe6e2.jpg","text":"TemporaryFile(/tmp/multipartBody2624369150565161324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114308678,"filename":"image_17012025_11_49_47_6373.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5ec65b7192dad66347328cf33f0b8098.jpg","text":"TemporaryFile(/tmp/multipartBody2088158274324194354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114308678,"filename":"image_17012025_11_49_29_6367.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1e92f937832b9b8a48ce00b7e2eb003f.jpg","text":"TemporaryFile(/tmp/multipartBody268491884980457007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114308678,"filename":"image_17012025_11_49_40_6402.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d6ba3337784f0ac7027fe8284967a857.jpg","text":"TemporaryFile(/tmp/multipartBody1175238358583056863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114308678,"filename":"image_17012025_11_49_16_6360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329457701","file1":"1329457698","file0":"1329457693","file4":"1329457719","file5":"1329457723","file3":"1329457712"},"map_files_photo_id_array":[{"photo_id":"1329457723","filename":"file5"},{"photo_id":"1329457701","filename":"file2"},{"photo_id":"1329457719","filename":"file4"},{"photo_id":"1329457698","filename":"file1"},{"photo_id":"1329457693","filename":"file0"},{"photo_id":"1329457712","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329457719":["hashtag1","hashtag2"]},{"1329457701":["hashtag1","hashtag2"]},{"1329457693":["hashtag1","hashtag2"]},{"1329457712":["hashtag1","hashtag2"]},{"1329457698":["hashtag1","hashtag2"]},{"1329457723":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329457719, 1329457701, 1329457693, 1329457712, 1329457698, 1329457723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.96728515625 secondes ---
uploaded 6 photos
time to upload: 39.99111747741699 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:45:02.854197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/49/image_17012025_11_49_10_5147.jpg', '/media/data/images/17012025/11/48/image_17012025_11_49_05_6376.jpg', '/media/data/images/17012025/11/48/image_17012025_11_48_58_6363.jpg', '/media/data/images/17012025/11/48/image_17012025_11_48_52_5165.jpg', '/media/data/images/17012025/11/48/image_17012025_11_48_47_6342.jpg', '/media/data/images/17012025/11/48/image_17012025_11_48_40_6355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/49/image_17012025_11_49_10_5147.jpg
/media/data/images/17012025/11/48/image_17012025_11_49_05_6376.jpg
/media/data/images/17012025/11/48/image_17012025_11_48_58_6363.jpg
/media/data/images/17012025/11/48/image_17012025_11_48_52_5165.jpg
/media/data/images/17012025/11/48/image_17012025_11_48_47_6342.jpg
/media/data/images/17012025/11/48/image_17012025_11_48_40_6355.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329457806","1329457862","1329457871","1329457864","1329457867","1329457810"],"photo_ids_order":["1329457806","1329457810","1329457862","1329457864","1329457867","1329457871"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0b9ed667add48e6f072a1ea6327c7e76.jpg","text":"TemporaryFile(/tmp/multipartBody8058095691481077471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114367116,"filename":"image_17012025_11_49_10_5147.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5c138a02963e5bd7dea34a5b1c85d6b9.jpg","text":"TemporaryFile(/tmp/multipartBody530248305028084896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114367116,"filename":"image_17012025_11_48_58_6363.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/aa515de482d6666e65d5054b49014396.jpg","text":"TemporaryFile(/tmp/multipartBody5549364114194638078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114367116,"filename":"image_17012025_11_48_40_6355.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3eeab3fdcf72235a0b9a4f6be07dfb6c.jpg","text":"TemporaryFile(/tmp/multipartBody1886978275982601136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114367116,"filename":"image_17012025_11_48_52_5165.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f70a6ba55ea27768211f52d93e5a0b5d.jpg","text":"TemporaryFile(/tmp/multipartBody7167650122765102351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114367116,"filename":"image_17012025_11_48_47_6342.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/72b2bc94c6c6cd9f7a0721d022f8af88.jpg","text":"TemporaryFile(/tmp/multipartBody7237531982163619227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114367116,"filename":"image_17012025_11_49_05_6376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329457862","file1":"1329457810","file0":"1329457806","file4":"1329457867","file5":"1329457871","file3":"1329457864"},"map_files_photo_id_array":[{"photo_id":"1329457871","filename":"file5"},{"photo_id":"1329457862","filename":"file2"},{"photo_id":"1329457867","filename":"file4"},{"photo_id":"1329457810","filename":"file1"},{"photo_id":"1329457806","filename":"file0"},{"photo_id":"1329457864","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329457806":["hashtag1","hashtag2"]},{"1329457862":["hashtag1","hashtag2"]},{"1329457871":["hashtag1","hashtag2"]},{"1329457864":["hashtag1","hashtag2"]},{"1329457867":["hashtag1","hashtag2"]},{"1329457810":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329457806, 1329457862, 1329457871, 1329457864, 1329457867, 1329457810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.81163835525513 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:45:42.577783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/48/image_17012025_11_48_34_5161.jpg', '/media/data/images/17012025/11/48/image_17012025_11_48_29_6357.jpg', '/media/data/images/17012025/11/48/image_17012025_11_48_22_6361.jpg', '/media/data/images/17012025/11/48/image_17012025_11_48_16_6351.jpg', '/media/data/images/17012025/11/48/image_17012025_11_48_10_5169.jpg', '/media/data/images/17012025/11/47/image_17012025_11_48_05_6409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/48/image_17012025_11_48_34_5161.jpg
/media/data/images/17012025/11/48/image_17012025_11_48_29_6357.jpg
/media/data/images/17012025/11/48/image_17012025_11_48_22_6361.jpg
/media/data/images/17012025/11/48/image_17012025_11_48_16_6351.jpg
/media/data/images/17012025/11/48/image_17012025_11_48_10_5169.jpg
/media/data/images/17012025/11/47/image_17012025_11_48_05_6409.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329457905","1329457908","1329457886","1329457901","1329457896","1329457890"],"photo_ids_order":["1329457886","1329457890","1329457896","1329457901","1329457905","1329457908"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e8c074ebae49a57b13e330a376823105.jpg","text":"TemporaryFile(/tmp/multipartBody7281836122269292708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114406403,"filename":"image_17012025_11_48_10_5169.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/33567c46385dc71d83e1adae9a34bebe.jpg","text":"TemporaryFile(/tmp/multipartBody6627120532743832229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114406403,"filename":"image_17012025_11_48_05_6409.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7585b277f03e36bcc7095f73435f420e.jpg","text":"TemporaryFile(/tmp/multipartBody726766623284216669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114406403,"filename":"image_17012025_11_48_34_5161.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f01e34fee45399942d65019e7df6d11d.jpg","text":"TemporaryFile(/tmp/multipartBody1839991048558507738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114406403,"filename":"image_17012025_11_48_16_6351.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/57629b553055d0307c75835634867291.jpg","text":"TemporaryFile(/tmp/multipartBody3581612572536120541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114406403,"filename":"image_17012025_11_48_22_6361.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fb1908b65726321ca08a13bfeabf074a.jpg","text":"TemporaryFile(/tmp/multipartBody3223281803532199308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114406403,"filename":"image_17012025_11_48_29_6357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329457896","file1":"1329457890","file0":"1329457886","file4":"1329457905","file5":"1329457908","file3":"1329457901"},"map_files_photo_id_array":[{"photo_id":"1329457908","filename":"file5"},{"photo_id":"1329457896","filename":"file2"},{"photo_id":"1329457905","filename":"file4"},{"photo_id":"1329457890","filename":"file1"},{"photo_id":"1329457886","filename":"file0"},{"photo_id":"1329457901","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329457905":["hashtag1","hashtag2"]},{"1329457908":["hashtag1","hashtag2"]},{"1329457886":["hashtag1","hashtag2"]},{"1329457901":["hashtag1","hashtag2"]},{"1329457896":["hashtag1","hashtag2"]},{"1329457890":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329457905, 1329457908, 1329457886, 1329457901, 1329457896, 1329457890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.159560680389404 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:46:22.684167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/47/image_17012025_11_47_58_6390.jpg', '/media/data/images/17012025/11/47/image_17012025_11_47_52_5158.jpg', '/media/data/images/17012025/11/47/image_17012025_11_47_47_6359.jpg', '/media/data/images/17012025/11/47/image_17012025_11_47_40_6373.jpg', '/media/data/images/17012025/11/47/image_17012025_11_47_34_5147.jpg', '/media/data/images/17012025/11/47/image_17012025_11_47_29_6345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/47/image_17012025_11_47_58_6390.jpg
/media/data/images/17012025/11/47/image_17012025_11_47_52_5158.jpg
/media/data/images/17012025/11/47/image_17012025_11_47_47_6359.jpg
/media/data/images/17012025/11/47/image_17012025_11_47_40_6373.jpg
/media/data/images/17012025/11/47/image_17012025_11_47_34_5147.jpg
/media/data/images/17012025/11/47/image_17012025_11_47_29_6345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329457943","1329457925","1329457949","1329457922","1329457936","1329457930"],"photo_ids_order":["1329457922","1329457925","1329457930","1329457936","1329457943","1329457949"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1eb1d56ee7b9a0288cef954d40cd2e90.jpg","text":"TemporaryFile(/tmp/multipartBody8058582888407208246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114447928,"filename":"image_17012025_11_47_34_5147.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/411c133bf5570fd78ec5de4fe6d75dd1.jpg","text":"TemporaryFile(/tmp/multipartBody7256032448312426901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114447928,"filename":"image_17012025_11_47_52_5158.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ab9bebd333ad0d49be3047735bf13e95.jpg","text":"TemporaryFile(/tmp/multipartBody3729637696316662523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114447928,"filename":"image_17012025_11_47_29_6345.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dd82c5e15a9d7f2afe3019244107a33f.jpg","text":"TemporaryFile(/tmp/multipartBody6299346001265919837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114447928,"filename":"image_17012025_11_47_58_6390.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d95aa015d29edd5a425307d6c7fab4a1.jpg","text":"TemporaryFile(/tmp/multipartBody56562284611461895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114447928,"filename":"image_17012025_11_47_40_6373.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/925f509d972eebb652573430b6e5dfd0.jpg","text":"TemporaryFile(/tmp/multipartBody7267631693923410766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114447928,"filename":"image_17012025_11_47_47_6359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329457930","file1":"1329457925","file0":"1329457922","file4":"1329457943","file5":"1329457949","file3":"1329457936"},"map_files_photo_id_array":[{"photo_id":"1329457949","filename":"file5"},{"photo_id":"1329457930","filename":"file2"},{"photo_id":"1329457943","filename":"file4"},{"photo_id":"1329457925","filename":"file1"},{"photo_id":"1329457922","filename":"file0"},{"photo_id":"1329457936","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329457943":["hashtag1","hashtag2"]},{"1329457925":["hashtag1","hashtag2"]},{"1329457949":["hashtag1","hashtag2"]},{"1329457922":["hashtag1","hashtag2"]},{"1329457936":["hashtag1","hashtag2"]},{"1329457930":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329457943, 1329457925, 1329457949, 1329457922, 1329457936, 1329457930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.397398948669434 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:47:21.852339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/47/image_17012025_11_47_22_6359.jpg', '/media/data/images/17012025/11/47/image_17012025_11_47_16_5159.jpg', '/media/data/images/17012025/11/47/image_17012025_11_47_11_6362.jpg', '/media/data/images/17012025/11/47/image_17012025_11_47_04_6163.jpg', '/media/data/images/17012025/11/46/image_17012025_11_46_58_6370.jpg', '/media/data/images/17012025/11/46/image_17012025_11_46_52_5174.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/47/image_17012025_11_47_22_6359.jpg
/media/data/images/17012025/11/47/image_17012025_11_47_16_5159.jpg
/media/data/images/17012025/11/47/image_17012025_11_47_11_6362.jpg
/media/data/images/17012025/11/47/image_17012025_11_47_04_6163.jpg
/media/data/images/17012025/11/46/image_17012025_11_46_58_6370.jpg
/media/data/images/17012025/11/46/image_17012025_11_46_52_5174.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329458054","1329457985","1329457981","1329458011","1329457978","1329457971"],"photo_ids_order":["1329457971","1329457978","1329457981","1329457985","1329458011","1329458054"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fec924d9e7b957e09a78e281b7e4d10b.jpg","text":"TemporaryFile(/tmp/multipartBody5507358855427975241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114506836,"filename":"image_17012025_11_46_52_5174.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/de4b68b21be21d118a0e66a878113836.jpg","text":"TemporaryFile(/tmp/multipartBody1408408694519820694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114506836,"filename":"image_17012025_11_47_04_6163.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3d699fd2991811310777fde8586ba962.jpg","text":"TemporaryFile(/tmp/multipartBody8036554952651991323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114506836,"filename":"image_17012025_11_47_11_6362.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b7184404901b6eff215bc1687230ea43.jpg","text":"TemporaryFile(/tmp/multipartBody577414456873861468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114506836,"filename":"image_17012025_11_46_58_6370.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6bb5917bda07a6abc97b465c0460cc52.jpg","text":"TemporaryFile(/tmp/multipartBody4082478434502672058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114506836,"filename":"image_17012025_11_47_16_5159.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7e6600f61f3343abfb77aa3eef2a3623.jpg","text":"TemporaryFile(/tmp/multipartBody2499184889327968421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114506836,"filename":"image_17012025_11_47_22_6359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329457981","file1":"1329457978","file0":"1329457971","file4":"1329458011","file5":"1329458054","file3":"1329457985"},"map_files_photo_id_array":[{"photo_id":"1329458054","filename":"file5"},{"photo_id":"1329457981","filename":"file2"},{"photo_id":"1329458011","filename":"file4"},{"photo_id":"1329457978","filename":"file1"},{"photo_id":"1329457971","filename":"file0"},{"photo_id":"1329457985","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329458054":["hashtag1","hashtag2"]},{"1329457985":["hashtag1","hashtag2"]},{"1329457981":["hashtag1","hashtag2"]},{"1329458011":["hashtag1","hashtag2"]},{"1329457978":["hashtag1","hashtag2"]},{"1329457971":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329458054, 1329457985, 1329457981, 1329458011, 1329457978, 1329457971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.91447615623474 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:48:01.982750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/46/image_17012025_11_46_47_6384.jpg', '/media/data/images/17012025/11/45/image_17012025_11_45_28_5155.jpg', '/media/data/images/17012025/11/45/image_17012025_11_45_23_6387.jpg', '/media/data/images/17012025/11/45/image_17012025_11_45_16_6391.jpg', '/media/data/images/17012025/11/45/image_17012025_11_45_10_5216.jpg', '/media/data/images/17012025/11/45/image_17012025_11_45_05_6254.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/46/image_17012025_11_46_47_6384.jpg
/media/data/images/17012025/11/45/image_17012025_11_45_28_5155.jpg
/media/data/images/17012025/11/45/image_17012025_11_45_23_6387.jpg
/media/data/images/17012025/11/45/image_17012025_11_45_16_6391.jpg
/media/data/images/17012025/11/45/image_17012025_11_45_10_5216.jpg
/media/data/images/17012025/11/45/image_17012025_11_45_05_6254.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329458123","1329458126","1329458143","1329458145","1329458148","1329458142"],"photo_ids_order":["1329458123","1329458126","1329458142","1329458143","1329458145","1329458148"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ca8f96a5350b534e5475904bab12bb47.jpg","text":"TemporaryFile(/tmp/multipartBody1873939192005647578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114548973,"filename":"image_17012025_11_46_47_6384.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a0a6ec7edc6d8df28babb2ade277c734.jpg","text":"TemporaryFile(/tmp/multipartBody1338396301030521813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114548973,"filename":"image_17012025_11_45_28_5155.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d4cae96cc3c1fd1738856fa069db44f2.jpg","text":"TemporaryFile(/tmp/multipartBody990361146175411105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114548973,"filename":"image_17012025_11_45_16_6391.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/44e8bb666c0e52e4b3e7649fe6135874.jpg","text":"TemporaryFile(/tmp/multipartBody3649092497433037022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114548973,"filename":"image_17012025_11_45_10_5216.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f2ca026271cb8ae1ba17e9e251e56c1f.jpg","text":"TemporaryFile(/tmp/multipartBody4059416379543508765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114548973,"filename":"image_17012025_11_45_05_6254.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0233ae299ca7b1ecc323bd0b19f9a4f9.jpg","text":"TemporaryFile(/tmp/multipartBody4545944319577100895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114548973,"filename":"image_17012025_11_45_23_6387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329458142","file1":"1329458126","file0":"1329458123","file4":"1329458145","file5":"1329458148","file3":"1329458143"},"map_files_photo_id_array":[{"photo_id":"1329458148","filename":"file5"},{"photo_id":"1329458142","filename":"file2"},{"photo_id":"1329458145","filename":"file4"},{"photo_id":"1329458126","filename":"file1"},{"photo_id":"1329458123","filename":"file0"},{"photo_id":"1329458143","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329458123":["hashtag1","hashtag2"]},{"1329458126":["hashtag1","hashtag2"]},{"1329458143":["hashtag1","hashtag2"]},{"1329458145":["hashtag1","hashtag2"]},{"1329458148":["hashtag1","hashtag2"]},{"1329458142":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329458123, 1329458126, 1329458143, 1329458145, 1329458148, 1329458142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.11916542053223 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 12:49:02.361942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/44/image_17012025_11_44_58_6407.jpg', '/media/data/images/17012025/11/44/image_17012025_11_44_52_5175.jpg', '/media/data/images/17012025/11/44/image_17012025_11_44_47_6383.jpg', '/media/data/images/17012025/11/44/image_17012025_11_44_40_6405.jpg', '/media/data/images/17012025/11/44/image_17012025_11_44_34_5165.jpg', '/media/data/images/17012025/11/44/image_17012025_11_44_29_6382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/44/image_17012025_11_44_58_6407.jpg
/media/data/images/17012025/11/44/image_17012025_11_44_52_5175.jpg
/media/data/images/17012025/11/44/image_17012025_11_44_47_6383.jpg
/media/data/images/17012025/11/44/image_17012025_11_44_40_6405.jpg
/media/data/images/17012025/11/44/image_17012025_11_44_34_5165.jpg
/media/data/images/17012025/11/44/image_17012025_11_44_29_6382.jpg
2025-01-17 12:49:02.474098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/44/image_17012025_11_44_58_6407.jpg', '/media/data/images/17012025/11/44/image_17012025_11_44_52_5175.jpg', '/media/data/images/17012025/11/44/image_17012025_11_44_47_6383.jpg', '/media/data/images/17012025/11/44/image_17012025_11_44_40_6405.jpg', '/media/data/images/17012025/11/44/image_17012025_11_44_34_5165.jpg', '/media/data/images/17012025/11/44/image_17012025_11_44_29_6382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/44/image_17012025_11_44_58_6407.jpg
/media/data/images/17012025/11/44/image_17012025_11_44_52_5175.jpg
/media/data/images/17012025/11/44/image_17012025_11_44_47_6383.jpg
/media/data/images/17012025/11/44/image_17012025_11_44_40_6405.jpg
/media/data/images/17012025/11/44/image_17012025_11_44_34_5165.jpg
/media/data/images/17012025/11/44/image_17012025_11_44_29_6382.jpg
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329458189","1329458197","1329458201","1329458193","1329458206","1329458211"],"photo_ids_order":["1329458189","1329458193","1329458197","1329458201","1329458206","1329458211"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a813f40b0cec754d7e24795fe409ef82.jpg","text":"TemporaryFile(/tmp/multipartBody3661787181034126007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114607792,"filename":"image_17012025_11_44_58_6407.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/98b4032dc582e5ebd6ed6572e327804e.jpg","text":"TemporaryFile(/tmp/multipartBody8959225232828319518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114607792,"filename":"image_17012025_11_44_47_6383.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b14e57ec899c6cc9ef82691005eceb5f.jpg","text":"TemporaryFile(/tmp/multipartBody7033514610298048766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114607792,"filename":"image_17012025_11_44_40_6405.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/14c26a105227ddcd5a1119a3b3394a89.jpg","text":"TemporaryFile(/tmp/multipartBody8584760989722510732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114607792,"filename":"image_17012025_11_44_52_5175.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c654a2940da1386276ef09cf2062e674.jpg","text":"TemporaryFile(/tmp/multipartBody2363790670145139384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114607792,"filename":"image_17012025_11_44_34_5165.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0a8b0420e550717caff2e4304b1d4883.jpg","text":"TemporaryFile(/tmp/multipartBody961739092077019529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114607792,"filename":"image_17012025_11_44_29_6382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329458197","file1":"1329458193","file0":"1329458189","file4":"1329458206","file5":"1329458211","file3":"1329458201"},"map_files_photo_id_array":[{"photo_id":"1329458211","filename":"file5"},{"photo_id":"1329458197","filename":"file2"},{"photo_id":"1329458206","filename":"file4"},{"photo_id":"1329458193","filename":"file1"},{"photo_id":"1329458189","filename":"file0"},{"photo_id":"1329458201","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329458189":["hashtag1","hashtag2"]},{"1329458197":["hashtag1","hashtag2"]},{"1329458201":["hashtag1","hashtag2"]},{"1329458193":["hashtag1","hashtag2"]},{"1329458206":["hashtag1","hashtag2"]},{"1329458211":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329458189, 1329458197, 1329458201, 1329458193, 1329458206, 1329458211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.206921339035034 secondes ---
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329458191","1329458200","1329458203","1329458212","1329458196","1329458208"],"photo_ids_order":["1329458191","1329458196","1329458200","1329458203","1329458208","1329458212"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/51be5fa9a3ff04cc98ec363833e49b21.jpg","text":"TemporaryFile(/tmp/multipartBody8342020279364182864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114609028,"filename":"image_17012025_11_44_58_6407.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9aa256395a1dbdb53c2e25a40cdad9d5.jpg","text":"TemporaryFile(/tmp/multipartBody3874034829321841233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114609028,"filename":"image_17012025_11_44_47_6383.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/28fc14435912883eb32a8a3ecf38f49c.jpg","text":"TemporaryFile(/tmp/multipartBody1846103788069172165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114609028,"filename":"image_17012025_11_44_40_6405.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/93c7789e1e63e6defc80c8d0889ed045.jpg","text":"TemporaryFile(/tmp/multipartBody2543259926052598812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114609028,"filename":"image_17012025_11_44_29_6382.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ce7fb5aa498ac4f855417fb8d2f61b58.jpg","text":"TemporaryFile(/tmp/multipartBody3519190608816893377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114609028,"filename":"image_17012025_11_44_52_5175.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0fc30010fee3aa4da60587894414a92c.jpg","text":"TemporaryFile(/tmp/multipartBody1453969537860812936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114609028,"filename":"image_17012025_11_44_34_5165.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329458200","file1":"1329458196","file0":"1329458191","file4":"1329458208","file5":"1329458212","file3":"1329458203"},"map_files_photo_id_array":[{"photo_id":"1329458212","filename":"file5"},{"photo_id":"1329458200","filename":"file2"},{"photo_id":"1329458208","filename":"file4"},{"photo_id":"1329458196","filename":"file1"},{"photo_id":"1329458191","filename":"file0"},{"photo_id":"1329458203","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329458191":["hashtag1","hashtag2"]},{"1329458200":["hashtag1","hashtag2"]},{"1329458203":["hashtag1","hashtag2"]},{"1329458212":["hashtag1","hashtag2"]},{"1329458196":["hashtag1","hashtag2"]},{"1329458208":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329458191, 1329458200, 1329458203, 1329458212, 1329458196, 1329458208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.40680170059204 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:50:02.179793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/44/image_17012025_11_44_22_6369.jpg', '/media/data/images/17012025/11/44/image_17012025_11_44_16_5177.jpg', '/media/data/images/17012025/11/44/image_17012025_11_44_11_6364.jpg', '/media/data/images/17012025/11/43/image_17012025_11_44_04_6357.jpg', '/media/data/images/17012025/11/43/image_17012025_11_43_58_6372.jpg', '/media/data/images/17012025/11/43/image_17012025_11_43_52_5177.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/44/image_17012025_11_44_22_6369.jpg
/media/data/images/17012025/11/44/image_17012025_11_44_16_5177.jpg
/media/data/images/17012025/11/44/image_17012025_11_44_11_6364.jpg
/media/data/images/17012025/11/43/image_17012025_11_44_04_6357.jpg
/media/data/images/17012025/11/43/image_17012025_11_43_58_6372.jpg
/media/data/images/17012025/11/43/image_17012025_11_43_52_5177.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329458240","1329458251","1329458248","1329458242","1329458236","1329458244"],"photo_ids_order":["1329458236","1329458240","1329458242","1329458244","1329458248","1329458251"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0c79c08f33288ad8dfcbb133f1dd3ade.jpg","text":"TemporaryFile(/tmp/multipartBody1421425637159195676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114666054,"filename":"image_17012025_11_44_16_5177.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b78c02ff9d77e57267612858c00d5700.jpg","text":"TemporaryFile(/tmp/multipartBody6867420980307016289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114666054,"filename":"image_17012025_11_43_52_5177.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bf98ff7c94a32671206d8cccd07dad9c.jpg","text":"TemporaryFile(/tmp/multipartBody786475670591170703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114666054,"filename":"image_17012025_11_43_58_6372.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8cadae1b2e28069d7eb946e4e725a391.jpg","text":"TemporaryFile(/tmp/multipartBody5110704736821293854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114666054,"filename":"image_17012025_11_44_11_6364.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b69d19537016cf6378877a652cda8c9c.jpg","text":"TemporaryFile(/tmp/multipartBody8908893188287360340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114666054,"filename":"image_17012025_11_44_22_6369.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/856c41afe364cc5369433137fd2859a3.jpg","text":"TemporaryFile(/tmp/multipartBody4559063677658352844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114666054,"filename":"image_17012025_11_44_04_6357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329458242","file1":"1329458240","file0":"1329458236","file4":"1329458248","file5":"1329458251","file3":"1329458244"},"map_files_photo_id_array":[{"photo_id":"1329458251","filename":"file5"},{"photo_id":"1329458242","filename":"file2"},{"photo_id":"1329458248","filename":"file4"},{"photo_id":"1329458240","filename":"file1"},{"photo_id":"1329458236","filename":"file0"},{"photo_id":"1329458244","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329458240":["hashtag1","hashtag2"]},{"1329458251":["hashtag1","hashtag2"]},{"1329458248":["hashtag1","hashtag2"]},{"1329458242":["hashtag1","hashtag2"]},{"1329458236":["hashtag1","hashtag2"]},{"1329458244":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329458240, 1329458251, 1329458248, 1329458242, 1329458236, 1329458244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.111549377441406 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:50:42.060750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/43/image_17012025_11_43_47_6373.jpg', '/media/data/images/17012025/11/43/image_17012025_11_43_40_6361.jpg', '/media/data/images/17012025/11/43/image_17012025_11_43_34_5156.jpg', '/media/data/images/17012025/11/43/image_17012025_11_43_29_6352.jpg', '/media/data/images/17012025/11/43/image_17012025_11_43_22_6382.jpg', '/media/data/images/17012025/11/43/image_17012025_11_43_16_5152.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/43/image_17012025_11_43_47_6373.jpg
/media/data/images/17012025/11/43/image_17012025_11_43_40_6361.jpg
/media/data/images/17012025/11/43/image_17012025_11_43_34_5156.jpg
/media/data/images/17012025/11/43/image_17012025_11_43_29_6352.jpg
/media/data/images/17012025/11/43/image_17012025_11_43_22_6382.jpg
/media/data/images/17012025/11/43/image_17012025_11_43_16_5152.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329458294","1329458306","1329458299","1329458302","1329458277","1329458265"],"photo_ids_order":["1329458265","1329458277","1329458294","1329458299","1329458302","1329458306"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3e61a32e13c9c6b89828401ecd552d6a.jpg","text":"TemporaryFile(/tmp/multipartBody3430407481747710860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114706244,"filename":"image_17012025_11_43_34_5156.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e798594bf0273f7aa45a4abd2c6c7475.jpg","text":"TemporaryFile(/tmp/multipartBody6707161524045943985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114706244,"filename":"image_17012025_11_43_16_5152.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4a17e7cf976a2e64837df5c985e1ad12.jpg","text":"TemporaryFile(/tmp/multipartBody4669524623630119367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114706244,"filename":"image_17012025_11_43_29_6352.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3f8c80383f45e6897a76b17859f6253e.jpg","text":"TemporaryFile(/tmp/multipartBody5029928187446420637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114706244,"filename":"image_17012025_11_43_22_6382.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f6ac932df97015dc87fd0c4d676a7c3a.jpg","text":"TemporaryFile(/tmp/multipartBody2847902153374311383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114706244,"filename":"image_17012025_11_43_40_6361.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fab3072ffdc07f097d4f52549fb8dc62.jpg","text":"TemporaryFile(/tmp/multipartBody4978224342179553308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114706244,"filename":"image_17012025_11_43_47_6373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329458294","file1":"1329458277","file0":"1329458265","file4":"1329458302","file5":"1329458306","file3":"1329458299"},"map_files_photo_id_array":[{"photo_id":"1329458306","filename":"file5"},{"photo_id":"1329458294","filename":"file2"},{"photo_id":"1329458302","filename":"file4"},{"photo_id":"1329458277","filename":"file1"},{"photo_id":"1329458265","filename":"file0"},{"photo_id":"1329458299","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329458294":["hashtag1","hashtag2"]},{"1329458306":["hashtag1","hashtag2"]},{"1329458299":["hashtag1","hashtag2"]},{"1329458302":["hashtag1","hashtag2"]},{"1329458277":["hashtag1","hashtag2"]},{"1329458265":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329458294, 1329458306, 1329458299, 1329458302, 1329458277, 1329458265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15641403198242 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:51:22.142755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/43/image_17012025_11_43_11_6360.jpg', '/media/data/images/17012025/11/42/image_17012025_11_43_04_6377.jpg', '/media/data/images/17012025/11/42/image_17012025_11_42_58_5188.jpg', '/media/data/images/17012025/11/42/image_17012025_11_42_53_6349.jpg', '/media/data/images/17012025/11/42/image_17012025_11_42_11_6389.jpg', '/media/data/images/17012025/11/41/image_17012025_11_42_04_6378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/43/image_17012025_11_43_11_6360.jpg
/media/data/images/17012025/11/42/image_17012025_11_43_04_6377.jpg
/media/data/images/17012025/11/42/image_17012025_11_42_58_5188.jpg
/media/data/images/17012025/11/42/image_17012025_11_42_53_6349.jpg
/media/data/images/17012025/11/42/image_17012025_11_42_11_6389.jpg
/media/data/images/17012025/11/41/image_17012025_11_42_04_6378.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329458321","1329458347","1329458356","1329458323","1329458352","1329458319"],"photo_ids_order":["1329458319","1329458321","1329458323","1329458347","1329458352","1329458356"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/50f63f20f19917fb3a8d1e5d89ea5a98.jpg","text":"TemporaryFile(/tmp/multipartBody2979212620941428415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114745576,"filename":"image_17012025_11_43_04_6377.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8dcfc91db3654648ac00ac053575632b.jpg","text":"TemporaryFile(/tmp/multipartBody6093644690812222486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114745576,"filename":"image_17012025_11_42_53_6349.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/133b9eb4207f451162b12b0d0d49c82f.jpg","text":"TemporaryFile(/tmp/multipartBody2441725881913630004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114745576,"filename":"image_17012025_11_42_04_6378.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/093ac09e5faed241e8f8735a0114a2d3.jpg","text":"TemporaryFile(/tmp/multipartBody5991480390292802002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114745576,"filename":"image_17012025_11_42_58_5188.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/67ccc741b1d748015029eefa74620491.jpg","text":"TemporaryFile(/tmp/multipartBody780515333738918216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114745576,"filename":"image_17012025_11_42_11_6389.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/79eea4d271561bd3a9ce6cd456a6c60f.jpg","text":"TemporaryFile(/tmp/multipartBody5724920676155901253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114745576,"filename":"image_17012025_11_43_11_6360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329458323","file1":"1329458321","file0":"1329458319","file4":"1329458352","file5":"1329458356","file3":"1329458347"},"map_files_photo_id_array":[{"photo_id":"1329458356","filename":"file5"},{"photo_id":"1329458323","filename":"file2"},{"photo_id":"1329458352","filename":"file4"},{"photo_id":"1329458321","filename":"file1"},{"photo_id":"1329458319","filename":"file0"},{"photo_id":"1329458347","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329458321":["hashtag1","hashtag2"]},{"1329458347":["hashtag1","hashtag2"]},{"1329458356":["hashtag1","hashtag2"]},{"1329458323":["hashtag1","hashtag2"]},{"1329458352":["hashtag1","hashtag2"]},{"1329458319":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329458321, 1329458347, 1329458356, 1329458323, 1329458352, 1329458319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98669242858887 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:52:02.376929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/41/image_17012025_11_41_58_5172.jpg', '/media/data/images/17012025/11/41/image_17012025_11_41_53_6373.jpg', '/media/data/images/17012025/11/41/image_17012025_11_41_46_6431.jpg', '/media/data/images/17012025/11/41/image_17012025_11_41_40_5166.jpg', '/media/data/images/17012025/11/41/image_17012025_11_41_35_6348.jpg', '/media/data/images/17012025/11/41/image_17012025_11_41_28_6339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/41/image_17012025_11_41_58_5172.jpg
/media/data/images/17012025/11/41/image_17012025_11_41_53_6373.jpg
/media/data/images/17012025/11/41/image_17012025_11_41_46_6431.jpg
/media/data/images/17012025/11/41/image_17012025_11_41_40_5166.jpg
/media/data/images/17012025/11/41/image_17012025_11_41_35_6348.jpg
/media/data/images/17012025/11/41/image_17012025_11_41_28_6339.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.0168967247009277 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:52:22.233807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/41/image_17012025_11_41_58_5172.jpg', '/media/data/images/17012025/11/41/image_17012025_11_41_53_6373.jpg', '/media/data/images/17012025/11/41/image_17012025_11_41_46_6431.jpg', '/media/data/images/17012025/11/41/image_17012025_11_41_40_5166.jpg', '/media/data/images/17012025/11/41/image_17012025_11_41_35_6348.jpg', '/media/data/images/17012025/11/41/image_17012025_11_41_28_6339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/41/image_17012025_11_41_58_5172.jpg
/media/data/images/17012025/11/41/image_17012025_11_41_53_6373.jpg
/media/data/images/17012025/11/41/image_17012025_11_41_46_6431.jpg
/media/data/images/17012025/11/41/image_17012025_11_41_40_5166.jpg
/media/data/images/17012025/11/41/image_17012025_11_41_35_6348.jpg
/media/data/images/17012025/11/41/image_17012025_11_41_28_6339.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329458459","1329458679","1329458571","1329458382","1329458385","1329458384"],"photo_ids_order":["1329458382","1329458384","1329458385","1329458459","1329458571","1329458679"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6b3819edd75bd6b31e17a74d635deb27.jpg","text":"TemporaryFile(/tmp/multipartBody2907408027723218204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114805438,"filename":"image_17012025_11_41_40_5166.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3dfd424d0b742d224de202d6c71b0ae1.jpg","text":"TemporaryFile(/tmp/multipartBody3005315425747812133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114805438,"filename":"image_17012025_11_41_28_6339.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a5023324665fbf69051c6cc4953ac10d.jpg","text":"TemporaryFile(/tmp/multipartBody6093615924539443422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114805438,"filename":"image_17012025_11_41_35_6348.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/eb7f0253ee2a97177351f5c1c07926b9.jpg","text":"TemporaryFile(/tmp/multipartBody5700844142668704172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114805438,"filename":"image_17012025_11_41_58_5172.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c772e65ab7f5c4b5ee3e220611121086.jpg","text":"TemporaryFile(/tmp/multipartBody5927153129407084358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114805438,"filename":"image_17012025_11_41_46_6431.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2bbc56d6aff9bccbce0e542ba0529ca2.jpg","text":"TemporaryFile(/tmp/multipartBody4957245878385765610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114805438,"filename":"image_17012025_11_41_53_6373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329458385","file1":"1329458384","file0":"1329458382","file4":"1329458571","file5":"1329458679","file3":"1329458459"},"map_files_photo_id_array":[{"photo_id":"1329458679","filename":"file5"},{"photo_id":"1329458385","filename":"file2"},{"photo_id":"1329458571","filename":"file4"},{"photo_id":"1329458384","filename":"file1"},{"photo_id":"1329458382","filename":"file0"},{"photo_id":"1329458459","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329458459":["hashtag1","hashtag2"]},{"1329458679":["hashtag1","hashtag2"]},{"1329458571":["hashtag1","hashtag2"]},{"1329458382":["hashtag1","hashtag2"]},{"1329458385":["hashtag1","hashtag2"]},{"1329458384":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329458459, 1329458679, 1329458571, 1329458382, 1329458385, 1329458384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.77733540534973 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:53:02.680607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/41/image_17012025_11_41_22_5171.jpg', '/media/data/images/17012025/11/41/image_17012025_11_41_17_6404.jpg', '/media/data/images/17012025/11/41/image_17012025_11_41_10_6377.jpg', '/media/data/images/17012025/11/40/image_17012025_11_41_04_6395.jpg', '/media/data/images/17012025/11/40/image_17012025_11_40_58_5168.jpg', '/media/data/images/17012025/11/40/image_17012025_11_40_46_6360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/41/image_17012025_11_41_22_5171.jpg
/media/data/images/17012025/11/41/image_17012025_11_41_17_6404.jpg
/media/data/images/17012025/11/41/image_17012025_11_41_10_6377.jpg
/media/data/images/17012025/11/40/image_17012025_11_41_04_6395.jpg
/media/data/images/17012025/11/40/image_17012025_11_40_58_5168.jpg
/media/data/images/17012025/11/40/image_17012025_11_40_46_6360.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.1424224376678467 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:53:22.327686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/41/image_17012025_11_41_22_5171.jpg', '/media/data/images/17012025/11/41/image_17012025_11_41_17_6404.jpg', '/media/data/images/17012025/11/41/image_17012025_11_41_10_6377.jpg', '/media/data/images/17012025/11/40/image_17012025_11_41_04_6395.jpg', '/media/data/images/17012025/11/40/image_17012025_11_40_58_5168.jpg', '/media/data/images/17012025/11/40/image_17012025_11_40_46_6360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/41/image_17012025_11_41_22_5171.jpg
/media/data/images/17012025/11/41/image_17012025_11_41_17_6404.jpg
/media/data/images/17012025/11/41/image_17012025_11_41_10_6377.jpg
/media/data/images/17012025/11/40/image_17012025_11_41_04_6395.jpg
/media/data/images/17012025/11/40/image_17012025_11_40_58_5168.jpg
/media/data/images/17012025/11/40/image_17012025_11_40_46_6360.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329458777","1329458767","1329458758","1329458763","1329458772","1329458754"],"photo_ids_order":["1329458754","1329458758","1329458763","1329458767","1329458772","1329458777"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2f0e780015a4efabca0c1c48d0f6738a.jpg","text":"TemporaryFile(/tmp/multipartBody8351589032441668617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114866355,"filename":"image_17012025_11_40_46_6360.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a189ab5d160ee40a652eba479623433a.jpg","text":"TemporaryFile(/tmp/multipartBody7946294884758405313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114866355,"filename":"image_17012025_11_41_04_6395.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4291ccc4b6966f98808d4445d1981d94.jpg","text":"TemporaryFile(/tmp/multipartBody299013377172993749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114866355,"filename":"image_17012025_11_41_17_6404.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b875dbae650e3dc3d7fe51cdf460b540.jpg","text":"TemporaryFile(/tmp/multipartBody4269448899366139479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114866355,"filename":"image_17012025_11_41_10_6377.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7955bbde2400e16ac0886096d5a11171.jpg","text":"TemporaryFile(/tmp/multipartBody7928309807254701121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114866355,"filename":"image_17012025_11_40_58_5168.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/628ddc20689a68e4a8a73b62ad2eae3f.jpg","text":"TemporaryFile(/tmp/multipartBody8284748083897025677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114866355,"filename":"image_17012025_11_41_22_5171.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329458763","file1":"1329458758","file0":"1329458754","file4":"1329458772","file5":"1329458777","file3":"1329458767"},"map_files_photo_id_array":[{"photo_id":"1329458777","filename":"file5"},{"photo_id":"1329458763","filename":"file2"},{"photo_id":"1329458772","filename":"file4"},{"photo_id":"1329458758","filename":"file1"},{"photo_id":"1329458754","filename":"file0"},{"photo_id":"1329458767","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329458777":["hashtag1","hashtag2"]},{"1329458767":["hashtag1","hashtag2"]},{"1329458758":["hashtag1","hashtag2"]},{"1329458763":["hashtag1","hashtag2"]},{"1329458772":["hashtag1","hashtag2"]},{"1329458754":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329458777, 1329458767, 1329458758, 1329458763, 1329458772, 1329458754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.593544006347656 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:54:02.740823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/40/image_17012025_11_40_40_5172.jpg', '/media/data/images/17012025/11/40/image_17012025_11_40_35_6394.jpg', '/media/data/images/17012025/11/40/image_17012025_11_40_28_6548.jpg', '/media/data/images/17012025/11/40/image_17012025_11_40_22_5173.jpg', '/media/data/images/17012025/11/40/image_17012025_11_40_16_6366.jpg', '/media/data/images/17012025/11/40/image_17012025_11_40_10_6370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/40/image_17012025_11_40_40_5172.jpg
/media/data/images/17012025/11/40/image_17012025_11_40_35_6394.jpg
/media/data/images/17012025/11/40/image_17012025_11_40_28_6548.jpg
/media/data/images/17012025/11/40/image_17012025_11_40_22_5173.jpg
/media/data/images/17012025/11/40/image_17012025_11_40_16_6366.jpg
/media/data/images/17012025/11/40/image_17012025_11_40_10_6370.jpg
2025-01-17 12:54:02.759561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/40/image_17012025_11_40_40_5172.jpg', '/media/data/images/17012025/11/40/image_17012025_11_40_35_6394.jpg', '/media/data/images/17012025/11/40/image_17012025_11_40_28_6548.jpg', '/media/data/images/17012025/11/40/image_17012025_11_40_22_5173.jpg', '/media/data/images/17012025/11/40/image_17012025_11_40_16_6366.jpg', '/media/data/images/17012025/11/40/image_17012025_11_40_10_6370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/40/image_17012025_11_40_40_5172.jpg
/media/data/images/17012025/11/40/image_17012025_11_40_35_6394.jpg
/media/data/images/17012025/11/40/image_17012025_11_40_28_6548.jpg
/media/data/images/17012025/11/40/image_17012025_11_40_22_5173.jpg
/media/data/images/17012025/11/40/image_17012025_11_40_16_6366.jpg
/media/data/images/17012025/11/40/image_17012025_11_40_10_6370.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: 7.358848810195923 secondes ---
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329458804","1329458794","1329458812","1329458799","1329458808","1329458789"],"photo_ids_order":["1329458789","1329458794","1329458799","1329458804","1329458808","1329458812"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fb7e3256bb48323d310e9f459144103c.jpg","text":"TemporaryFile(/tmp/multipartBody1954379703140720720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114910231,"filename":"image_17012025_11_40_22_5173.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d68d468dda202f95a6be103c47ccba80.jpg","text":"TemporaryFile(/tmp/multipartBody7044566529923165598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114910231,"filename":"image_17012025_11_40_35_6394.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d846ae2dae82fb995318a77b26d520a2.jpg","text":"TemporaryFile(/tmp/multipartBody8761996503185366696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114910231,"filename":"image_17012025_11_40_10_6370.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0a6e88236c499e8ff6df7dbf803c875f.jpg","text":"TemporaryFile(/tmp/multipartBody7235809265673883140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114910231,"filename":"image_17012025_11_40_28_6548.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e4c1990a2bea0446558bba8dff1f64a1.jpg","text":"TemporaryFile(/tmp/multipartBody481631009900641813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114910231,"filename":"image_17012025_11_40_16_6366.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c149e7a4881e27397474bf28ade63f33.jpg","text":"TemporaryFile(/tmp/multipartBody8768519169412954655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114910231,"filename":"image_17012025_11_40_40_5172.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329458799","file1":"1329458794","file0":"1329458789","file4":"1329458808","file5":"1329458812","file3":"1329458804"},"map_files_photo_id_array":[{"photo_id":"1329458812","filename":"file5"},{"photo_id":"1329458799","filename":"file2"},{"photo_id":"1329458808","filename":"file4"},{"photo_id":"1329458794","filename":"file1"},{"photo_id":"1329458789","filename":"file0"},{"photo_id":"1329458804","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329458804":["hashtag1","hashtag2"]},{"1329458794":["hashtag1","hashtag2"]},{"1329458812":["hashtag1","hashtag2"]},{"1329458799":["hashtag1","hashtag2"]},{"1329458808":["hashtag1","hashtag2"]},{"1329458789":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329458804, 1329458794, 1329458812, 1329458799, 1329458808, 1329458789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.178340435028076 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:55:02.737303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/40/image_17012025_11_40_04_5178.jpg', '/media/data/images/17012025/11/39/image_17012025_11_39_59_6375.jpg', '/media/data/images/17012025/11/39/image_17012025_11_39_52_6379.jpg', '/media/data/images/17012025/11/39/image_17012025_11_39_46_5195.jpg', '/media/data/images/17012025/11/39/image_17012025_11_39_41_6386.jpg', '/media/data/images/17012025/11/39/image_17012025_11_39_34_6382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/40/image_17012025_11_40_04_5178.jpg
/media/data/images/17012025/11/39/image_17012025_11_39_59_6375.jpg
/media/data/images/17012025/11/39/image_17012025_11_39_52_6379.jpg
/media/data/images/17012025/11/39/image_17012025_11_39_46_5195.jpg
/media/data/images/17012025/11/39/image_17012025_11_39_41_6386.jpg
/media/data/images/17012025/11/39/image_17012025_11_39_34_6382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329460073","1329460501","1329460504","1329459813","1329460368","1329459524"],"photo_ids_order":["1329459524","1329459813","1329460073","1329460368","1329460501","1329460504"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8dec21d74cea69a152cd23e6ec6cff89.jpg","text":"TemporaryFile(/tmp/multipartBody3658994847219825547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114968514,"filename":"image_17012025_11_39_52_6379.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e1f088345c30f02e5de8b4eee562490f.jpg","text":"TemporaryFile(/tmp/multipartBody3549971994719360917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114968514,"filename":"image_17012025_11_39_41_6386.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ba01b26d36b0666f41625be8c92b23fc.jpg","text":"TemporaryFile(/tmp/multipartBody4332880467432134806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114968514,"filename":"image_17012025_11_39_34_6382.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3107c65aa9477e64081bc842be8df6fd.jpg","text":"TemporaryFile(/tmp/multipartBody2799174570616614127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114968514,"filename":"image_17012025_11_39_59_6375.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4a376ec73c5c8ce0d4a0d2dae79ef5d8.jpg","text":"TemporaryFile(/tmp/multipartBody3066906210756940727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114968514,"filename":"image_17012025_11_39_46_5195.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c8381c30061ae3041ecadfdc5236c596.jpg","text":"TemporaryFile(/tmp/multipartBody9062362914687561193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737114968514,"filename":"image_17012025_11_40_04_5178.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329460073","file1":"1329459813","file0":"1329459524","file4":"1329460501","file5":"1329460504","file3":"1329460368"},"map_files_photo_id_array":[{"photo_id":"1329460504","filename":"file5"},{"photo_id":"1329460073","filename":"file2"},{"photo_id":"1329460501","filename":"file4"},{"photo_id":"1329459813","filename":"file1"},{"photo_id":"1329459524","filename":"file0"},{"photo_id":"1329460368","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329460073":["hashtag1","hashtag2"]},{"1329460501":["hashtag1","hashtag2"]},{"1329460504":["hashtag1","hashtag2"]},{"1329459813":["hashtag1","hashtag2"]},{"1329460368":["hashtag1","hashtag2"]},{"1329459524":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329460073, 1329460501, 1329460504, 1329459813, 1329460368, 1329459524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.24407076835632 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:56:02.684666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/39/image_17012025_11_39_28_5190.jpg', '/media/data/images/17012025/11/39/image_17012025_11_39_23_6371.jpg', '/media/data/images/17012025/11/39/image_17012025_11_39_16_6392.jpg', '/media/data/images/17012025/11/39/image_17012025_11_39_10_5211.jpg', '/media/data/images/17012025/11/39/image_17012025_11_39_05_6207.jpg', '/media/data/images/17012025/11/38/image_17012025_11_38_58_6396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/39/image_17012025_11_39_28_5190.jpg
/media/data/images/17012025/11/39/image_17012025_11_39_23_6371.jpg
/media/data/images/17012025/11/39/image_17012025_11_39_16_6392.jpg
/media/data/images/17012025/11/39/image_17012025_11_39_10_5211.jpg
/media/data/images/17012025/11/39/image_17012025_11_39_05_6207.jpg
/media/data/images/17012025/11/38/image_17012025_11_38_58_6396.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329460574","1329460568","1329460577","1329460556","1329460579","1329460563"],"photo_ids_order":["1329460556","1329460563","1329460568","1329460574","1329460577","1329460579"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f409e868101e4f2d8a3a9a3d46e140af.jpg","text":"TemporaryFile(/tmp/multipartBody1103197996294476116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115030382,"filename":"image_17012025_11_39_10_5211.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/06b3cd28976e3893c1aec4f918a6352f.jpg","text":"TemporaryFile(/tmp/multipartBody945234558269360710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115030382,"filename":"image_17012025_11_39_16_6392.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cdb9c953e962c25c1a483fc426bbafb8.jpg","text":"TemporaryFile(/tmp/multipartBody2810664481056078638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115030382,"filename":"image_17012025_11_39_05_6207.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f322afb9a6f67031109b3caf621fb0ff.jpg","text":"TemporaryFile(/tmp/multipartBody2427116434224436089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115030382,"filename":"image_17012025_11_39_28_5190.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6b082bd096ea4771bf49cde26a4b99b0.jpg","text":"TemporaryFile(/tmp/multipartBody7290830684366245154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115030382,"filename":"image_17012025_11_38_58_6396.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/515437aa79cde79b7f359202a2df7d0d.jpg","text":"TemporaryFile(/tmp/multipartBody6770992115257650819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115030382,"filename":"image_17012025_11_39_23_6371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329460568","file1":"1329460563","file0":"1329460556","file4":"1329460577","file5":"1329460579","file3":"1329460574"},"map_files_photo_id_array":[{"photo_id":"1329460579","filename":"file5"},{"photo_id":"1329460568","filename":"file2"},{"photo_id":"1329460577","filename":"file4"},{"photo_id":"1329460563","filename":"file1"},{"photo_id":"1329460556","filename":"file0"},{"photo_id":"1329460574","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329460574":["hashtag1","hashtag2"]},{"1329460568":["hashtag1","hashtag2"]},{"1329460577":["hashtag1","hashtag2"]},{"1329460556":["hashtag1","hashtag2"]},{"1329460579":["hashtag1","hashtag2"]},{"1329460563":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329460574, 1329460568, 1329460577, 1329460556, 1329460579, 1329460563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.816914081573486 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 12:57:02.851840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/38/image_17012025_11_38_52_6401.jpg', '/media/data/images/17012025/11/38/image_17012025_11_38_10_5150.jpg', '/media/data/images/17012025/11/38/image_17012025_11_38_05_6270.jpg', '/media/data/images/17012025/11/37/image_17012025_11_37_58_6404.jpg', '/media/data/images/17012025/11/37/image_17012025_11_37_52_5158.jpg', '/media/data/images/17012025/11/37/image_17012025_11_37_47_6371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/38/image_17012025_11_38_52_6401.jpg
/media/data/images/17012025/11/38/image_17012025_11_38_10_5150.jpg
/media/data/images/17012025/11/38/image_17012025_11_38_05_6270.jpg
/media/data/images/17012025/11/37/image_17012025_11_37_58_6404.jpg
/media/data/images/17012025/11/37/image_17012025_11_37_52_5158.jpg
/media/data/images/17012025/11/37/image_17012025_11_37_47_6371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329460594","1329460738","1329460603","1329460599","1329460611","1329460608"],"photo_ids_order":["1329460594","1329460599","1329460603","1329460608","1329460611","1329460738"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/16c727af8823f92966214d3a0ccf7fbc.jpg","text":"TemporaryFile(/tmp/multipartBody4759949638706389840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115087639,"filename":"image_17012025_11_38_52_6401.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e96eea3df4106f788dc085cef3fee2e7.jpg","text":"TemporaryFile(/tmp/multipartBody8330293133794133658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115087639,"filename":"image_17012025_11_37_47_6371.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/13750740c6ef77fda5d366b93980c9f7.jpg","text":"TemporaryFile(/tmp/multipartBody5764113057076073011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115087639,"filename":"image_17012025_11_38_05_6270.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f73606221adb61fc555f2ba76fa6e901.jpg","text":"TemporaryFile(/tmp/multipartBody6870230084150895724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115087639,"filename":"image_17012025_11_38_10_5150.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e0b8d0709dea3483d3a13637ffd64e02.jpg","text":"TemporaryFile(/tmp/multipartBody4625847848028210201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115087639,"filename":"image_17012025_11_37_52_5158.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/51bfc1ed9dde6f5e1b725545e02d7008.jpg","text":"TemporaryFile(/tmp/multipartBody3240327962049706886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115087639,"filename":"image_17012025_11_37_58_6404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329460603","file1":"1329460599","file0":"1329460594","file4":"1329460611","file5":"1329460738","file3":"1329460608"},"map_files_photo_id_array":[{"photo_id":"1329460738","filename":"file5"},{"photo_id":"1329460603","filename":"file2"},{"photo_id":"1329460611","filename":"file4"},{"photo_id":"1329460599","filename":"file1"},{"photo_id":"1329460594","filename":"file0"},{"photo_id":"1329460608","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329460594":["hashtag1","hashtag2"]},{"1329460738":["hashtag1","hashtag2"]},{"1329460603":["hashtag1","hashtag2"]},{"1329460599":["hashtag1","hashtag2"]},{"1329460611":["hashtag1","hashtag2"]},{"1329460608":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329460594, 1329460738, 1329460603, 1329460599, 1329460611, 1329460608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.5225625038147 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 12:59:02.486201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/37/image_17012025_11_37_40_6404.jpg', '/media/data/images/17012025/11/37/image_17012025_11_37_34_5193.jpg', '/media/data/images/17012025/11/37/image_17012025_11_37_29_6354.jpg', '/media/data/images/17012025/11/37/image_17012025_11_37_22_6387.jpg', '/media/data/images/17012025/11/37/image_17012025_11_37_16_6384.jpg', '/media/data/images/17012025/11/37/image_17012025_11_37_10_5145.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/37/image_17012025_11_37_40_6404.jpg
/media/data/images/17012025/11/37/image_17012025_11_37_34_5193.jpg
/media/data/images/17012025/11/37/image_17012025_11_37_29_6354.jpg
/media/data/images/17012025/11/37/image_17012025_11_37_22_6387.jpg
/media/data/images/17012025/11/37/image_17012025_11_37_16_6384.jpg
/media/data/images/17012025/11/37/image_17012025_11_37_10_5145.jpg
2025-01-17 12:59:02.749476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/11/37/image_17012025_11_37_40_6404.jpg', '/media/data/images/17012025/11/37/image_17012025_11_37_34_5193.jpg', '/media/data/images/17012025/11/37/image_17012025_11_37_29_6354.jpg', '/media/data/images/17012025/11/37/image_17012025_11_37_22_6387.jpg', '/media/data/images/17012025/11/37/image_17012025_11_37_16_6384.jpg', '/media/data/images/17012025/11/37/image_17012025_11_37_10_5145.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/11/37/image_17012025_11_37_40_6404.jpg
/media/data/images/17012025/11/37/image_17012025_11_37_34_5193.jpg
/media/data/images/17012025/11/37/image_17012025_11_37_29_6354.jpg
/media/data/images/17012025/11/37/image_17012025_11_37_22_6387.jpg
/media/data/images/17012025/11/37/image_17012025_11_37_16_6384.jpg
/media/data/images/17012025/11/37/image_17012025_11_37_10_5145.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329461947","1329461803","1329461812","1329461829","1329461795","1329461819"],"photo_ids_order":["1329461795","1329461803","1329461812","1329461819","1329461829","1329461947"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f46dbd35f435b5624005b413ad4ae8b6.jpg","text":"TemporaryFile(/tmp/multipartBody1029716124400585122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115217999,"filename":"image_17012025_11_37_10_5145.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b3573200c6da35981be6bdf14e4dd866.jpg","text":"TemporaryFile(/tmp/multipartBody5208712327959969357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115217999,"filename":"image_17012025_11_37_34_5193.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9db523c5658e885f4f7130519d2f9409.jpg","text":"TemporaryFile(/tmp/multipartBody3982178881715333229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115217999,"filename":"image_17012025_11_37_29_6354.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b37d9046319019f97f13a43c5e8e02e0.jpg","text":"TemporaryFile(/tmp/multipartBody5645928929579197223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115217999,"filename":"image_17012025_11_37_16_6384.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/42fb3f34d9f7e1c2f1a1a99ed124b6fe.jpg","text":"TemporaryFile(/tmp/multipartBody6696885045228233880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115217999,"filename":"image_17012025_11_37_40_6404.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1e04aec2eaa6ad4b20483872d4138870.jpg","text":"TemporaryFile(/tmp/multipartBody7083906320464259288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115217999,"filename":"image_17012025_11_37_22_6387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329461812","file1":"1329461803","file0":"1329461795","file4":"1329461829","file5":"1329461947","file3":"1329461819"},"map_files_photo_id_array":[{"photo_id":"1329461947","filename":"file5"},{"photo_id":"1329461812","filename":"file2"},{"photo_id":"1329461829","filename":"file4"},{"photo_id":"1329461803","filename":"file1"},{"photo_id":"1329461795","filename":"file0"},{"photo_id":"1329461819","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329461947":["hashtag1","hashtag2"]},{"1329461803":["hashtag1","hashtag2"]},{"1329461812":["hashtag1","hashtag2"]},{"1329461829":["hashtag1","hashtag2"]},{"1329461795":["hashtag1","hashtag2"]},{"1329461819":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329461947, 1329461803, 1329461812, 1329461829, 1329461795, 1329461819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.37788200378418 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329461807","1329461822","1329461816","1329462118","1329461798","1329461870"],"photo_ids_order":["1329461798","1329461807","1329461816","1329461822","1329461870","1329462118"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1777c85330a55c8fb7d98636b8682eab.jpg","text":"TemporaryFile(/tmp/multipartBody2914883512475098663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115217623,"filename":"image_17012025_11_37_34_5193.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4e1824f19b68fb067b65517025e8c359.jpg","text":"TemporaryFile(/tmp/multipartBody481164343621861566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115217623,"filename":"image_17012025_11_37_22_6387.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/02ba810088b33c393e4a290ee53d4f14.jpg","text":"TemporaryFile(/tmp/multipartBody990990191719705616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115217623,"filename":"image_17012025_11_37_29_6354.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7751e016f6aae4163bbe4a4e29ba04a4.jpg","text":"TemporaryFile(/tmp/multipartBody2153285004759421674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115217623,"filename":"image_17012025_11_37_10_5145.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/00e679c8717493deb8a03e23e42e8f5e.jpg","text":"TemporaryFile(/tmp/multipartBody2866348862336886737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115217623,"filename":"image_17012025_11_37_40_6404.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7969e9afbc80c0055f679d12d2735717.jpg","text":"TemporaryFile(/tmp/multipartBody3775834137545426605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115217623,"filename":"image_17012025_11_37_16_6384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329461816","file1":"1329461807","file0":"1329461798","file4":"1329461870","file5":"1329462118","file3":"1329461822"},"map_files_photo_id_array":[{"photo_id":"1329462118","filename":"file5"},{"photo_id":"1329461816","filename":"file2"},{"photo_id":"1329461870","filename":"file4"},{"photo_id":"1329461807","filename":"file1"},{"photo_id":"1329461798","filename":"file0"},{"photo_id":"1329461822","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329461807":["hashtag1","hashtag2"]},{"1329461822":["hashtag1","hashtag2"]},{"1329461816":["hashtag1","hashtag2"]},{"1329462118":["hashtag1","hashtag2"]},{"1329461798":["hashtag1","hashtag2"]},{"1329461870":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329461807, 1329461822, 1329461816, 1329462118, 1329461798, 1329461870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.544317960739136 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:00:02.409423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/51/image_17012025_12_51_59_6664.jpg', '/media/data/images/17012025/12/46/image_17012025_12_46_52_5297.jpg', '/media/data/images/17012025/12/41/image_17012025_12_41_40_5296.jpg', '/media/data/images/17012025/12/36/image_17012025_12_36_28_6447.jpg', '/media/data/images/17012025/12/31/image_17012025_12_31_29_6383.jpg', '/media/data/images/17012025/12/26/image_17012025_12_26_52_5186.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/51/image_17012025_12_51_59_6664.jpg
/media/data/images/17012025/12/46/image_17012025_12_46_52_5297.jpg
/media/data/images/17012025/12/41/image_17012025_12_41_40_5296.jpg
/media/data/images/17012025/12/36/image_17012025_12_36_28_6447.jpg
/media/data/images/17012025/12/31/image_17012025_12_31_29_6383.jpg
/media/data/images/17012025/12/26/image_17012025_12_26_52_5186.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329462163","1329462157","1329462151","1329462174","1329462168","1329462177"],"photo_ids_order":["1329462151","1329462157","1329462163","1329462168","1329462174","1329462177"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6f826f3128e35c259b7f4b9ddf227ea0.jpg","text":"TemporaryFile(/tmp/multipartBody208433826532560471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115271813,"filename":"image_17012025_12_41_40_5296.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/27485cdc84658979325802bba3ae137c.jpg","text":"TemporaryFile(/tmp/multipartBody443048357179569905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115271813,"filename":"image_17012025_12_46_52_5297.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a664a704166a03cd387adde7c98c6768.jpg","text":"TemporaryFile(/tmp/multipartBody4584773788492620150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115271813,"filename":"image_17012025_12_51_59_6664.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4ce5cc91c6d488c747d7d437490201eb.jpg","text":"TemporaryFile(/tmp/multipartBody709232043439635148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115271813,"filename":"image_17012025_12_31_29_6383.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/57aabe8884832c44f23592cf2ab70b55.jpg","text":"TemporaryFile(/tmp/multipartBody5537893630240217235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115271813,"filename":"image_17012025_12_36_28_6447.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a20b0b7f222fb4dc78dc33fe610ac47d.jpg","text":"TemporaryFile(/tmp/multipartBody2955550236755498574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115271813,"filename":"image_17012025_12_26_52_5186.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329462163","file1":"1329462157","file0":"1329462151","file4":"1329462174","file5":"1329462177","file3":"1329462168"},"map_files_photo_id_array":[{"photo_id":"1329462177","filename":"file5"},{"photo_id":"1329462163","filename":"file2"},{"photo_id":"1329462174","filename":"file4"},{"photo_id":"1329462157","filename":"file1"},{"photo_id":"1329462151","filename":"file0"},{"photo_id":"1329462168","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329462163":["hashtag1","hashtag2"]},{"1329462157":["hashtag1","hashtag2"]},{"1329462151":["hashtag1","hashtag2"]},{"1329462174":["hashtag1","hashtag2"]},{"1329462168":["hashtag1","hashtag2"]},{"1329462177":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329462163, 1329462157, 1329462151, 1329462174, 1329462168, 1329462177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.4188346862793 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:01:02.518560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/30/image_17012025_12_30_47_6376.jpg', '/media/data/images/17012025/12/30/image_17012025_12_30_40_6372.jpg', '/media/data/images/17012025/12/30/image_17012025_12_30_34_6369.jpg', '/media/data/images/17012025/12/30/image_17012025_12_30_28_5174.jpg', '/media/data/images/17012025/12/30/image_17012025_12_30_22_6358.jpg', '/media/data/images/17012025/12/30/image_17012025_12_30_16_6350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/30/image_17012025_12_30_47_6376.jpg
/media/data/images/17012025/12/30/image_17012025_12_30_40_6372.jpg
/media/data/images/17012025/12/30/image_17012025_12_30_34_6369.jpg
/media/data/images/17012025/12/30/image_17012025_12_30_28_5174.jpg
/media/data/images/17012025/12/30/image_17012025_12_30_22_6358.jpg
/media/data/images/17012025/12/30/image_17012025_12_30_16_6350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329462205","1329462195","1329462197","1329462191","1329462194","1329462200"],"photo_ids_order":["1329462191","1329462194","1329462195","1329462197","1329462200","1329462205"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/266e78a717d38c312ee16b507efa63b3.jpg","text":"TemporaryFile(/tmp/multipartBody397447453665926316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115328225,"filename":"image_17012025_12_30_16_6350.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/56661d232228cb6806729ddb7af04e20.jpg","text":"TemporaryFile(/tmp/multipartBody2977606744144137558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115328225,"filename":"image_17012025_12_30_34_6369.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3e99622531cd13df1935fcc839945cfd.jpg","text":"TemporaryFile(/tmp/multipartBody4628028969332646850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115328225,"filename":"image_17012025_12_30_28_5174.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/397ac7eab1c97ab73879b4a7b7dc8057.jpg","text":"TemporaryFile(/tmp/multipartBody3252436797354766107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115328225,"filename":"image_17012025_12_30_47_6376.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fc9bf995228b7b1c27ccc9503c9b5d75.jpg","text":"TemporaryFile(/tmp/multipartBody7991617323682719544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115328225,"filename":"image_17012025_12_30_40_6372.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b407f9c0ff2a613043cd76f3e6a64bd7.jpg","text":"TemporaryFile(/tmp/multipartBody824974221243918239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115328225,"filename":"image_17012025_12_30_22_6358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329462195","file1":"1329462194","file0":"1329462191","file4":"1329462200","file5":"1329462205","file3":"1329462197"},"map_files_photo_id_array":[{"photo_id":"1329462205","filename":"file5"},{"photo_id":"1329462195","filename":"file2"},{"photo_id":"1329462200","filename":"file4"},{"photo_id":"1329462194","filename":"file1"},{"photo_id":"1329462191","filename":"file0"},{"photo_id":"1329462197","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329462205":["hashtag1","hashtag2"]},{"1329462195":["hashtag1","hashtag2"]},{"1329462197":["hashtag1","hashtag2"]},{"1329462191":["hashtag1","hashtag2"]},{"1329462194":["hashtag1","hashtag2"]},{"1329462200":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329462205, 1329462195, 1329462197, 1329462191, 1329462194, 1329462200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.69405174255371 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:02:02.453801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/34/image_17012025_12_34_46_6373.jpg', '/media/data/images/17012025/12/34/image_17012025_12_34_40_5146.jpg', '/media/data/images/17012025/12/34/image_17012025_12_34_35_6495.jpg', '/media/data/images/17012025/12/34/image_17012025_12_34_28_5220.jpg', '/media/data/images/17012025/12/34/image_17012025_12_34_23_6387.jpg', '/media/data/images/17012025/12/34/image_17012025_12_34_16_6382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/34/image_17012025_12_34_46_6373.jpg
/media/data/images/17012025/12/34/image_17012025_12_34_40_5146.jpg
/media/data/images/17012025/12/34/image_17012025_12_34_35_6495.jpg
/media/data/images/17012025/12/34/image_17012025_12_34_28_5220.jpg
/media/data/images/17012025/12/34/image_17012025_12_34_23_6387.jpg
/media/data/images/17012025/12/34/image_17012025_12_34_16_6382.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329462238","1329462232","1329462235","1329462240","1329462242","1329462236"],"photo_ids_order":["1329462232","1329462235","1329462236","1329462238","1329462240","1329462242"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9cc3334f0483c2a09a69d0cf2d85d561.jpg","text":"TemporaryFile(/tmp/multipartBody2846633716337079470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115387821,"filename":"image_17012025_12_34_28_5220.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f5b93f868c55c89a3a8c49f241a9eb8b.jpg","text":"TemporaryFile(/tmp/multipartBody7666650446666526704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115387821,"filename":"image_17012025_12_34_46_6373.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/03be26d9c4dac413853dc3bd8fffda4c.jpg","text":"TemporaryFile(/tmp/multipartBody6108479294894632484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115387821,"filename":"image_17012025_12_34_40_5146.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cb464f9f0dfe044538b61e316857f6e0.jpg","text":"TemporaryFile(/tmp/multipartBody5201084562305195443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115387821,"filename":"image_17012025_12_34_23_6387.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f6c5f10d7161387047e12ba96bf66225.jpg","text":"TemporaryFile(/tmp/multipartBody6308564350694221453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115387821,"filename":"image_17012025_12_34_16_6382.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e1b9d1db743478586311fe81e0911d0c.jpg","text":"TemporaryFile(/tmp/multipartBody8922289838712799916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115387821,"filename":"image_17012025_12_34_35_6495.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329462236","file1":"1329462235","file0":"1329462232","file4":"1329462240","file5":"1329462242","file3":"1329462238"},"map_files_photo_id_array":[{"photo_id":"1329462242","filename":"file5"},{"photo_id":"1329462236","filename":"file2"},{"photo_id":"1329462240","filename":"file4"},{"photo_id":"1329462235","filename":"file1"},{"photo_id":"1329462232","filename":"file0"},{"photo_id":"1329462238","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329462238":["hashtag1","hashtag2"]},{"1329462232":["hashtag1","hashtag2"]},{"1329462235":["hashtag1","hashtag2"]},{"1329462240":["hashtag1","hashtag2"]},{"1329462242":["hashtag1","hashtag2"]},{"1329462236":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329462238, 1329462232, 1329462235, 1329462240, 1329462242, 1329462236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.94269633293152 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:02:42.260878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/38/image_17012025_12_38_46_5342.jpg', '/media/data/images/17012025/12/38/image_17012025_12_38_34_5350.jpg', '/media/data/images/17012025/12/38/image_17012025_12_38_29_6564.jpg', '/media/data/images/17012025/12/38/image_17012025_12_38_22_5256.jpg', '/media/data/images/17012025/12/38/image_17012025_12_38_17_6522.jpg', '/media/data/images/17012025/12/38/image_17012025_12_38_10_5354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/38/image_17012025_12_38_46_5342.jpg
/media/data/images/17012025/12/38/image_17012025_12_38_34_5350.jpg
/media/data/images/17012025/12/38/image_17012025_12_38_29_6564.jpg
/media/data/images/17012025/12/38/image_17012025_12_38_22_5256.jpg
/media/data/images/17012025/12/38/image_17012025_12_38_17_6522.jpg
/media/data/images/17012025/12/38/image_17012025_12_38_10_5354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329462256","1329462273","1329462267","1329462276","1329462261","1329462263"],"photo_ids_order":["1329462256","1329462261","1329462263","1329462267","1329462273","1329462276"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4f0c2571ceb78031771100d81ecd9549.jpg","text":"TemporaryFile(/tmp/multipartBody7606039231492149890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115429492,"filename":"image_17012025_12_38_46_5342.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/df51fdd1903eca9ee411425f122d0d4b.jpg","text":"TemporaryFile(/tmp/multipartBody462702118146830624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115429492,"filename":"image_17012025_12_38_17_6522.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6b84163dff2b341ca184db324656e495.jpg","text":"TemporaryFile(/tmp/multipartBody6858277172456470254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115429492,"filename":"image_17012025_12_38_22_5256.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/02452c7fc4a7e4efbb47db37f9026ebe.jpg","text":"TemporaryFile(/tmp/multipartBody5509266333013794010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115429492,"filename":"image_17012025_12_38_10_5354.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e10ff6815b6a0fdf56b48005187c7f06.jpg","text":"TemporaryFile(/tmp/multipartBody5586674459173459486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115429492,"filename":"image_17012025_12_38_34_5350.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/333a3f705dfca350ff8facf500e1d5d8.jpg","text":"TemporaryFile(/tmp/multipartBody8211856270706648666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115429492,"filename":"image_17012025_12_38_29_6564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329462263","file1":"1329462261","file0":"1329462256","file4":"1329462273","file5":"1329462276","file3":"1329462267"},"map_files_photo_id_array":[{"photo_id":"1329462276","filename":"file5"},{"photo_id":"1329462263","filename":"file2"},{"photo_id":"1329462273","filename":"file4"},{"photo_id":"1329462261","filename":"file1"},{"photo_id":"1329462256","filename":"file0"},{"photo_id":"1329462267","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329462256":["hashtag1","hashtag2"]},{"1329462273":["hashtag1","hashtag2"]},{"1329462267":["hashtag1","hashtag2"]},{"1329462276":["hashtag1","hashtag2"]},{"1329462261":["hashtag1","hashtag2"]},{"1329462263":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329462256, 1329462273, 1329462267, 1329462276, 1329462261, 1329462263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.74782037734985 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:03:42.378528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/42/image_17012025_12_42_47_6370.jpg', '/media/data/images/17012025/12/42/image_17012025_12_42_40_6401.jpg', '/media/data/images/17012025/12/42/image_17012025_12_42_34_6390.jpg', '/media/data/images/17012025/12/42/image_17012025_12_42_28_5227.jpg', '/media/data/images/17012025/12/42/image_17012025_12_42_22_6424.jpg', '/media/data/images/17012025/12/42/image_17012025_12_42_16_5282.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/42/image_17012025_12_42_47_6370.jpg
/media/data/images/17012025/12/42/image_17012025_12_42_40_6401.jpg
/media/data/images/17012025/12/42/image_17012025_12_42_34_6390.jpg
/media/data/images/17012025/12/42/image_17012025_12_42_28_5227.jpg
/media/data/images/17012025/12/42/image_17012025_12_42_22_6424.jpg
/media/data/images/17012025/12/42/image_17012025_12_42_16_5282.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.8522555828094482 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 13:04:02.993934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/42/image_17012025_12_42_47_6370.jpg', '/media/data/images/17012025/12/42/image_17012025_12_42_40_6401.jpg', '/media/data/images/17012025/12/42/image_17012025_12_42_34_6390.jpg', '/media/data/images/17012025/12/42/image_17012025_12_42_28_5227.jpg', '/media/data/images/17012025/12/42/image_17012025_12_42_22_6424.jpg', '/media/data/images/17012025/12/42/image_17012025_12_42_16_5282.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/42/image_17012025_12_42_47_6370.jpg
/media/data/images/17012025/12/42/image_17012025_12_42_40_6401.jpg
/media/data/images/17012025/12/42/image_17012025_12_42_34_6390.jpg
/media/data/images/17012025/12/42/image_17012025_12_42_28_5227.jpg
/media/data/images/17012025/12/42/image_17012025_12_42_22_6424.jpg
/media/data/images/17012025/12/42/image_17012025_12_42_16_5282.jpg
2025-01-17 13:04:03.082613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/42/image_17012025_12_42_47_6370.jpg', '/media/data/images/17012025/12/42/image_17012025_12_42_40_6401.jpg', '/media/data/images/17012025/12/42/image_17012025_12_42_34_6390.jpg', '/media/data/images/17012025/12/42/image_17012025_12_42_28_5227.jpg', '/media/data/images/17012025/12/42/image_17012025_12_42_22_6424.jpg', '/media/data/images/17012025/12/42/image_17012025_12_42_16_5282.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/42/image_17012025_12_42_47_6370.jpg
/media/data/images/17012025/12/42/image_17012025_12_42_40_6401.jpg
/media/data/images/17012025/12/42/image_17012025_12_42_34_6390.jpg
/media/data/images/17012025/12/42/image_17012025_12_42_28_5227.jpg
/media/data/images/17012025/12/42/image_17012025_12_42_22_6424.jpg
/media/data/images/17012025/12/42/image_17012025_12_42_16_5282.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329462376","1329462390","1329462387","1329462366","1329462381","1329462371"],"photo_ids_order":["1329462366","1329462371","1329462376","1329462381","1329462387","1329462390"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/55cbb7c2f9cf894d817d0d0c7d898438.jpg","text":"TemporaryFile(/tmp/multipartBody1958608041441876134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115512475,"filename":"image_17012025_12_42_34_6390.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/29765b0eac80e95f32b6a28d4b015045.jpg","text":"TemporaryFile(/tmp/multipartBody5483433564387224826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115512475,"filename":"image_17012025_12_42_16_5282.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d8284d29686e1f1fe8bdb665230eaa93.jpg","text":"TemporaryFile(/tmp/multipartBody3851541993593062875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115512475,"filename":"image_17012025_12_42_22_6424.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f6f937252b852fb71f8299946740f376.jpg","text":"TemporaryFile(/tmp/multipartBody6844199839547667232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115512475,"filename":"image_17012025_12_42_47_6370.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/452826d1895fbb8711361f75219db89f.jpg","text":"TemporaryFile(/tmp/multipartBody7730378533249191902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115512475,"filename":"image_17012025_12_42_28_5227.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/441e459ea3c5c75a1fdf346a2fc8c537.jpg","text":"TemporaryFile(/tmp/multipartBody1517399725881943479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115512475,"filename":"image_17012025_12_42_40_6401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329462376","file1":"1329462371","file0":"1329462366","file4":"1329462387","file5":"1329462390","file3":"1329462381"},"map_files_photo_id_array":[{"photo_id":"1329462390","filename":"file5"},{"photo_id":"1329462376","filename":"file2"},{"photo_id":"1329462387","filename":"file4"},{"photo_id":"1329462371","filename":"file1"},{"photo_id":"1329462366","filename":"file0"},{"photo_id":"1329462381","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329462376":["hashtag1","hashtag2"]},{"1329462390":["hashtag1","hashtag2"]},{"1329462387":["hashtag1","hashtag2"]},{"1329462366":["hashtag1","hashtag2"]},{"1329462381":["hashtag1","hashtag2"]},{"1329462371":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329462376, 1329462390, 1329462387, 1329462366, 1329462381, 1329462371)","result":[],"list_datou_current":[]}'
Result OK !
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329462370","1329462364","1329462375","1329462383","1329462386","1329462391"],"photo_ids_order":["1329462364","1329462370","1329462375","1329462383","1329462386","1329462391"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fd0a4f3bd738edcf96776c6129a760c9.jpg","text":"TemporaryFile(/tmp/multipartBody3266489956204939560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115512210,"filename":"image_17012025_12_42_40_6401.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fa95535ca8b890bc702f1f4d1d1304c2.jpg","text":"TemporaryFile(/tmp/multipartBody7762401782607429195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115512210,"filename":"image_17012025_12_42_47_6370.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2de48a99cb8e84081062d3e671f2fe43.jpg","text":"TemporaryFile(/tmp/multipartBody5010109466908238257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115512210,"filename":"image_17012025_12_42_34_6390.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2ca43916f2692b6c81b6a3a13c92c9e7.jpg","text":"TemporaryFile(/tmp/multipartBody3452690895301766458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115512210,"filename":"image_17012025_12_42_28_5227.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/43ecfba11a26935b87666672e11bcb63.jpg","text":"TemporaryFile(/tmp/multipartBody6995987890552477843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115512210,"filename":"image_17012025_12_42_22_6424.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/82a35aaa62afa49b1d2b5e46f52a58c3.jpg","text":"TemporaryFile(/tmp/multipartBody5245045033967915447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115512210,"filename":"image_17012025_12_42_16_5282.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329462375","file1":"1329462370","file0":"1329462364","file4":"1329462386","file5":"1329462391","file3":"1329462383"},"map_files_photo_id_array":[{"photo_id":"1329462391","filename":"file5"},{"photo_id":"1329462375","filename":"file2"},{"photo_id":"1329462386","filename":"file4"},{"photo_id":"1329462370","filename":"file1"},{"photo_id":"1329462364","filename":"file0"},{"photo_id":"1329462383","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329462370":["hashtag1","hashtag2"]},{"1329462364":["hashtag1","hashtag2"]},{"1329462375":["hashtag1","hashtag2"]},{"1329462383":["hashtag1","hashtag2"]},{"1329462386":["hashtag1","hashtag2"]},{"1329462391":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329462370, 1329462364, 1329462375, 1329462383, 1329462386, 1329462391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.41214728355408 secondes ---
uploaded 6 photos
time to upload: 45.51859974861145 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:05:03.025125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/46/image_17012025_12_46_40_5293.jpg', '/media/data/images/17012025/12/46/image_17012025_12_46_35_6516.jpg', '/media/data/images/17012025/12/46/image_17012025_12_46_28_6543.jpg', '/media/data/images/17012025/12/46/image_17012025_12_46_22_5300.jpg', '/media/data/images/17012025/12/46/image_17012025_12_46_16_6562.jpg', '/media/data/images/17012025/12/46/image_17012025_12_46_10_5301.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/46/image_17012025_12_46_40_5293.jpg
/media/data/images/17012025/12/46/image_17012025_12_46_35_6516.jpg
/media/data/images/17012025/12/46/image_17012025_12_46_28_6543.jpg
/media/data/images/17012025/12/46/image_17012025_12_46_22_5300.jpg
/media/data/images/17012025/12/46/image_17012025_12_46_16_6562.jpg
/media/data/images/17012025/12/46/image_17012025_12_46_10_5301.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329462469","1329462454","1329462471","1329462474","1329462467","1329462452"],"photo_ids_order":["1329462452","1329462454","1329462467","1329462469","1329462471","1329462474"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9ffad1a7274e398e76f4a763e6415671.jpg","text":"TemporaryFile(/tmp/multipartBody700432000458707488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115571078,"filename":"image_17012025_12_46_22_5300.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e43d7fe2ed8870b302518bec48d5778f.jpg","text":"TemporaryFile(/tmp/multipartBody8035121834029763613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115571078,"filename":"image_17012025_12_46_35_6516.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7cb4b56b8d77d874ce49f1da69c737a4.jpg","text":"TemporaryFile(/tmp/multipartBody5850487460083108658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115571078,"filename":"image_17012025_12_46_16_6562.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f9e898d3446853d36df3dccf3a5e4033.jpg","text":"TemporaryFile(/tmp/multipartBody1195195847931276184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115571078,"filename":"image_17012025_12_46_10_5301.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/129db0be3d08e1ac0dcae50e82159c11.jpg","text":"TemporaryFile(/tmp/multipartBody9026207098378100596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115571078,"filename":"image_17012025_12_46_28_6543.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e62d8f9015ae4c24eb895afec7e3b261.jpg","text":"TemporaryFile(/tmp/multipartBody942805564449319023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115571078,"filename":"image_17012025_12_46_40_5293.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329462467","file1":"1329462454","file0":"1329462452","file4":"1329462471","file5":"1329462474","file3":"1329462469"},"map_files_photo_id_array":[{"photo_id":"1329462474","filename":"file5"},{"photo_id":"1329462467","filename":"file2"},{"photo_id":"1329462471","filename":"file4"},{"photo_id":"1329462454","filename":"file1"},{"photo_id":"1329462452","filename":"file0"},{"photo_id":"1329462469","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329462469":["hashtag1","hashtag2"]},{"1329462454":["hashtag1","hashtag2"]},{"1329462471":["hashtag1","hashtag2"]},{"1329462474":["hashtag1","hashtag2"]},{"1329462467":["hashtag1","hashtag2"]},{"1329462452":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329462469, 1329462454, 1329462471, 1329462474, 1329462467, 1329462452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.872867822647095 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:06:02.885139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/50/image_17012025_12_50_40_6397.jpg', '/media/data/images/17012025/12/50/image_17012025_12_50_34_5197.jpg', '/media/data/images/17012025/12/50/image_17012025_12_50_29_6406.jpg', '/media/data/images/17012025/12/50/image_17012025_12_50_22_6378.jpg', '/media/data/images/17012025/12/50/image_17012025_12_50_16_5170.jpg', '/media/data/images/17012025/12/50/image_17012025_12_50_11_6188.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/50/image_17012025_12_50_40_6397.jpg
/media/data/images/17012025/12/50/image_17012025_12_50_34_5197.jpg
/media/data/images/17012025/12/50/image_17012025_12_50_29_6406.jpg
/media/data/images/17012025/12/50/image_17012025_12_50_22_6378.jpg
/media/data/images/17012025/12/50/image_17012025_12_50_16_5170.jpg
/media/data/images/17012025/12/50/image_17012025_12_50_11_6188.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329462595","1329462597","1329462576","1329462575","1329462578","1329462572"],"photo_ids_order":["1329462572","1329462575","1329462576","1329462578","1329462595","1329462597"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f2eeedc4ba983736ee68b14ea957ff5d.jpg","text":"TemporaryFile(/tmp/multipartBody1044496984350608002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115629924,"filename":"image_17012025_12_50_16_5170.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5956f17f0868f7055442a0c3715ba580.jpg","text":"TemporaryFile(/tmp/multipartBody7242858318880929375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115629924,"filename":"image_17012025_12_50_11_6188.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a1784830b917e3b988d302728853dee7.jpg","text":"TemporaryFile(/tmp/multipartBody3232146616212244734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115629924,"filename":"image_17012025_12_50_29_6406.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/59b4e72dc124fecf9638d53bbb925348.jpg","text":"TemporaryFile(/tmp/multipartBody4909438189805534063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115629924,"filename":"image_17012025_12_50_34_5197.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/555f5d93851b6f275c80162fce558e7e.jpg","text":"TemporaryFile(/tmp/multipartBody5904487202743207604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115629924,"filename":"image_17012025_12_50_22_6378.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d44395ba4bd3b560cf600ce1e3055f83.jpg","text":"TemporaryFile(/tmp/multipartBody4013677486130771219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115629924,"filename":"image_17012025_12_50_40_6397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329462576","file1":"1329462575","file0":"1329462572","file4":"1329462595","file5":"1329462597","file3":"1329462578"},"map_files_photo_id_array":[{"photo_id":"1329462597","filename":"file5"},{"photo_id":"1329462576","filename":"file2"},{"photo_id":"1329462595","filename":"file4"},{"photo_id":"1329462575","filename":"file1"},{"photo_id":"1329462572","filename":"file0"},{"photo_id":"1329462578","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329462595":["hashtag1","hashtag2"]},{"1329462597":["hashtag1","hashtag2"]},{"1329462576":["hashtag1","hashtag2"]},{"1329462575":["hashtag1","hashtag2"]},{"1329462578":["hashtag1","hashtag2"]},{"1329462572":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329462595, 1329462597, 1329462576, 1329462575, 1329462578, 1329462572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.74139356613159 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:07:02.118491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/54/image_17012025_12_54_41_6576.jpg', '/media/data/images/17012025/12/54/image_17012025_12_54_34_5301.jpg', '/media/data/images/17012025/12/54/image_17012025_12_54_29_6489.jpg', '/media/data/images/17012025/12/54/image_17012025_12_54_22_6412.jpg', '/media/data/images/17012025/12/54/image_17012025_12_54_16_5268.jpg', '/media/data/images/17012025/12/54/image_17012025_12_54_11_6531.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/54/image_17012025_12_54_41_6576.jpg
/media/data/images/17012025/12/54/image_17012025_12_54_34_5301.jpg
/media/data/images/17012025/12/54/image_17012025_12_54_29_6489.jpg
/media/data/images/17012025/12/54/image_17012025_12_54_22_6412.jpg
/media/data/images/17012025/12/54/image_17012025_12_54_16_5268.jpg
/media/data/images/17012025/12/54/image_17012025_12_54_11_6531.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329462756","1329462759","1329462744","1329462749","1329462740","1329462758"],"photo_ids_order":["1329462740","1329462744","1329462749","1329462756","1329462758","1329462759"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bf157eddd71379df61fb5ca2ae26739f.jpg","text":"TemporaryFile(/tmp/multipartBody584337644595101196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115689543,"filename":"image_17012025_12_54_22_6412.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7303d7115db937d5c292fa79460001cb.jpg","text":"TemporaryFile(/tmp/multipartBody5814901104583794073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115689543,"filename":"image_17012025_12_54_11_6531.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d2cab92f19b362baf76347e4dde6e329.jpg","text":"TemporaryFile(/tmp/multipartBody6584072460469893620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115689543,"filename":"image_17012025_12_54_34_5301.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ec83949207fe35d8615292705f160ac8.jpg","text":"TemporaryFile(/tmp/multipartBody3748708615834043185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115689543,"filename":"image_17012025_12_54_29_6489.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/aeab8077dc3dd330867d96903bc15e75.jpg","text":"TemporaryFile(/tmp/multipartBody6396121799489271581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115689543,"filename":"image_17012025_12_54_41_6576.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f9a787a3574fb56cefd613ca2c24e54a.jpg","text":"TemporaryFile(/tmp/multipartBody1570701569616759877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115689543,"filename":"image_17012025_12_54_16_5268.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329462749","file1":"1329462744","file0":"1329462740","file4":"1329462758","file5":"1329462759","file3":"1329462756"},"map_files_photo_id_array":[{"photo_id":"1329462759","filename":"file5"},{"photo_id":"1329462749","filename":"file2"},{"photo_id":"1329462758","filename":"file4"},{"photo_id":"1329462744","filename":"file1"},{"photo_id":"1329462740","filename":"file0"},{"photo_id":"1329462756","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329462756":["hashtag1","hashtag2"]},{"1329462759":["hashtag1","hashtag2"]},{"1329462744":["hashtag1","hashtag2"]},{"1329462749":["hashtag1","hashtag2"]},{"1329462740":["hashtag1","hashtag2"]},{"1329462758":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329462756, 1329462759, 1329462744, 1329462749, 1329462740, 1329462758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.793771743774414 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:08:02.215262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/58/image_17012025_12_58_35_6541.jpg', '/media/data/images/17012025/12/58/image_17012025_12_58_28_6554.jpg', '/media/data/images/17012025/12/58/image_17012025_12_58_22_5318.jpg', '/media/data/images/17012025/12/58/image_17012025_12_58_16_6516.jpg', '/media/data/images/17012025/12/58/image_17012025_12_58_10_5259.jpg', '/media/data/images/17012025/12/57/image_17012025_12_57_58_6488.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/58/image_17012025_12_58_35_6541.jpg
/media/data/images/17012025/12/58/image_17012025_12_58_28_6554.jpg
/media/data/images/17012025/12/58/image_17012025_12_58_22_5318.jpg
/media/data/images/17012025/12/58/image_17012025_12_58_16_6516.jpg
/media/data/images/17012025/12/58/image_17012025_12_58_10_5259.jpg
/media/data/images/17012025/12/57/image_17012025_12_57_58_6488.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329463788","1329462808","1329463527","1329463067","1329463342","1329462790"],"photo_ids_order":["1329462790","1329462808","1329463067","1329463342","1329463527","1329463788"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/57ecdb8929f51969c986bec2ea106050.jpg","text":"TemporaryFile(/tmp/multipartBody7511865434514008170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115748938,"filename":"image_17012025_12_57_58_6488.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3a4123ba0c8f62457dd2c3c4e2449ce4.jpg","text":"TemporaryFile(/tmp/multipartBody3548701673423805328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115748938,"filename":"image_17012025_12_58_28_6554.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/826fa3ce245c06d8c55defb4ce9f7722.jpg","text":"TemporaryFile(/tmp/multipartBody7157423005500142616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115748938,"filename":"image_17012025_12_58_10_5259.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3b6990eb9ef1b0d5421b5c524d2c5462.jpg","text":"TemporaryFile(/tmp/multipartBody1707833289193451940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115748938,"filename":"image_17012025_12_58_22_5318.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e5137a5b4a966feb32ea33081decce45.jpg","text":"TemporaryFile(/tmp/multipartBody9051023015781869532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115748938,"filename":"image_17012025_12_58_16_6516.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e826219e4560695f96f79179c6dda070.jpg","text":"TemporaryFile(/tmp/multipartBody902337678694789210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115748938,"filename":"image_17012025_12_58_35_6541.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329463067","file1":"1329462808","file0":"1329462790","file4":"1329463527","file5":"1329463788","file3":"1329463342"},"map_files_photo_id_array":[{"photo_id":"1329463788","filename":"file5"},{"photo_id":"1329463067","filename":"file2"},{"photo_id":"1329463527","filename":"file4"},{"photo_id":"1329462808","filename":"file1"},{"photo_id":"1329462790","filename":"file0"},{"photo_id":"1329463342","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329463788":["hashtag1","hashtag2"]},{"1329462808":["hashtag1","hashtag2"]},{"1329463527":["hashtag1","hashtag2"]},{"1329463067":["hashtag1","hashtag2"]},{"1329463342":["hashtag1","hashtag2"]},{"1329462790":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329463788, 1329462808, 1329463527, 1329463067, 1329463342, 1329462790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.73196363449097 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 13:09:02.540595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/02/image_17012025_13_02_22_5338.jpg', '/media/data/images/17012025/13/02/image_17012025_13_02_10_5326.jpg', '/media/data/images/17012025/13/01/image_17012025_13_01_58_5306.jpg', '/media/data/images/17012025/13/01/image_17012025_13_01_46_5310.jpg', '/media/data/images/17012025/13/01/image_17012025_13_01_41_6550.jpg', '/media/data/images/17012025/13/01/image_17012025_13_01_34_5307.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/02/image_17012025_13_02_22_5338.jpg
/media/data/images/17012025/13/02/image_17012025_13_02_10_5326.jpg
/media/data/images/17012025/13/01/image_17012025_13_01_58_5306.jpg
/media/data/images/17012025/13/01/image_17012025_13_01_46_5310.jpg
/media/data/images/17012025/13/01/image_17012025_13_01_41_6550.jpg
/media/data/images/17012025/13/01/image_17012025_13_01_34_5307.jpg
2025-01-17 13:09:02.564825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/02/image_17012025_13_02_22_5338.jpg', '/media/data/images/17012025/13/02/image_17012025_13_02_10_5326.jpg', '/media/data/images/17012025/13/01/image_17012025_13_01_58_5306.jpg', '/media/data/images/17012025/13/01/image_17012025_13_01_46_5310.jpg', '/media/data/images/17012025/13/01/image_17012025_13_01_41_6550.jpg', '/media/data/images/17012025/13/01/image_17012025_13_01_34_5307.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/02/image_17012025_13_02_22_5338.jpg
/media/data/images/17012025/13/02/image_17012025_13_02_10_5326.jpg
/media/data/images/17012025/13/01/image_17012025_13_01_58_5306.jpg
/media/data/images/17012025/13/01/image_17012025_13_01_46_5310.jpg
/media/data/images/17012025/13/01/image_17012025_13_01_41_6550.jpg
/media/data/images/17012025/13/01/image_17012025_13_01_34_5307.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329464130","1329464141","1329464126","1329464134","1329464122","1329464119"],"photo_ids_order":["1329464119","1329464122","1329464126","1329464130","1329464134","1329464141"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f29268095525bb5b6dea5e8c100fba50.jpg","text":"TemporaryFile(/tmp/multipartBody5120120159567693629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115813774,"filename":"image_17012025_13_01_46_5310.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/691d07d28a3976e160c809c83a955135.jpg","text":"TemporaryFile(/tmp/multipartBody8878124765742313405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115813774,"filename":"image_17012025_13_01_34_5307.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/49f8905fc6c9dd2ccf3aab7b36841d06.jpg","text":"TemporaryFile(/tmp/multipartBody6007175059353639054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115813774,"filename":"image_17012025_13_01_58_5306.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6a17a2537d534b0e9b30a501ba4155c9.jpg","text":"TemporaryFile(/tmp/multipartBody8910436568053780491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115813774,"filename":"image_17012025_13_01_41_6550.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/693192841afb22f7b90098426f9f0f29.jpg","text":"TemporaryFile(/tmp/multipartBody2845062896907484001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115813774,"filename":"image_17012025_13_02_10_5326.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e4979d3b962e86c936bf576c63da2f6c.jpg","text":"TemporaryFile(/tmp/multipartBody7930346358303639712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115813774,"filename":"image_17012025_13_02_22_5338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329464126","file1":"1329464122","file0":"1329464119","file4":"1329464134","file5":"1329464141","file3":"1329464130"},"map_files_photo_id_array":[{"photo_id":"1329464141","filename":"file5"},{"photo_id":"1329464126","filename":"file2"},{"photo_id":"1329464134","filename":"file4"},{"photo_id":"1329464122","filename":"file1"},{"photo_id":"1329464119","filename":"file0"},{"photo_id":"1329464130","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329464130":["hashtag1","hashtag2"]},{"1329464141":["hashtag1","hashtag2"]},{"1329464126":["hashtag1","hashtag2"]},{"1329464134":["hashtag1","hashtag2"]},{"1329464122":["hashtag1","hashtag2"]},{"1329464119":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329464130, 1329464141, 1329464126, 1329464134, 1329464122, 1329464119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.1995530128479 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329464121","1329464135","1329464129","1329464146","1329464140","1329464125"],"photo_ids_order":["1329464121","1329464125","1329464129","1329464135","1329464140","1329464146"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/abb1f755181136dc9136a033ac1c0c4b.jpg","text":"TemporaryFile(/tmp/multipartBody8680485248587408452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115816183,"filename":"image_17012025_13_02_22_5338.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/67b20bf39cbf11d11d9dee3409188d74.jpg","text":"TemporaryFile(/tmp/multipartBody7624101026200628858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115816183,"filename":"image_17012025_13_01_46_5310.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/508e2def9c1bac51779f9d657fce9843.jpg","text":"TemporaryFile(/tmp/multipartBody4734649577805866546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115816183,"filename":"image_17012025_13_01_58_5306.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/81a2324fc948bbcecd379f5f52611745.jpg","text":"TemporaryFile(/tmp/multipartBody2642390456789925368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115816183,"filename":"image_17012025_13_01_34_5307.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c4ca15f11e1acd9d1d94835a758b881e.jpg","text":"TemporaryFile(/tmp/multipartBody5242595109750053274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115816183,"filename":"image_17012025_13_01_41_6550.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/65bf34d6bffd16bf9bf407dc31d61e2e.jpg","text":"TemporaryFile(/tmp/multipartBody2413553870273010396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115816183,"filename":"image_17012025_13_02_10_5326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329464129","file1":"1329464125","file0":"1329464121","file4":"1329464140","file5":"1329464146","file3":"1329464135"},"map_files_photo_id_array":[{"photo_id":"1329464146","filename":"file5"},{"photo_id":"1329464129","filename":"file2"},{"photo_id":"1329464140","filename":"file4"},{"photo_id":"1329464125","filename":"file1"},{"photo_id":"1329464121","filename":"file0"},{"photo_id":"1329464135","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329464121":["hashtag1","hashtag2"]},{"1329464135":["hashtag1","hashtag2"]},{"1329464129":["hashtag1","hashtag2"]},{"1329464146":["hashtag1","hashtag2"]},{"1329464140":["hashtag1","hashtag2"]},{"1329464125":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329464121, 1329464135, 1329464129, 1329464146, 1329464140, 1329464125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.74224615097046 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:10:02.429709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/06/image_17012025_13_06_23_6381.jpg', '/media/data/images/17012025/13/06/image_17012025_13_06_16_6486.jpg', '/media/data/images/17012025/13/06/image_17012025_13_06_10_5268.jpg', '/media/data/images/17012025/13/06/image_17012025_13_06_05_6273.jpg', '/media/data/images/17012025/13/05/image_17012025_13_05_58_6428.jpg', '/media/data/images/17012025/13/05/image_17012025_13_05_52_5180.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/06/image_17012025_13_06_23_6381.jpg
/media/data/images/17012025/13/06/image_17012025_13_06_16_6486.jpg
/media/data/images/17012025/13/06/image_17012025_13_06_10_5268.jpg
/media/data/images/17012025/13/06/image_17012025_13_06_05_6273.jpg
/media/data/images/17012025/13/05/image_17012025_13_05_58_6428.jpg
/media/data/images/17012025/13/05/image_17012025_13_05_52_5180.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329464166","1329464214","1329464164","1329464617","1329464614","1329464503"],"photo_ids_order":["1329464164","1329464166","1329464214","1329464503","1329464614","1329464617"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e2f028f1aab4df63114f0dec0c9011ac.jpg","text":"TemporaryFile(/tmp/multipartBody7865489669118508646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115866105,"filename":"image_17012025_13_06_16_6486.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d5b5459e7f856ec50c19e753d7ea841d.jpg","text":"TemporaryFile(/tmp/multipartBody7965525356763098777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115866105,"filename":"image_17012025_13_06_10_5268.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cead3dd4f46da82d57f258c6788e0e32.jpg","text":"TemporaryFile(/tmp/multipartBody7301080956949504468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115866105,"filename":"image_17012025_13_06_23_6381.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6ff30e80d012c3354fd8b0c2b363d818.jpg","text":"TemporaryFile(/tmp/multipartBody7128964703996008137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115866105,"filename":"image_17012025_13_05_52_5180.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/686128af1c74b7373ae31b6b4f4d0532.jpg","text":"TemporaryFile(/tmp/multipartBody3747637745897448551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115866105,"filename":"image_17012025_13_05_58_6428.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/15f7b4e9599e00598d6eef85a43b2fd3.jpg","text":"TemporaryFile(/tmp/multipartBody4216063027743664005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115866105,"filename":"image_17012025_13_06_05_6273.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329464214","file1":"1329464166","file0":"1329464164","file4":"1329464614","file5":"1329464617","file3":"1329464503"},"map_files_photo_id_array":[{"photo_id":"1329464617","filename":"file5"},{"photo_id":"1329464214","filename":"file2"},{"photo_id":"1329464614","filename":"file4"},{"photo_id":"1329464166","filename":"file1"},{"photo_id":"1329464164","filename":"file0"},{"photo_id":"1329464503","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329464166":["hashtag1","hashtag2"]},{"1329464214":["hashtag1","hashtag2"]},{"1329464164":["hashtag1","hashtag2"]},{"1329464617":["hashtag1","hashtag2"]},{"1329464614":["hashtag1","hashtag2"]},{"1329464503":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329464166, 1329464214, 1329464164, 1329464617, 1329464614, 1329464503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.32452893257141 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:10:42.044620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/10/image_17012025_13_10_16_6432.jpg', '/media/data/images/17012025/13/10/image_17012025_13_10_10_5217.jpg', '/media/data/images/17012025/13/10/image_17012025_13_10_04_6304.jpg', '/media/data/images/17012025/13/09/image_17012025_13_09_58_6398.jpg', '/media/data/images/17012025/13/09/image_17012025_13_09_52_5178.jpg', '/media/data/images/17012025/13/09/image_17012025_13_09_47_6414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/10/image_17012025_13_10_16_6432.jpg
/media/data/images/17012025/13/10/image_17012025_13_10_10_5217.jpg
/media/data/images/17012025/13/10/image_17012025_13_10_04_6304.jpg
/media/data/images/17012025/13/09/image_17012025_13_09_58_6398.jpg
/media/data/images/17012025/13/09/image_17012025_13_09_52_5178.jpg
/media/data/images/17012025/13/09/image_17012025_13_09_47_6414.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329464834","1329464729","1329464714","1329464725","1329464719","1329464856"],"photo_ids_order":["1329464714","1329464719","1329464725","1329464729","1329464834","1329464856"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/655e49b1caa0de34dd3c270caa5bbdaa.jpg","text":"TemporaryFile(/tmp/multipartBody1325918087874770783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115906097,"filename":"image_17012025_13_09_52_5178.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/59c9ffee722ed43e3b3eea29ddfa2bdc.jpg","text":"TemporaryFile(/tmp/multipartBody733442865719081424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115906097,"filename":"image_17012025_13_09_58_6398.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/43021e6cea0a24436262b310cf62a8af.jpg","text":"TemporaryFile(/tmp/multipartBody4592540569514637427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115906097,"filename":"image_17012025_13_10_16_6432.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ac7b56eb14f6f7550a1aae28c9be1088.jpg","text":"TemporaryFile(/tmp/multipartBody3336322896988800238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115906097,"filename":"image_17012025_13_10_04_6304.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5cc02e641d409f6b6fec2695cc518765.jpg","text":"TemporaryFile(/tmp/multipartBody8503924467752881057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115906097,"filename":"image_17012025_13_10_10_5217.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/47e9d49bb7b5e570f0e6e046bf4086c7.jpg","text":"TemporaryFile(/tmp/multipartBody2530047203309779555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115906097,"filename":"image_17012025_13_09_47_6414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329464725","file1":"1329464719","file0":"1329464714","file4":"1329464834","file5":"1329464856","file3":"1329464729"},"map_files_photo_id_array":[{"photo_id":"1329464856","filename":"file5"},{"photo_id":"1329464725","filename":"file2"},{"photo_id":"1329464834","filename":"file4"},{"photo_id":"1329464719","filename":"file1"},{"photo_id":"1329464714","filename":"file0"},{"photo_id":"1329464729","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329464834":["hashtag1","hashtag2"]},{"1329464729":["hashtag1","hashtag2"]},{"1329464714":["hashtag1","hashtag2"]},{"1329464725":["hashtag1","hashtag2"]},{"1329464719":["hashtag1","hashtag2"]},{"1329464856":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329464834, 1329464729, 1329464714, 1329464725, 1329464719, 1329464856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60864019393921 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:11:22.139065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/11/image_17012025_13_11_52_5198.jpg', '/media/data/images/17012025/13/11/image_17012025_13_11_47_6451.jpg', '/media/data/images/17012025/13/11/image_17012025_13_11_40_6385.jpg', '/media/data/images/17012025/13/11/image_17012025_13_11_34_5156.jpg', '/media/data/images/17012025/13/11/image_17012025_13_11_29_6345.jpg', '/media/data/images/17012025/13/11/image_17012025_13_11_22_6375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/11/image_17012025_13_11_52_5198.jpg
/media/data/images/17012025/13/11/image_17012025_13_11_47_6451.jpg
/media/data/images/17012025/13/11/image_17012025_13_11_40_6385.jpg
/media/data/images/17012025/13/11/image_17012025_13_11_34_5156.jpg
/media/data/images/17012025/13/11/image_17012025_13_11_29_6345.jpg
/media/data/images/17012025/13/11/image_17012025_13_11_22_6375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329464904","1329464879","1329464896","1329464900","1329464908","1329464892"],"photo_ids_order":["1329464879","1329464892","1329464896","1329464900","1329464904","1329464908"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/92b0b35cb6d880fd8ff8080b8a2249f6.jpg","text":"TemporaryFile(/tmp/multipartBody4457510754820922636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115947848,"filename":"image_17012025_13_11_29_6345.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5b0fd6e5ca6109b51e657419ac8a7d92.jpg","text":"TemporaryFile(/tmp/multipartBody3632447786093383108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115947848,"filename":"image_17012025_13_11_52_5198.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fa7898a053d4923a33b189bcb3dc66fc.jpg","text":"TemporaryFile(/tmp/multipartBody2014147778892954222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115947848,"filename":"image_17012025_13_11_40_6385.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b3de201cdad29ac4d524a9de9b125c96.jpg","text":"TemporaryFile(/tmp/multipartBody8691765028205588035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115947848,"filename":"image_17012025_13_11_34_5156.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/36414c3006d2cae62765f11015c6f866.jpg","text":"TemporaryFile(/tmp/multipartBody5145794658482168471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115947848,"filename":"image_17012025_13_11_22_6375.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/81a19fbd30ac74b59a330f5ce3acfdcc.jpg","text":"TemporaryFile(/tmp/multipartBody1502943978610876167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737115947848,"filename":"image_17012025_13_11_47_6451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329464896","file1":"1329464892","file0":"1329464879","file4":"1329464904","file5":"1329464908","file3":"1329464900"},"map_files_photo_id_array":[{"photo_id":"1329464908","filename":"file5"},{"photo_id":"1329464896","filename":"file2"},{"photo_id":"1329464904","filename":"file4"},{"photo_id":"1329464892","filename":"file1"},{"photo_id":"1329464879","filename":"file0"},{"photo_id":"1329464900","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329464904":["hashtag1","hashtag2"]},{"1329464879":["hashtag1","hashtag2"]},{"1329464896":["hashtag1","hashtag2"]},{"1329464900":["hashtag1","hashtag2"]},{"1329464908":["hashtag1","hashtag2"]},{"1329464892":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329464904, 1329464879, 1329464896, 1329464900, 1329464908, 1329464892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.45270228385925 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:12:22.272380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/12/image_17012025_13_12_52_6390.jpg', '/media/data/images/17012025/13/12/image_17012025_13_12_46_5206.jpg', '/media/data/images/17012025/13/12/image_17012025_13_12_41_6413.jpg', '/media/data/images/17012025/13/12/image_17012025_13_12_34_6416.jpg', '/media/data/images/17012025/13/12/image_17012025_13_12_28_5230.jpg', '/media/data/images/17012025/13/12/image_17012025_13_12_23_6396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/12/image_17012025_13_12_52_6390.jpg
/media/data/images/17012025/13/12/image_17012025_13_12_46_5206.jpg
/media/data/images/17012025/13/12/image_17012025_13_12_41_6413.jpg
/media/data/images/17012025/13/12/image_17012025_13_12_34_6416.jpg
/media/data/images/17012025/13/12/image_17012025_13_12_28_5230.jpg
/media/data/images/17012025/13/12/image_17012025_13_12_23_6396.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329465158","1329465155","1329465128","1329465130","1329465135","1329465150"],"photo_ids_order":["1329465128","1329465130","1329465135","1329465150","1329465155","1329465158"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/11a993f89d4e9b3f967e78058936581c.jpg","text":"TemporaryFile(/tmp/multipartBody8647213411678707108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116009814,"filename":"image_17012025_13_12_23_6396.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/795c7ae52ad2c6d0db9976e7674c4256.jpg","text":"TemporaryFile(/tmp/multipartBody7897490571681008057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116009814,"filename":"image_17012025_13_12_28_5230.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6a70b3f4501ab39c83813e61e8d323a5.jpg","text":"TemporaryFile(/tmp/multipartBody6469498102606514388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116009814,"filename":"image_17012025_13_12_52_6390.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b32feea0cfee1c948e4d48ecb82e9ac6.jpg","text":"TemporaryFile(/tmp/multipartBody489211354202800012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116009814,"filename":"image_17012025_13_12_46_5206.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/10d6c397f10416a3cab2510d2779d264.jpg","text":"TemporaryFile(/tmp/multipartBody1451152016653805451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116009814,"filename":"image_17012025_13_12_41_6413.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/afc02f283aeb1d2ef07fa8c6b2358783.jpg","text":"TemporaryFile(/tmp/multipartBody270053667716496240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116009814,"filename":"image_17012025_13_12_34_6416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329465135","file1":"1329465130","file0":"1329465128","file4":"1329465155","file5":"1329465158","file3":"1329465150"},"map_files_photo_id_array":[{"photo_id":"1329465158","filename":"file5"},{"photo_id":"1329465135","filename":"file2"},{"photo_id":"1329465155","filename":"file4"},{"photo_id":"1329465130","filename":"file1"},{"photo_id":"1329465128","filename":"file0"},{"photo_id":"1329465150","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329465158":["hashtag1","hashtag2"]},{"1329465155":["hashtag1","hashtag2"]},{"1329465128":["hashtag1","hashtag2"]},{"1329465130":["hashtag1","hashtag2"]},{"1329465135":["hashtag1","hashtag2"]},{"1329465150":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329465158, 1329465155, 1329465128, 1329465130, 1329465135, 1329465150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.229050636291504 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:13:22.337276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/13/image_17012025_13_13_52_6459.jpg', '/media/data/images/17012025/13/13/image_17012025_13_13_46_5187.jpg', '/media/data/images/17012025/13/13/image_17012025_13_13_41_6392.jpg', '/media/data/images/17012025/13/13/image_17012025_13_13_34_6388.jpg', '/media/data/images/17012025/13/13/image_17012025_13_13_28_5181.jpg', '/media/data/images/17012025/13/13/image_17012025_13_13_23_6384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/13/image_17012025_13_13_52_6459.jpg
/media/data/images/17012025/13/13/image_17012025_13_13_46_5187.jpg
/media/data/images/17012025/13/13/image_17012025_13_13_41_6392.jpg
/media/data/images/17012025/13/13/image_17012025_13_13_34_6388.jpg
/media/data/images/17012025/13/13/image_17012025_13_13_28_5181.jpg
/media/data/images/17012025/13/13/image_17012025_13_13_23_6384.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329465290","1329465206","1329465589","1329465238","1329465462","1329465549"],"photo_ids_order":["1329465206","1329465238","1329465290","1329465462","1329465549","1329465589"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/facb30485aafe5043693cc0c53ebb80e.jpg","text":"TemporaryFile(/tmp/multipartBody3540041363007602604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116066433,"filename":"image_17012025_13_13_41_6392.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/abb6fe719563155ff17607b14006109e.jpg","text":"TemporaryFile(/tmp/multipartBody8158333386520047104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116066433,"filename":"image_17012025_13_13_52_6459.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2a2f12fe9feb95fc5d2fc67d23bb82be.jpg","text":"TemporaryFile(/tmp/multipartBody1961555553595059323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116066433,"filename":"image_17012025_13_13_23_6384.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b3c17a48bc75a61dc20ecf191eea410c.jpg","text":"TemporaryFile(/tmp/multipartBody1062407253047615645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116066433,"filename":"image_17012025_13_13_46_5187.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a4473e281524107188f387c68035b37b.jpg","text":"TemporaryFile(/tmp/multipartBody8986361769425870665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116066433,"filename":"image_17012025_13_13_34_6388.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0ea78dff1bb0431a662d159dabe4a28a.jpg","text":"TemporaryFile(/tmp/multipartBody2215462527531115783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116066433,"filename":"image_17012025_13_13_28_5181.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329465290","file1":"1329465238","file0":"1329465206","file4":"1329465549","file5":"1329465589","file3":"1329465462"},"map_files_photo_id_array":[{"photo_id":"1329465589","filename":"file5"},{"photo_id":"1329465290","filename":"file2"},{"photo_id":"1329465549","filename":"file4"},{"photo_id":"1329465238","filename":"file1"},{"photo_id":"1329465206","filename":"file0"},{"photo_id":"1329465462","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329465290":["hashtag1","hashtag2"]},{"1329465206":["hashtag1","hashtag2"]},{"1329465589":["hashtag1","hashtag2"]},{"1329465238":["hashtag1","hashtag2"]},{"1329465462":["hashtag1","hashtag2"]},{"1329465549":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329465290, 1329465206, 1329465589, 1329465238, 1329465462, 1329465549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.44530010223389 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:14:02.949350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/13/image_17012025_13_13_16_6392.jpg', '/media/data/images/17012025/13/13/image_17012025_13_13_10_5200.jpg', '/media/data/images/17012025/13/13/image_17012025_13_13_05_6198.jpg', '/media/data/images/17012025/13/12/image_17012025_13_12_59_6384.jpg', '/media/data/images/17012025/13/12/image_17012025_13_12_16_6355.jpg', '/media/data/images/17012025/13/12/image_17012025_13_12_10_5213.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/13/image_17012025_13_13_16_6392.jpg
/media/data/images/17012025/13/13/image_17012025_13_13_10_5200.jpg
/media/data/images/17012025/13/13/image_17012025_13_13_05_6198.jpg
/media/data/images/17012025/13/12/image_17012025_13_12_59_6384.jpg
/media/data/images/17012025/13/12/image_17012025_13_12_16_6355.jpg
/media/data/images/17012025/13/12/image_17012025_13_12_10_5213.jpg
2025-01-17 13:14:03.088800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/13/image_17012025_13_13_16_6392.jpg', '/media/data/images/17012025/13/13/image_17012025_13_13_10_5200.jpg', '/media/data/images/17012025/13/13/image_17012025_13_13_05_6198.jpg', '/media/data/images/17012025/13/12/image_17012025_13_12_59_6384.jpg', '/media/data/images/17012025/13/12/image_17012025_13_12_16_6355.jpg', '/media/data/images/17012025/13/12/image_17012025_13_12_10_5213.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/13/image_17012025_13_13_16_6392.jpg
/media/data/images/17012025/13/13/image_17012025_13_13_10_5200.jpg
/media/data/images/17012025/13/13/image_17012025_13_13_05_6198.jpg
/media/data/images/17012025/13/12/image_17012025_13_12_59_6384.jpg
/media/data/images/17012025/13/12/image_17012025_13_12_16_6355.jpg
/media/data/images/17012025/13/12/image_17012025_13_12_10_5213.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329465656","1329465676","1329465646","1329465643","1329465669","1329465666"],"photo_ids_order":["1329465643","1329465646","1329465656","1329465666","1329465669","1329465676"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c9d3b8ae50a64542b475a6b05705cac1.jpg","text":"TemporaryFile(/tmp/multipartBody5981904097982951366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116111498,"filename":"image_17012025_13_13_05_6198.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/003ddc41e589958f127ff809c825796f.jpg","text":"TemporaryFile(/tmp/multipartBody4113326739117785821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116111498,"filename":"image_17012025_13_12_10_5213.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bc3d437f2090cc05182592f79186c1fe.jpg","text":"TemporaryFile(/tmp/multipartBody3521670802352471686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116111498,"filename":"image_17012025_13_13_10_5200.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7560412d5bcd125419d0c71ce60a0951.jpg","text":"TemporaryFile(/tmp/multipartBody8678691760821050451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116111498,"filename":"image_17012025_13_13_16_6392.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b5b8eeb4c41eedff81abb4441a5e304a.jpg","text":"TemporaryFile(/tmp/multipartBody6444793217283366583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116111498,"filename":"image_17012025_13_12_16_6355.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1a0238362be0ed3d6722500523da8915.jpg","text":"TemporaryFile(/tmp/multipartBody4355524377112164698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116111498,"filename":"image_17012025_13_12_59_6384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329465656","file1":"1329465646","file0":"1329465643","file4":"1329465669","file5":"1329465676","file3":"1329465666"},"map_files_photo_id_array":[{"photo_id":"1329465676","filename":"file5"},{"photo_id":"1329465656","filename":"file2"},{"photo_id":"1329465669","filename":"file4"},{"photo_id":"1329465646","filename":"file1"},{"photo_id":"1329465643","filename":"file0"},{"photo_id":"1329465666","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329465656":["hashtag1","hashtag2"]},{"1329465676":["hashtag1","hashtag2"]},{"1329465646":["hashtag1","hashtag2"]},{"1329465643":["hashtag1","hashtag2"]},{"1329465669":["hashtag1","hashtag2"]},{"1329465666":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329465656, 1329465676, 1329465646, 1329465643, 1329465669, 1329465666)","result":[],"list_datou_current":[]}'
Result OK !
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329465668","1329465677","1329465647","1329465667","1329465640","1329465657"],"photo_ids_order":["1329465640","1329465647","1329465657","1329465667","1329465668","1329465677"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0cc6093a071a645feb94df6ff36ed4d6.jpg","text":"TemporaryFile(/tmp/multipartBody1289646045085985267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116110960,"filename":"image_17012025_13_12_16_6355.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1579400d1de0ea2e1c1c99bd0904a154.jpg","text":"TemporaryFile(/tmp/multipartBody2550712855466918222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116110960,"filename":"image_17012025_13_12_10_5213.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/65e6fbed6a18cf10e5fa9def284ac6ae.jpg","text":"TemporaryFile(/tmp/multipartBody6912272898678122082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116110960,"filename":"image_17012025_13_13_10_5200.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9b3b010fc51ef0898a5edc015ee353af.jpg","text":"TemporaryFile(/tmp/multipartBody834148327127331622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116110960,"filename":"image_17012025_13_12_59_6384.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8d2277939c0ecd7bc4e870ecba96f664.jpg","text":"TemporaryFile(/tmp/multipartBody7101344025088915879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116110960,"filename":"image_17012025_13_13_16_6392.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6c1aaf1b85c5abc0f84bdbbfdc98f41a.jpg","text":"TemporaryFile(/tmp/multipartBody1696723531207541702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116110960,"filename":"image_17012025_13_13_05_6198.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329465657","file1":"1329465647","file0":"1329465640","file4":"1329465668","file5":"1329465677","file3":"1329465667"},"map_files_photo_id_array":[{"photo_id":"1329465677","filename":"file5"},{"photo_id":"1329465657","filename":"file2"},{"photo_id":"1329465668","filename":"file4"},{"photo_id":"1329465647","filename":"file1"},{"photo_id":"1329465640","filename":"file0"},{"photo_id":"1329465667","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329465668":["hashtag1","hashtag2"]},{"1329465677":["hashtag1","hashtag2"]},{"1329465647":["hashtag1","hashtag2"]},{"1329465667":["hashtag1","hashtag2"]},{"1329465640":["hashtag1","hashtag2"]},{"1329465657":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329465668, 1329465677, 1329465647, 1329465667, 1329465640, 1329465657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.06676006317139 secondes ---
uploaded 6 photos
time to upload: 44.217719316482544 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:15:02.914587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/14/image_17012025_13_14_52_5297.jpg', '/media/data/images/17012025/13/14/image_17012025_13_14_47_6517.jpg', '/media/data/images/17012025/13/14/image_17012025_13_14_40_5296.jpg', '/media/data/images/17012025/13/14/image_17012025_13_14_35_6520.jpg', '/media/data/images/17012025/13/14/image_17012025_13_14_28_6543.jpg', '/media/data/images/17012025/13/14/image_17012025_13_14_22_5229.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/14/image_17012025_13_14_52_5297.jpg
/media/data/images/17012025/13/14/image_17012025_13_14_47_6517.jpg
/media/data/images/17012025/13/14/image_17012025_13_14_40_5296.jpg
/media/data/images/17012025/13/14/image_17012025_13_14_35_6520.jpg
/media/data/images/17012025/13/14/image_17012025_13_14_28_6543.jpg
/media/data/images/17012025/13/14/image_17012025_13_14_22_5229.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329465755","1329465743","1329465763","1329465766","1329465760","1329465768"],"photo_ids_order":["1329465743","1329465755","1329465760","1329465763","1329465766","1329465768"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1459e008247d1be63ffdb4343c7a380a.jpg","text":"TemporaryFile(/tmp/multipartBody9043008049105412048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116170845,"filename":"image_17012025_13_14_47_6517.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2fb3a93c4856a98e5dc26d55e86a8f53.jpg","text":"TemporaryFile(/tmp/multipartBody3443955358850139317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116170845,"filename":"image_17012025_13_14_52_5297.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b47c2e0cacc9561f183e5b17451f0455.jpg","text":"TemporaryFile(/tmp/multipartBody2356815092770268974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116170845,"filename":"image_17012025_13_14_35_6520.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ddc42a595873f49f9a16241ba817ff04.jpg","text":"TemporaryFile(/tmp/multipartBody8977063593546027771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116170845,"filename":"image_17012025_13_14_28_6543.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b4be040e3191c8298ceca498feb1abe8.jpg","text":"TemporaryFile(/tmp/multipartBody6208036543845246177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116170845,"filename":"image_17012025_13_14_40_5296.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ca4e0c19452b51306741f7dbffb17a6f.jpg","text":"TemporaryFile(/tmp/multipartBody3502532852012335981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116170845,"filename":"image_17012025_13_14_22_5229.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329465760","file1":"1329465755","file0":"1329465743","file4":"1329465766","file5":"1329465768","file3":"1329465763"},"map_files_photo_id_array":[{"photo_id":"1329465768","filename":"file5"},{"photo_id":"1329465760","filename":"file2"},{"photo_id":"1329465766","filename":"file4"},{"photo_id":"1329465755","filename":"file1"},{"photo_id":"1329465743","filename":"file0"},{"photo_id":"1329465763","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329465755":["hashtag1","hashtag2"]},{"1329465743":["hashtag1","hashtag2"]},{"1329465763":["hashtag1","hashtag2"]},{"1329465766":["hashtag1","hashtag2"]},{"1329465760":["hashtag1","hashtag2"]},{"1329465768":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329465755, 1329465743, 1329465763, 1329465766, 1329465760, 1329465768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.109007358551025 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:16:02.866290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/15/image_17012025_13_15_52_6532.jpg', '/media/data/images/17012025/13/15/image_17012025_13_15_46_5295.jpg', '/media/data/images/17012025/13/15/image_17012025_13_15_40_6536.jpg', '/media/data/images/17012025/13/15/image_17012025_13_15_34_5286.jpg', '/media/data/images/17012025/13/15/image_17012025_13_15_29_6534.jpg', '/media/data/images/17012025/13/15/image_17012025_13_15_22_5311.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/15/image_17012025_13_15_52_6532.jpg
/media/data/images/17012025/13/15/image_17012025_13_15_46_5295.jpg
/media/data/images/17012025/13/15/image_17012025_13_15_40_6536.jpg
/media/data/images/17012025/13/15/image_17012025_13_15_34_5286.jpg
/media/data/images/17012025/13/15/image_17012025_13_15_29_6534.jpg
/media/data/images/17012025/13/15/image_17012025_13_15_22_5311.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329465797","1329465801","1329465793","1329465806","1329465808","1329465804"],"photo_ids_order":["1329465793","1329465797","1329465801","1329465804","1329465806","1329465808"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c9eb4b6524a582d2f9986951b43b9b85.jpg","text":"TemporaryFile(/tmp/multipartBody1307735029341964994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116231874,"filename":"image_17012025_13_15_46_5295.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a754883ae5f5ad362eba9cb3cfab296c.jpg","text":"TemporaryFile(/tmp/multipartBody7432923049237908041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116231874,"filename":"image_17012025_13_15_40_6536.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c77beb365d395d9559c9a9c01c8197ac.jpg","text":"TemporaryFile(/tmp/multipartBody1804743471517706338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116231874,"filename":"image_17012025_13_15_52_6532.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5ff7903804f98dbc6b3f2e411018cd24.jpg","text":"TemporaryFile(/tmp/multipartBody2045212735144645033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116231874,"filename":"image_17012025_13_15_29_6534.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ae59dc86f67ea187848b0695824c070d.jpg","text":"TemporaryFile(/tmp/multipartBody7531858433614740329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116231874,"filename":"image_17012025_13_15_22_5311.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e6896343d83d730294ab5949a32e08db.jpg","text":"TemporaryFile(/tmp/multipartBody5586937675277398798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116231874,"filename":"image_17012025_13_15_34_5286.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329465801","file1":"1329465797","file0":"1329465793","file4":"1329465806","file5":"1329465808","file3":"1329465804"},"map_files_photo_id_array":[{"photo_id":"1329465808","filename":"file5"},{"photo_id":"1329465801","filename":"file2"},{"photo_id":"1329465806","filename":"file4"},{"photo_id":"1329465797","filename":"file1"},{"photo_id":"1329465793","filename":"file0"},{"photo_id":"1329465804","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329465797":["hashtag1","hashtag2"]},{"1329465801":["hashtag1","hashtag2"]},{"1329465793":["hashtag1","hashtag2"]},{"1329465806":["hashtag1","hashtag2"]},{"1329465808":["hashtag1","hashtag2"]},{"1329465804":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329465797, 1329465801, 1329465793, 1329465806, 1329465808, 1329465804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.29013442993164 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:17:03.005975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/16/image_17012025_13_16_52_6506.jpg', '/media/data/images/17012025/13/16/image_17012025_13_16_46_5282.jpg', '/media/data/images/17012025/13/16/image_17012025_13_16_41_6524.jpg', '/media/data/images/17012025/13/16/image_17012025_13_16_34_5285.jpg', '/media/data/images/17012025/13/16/image_17012025_13_16_29_6523.jpg', '/media/data/images/17012025/13/16/image_17012025_13_16_22_6527.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/16/image_17012025_13_16_52_6506.jpg
/media/data/images/17012025/13/16/image_17012025_13_16_46_5282.jpg
/media/data/images/17012025/13/16/image_17012025_13_16_41_6524.jpg
/media/data/images/17012025/13/16/image_17012025_13_16_34_5285.jpg
/media/data/images/17012025/13/16/image_17012025_13_16_29_6523.jpg
/media/data/images/17012025/13/16/image_17012025_13_16_22_6527.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329465896","1329465884","1329465866","1329465911","1329465859","1329465910"],"photo_ids_order":["1329465859","1329465866","1329465884","1329465896","1329465910","1329465911"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1972e8de06613195b72ffe4dd3c459f9.jpg","text":"TemporaryFile(/tmp/multipartBody4249738147475345558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116289633,"filename":"image_17012025_13_16_34_5285.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cf629348bb08a6d0f8e2c2fa815ee0eb.jpg","text":"TemporaryFile(/tmp/multipartBody4811090474526210188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116289633,"filename":"image_17012025_13_16_41_6524.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5289bff55e453a394b4116273c7dbb48.jpg","text":"TemporaryFile(/tmp/multipartBody8907021811036023925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116289633,"filename":"image_17012025_13_16_46_5282.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/18e2a6bbfc2e48a312daeb6f94d99aa4.jpg","text":"TemporaryFile(/tmp/multipartBody3813256545652495204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116289633,"filename":"image_17012025_13_16_22_6527.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c967f8c3a295349b3fc9a32271f509ee.jpg","text":"TemporaryFile(/tmp/multipartBody6489576799049803574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116289633,"filename":"image_17012025_13_16_52_6506.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/72aa035a2449519d039df93cbd7547bd.jpg","text":"TemporaryFile(/tmp/multipartBody5484306571693145159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116289633,"filename":"image_17012025_13_16_29_6523.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329465884","file1":"1329465866","file0":"1329465859","file4":"1329465910","file5":"1329465911","file3":"1329465896"},"map_files_photo_id_array":[{"photo_id":"1329465911","filename":"file5"},{"photo_id":"1329465884","filename":"file2"},{"photo_id":"1329465910","filename":"file4"},{"photo_id":"1329465866","filename":"file1"},{"photo_id":"1329465859","filename":"file0"},{"photo_id":"1329465896","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329465896":["hashtag1","hashtag2"]},{"1329465884":["hashtag1","hashtag2"]},{"1329465866":["hashtag1","hashtag2"]},{"1329465911":["hashtag1","hashtag2"]},{"1329465859":["hashtag1","hashtag2"]},{"1329465910":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329465896, 1329465884, 1329465866, 1329465911, 1329465859, 1329465910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.77580785751343 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:18:01.929652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/16/image_17012025_13_16_16_5307.jpg', '/media/data/images/17012025/13/16/image_17012025_13_16_10_6554.jpg', '/media/data/images/17012025/13/16/image_17012025_13_16_04_5100.jpg', '/media/data/images/17012025/13/15/image_17012025_13_15_59_6523.jpg', '/media/data/images/17012025/13/15/image_17012025_13_15_17_6565.jpg', '/media/data/images/17012025/13/15/image_17012025_13_15_10_6556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/16/image_17012025_13_16_16_5307.jpg
/media/data/images/17012025/13/16/image_17012025_13_16_10_6554.jpg
/media/data/images/17012025/13/16/image_17012025_13_16_04_5100.jpg
/media/data/images/17012025/13/15/image_17012025_13_15_59_6523.jpg
/media/data/images/17012025/13/15/image_17012025_13_15_17_6565.jpg
/media/data/images/17012025/13/15/image_17012025_13_15_10_6556.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: 10.820979356765747 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:18:21.807050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/16/image_17012025_13_16_16_5307.jpg', '/media/data/images/17012025/13/16/image_17012025_13_16_10_6554.jpg', '/media/data/images/17012025/13/16/image_17012025_13_16_04_5100.jpg', '/media/data/images/17012025/13/15/image_17012025_13_15_59_6523.jpg', '/media/data/images/17012025/13/15/image_17012025_13_15_17_6565.jpg', '/media/data/images/17012025/13/15/image_17012025_13_15_10_6556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/16/image_17012025_13_16_16_5307.jpg
/media/data/images/17012025/13/16/image_17012025_13_16_10_6554.jpg
/media/data/images/17012025/13/16/image_17012025_13_16_04_5100.jpg
/media/data/images/17012025/13/15/image_17012025_13_15_59_6523.jpg
/media/data/images/17012025/13/15/image_17012025_13_15_17_6565.jpg
/media/data/images/17012025/13/15/image_17012025_13_15_10_6556.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329465971","1329465950","1329465955","1329465990","1329465975","1329465960"],"photo_ids_order":["1329465950","1329465955","1329465960","1329465971","1329465975","1329465990"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/aac4c51fcbfc1fb0683299f329029523.jpg","text":"TemporaryFile(/tmp/multipartBody206701791522367618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116369814,"filename":"image_17012025_13_15_59_6523.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cf59f16777b646b37e3aad51015f874f.jpg","text":"TemporaryFile(/tmp/multipartBody9183259210369466940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116369814,"filename":"image_17012025_13_16_16_5307.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2526fd254c7d4d2a5cdac8685a53e6ca.jpg","text":"TemporaryFile(/tmp/multipartBody8798311183342797224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116369814,"filename":"image_17012025_13_16_10_6554.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2959fcb41966bc6db7037050af102ab0.jpg","text":"TemporaryFile(/tmp/multipartBody441301481750305541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116369814,"filename":"image_17012025_13_15_10_6556.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a0567b23d94db58302d601c84707b0f0.jpg","text":"TemporaryFile(/tmp/multipartBody1578398313600229278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116369814,"filename":"image_17012025_13_15_17_6565.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e1d93a37eeddb8804e77668de9fab5ca.jpg","text":"TemporaryFile(/tmp/multipartBody7192495262920726446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116369814,"filename":"image_17012025_13_16_04_5100.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329465960","file1":"1329465955","file0":"1329465950","file4":"1329465975","file5":"1329465990","file3":"1329465971"},"map_files_photo_id_array":[{"photo_id":"1329465990","filename":"file5"},{"photo_id":"1329465960","filename":"file2"},{"photo_id":"1329465975","filename":"file4"},{"photo_id":"1329465955","filename":"file1"},{"photo_id":"1329465950","filename":"file0"},{"photo_id":"1329465971","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329465971":["hashtag1","hashtag2"]},{"1329465950":["hashtag1","hashtag2"]},{"1329465955":["hashtag1","hashtag2"]},{"1329465990":["hashtag1","hashtag2"]},{"1329465975":["hashtag1","hashtag2"]},{"1329465960":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329465971, 1329465950, 1329465955, 1329465990, 1329465975, 1329465960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.4934024810791 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:19:21.928981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/15/image_17012025_13_15_04_5160.jpg', '/media/data/images/17012025/13/14/image_17012025_13_14_59_6549.jpg', '/media/data/images/17012025/13/14/image_17012025_13_14_17_6397.jpg', '/media/data/images/17012025/13/14/image_17012025_13_14_10_6403.jpg', '/media/data/images/17012025/13/14/image_17012025_13_14_04_5016.jpg', '/media/data/images/17012025/13/13/image_17012025_13_13_59_6391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/15/image_17012025_13_15_04_5160.jpg
/media/data/images/17012025/13/14/image_17012025_13_14_59_6549.jpg
/media/data/images/17012025/13/14/image_17012025_13_14_17_6397.jpg
/media/data/images/17012025/13/14/image_17012025_13_14_10_6403.jpg
/media/data/images/17012025/13/14/image_17012025_13_14_04_5016.jpg
/media/data/images/17012025/13/13/image_17012025_13_13_59_6391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329466031","1329466081","1329466039","1329466062","1329466035","1329466044"],"photo_ids_order":["1329466031","1329466035","1329466039","1329466044","1329466062","1329466081"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a5d2f5c8d4d0f30eb71f038d22c7a684.jpg","text":"TemporaryFile(/tmp/multipartBody7492375578936739060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116427068,"filename":"image_17012025_13_15_04_5160.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f4057b87f27a092e69ce08c604aa579c.jpg","text":"TemporaryFile(/tmp/multipartBody3701810384146952027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116427068,"filename":"image_17012025_13_13_59_6391.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6148616ab04505c263a9b6ef3a62ca5b.jpg","text":"TemporaryFile(/tmp/multipartBody6187334645895661852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116427068,"filename":"image_17012025_13_14_17_6397.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f8f5e236512189b6358a6b6f5919bfa2.jpg","text":"TemporaryFile(/tmp/multipartBody1828270459729623303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116427068,"filename":"image_17012025_13_14_04_5016.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9850dfdf0754242392e5d3cdc2daf205.jpg","text":"TemporaryFile(/tmp/multipartBody1658310901943618657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116427068,"filename":"image_17012025_13_14_59_6549.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/be2b978a26d615324b2212e93dd5535d.jpg","text":"TemporaryFile(/tmp/multipartBody3450387102337139950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116427068,"filename":"image_17012025_13_14_10_6403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329466039","file1":"1329466035","file0":"1329466031","file4":"1329466062","file5":"1329466081","file3":"1329466044"},"map_files_photo_id_array":[{"photo_id":"1329466081","filename":"file5"},{"photo_id":"1329466039","filename":"file2"},{"photo_id":"1329466062","filename":"file4"},{"photo_id":"1329466035","filename":"file1"},{"photo_id":"1329466031","filename":"file0"},{"photo_id":"1329466044","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329466031":["hashtag1","hashtag2"]},{"1329466081":["hashtag1","hashtag2"]},{"1329466039":["hashtag1","hashtag2"]},{"1329466062":["hashtag1","hashtag2"]},{"1329466035":["hashtag1","hashtag2"]},{"1329466044":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329466031, 1329466081, 1329466039, 1329466062, 1329466035, 1329466044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.70489430427551 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:20:22.013349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/12/image_17012025_13_12_05_6225.jpg', '/media/data/images/17012025/13/11/image_17012025_13_11_58_6427.jpg', '/media/data/images/17012025/13/11/image_17012025_13_11_16_5184.jpg', '/media/data/images/17012025/13/11/image_17012025_13_11_11_6344.jpg', '/media/data/images/17012025/13/11/image_17012025_13_11_04_6169.jpg', '/media/data/images/17012025/13/10/image_17012025_13_10_58_6374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/12/image_17012025_13_12_05_6225.jpg
/media/data/images/17012025/13/11/image_17012025_13_11_58_6427.jpg
/media/data/images/17012025/13/11/image_17012025_13_11_16_5184.jpg
/media/data/images/17012025/13/11/image_17012025_13_11_11_6344.jpg
/media/data/images/17012025/13/11/image_17012025_13_11_04_6169.jpg
/media/data/images/17012025/13/10/image_17012025_13_10_58_6374.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329467032","1329467064","1329467043","1329467055","1329467060","1329467039"],"photo_ids_order":["1329467032","1329467039","1329467043","1329467055","1329467060","1329467064"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/382091e8795451e730a9549f40da10d3.jpg","text":"TemporaryFile(/tmp/multipartBody1960351628441441819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116486928,"filename":"image_17012025_13_12_05_6225.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7e39d2765eb5e03502a30401ce49efc2.jpg","text":"TemporaryFile(/tmp/multipartBody174548311852361864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116486928,"filename":"image_17012025_13_10_58_6374.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/133eda9ed11e28b9549b9dc058f6d6b7.jpg","text":"TemporaryFile(/tmp/multipartBody963888933873992400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116486928,"filename":"image_17012025_13_11_16_5184.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/203a36eed304b731f83c04c570acedae.jpg","text":"TemporaryFile(/tmp/multipartBody5033769806657077105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116486928,"filename":"image_17012025_13_11_11_6344.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/80a89d0d9963e34f89badce636c01859.jpg","text":"TemporaryFile(/tmp/multipartBody981083622076848839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116486928,"filename":"image_17012025_13_11_04_6169.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a55be8782c95b887ee6da3bd49f00bf7.jpg","text":"TemporaryFile(/tmp/multipartBody5378336630090961159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116486928,"filename":"image_17012025_13_11_58_6427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329467043","file1":"1329467039","file0":"1329467032","file4":"1329467060","file5":"1329467064","file3":"1329467055"},"map_files_photo_id_array":[{"photo_id":"1329467064","filename":"file5"},{"photo_id":"1329467043","filename":"file2"},{"photo_id":"1329467060","filename":"file4"},{"photo_id":"1329467039","filename":"file1"},{"photo_id":"1329467032","filename":"file0"},{"photo_id":"1329467055","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329467032":["hashtag1","hashtag2"]},{"1329467064":["hashtag1","hashtag2"]},{"1329467043":["hashtag1","hashtag2"]},{"1329467055":["hashtag1","hashtag2"]},{"1329467060":["hashtag1","hashtag2"]},{"1329467039":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329467032, 1329467064, 1329467043, 1329467055, 1329467060, 1329467039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.01933288574219 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:21:02.558209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/10/image_17012025_13_10_52_5162.jpg', '/media/data/images/17012025/13/10/image_17012025_13_10_47_6362.jpg', '/media/data/images/17012025/13/10/image_17012025_13_10_40_6299.jpg', '/media/data/images/17012025/13/10/image_17012025_13_10_34_6373.jpg', '/media/data/images/17012025/13/10/image_17012025_13_10_28_5177.jpg', '/media/data/images/17012025/13/10/image_17012025_13_10_23_6404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/10/image_17012025_13_10_52_5162.jpg
/media/data/images/17012025/13/10/image_17012025_13_10_47_6362.jpg
/media/data/images/17012025/13/10/image_17012025_13_10_40_6299.jpg
/media/data/images/17012025/13/10/image_17012025_13_10_34_6373.jpg
/media/data/images/17012025/13/10/image_17012025_13_10_28_5177.jpg
/media/data/images/17012025/13/10/image_17012025_13_10_23_6404.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329467392","1329467111","1329467092","1329467251","1329467113","1329467073"],"photo_ids_order":["1329467073","1329467092","1329467111","1329467113","1329467251","1329467392"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9d9a18992b9ca7bc70d27d613e48d448.jpg","text":"TemporaryFile(/tmp/multipartBody5578047257481526608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116525895,"filename":"image_17012025_13_10_23_6404.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/66eb45e1c364e379cef4ea5848676a14.jpg","text":"TemporaryFile(/tmp/multipartBody867181952099287709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116525895,"filename":"image_17012025_13_10_40_6299.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/472219d4445b56efa63ea633be7b608d.jpg","text":"TemporaryFile(/tmp/multipartBody1645516111114084360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116525895,"filename":"image_17012025_13_10_47_6362.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/eaf772667ce82b8be74a7124ab724a45.jpg","text":"TemporaryFile(/tmp/multipartBody9076965701944121408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116525895,"filename":"image_17012025_13_10_28_5177.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5441ec96b4536d61c0e5b2d377c78d26.jpg","text":"TemporaryFile(/tmp/multipartBody148042793867503081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116525895,"filename":"image_17012025_13_10_34_6373.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7f3c12ec3d573540252bad5ab5e019ed.jpg","text":"TemporaryFile(/tmp/multipartBody95991057360784588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116525895,"filename":"image_17012025_13_10_52_5162.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329467111","file1":"1329467092","file0":"1329467073","file4":"1329467251","file5":"1329467392","file3":"1329467113"},"map_files_photo_id_array":[{"photo_id":"1329467392","filename":"file5"},{"photo_id":"1329467111","filename":"file2"},{"photo_id":"1329467251","filename":"file4"},{"photo_id":"1329467092","filename":"file1"},{"photo_id":"1329467073","filename":"file0"},{"photo_id":"1329467113","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329467392":["hashtag1","hashtag2"]},{"1329467111":["hashtag1","hashtag2"]},{"1329467092":["hashtag1","hashtag2"]},{"1329467251":["hashtag1","hashtag2"]},{"1329467113":["hashtag1","hashtag2"]},{"1329467073":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329467392, 1329467111, 1329467092, 1329467251, 1329467113, 1329467073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.40467715263367 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:22:02.371824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/20/image_17012025_13_20_46_5306.jpg', '/media/data/images/17012025/13/20/image_17012025_13_20_40_6532.jpg', '/media/data/images/17012025/13/20/image_17012025_13_20_34_5287.jpg', '/media/data/images/17012025/13/20/image_17012025_13_20_29_6546.jpg', '/media/data/images/17012025/13/20/image_17012025_13_20_22_5299.jpg', '/media/data/images/17012025/13/20/image_17012025_13_20_17_6555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/20/image_17012025_13_20_46_5306.jpg
/media/data/images/17012025/13/20/image_17012025_13_20_40_6532.jpg
/media/data/images/17012025/13/20/image_17012025_13_20_34_5287.jpg
/media/data/images/17012025/13/20/image_17012025_13_20_29_6546.jpg
/media/data/images/17012025/13/20/image_17012025_13_20_22_5299.jpg
/media/data/images/17012025/13/20/image_17012025_13_20_17_6555.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329467609","1329467590","1329467605","1329467612","1329467606","1329467540"],"photo_ids_order":["1329467540","1329467590","1329467605","1329467606","1329467609","1329467612"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5cddf9fbff78d6d76941c55399f75b99.jpg","text":"TemporaryFile(/tmp/multipartBody2812703402486545330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116589170,"filename":"image_17012025_13_20_22_5299.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7a04f9aeda963447067665846fb0a3ee.jpg","text":"TemporaryFile(/tmp/multipartBody7216625635391977873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116589170,"filename":"image_17012025_13_20_40_6532.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/31e85d32f1aff78aa43b73beea2975ab.jpg","text":"TemporaryFile(/tmp/multipartBody8421431577818943435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116589170,"filename":"image_17012025_13_20_34_5287.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e95f16b4863967aab6788f9f5bf421b1.jpg","text":"TemporaryFile(/tmp/multipartBody6858289570237296257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116589170,"filename":"image_17012025_13_20_17_6555.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/960ba9eaf8494b4f1c127c6a916f4cff.jpg","text":"TemporaryFile(/tmp/multipartBody4438824518070101584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116589170,"filename":"image_17012025_13_20_29_6546.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9eb3bf2e3f52b2dae68d50585244cc40.jpg","text":"TemporaryFile(/tmp/multipartBody8002147024502841589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116589170,"filename":"image_17012025_13_20_46_5306.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329467605","file1":"1329467590","file0":"1329467540","file4":"1329467609","file5":"1329467612","file3":"1329467606"},"map_files_photo_id_array":[{"photo_id":"1329467612","filename":"file5"},{"photo_id":"1329467605","filename":"file2"},{"photo_id":"1329467609","filename":"file4"},{"photo_id":"1329467590","filename":"file1"},{"photo_id":"1329467540","filename":"file0"},{"photo_id":"1329467606","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329467609":["hashtag1","hashtag2"]},{"1329467590":["hashtag1","hashtag2"]},{"1329467605":["hashtag1","hashtag2"]},{"1329467612":["hashtag1","hashtag2"]},{"1329467606":["hashtag1","hashtag2"]},{"1329467540":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329467609, 1329467590, 1329467605, 1329467612, 1329467606, 1329467540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.06542420387268 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:22:42.180848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/22/image_17012025_13_22_52_6516.jpg', '/media/data/images/17012025/13/22/image_17012025_13_22_46_5274.jpg', '/media/data/images/17012025/13/22/image_17012025_13_22_41_6498.jpg', '/media/data/images/17012025/13/22/image_17012025_13_22_34_5283.jpg', '/media/data/images/17012025/13/22/image_17012025_13_22_29_6520.jpg', '/media/data/images/17012025/13/22/image_17012025_13_22_22_6551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/22/image_17012025_13_22_52_6516.jpg
/media/data/images/17012025/13/22/image_17012025_13_22_46_5274.jpg
/media/data/images/17012025/13/22/image_17012025_13_22_41_6498.jpg
/media/data/images/17012025/13/22/image_17012025_13_22_34_5283.jpg
/media/data/images/17012025/13/22/image_17012025_13_22_29_6520.jpg
/media/data/images/17012025/13/22/image_17012025_13_22_22_6551.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329467659","1329467638","1329467691","1329467622","1329467625","1329467675"],"photo_ids_order":["1329467622","1329467625","1329467638","1329467659","1329467675","1329467691"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0f706274b39925cb4cab38bccfbf8d74.jpg","text":"TemporaryFile(/tmp/multipartBody8281953676388606503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116628406,"filename":"image_17012025_13_22_34_5283.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/36e7bc8ba6077b33bdbd391a841aaf83.jpg","text":"TemporaryFile(/tmp/multipartBody5568700186952712732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116628406,"filename":"image_17012025_13_22_41_6498.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/11864322aeefd885aad3ac96b0fb9d02.jpg","text":"TemporaryFile(/tmp/multipartBody3016596421027056022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116628406,"filename":"image_17012025_13_22_22_6551.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3af85963dea1cc4ad4a0101a5b64fd6e.jpg","text":"TemporaryFile(/tmp/multipartBody7004713031672033728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116628406,"filename":"image_17012025_13_22_52_6516.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/79129b5567a22f5fe1dc844fc74b2702.jpg","text":"TemporaryFile(/tmp/multipartBody294749772941880303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116628406,"filename":"image_17012025_13_22_46_5274.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ef21c4386349dc2db94e39982adac39d.jpg","text":"TemporaryFile(/tmp/multipartBody7888309145456541748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116628406,"filename":"image_17012025_13_22_29_6520.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329467638","file1":"1329467625","file0":"1329467622","file4":"1329467675","file5":"1329467691","file3":"1329467659"},"map_files_photo_id_array":[{"photo_id":"1329467691","filename":"file5"},{"photo_id":"1329467638","filename":"file2"},{"photo_id":"1329467675","filename":"file4"},{"photo_id":"1329467625","filename":"file1"},{"photo_id":"1329467622","filename":"file0"},{"photo_id":"1329467659","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329467659":["hashtag1","hashtag2"]},{"1329467638":["hashtag1","hashtag2"]},{"1329467691":["hashtag1","hashtag2"]},{"1329467622":["hashtag1","hashtag2"]},{"1329467625":["hashtag1","hashtag2"]},{"1329467675":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329467659, 1329467638, 1329467691, 1329467622, 1329467625, 1329467675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.552873611450195 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:23:42.307723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/22/image_17012025_13_22_16_5280.jpg', '/media/data/images/17012025/13/22/image_17012025_13_22_10_6526.jpg', '/media/data/images/17012025/13/22/image_17012025_13_22_04_5277.jpg', '/media/data/images/17012025/13/21/image_17012025_13_21_59_6510.jpg', '/media/data/images/17012025/13/21/image_17012025_13_21_52_5250.jpg', '/media/data/images/17012025/13/21/image_17012025_13_21_47_6509.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/22/image_17012025_13_22_16_5280.jpg
/media/data/images/17012025/13/22/image_17012025_13_22_10_6526.jpg
/media/data/images/17012025/13/22/image_17012025_13_22_04_5277.jpg
/media/data/images/17012025/13/21/image_17012025_13_21_59_6510.jpg
/media/data/images/17012025/13/21/image_17012025_13_21_52_5250.jpg
/media/data/images/17012025/13/21/image_17012025_13_21_47_6509.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329467734","1329467743","1329467725","1329467730","1329467738","1329467747"],"photo_ids_order":["1329467725","1329467730","1329467734","1329467738","1329467743","1329467747"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bc2630c2a023cdb5dd4cf276be237fd8.jpg","text":"TemporaryFile(/tmp/multipartBody7234017026791095882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116688692,"filename":"image_17012025_13_22_04_5277.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e61fab377e506e8d0b9be6b6d410934d.jpg","text":"TemporaryFile(/tmp/multipartBody3273684195259858996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116688692,"filename":"image_17012025_13_21_52_5250.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1115991084ae1beaf7f1aec07fd02169.jpg","text":"TemporaryFile(/tmp/multipartBody6985463968705237370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116688692,"filename":"image_17012025_13_22_16_5280.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/78e4cb9f7756b05fddd7f9f743b47b64.jpg","text":"TemporaryFile(/tmp/multipartBody4794249322832503348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116688692,"filename":"image_17012025_13_22_10_6526.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b56dda6e92e51b4c9d10f0fa4f8e7e29.jpg","text":"TemporaryFile(/tmp/multipartBody674932106546954050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116688692,"filename":"image_17012025_13_21_59_6510.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/206312017b0aec78149fac35bd8ef5f3.jpg","text":"TemporaryFile(/tmp/multipartBody4910043400408724310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116688692,"filename":"image_17012025_13_21_47_6509.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329467734","file1":"1329467730","file0":"1329467725","file4":"1329467743","file5":"1329467747","file3":"1329467738"},"map_files_photo_id_array":[{"photo_id":"1329467747","filename":"file5"},{"photo_id":"1329467734","filename":"file2"},{"photo_id":"1329467743","filename":"file4"},{"photo_id":"1329467730","filename":"file1"},{"photo_id":"1329467725","filename":"file0"},{"photo_id":"1329467738","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329467734":["hashtag1","hashtag2"]},{"1329467743":["hashtag1","hashtag2"]},{"1329467725":["hashtag1","hashtag2"]},{"1329467730":["hashtag1","hashtag2"]},{"1329467738":["hashtag1","hashtag2"]},{"1329467747":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329467734, 1329467743, 1329467725, 1329467730, 1329467738, 1329467747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.535890340805054 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:24:42.419742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/21/image_17012025_13_21_40_6517.jpg', '/media/data/images/17012025/13/21/image_17012025_13_21_34_5283.jpg', '/media/data/images/17012025/13/21/image_17012025_13_21_29_6563.jpg', '/media/data/images/17012025/13/21/image_17012025_13_21_10_5414.jpg', '/media/data/images/17012025/13/20/image_17012025_13_20_52_6590.jpg', '/media/data/images/17012025/13/20/image_17012025_13_20_10_6540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/21/image_17012025_13_21_40_6517.jpg
/media/data/images/17012025/13/21/image_17012025_13_21_34_5283.jpg
/media/data/images/17012025/13/21/image_17012025_13_21_29_6563.jpg
/media/data/images/17012025/13/21/image_17012025_13_21_10_5414.jpg
/media/data/images/17012025/13/20/image_17012025_13_20_52_6590.jpg
/media/data/images/17012025/13/20/image_17012025_13_20_10_6540.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329467785","1329467787","1329467949","1329467790","1329467943","1329467795"],"photo_ids_order":["1329467785","1329467787","1329467790","1329467795","1329467943","1329467949"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/72947a8e4930554a37d7a4523f6b1804.jpg","text":"TemporaryFile(/tmp/multipartBody3240816150602660063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116750253,"filename":"image_17012025_13_21_40_6517.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fc911d39ab27d34c98f98306acade286.jpg","text":"TemporaryFile(/tmp/multipartBody5091669161817657716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116750253,"filename":"image_17012025_13_21_34_5283.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6a82ce241314c2ef45027fad099c0878.jpg","text":"TemporaryFile(/tmp/multipartBody600631607311556326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116750253,"filename":"image_17012025_13_20_10_6540.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e8ea7fbc2da5c96517268bc99d1d8505.jpg","text":"TemporaryFile(/tmp/multipartBody3572645522239591566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116750253,"filename":"image_17012025_13_21_29_6563.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0553667f781a403e67d5c1f57917e969.jpg","text":"TemporaryFile(/tmp/multipartBody6389836682634286959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116750253,"filename":"image_17012025_13_20_52_6590.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/785396e714312cc822086d009dd8c132.jpg","text":"TemporaryFile(/tmp/multipartBody2853979931397507347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116750253,"filename":"image_17012025_13_21_10_5414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329467790","file1":"1329467787","file0":"1329467785","file4":"1329467943","file5":"1329467949","file3":"1329467795"},"map_files_photo_id_array":[{"photo_id":"1329467949","filename":"file5"},{"photo_id":"1329467790","filename":"file2"},{"photo_id":"1329467943","filename":"file4"},{"photo_id":"1329467787","filename":"file1"},{"photo_id":"1329467785","filename":"file0"},{"photo_id":"1329467795","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329467785":["hashtag1","hashtag2"]},{"1329467787":["hashtag1","hashtag2"]},{"1329467949":["hashtag1","hashtag2"]},{"1329467790":["hashtag1","hashtag2"]},{"1329467943":["hashtag1","hashtag2"]},{"1329467795":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329467785, 1329467787, 1329467949, 1329467790, 1329467943, 1329467795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.881518602371216 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:25:42.496500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/20/image_17012025_13_20_04_5151.jpg', '/media/data/images/17012025/13/19/image_17012025_13_19_59_6560.jpg', '/media/data/images/17012025/13/19/image_17012025_13_19_52_5329.jpg', '/media/data/images/17012025/13/19/image_17012025_13_19_47_6562.jpg', '/media/data/images/17012025/13/19/image_17012025_13_19_40_5293.jpg', '/media/data/images/17012025/13/19/image_17012025_13_19_35_6529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/20/image_17012025_13_20_04_5151.jpg
/media/data/images/17012025/13/19/image_17012025_13_19_59_6560.jpg
/media/data/images/17012025/13/19/image_17012025_13_19_52_5329.jpg
/media/data/images/17012025/13/19/image_17012025_13_19_47_6562.jpg
/media/data/images/17012025/13/19/image_17012025_13_19_40_5293.jpg
/media/data/images/17012025/13/19/image_17012025_13_19_35_6529.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329468070","1329468064","1329468067","1329468046","1329468030","1329468071"],"photo_ids_order":["1329468030","1329468046","1329468064","1329468067","1329468070","1329468071"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c6908a77f8d11fe72242f88a6987c1b6.jpg","text":"TemporaryFile(/tmp/multipartBody1667084144658050333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116809730,"filename":"image_17012025_13_19_40_5293.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/853f97c4e8f1f2dac6f053dba64072fb.jpg","text":"TemporaryFile(/tmp/multipartBody2116852441343803966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116809730,"filename":"image_17012025_13_19_52_5329.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5fb7c7bfa61cb53783932e2af65bfdca.jpg","text":"TemporaryFile(/tmp/multipartBody5320861560748534011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116809730,"filename":"image_17012025_13_19_47_6562.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a6572493048c84c38040003ea6402a0c.jpg","text":"TemporaryFile(/tmp/multipartBody8638644269057372827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116809730,"filename":"image_17012025_13_19_59_6560.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/03923566eb477ff05eb1f804ea3a9185.jpg","text":"TemporaryFile(/tmp/multipartBody6236757176349675084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116809730,"filename":"image_17012025_13_20_04_5151.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c4ae3f4a45fe9b80fca01f4e0d3c64ea.jpg","text":"TemporaryFile(/tmp/multipartBody3908650753244285587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116809730,"filename":"image_17012025_13_19_35_6529.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329468064","file1":"1329468046","file0":"1329468030","file4":"1329468070","file5":"1329468071","file3":"1329468067"},"map_files_photo_id_array":[{"photo_id":"1329468071","filename":"file5"},{"photo_id":"1329468064","filename":"file2"},{"photo_id":"1329468070","filename":"file4"},{"photo_id":"1329468046","filename":"file1"},{"photo_id":"1329468030","filename":"file0"},{"photo_id":"1329468067","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329468070":["hashtag1","hashtag2"]},{"1329468064":["hashtag1","hashtag2"]},{"1329468067":["hashtag1","hashtag2"]},{"1329468046":["hashtag1","hashtag2"]},{"1329468030":["hashtag1","hashtag2"]},{"1329468071":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329468070, 1329468064, 1329468067, 1329468046, 1329468030, 1329468071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.99257826805115 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:26:42.576588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/19/image_17012025_13_19_28_6586.jpg', '/media/data/images/17012025/13/19/image_17012025_13_19_22_5336.jpg', '/media/data/images/17012025/13/19/image_17012025_13_19_16_6575.jpg', '/media/data/images/17012025/13/19/image_17012025_13_19_10_5300.jpg', '/media/data/images/17012025/13/19/image_17012025_13_19_05_6332.jpg', '/media/data/images/17012025/13/18/image_17012025_13_18_58_5290.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/19/image_17012025_13_19_28_6586.jpg
/media/data/images/17012025/13/19/image_17012025_13_19_22_5336.jpg
/media/data/images/17012025/13/19/image_17012025_13_19_16_6575.jpg
/media/data/images/17012025/13/19/image_17012025_13_19_10_5300.jpg
/media/data/images/17012025/13/19/image_17012025_13_19_05_6332.jpg
/media/data/images/17012025/13/18/image_17012025_13_18_58_5290.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329468178","1329468112","1329468155","1329468134","1329468104","1329468175"],"photo_ids_order":["1329468104","1329468112","1329468134","1329468155","1329468175","1329468178"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/de69350ea3d40b21537766151dc6ebf3.jpg","text":"TemporaryFile(/tmp/multipartBody5628093257098095473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116869210,"filename":"image_17012025_13_18_58_5290.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/03addf3cd8ef6cb513ddba3ba3017628.jpg","text":"TemporaryFile(/tmp/multipartBody7954002670625715711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116869210,"filename":"image_17012025_13_19_22_5336.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2372d3a5decabf4d4b5b67d910d80c01.jpg","text":"TemporaryFile(/tmp/multipartBody1215933503930124115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116869210,"filename":"image_17012025_13_19_10_5300.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/633d61f35bbbd556b6692f195dd8e7dd.jpg","text":"TemporaryFile(/tmp/multipartBody26739231762904284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116869210,"filename":"image_17012025_13_19_16_6575.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e70249b32c452c6874f84cde1f337d4e.jpg","text":"TemporaryFile(/tmp/multipartBody2637888394730425287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116869210,"filename":"image_17012025_13_19_28_6586.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/85456941400842b9ac354dd608e326f3.jpg","text":"TemporaryFile(/tmp/multipartBody2467741714776210251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116869210,"filename":"image_17012025_13_19_05_6332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329468134","file1":"1329468112","file0":"1329468104","file4":"1329468175","file5":"1329468178","file3":"1329468155"},"map_files_photo_id_array":[{"photo_id":"1329468178","filename":"file5"},{"photo_id":"1329468134","filename":"file2"},{"photo_id":"1329468175","filename":"file4"},{"photo_id":"1329468112","filename":"file1"},{"photo_id":"1329468104","filename":"file0"},{"photo_id":"1329468155","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329468178":["hashtag1","hashtag2"]},{"1329468112":["hashtag1","hashtag2"]},{"1329468155":["hashtag1","hashtag2"]},{"1329468134":["hashtag1","hashtag2"]},{"1329468104":["hashtag1","hashtag2"]},{"1329468175":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329468178, 1329468112, 1329468155, 1329468134, 1329468104, 1329468175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.55228900909424 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:27:42.671649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/18/image_17012025_13_18_53_6526.jpg', '/media/data/images/17012025/13/18/image_17012025_13_18_46_6543.jpg', '/media/data/images/17012025/13/18/image_17012025_13_18_40_5298.jpg', '/media/data/images/17012025/13/18/image_17012025_13_18_35_6559.jpg', '/media/data/images/17012025/13/18/image_17012025_13_18_23_6648.jpg', '/media/data/images/17012025/13/18/image_17012025_13_18_16_5410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/18/image_17012025_13_18_53_6526.jpg
/media/data/images/17012025/13/18/image_17012025_13_18_46_6543.jpg
/media/data/images/17012025/13/18/image_17012025_13_18_40_5298.jpg
/media/data/images/17012025/13/18/image_17012025_13_18_35_6559.jpg
/media/data/images/17012025/13/18/image_17012025_13_18_23_6648.jpg
/media/data/images/17012025/13/18/image_17012025_13_18_16_5410.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329468264","1329468273","1329468267","1329468240","1329468251","1329468271"],"photo_ids_order":["1329468240","1329468251","1329468264","1329468267","1329468271","1329468273"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/91b12e11b2b571f9d55e950ee423b3c7.jpg","text":"TemporaryFile(/tmp/multipartBody1868527789441920007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116931620,"filename":"image_17012025_13_18_40_5298.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6878086e743d70052d7b413f8aa3c1a0.jpg","text":"TemporaryFile(/tmp/multipartBody4839170617532950866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116931620,"filename":"image_17012025_13_18_16_5410.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/992023f7fb190c8b32be35a6b15be64c.jpg","text":"TemporaryFile(/tmp/multipartBody7696340446068714741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116931620,"filename":"image_17012025_13_18_35_6559.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d100dac2614663a4adaeebe205b94049.jpg","text":"TemporaryFile(/tmp/multipartBody204526859301612594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116931620,"filename":"image_17012025_13_18_53_6526.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c9194c379af1ad81f62eeb6eaf73e08f.jpg","text":"TemporaryFile(/tmp/multipartBody8172819329414276493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116931620,"filename":"image_17012025_13_18_46_6543.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7703f98d8c91074db6c3370430b42a48.jpg","text":"TemporaryFile(/tmp/multipartBody2077939007407524677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116931620,"filename":"image_17012025_13_18_23_6648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329468264","file1":"1329468251","file0":"1329468240","file4":"1329468271","file5":"1329468273","file3":"1329468267"},"map_files_photo_id_array":[{"photo_id":"1329468273","filename":"file5"},{"photo_id":"1329468264","filename":"file2"},{"photo_id":"1329468271","filename":"file4"},{"photo_id":"1329468251","filename":"file1"},{"photo_id":"1329468240","filename":"file0"},{"photo_id":"1329468267","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329468264":["hashtag1","hashtag2"]},{"1329468273":["hashtag1","hashtag2"]},{"1329468267":["hashtag1","hashtag2"]},{"1329468240":["hashtag1","hashtag2"]},{"1329468251":["hashtag1","hashtag2"]},{"1329468271":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329468264, 1329468273, 1329468267, 1329468240, 1329468251, 1329468271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.44354867935181 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:28:41.780066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/18/image_17012025_13_18_11_6698.jpg', '/media/data/images/17012025/13/18/image_17012025_13_18_04_5135.jpg', '/media/data/images/17012025/13/17/image_17012025_13_17_59_6673.jpg', '/media/data/images/17012025/13/17/image_17012025_13_17_52_5317.jpg', '/media/data/images/17012025/13/17/image_17012025_13_17_47_6562.jpg', '/media/data/images/17012025/13/17/image_17012025_13_17_40_5308.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/18/image_17012025_13_18_11_6698.jpg
/media/data/images/17012025/13/18/image_17012025_13_18_04_5135.jpg
/media/data/images/17012025/13/17/image_17012025_13_17_59_6673.jpg
/media/data/images/17012025/13/17/image_17012025_13_17_52_5317.jpg
/media/data/images/17012025/13/17/image_17012025_13_17_47_6562.jpg
/media/data/images/17012025/13/17/image_17012025_13_17_40_5308.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329468382","1329468361","1329468364","1329468385","1329468388","1329468367"],"photo_ids_order":["1329468361","1329468364","1329468367","1329468382","1329468385","1329468388"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c5a0a447ff8d50bc0b9f66749b7bbdf0.jpg","text":"TemporaryFile(/tmp/multipartBody6469927063621645427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116994171,"filename":"image_17012025_13_17_52_5317.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/507f2077d314f7b22aa4fdc90a1a1d27.jpg","text":"TemporaryFile(/tmp/multipartBody7105147492854160068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116994171,"filename":"image_17012025_13_18_11_6698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/97ee25f1d8ccd690b82cccff8b3e895a.jpg","text":"TemporaryFile(/tmp/multipartBody9028029375679451190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116994171,"filename":"image_17012025_13_18_04_5135.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6225ffb2ff6a87c39c550e04ec34617b.jpg","text":"TemporaryFile(/tmp/multipartBody7059400499984887882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116994171,"filename":"image_17012025_13_17_47_6562.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0fbc74e5c3c2b24e2bca40e1086b9081.jpg","text":"TemporaryFile(/tmp/multipartBody8143112267968646144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116994171,"filename":"image_17012025_13_17_40_5308.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2af9ed409021726e84e2392bd36dd15f.jpg","text":"TemporaryFile(/tmp/multipartBody6881580620722680772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737116994171,"filename":"image_17012025_13_17_59_6673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329468367","file1":"1329468364","file0":"1329468361","file4":"1329468385","file5":"1329468388","file3":"1329468382"},"map_files_photo_id_array":[{"photo_id":"1329468388","filename":"file5"},{"photo_id":"1329468367","filename":"file2"},{"photo_id":"1329468385","filename":"file4"},{"photo_id":"1329468364","filename":"file1"},{"photo_id":"1329468361","filename":"file0"},{"photo_id":"1329468382","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329468382":["hashtag1","hashtag2"]},{"1329468361":["hashtag1","hashtag2"]},{"1329468364":["hashtag1","hashtag2"]},{"1329468385":["hashtag1","hashtag2"]},{"1329468388":["hashtag1","hashtag2"]},{"1329468367":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329468382, 1329468361, 1329468364, 1329468385, 1329468388, 1329468367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.77868366241455 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:29:41.866061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/17/image_17012025_13_17_35_6560.jpg', '/media/data/images/17012025/13/17/image_17012025_13_17_28_6546.jpg', '/media/data/images/17012025/13/17/image_17012025_13_17_22_5334.jpg', '/media/data/images/17012025/13/17/image_17012025_13_17_16_6570.jpg', '/media/data/images/17012025/13/17/image_17012025_13_17_10_5372.jpg', '/media/data/images/17012025/13/16/image_17012025_13_17_04_6705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/17/image_17012025_13_17_35_6560.jpg
/media/data/images/17012025/13/17/image_17012025_13_17_28_6546.jpg
/media/data/images/17012025/13/17/image_17012025_13_17_22_5334.jpg
/media/data/images/17012025/13/17/image_17012025_13_17_16_6570.jpg
/media/data/images/17012025/13/17/image_17012025_13_17_10_5372.jpg
/media/data/images/17012025/13/16/image_17012025_13_17_04_6705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329468463","1329468445","1329468424","1329468459","1329468441","1329468411"],"photo_ids_order":["1329468411","1329468424","1329468441","1329468445","1329468459","1329468463"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/13dbe3208946d140c59e7eb6e97f31d3.jpg","text":"TemporaryFile(/tmp/multipartBody7407696767625336569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117049596,"filename":"image_17012025_13_17_04_6705.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b9105f1e64d7b23bed3d82fd2a4bb240.jpg","text":"TemporaryFile(/tmp/multipartBody9163936102481374473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117049596,"filename":"image_17012025_13_17_16_6570.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c89ed1be6fb8c700faeb3d07f46acbe3.jpg","text":"TemporaryFile(/tmp/multipartBody2066547207740330579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117049596,"filename":"image_17012025_13_17_28_6546.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5d2d0b460de3bd3e0a3113caf5696ce6.jpg","text":"TemporaryFile(/tmp/multipartBody8473713072647345681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117049596,"filename":"image_17012025_13_17_10_5372.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1675319ec6846dee5531cb11abc530d2.jpg","text":"TemporaryFile(/tmp/multipartBody3868930790577646693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117049596,"filename":"image_17012025_13_17_22_5334.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e7a2e010c4ba29bd32491c6671b22fdd.jpg","text":"TemporaryFile(/tmp/multipartBody8509396438920428303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117049596,"filename":"image_17012025_13_17_35_6560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329468441","file1":"1329468424","file0":"1329468411","file4":"1329468459","file5":"1329468463","file3":"1329468445"},"map_files_photo_id_array":[{"photo_id":"1329468463","filename":"file5"},{"photo_id":"1329468441","filename":"file2"},{"photo_id":"1329468459","filename":"file4"},{"photo_id":"1329468424","filename":"file1"},{"photo_id":"1329468411","filename":"file0"},{"photo_id":"1329468445","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329468463":["hashtag1","hashtag2"]},{"1329468445":["hashtag1","hashtag2"]},{"1329468424":["hashtag1","hashtag2"]},{"1329468459":["hashtag1","hashtag2"]},{"1329468441":["hashtag1","hashtag2"]},{"1329468411":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329468463, 1329468445, 1329468424, 1329468459, 1329468441, 1329468411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.77364802360535 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:30:41.954879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/16/image_17012025_13_16_58_5300.jpg', '/media/data/images/17012025/13/09/image_17012025_13_09_40_6390.jpg', '/media/data/images/17012025/13/09/image_17012025_13_09_34_5296.jpg', '/media/data/images/17012025/13/09/image_17012025_13_09_29_6610.jpg', '/media/data/images/17012025/13/09/image_17012025_13_09_22_5359.jpg', '/media/data/images/17012025/13/09/image_17012025_13_09_17_6605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/16/image_17012025_13_16_58_5300.jpg
/media/data/images/17012025/13/09/image_17012025_13_09_40_6390.jpg
/media/data/images/17012025/13/09/image_17012025_13_09_34_5296.jpg
/media/data/images/17012025/13/09/image_17012025_13_09_29_6610.jpg
/media/data/images/17012025/13/09/image_17012025_13_09_22_5359.jpg
/media/data/images/17012025/13/09/image_17012025_13_09_17_6605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329468700","1329468684","1329468677","1329468704","1329468688","1329468691"],"photo_ids_order":["1329468677","1329468684","1329468688","1329468691","1329468700","1329468704"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c185b7f4d04941971e2da611dfc4a714.jpg","text":"TemporaryFile(/tmp/multipartBody8130261641768657518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117108394,"filename":"image_17012025_13_09_22_5359.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6228c67ad8828a9dfd4ee182ba2500b5.jpg","text":"TemporaryFile(/tmp/multipartBody3389631095685249789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117108394,"filename":"image_17012025_13_09_40_6390.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dc94db076b627348aedf285e7cea6401.jpg","text":"TemporaryFile(/tmp/multipartBody7398888163392544829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117108394,"filename":"image_17012025_13_16_58_5300.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b300e37067b435ba5e4e1fc237b36377.jpg","text":"TemporaryFile(/tmp/multipartBody6185271481272928953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117108394,"filename":"image_17012025_13_09_17_6605.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/da75026ef9947cc8588f9776cee7748f.jpg","text":"TemporaryFile(/tmp/multipartBody6894017264831784878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117108394,"filename":"image_17012025_13_09_34_5296.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ae789ae7d32aa298b28787245d166f54.jpg","text":"TemporaryFile(/tmp/multipartBody3089551471693959805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117108394,"filename":"image_17012025_13_09_29_6610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329468688","file1":"1329468684","file0":"1329468677","file4":"1329468700","file5":"1329468704","file3":"1329468691"},"map_files_photo_id_array":[{"photo_id":"1329468704","filename":"file5"},{"photo_id":"1329468688","filename":"file2"},{"photo_id":"1329468700","filename":"file4"},{"photo_id":"1329468684","filename":"file1"},{"photo_id":"1329468677","filename":"file0"},{"photo_id":"1329468691","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329468700":["hashtag1","hashtag2"]},{"1329468684":["hashtag1","hashtag2"]},{"1329468677":["hashtag1","hashtag2"]},{"1329468704":["hashtag1","hashtag2"]},{"1329468688":["hashtag1","hashtag2"]},{"1329468691":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329468700, 1329468684, 1329468677, 1329468704, 1329468688, 1329468691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.67046499252319 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:31:42.075257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/09/image_17012025_13_09_10_5364.jpg', '/media/data/images/17012025/13/09/image_17012025_13_09_05_6419.jpg', '/media/data/images/17012025/13/08/image_17012025_13_08_58_5379.jpg', '/media/data/images/17012025/13/08/image_17012025_13_08_53_6629.jpg', '/media/data/images/17012025/13/08/image_17012025_13_08_46_5392.jpg', '/media/data/images/17012025/13/08/image_17012025_13_08_41_6651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/09/image_17012025_13_09_10_5364.jpg
/media/data/images/17012025/13/09/image_17012025_13_09_05_6419.jpg
/media/data/images/17012025/13/08/image_17012025_13_08_58_5379.jpg
/media/data/images/17012025/13/08/image_17012025_13_08_53_6629.jpg
/media/data/images/17012025/13/08/image_17012025_13_08_46_5392.jpg
/media/data/images/17012025/13/08/image_17012025_13_08_41_6651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329469194","1329469170","1329469155","1329469192","1329469186","1329469189"],"photo_ids_order":["1329469155","1329469170","1329469186","1329469189","1329469192","1329469194"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c189cb248fce023f0a309dd57e09e60b.jpg","text":"TemporaryFile(/tmp/multipartBody5932364406797716010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117183761,"filename":"image_17012025_13_08_41_6651.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a78f72159b9526c0d5cec83a1b65ed40.jpg","text":"TemporaryFile(/tmp/multipartBody6230388398716041564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117183761,"filename":"image_17012025_13_09_05_6419.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f0f6c5f1234aeb75aa9f037673c07f90.jpg","text":"TemporaryFile(/tmp/multipartBody6975475843980943053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117183761,"filename":"image_17012025_13_09_10_5364.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7b5b2fe6a4fe84d20fc82469765647e1.jpg","text":"TemporaryFile(/tmp/multipartBody2108427640809769863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117183761,"filename":"image_17012025_13_08_46_5392.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/992eb57ba98e6a72b17062a9df46a7b0.jpg","text":"TemporaryFile(/tmp/multipartBody6539905581613205800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117183761,"filename":"image_17012025_13_08_58_5379.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b45e6d0565def36ee0b589e213de474d.jpg","text":"TemporaryFile(/tmp/multipartBody48146670164319404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117183761,"filename":"image_17012025_13_08_53_6629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329469186","file1":"1329469170","file0":"1329469155","file4":"1329469192","file5":"1329469194","file3":"1329469189"},"map_files_photo_id_array":[{"photo_id":"1329469194","filename":"file5"},{"photo_id":"1329469186","filename":"file2"},{"photo_id":"1329469192","filename":"file4"},{"photo_id":"1329469170","filename":"file1"},{"photo_id":"1329469155","filename":"file0"},{"photo_id":"1329469189","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329469194":["hashtag1","hashtag2"]},{"1329469170":["hashtag1","hashtag2"]},{"1329469155":["hashtag1","hashtag2"]},{"1329469192":["hashtag1","hashtag2"]},{"1329469186":["hashtag1","hashtag2"]},{"1329469189":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329469194, 1329469170, 1329469155, 1329469192, 1329469186, 1329469189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.23100924491882 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:32:42.152205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/08/image_17012025_13_08_34_5364.jpg', '/media/data/images/17012025/13/08/image_17012025_13_08_29_6435.jpg', '/media/data/images/17012025/13/08/image_17012025_13_08_22_6590.jpg', '/media/data/images/17012025/13/08/image_17012025_13_08_16_5285.jpg', '/media/data/images/17012025/13/08/image_17012025_13_08_10_6485.jpg', '/media/data/images/17012025/13/08/image_17012025_13_08_04_5163.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/08/image_17012025_13_08_34_5364.jpg
/media/data/images/17012025/13/08/image_17012025_13_08_29_6435.jpg
/media/data/images/17012025/13/08/image_17012025_13_08_22_6590.jpg
/media/data/images/17012025/13/08/image_17012025_13_08_16_5285.jpg
/media/data/images/17012025/13/08/image_17012025_13_08_10_6485.jpg
/media/data/images/17012025/13/08/image_17012025_13_08_04_5163.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329469225","1329469221","1329469208","1329469252","1329469249","1329469234"],"photo_ids_order":["1329469208","1329469221","1329469225","1329469234","1329469249","1329469252"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6e14eccb6c70821d171f5e343b3f979d.jpg","text":"TemporaryFile(/tmp/multipartBody6804019654363909477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117228228,"filename":"image_17012025_13_08_22_6590.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9cee4b6e27a7b9345f80346d38229baf.jpg","text":"TemporaryFile(/tmp/multipartBody8843986796991138744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117228228,"filename":"image_17012025_13_08_29_6435.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4c1ce7df7765376ead6375d2def84ef9.jpg","text":"TemporaryFile(/tmp/multipartBody6305804091720378108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117228228,"filename":"image_17012025_13_08_34_5364.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ecb71f956b63bbe24576ecbd108df73e.jpg","text":"TemporaryFile(/tmp/multipartBody2653611403322729455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117228228,"filename":"image_17012025_13_08_04_5163.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f007f179abd25e33a6c913f3080fce47.jpg","text":"TemporaryFile(/tmp/multipartBody6982810628981635824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117228228,"filename":"image_17012025_13_08_10_6485.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/27d2b0d6f7d2282b052a6be4e319e402.jpg","text":"TemporaryFile(/tmp/multipartBody5095354786267705648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117228228,"filename":"image_17012025_13_08_16_5285.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329469225","file1":"1329469221","file0":"1329469208","file4":"1329469249","file5":"1329469252","file3":"1329469234"},"map_files_photo_id_array":[{"photo_id":"1329469252","filename":"file5"},{"photo_id":"1329469225","filename":"file2"},{"photo_id":"1329469249","filename":"file4"},{"photo_id":"1329469221","filename":"file1"},{"photo_id":"1329469208","filename":"file0"},{"photo_id":"1329469234","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329469225":["hashtag1","hashtag2"]},{"1329469221":["hashtag1","hashtag2"]},{"1329469208":["hashtag1","hashtag2"]},{"1329469252":["hashtag1","hashtag2"]},{"1329469249":["hashtag1","hashtag2"]},{"1329469234":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329469225, 1329469221, 1329469208, 1329469252, 1329469249, 1329469234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.02717709541321 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:33:42.248691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/07/image_17012025_13_07_59_6403.jpg', '/media/data/images/17012025/13/07/image_17012025_13_07_52_6366.jpg', '/media/data/images/17012025/13/07/image_17012025_13_07_46_5167.jpg', '/media/data/images/17012025/13/07/image_17012025_13_07_41_6383.jpg', '/media/data/images/17012025/13/07/image_17012025_13_07_34_6359.jpg', '/media/data/images/17012025/13/07/image_17012025_13_07_28_6376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/07/image_17012025_13_07_59_6403.jpg
/media/data/images/17012025/13/07/image_17012025_13_07_52_6366.jpg
/media/data/images/17012025/13/07/image_17012025_13_07_46_5167.jpg
/media/data/images/17012025/13/07/image_17012025_13_07_41_6383.jpg
/media/data/images/17012025/13/07/image_17012025_13_07_34_6359.jpg
/media/data/images/17012025/13/07/image_17012025_13_07_28_6376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329469350","1329469344","1329469340","1329469343","1329469313","1329469348"],"photo_ids_order":["1329469313","1329469340","1329469343","1329469344","1329469348","1329469350"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e0206688729f738ba2e2329e134d75f2.jpg","text":"TemporaryFile(/tmp/multipartBody2073312368659926602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117287577,"filename":"image_17012025_13_07_28_6376.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/40464cfee58d1c2c0c47eb11c939d76b.jpg","text":"TemporaryFile(/tmp/multipartBody3439168700025548762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117287577,"filename":"image_17012025_13_07_41_6383.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0f2329c6c91c23a6507ff4e586bbe798.jpg","text":"TemporaryFile(/tmp/multipartBody5415756712543842996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117287577,"filename":"image_17012025_13_07_52_6366.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5ea76f5cd9ab02ff236fb6942442bced.jpg","text":"TemporaryFile(/tmp/multipartBody8023258802852197438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117287577,"filename":"image_17012025_13_07_46_5167.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1b0df5c9f13b8a19cadbf0ce49cd1190.jpg","text":"TemporaryFile(/tmp/multipartBody757066469889785586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117287577,"filename":"image_17012025_13_07_59_6403.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e00c010b9e76a50422873b6d89454aa2.jpg","text":"TemporaryFile(/tmp/multipartBody8620935286106029323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117287577,"filename":"image_17012025_13_07_34_6359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329469343","file1":"1329469340","file0":"1329469313","file4":"1329469348","file5":"1329469350","file3":"1329469344"},"map_files_photo_id_array":[{"photo_id":"1329469350","filename":"file5"},{"photo_id":"1329469343","filename":"file2"},{"photo_id":"1329469348","filename":"file4"},{"photo_id":"1329469340","filename":"file1"},{"photo_id":"1329469313","filename":"file0"},{"photo_id":"1329469344","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329469350":["hashtag1","hashtag2"]},{"1329469344":["hashtag1","hashtag2"]},{"1329469340":["hashtag1","hashtag2"]},{"1329469343":["hashtag1","hashtag2"]},{"1329469313":["hashtag1","hashtag2"]},{"1329469348":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329469350, 1329469344, 1329469340, 1329469343, 1329469313, 1329469348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.48276352882385 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:34:42.362367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/07/image_17012025_13_07_22_5171.jpg', '/media/data/images/17012025/13/07/image_17012025_13_07_17_6398.jpg', '/media/data/images/17012025/13/07/image_17012025_13_07_10_6458.jpg', '/media/data/images/17012025/13/07/image_17012025_13_07_04_4973.jpg', '/media/data/images/17012025/13/06/image_17012025_13_06_59_6367.jpg', '/media/data/images/17012025/13/06/image_17012025_13_06_52_6389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/07/image_17012025_13_07_22_5171.jpg
/media/data/images/17012025/13/07/image_17012025_13_07_17_6398.jpg
/media/data/images/17012025/13/07/image_17012025_13_07_10_6458.jpg
/media/data/images/17012025/13/07/image_17012025_13_07_04_4973.jpg
/media/data/images/17012025/13/06/image_17012025_13_06_59_6367.jpg
/media/data/images/17012025/13/06/image_17012025_13_06_52_6389.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329469405","1329469398","1329469401","1329469391","1329469376","1329469387"],"photo_ids_order":["1329469376","1329469387","1329469391","1329469398","1329469401","1329469405"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/05fea52b222e3fb4af1386255349b68e.jpg","text":"TemporaryFile(/tmp/multipartBody5372030506440302360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117347149,"filename":"image_17012025_13_06_52_6389.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/17dc18394133bfa97bcd81a2c19cc641.jpg","text":"TemporaryFile(/tmp/multipartBody9163053530431117753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117347149,"filename":"image_17012025_13_07_04_4973.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b69280e9e63d8c3e510ab406dcc601df.jpg","text":"TemporaryFile(/tmp/multipartBody3869256367003752508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117347149,"filename":"image_17012025_13_06_59_6367.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/647d203299ad0026f50d13a848406748.jpg","text":"TemporaryFile(/tmp/multipartBody1085605594848720664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117347149,"filename":"image_17012025_13_07_10_6458.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7c28cf56d692860ae31ed24aa910bee9.jpg","text":"TemporaryFile(/tmp/multipartBody5401389899376571301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117347149,"filename":"image_17012025_13_07_22_5171.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f92ea9dd05acf4f23305a8f1ec1d82a2.jpg","text":"TemporaryFile(/tmp/multipartBody4031061582284954290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117347149,"filename":"image_17012025_13_07_17_6398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329469391","file1":"1329469387","file0":"1329469376","file4":"1329469401","file5":"1329469405","file3":"1329469398"},"map_files_photo_id_array":[{"photo_id":"1329469405","filename":"file5"},{"photo_id":"1329469391","filename":"file2"},{"photo_id":"1329469401","filename":"file4"},{"photo_id":"1329469387","filename":"file1"},{"photo_id":"1329469376","filename":"file0"},{"photo_id":"1329469398","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329469405":["hashtag1","hashtag2"]},{"1329469398":["hashtag1","hashtag2"]},{"1329469401":["hashtag1","hashtag2"]},{"1329469391":["hashtag1","hashtag2"]},{"1329469376":["hashtag1","hashtag2"]},{"1329469387":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329469405, 1329469398, 1329469401, 1329469391, 1329469376, 1329469387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.09231352806091 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:35:42.450396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/06/image_17012025_13_06_46_5163.jpg', '/media/data/images/17012025/13/06/image_17012025_13_06_41_6409.jpg', '/media/data/images/17012025/13/06/image_17012025_13_06_34_6365.jpg', '/media/data/images/17012025/13/06/image_17012025_13_06_28_5161.jpg', '/media/data/images/17012025/13/05/image_17012025_13_05_47_6368.jpg', '/media/data/images/17012025/13/05/image_17012025_13_05_40_6367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/06/image_17012025_13_06_46_5163.jpg
/media/data/images/17012025/13/06/image_17012025_13_06_41_6409.jpg
/media/data/images/17012025/13/06/image_17012025_13_06_34_6365.jpg
/media/data/images/17012025/13/06/image_17012025_13_06_28_5161.jpg
/media/data/images/17012025/13/05/image_17012025_13_05_47_6368.jpg
/media/data/images/17012025/13/05/image_17012025_13_05_40_6367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329469455","1329469500","1329469498","1329469483","1329469477","1329469462"],"photo_ids_order":["1329469455","1329469462","1329469477","1329469483","1329469498","1329469500"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5d7b35fd62dbe689a7899f141901e228.jpg","text":"TemporaryFile(/tmp/multipartBody8985003617456705302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117409026,"filename":"image_17012025_13_06_46_5163.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d7efc2295bc16a4496cf1df3e837e52b.jpg","text":"TemporaryFile(/tmp/multipartBody455685140902540336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117409026,"filename":"image_17012025_13_05_40_6367.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/26b367ddd58ff33fd569ce40c2c577ad.jpg","text":"TemporaryFile(/tmp/multipartBody8549116770022116658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117409026,"filename":"image_17012025_13_05_47_6368.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4e00e3c190a1fd3f8560dccce49361e0.jpg","text":"TemporaryFile(/tmp/multipartBody1024574572498733450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117409026,"filename":"image_17012025_13_06_28_5161.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8550f76d472d7531170ac05d3e291372.jpg","text":"TemporaryFile(/tmp/multipartBody1625947865201707150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117409026,"filename":"image_17012025_13_06_34_6365.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/daf67adfba991e7626676f4fd6cca2aa.jpg","text":"TemporaryFile(/tmp/multipartBody3300800620382708574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117409026,"filename":"image_17012025_13_06_41_6409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329469477","file1":"1329469462","file0":"1329469455","file4":"1329469498","file5":"1329469500","file3":"1329469483"},"map_files_photo_id_array":[{"photo_id":"1329469500","filename":"file5"},{"photo_id":"1329469477","filename":"file2"},{"photo_id":"1329469498","filename":"file4"},{"photo_id":"1329469462","filename":"file1"},{"photo_id":"1329469455","filename":"file0"},{"photo_id":"1329469483","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329469455":["hashtag1","hashtag2"]},{"1329469500":["hashtag1","hashtag2"]},{"1329469498":["hashtag1","hashtag2"]},{"1329469483":["hashtag1","hashtag2"]},{"1329469477":["hashtag1","hashtag2"]},{"1329469462":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329469455, 1329469500, 1329469498, 1329469483, 1329469477, 1329469462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.905327558517456 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:36:42.561485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/05/image_17012025_13_05_34_6361.jpg', '/media/data/images/17012025/13/05/image_17012025_13_05_28_5155.jpg', '/media/data/images/17012025/13/05/image_17012025_13_05_23_6378.jpg', '/media/data/images/17012025/13/05/image_17012025_13_05_16_6373.jpg', '/media/data/images/17012025/13/05/image_17012025_13_05_10_5179.jpg', '/media/data/images/17012025/13/04/image_17012025_13_05_05_6473.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/05/image_17012025_13_05_34_6361.jpg
/media/data/images/17012025/13/05/image_17012025_13_05_28_5155.jpg
/media/data/images/17012025/13/05/image_17012025_13_05_23_6378.jpg
/media/data/images/17012025/13/05/image_17012025_13_05_16_6373.jpg
/media/data/images/17012025/13/05/image_17012025_13_05_10_5179.jpg
/media/data/images/17012025/13/04/image_17012025_13_05_05_6473.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: 5.108043193817139 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:37:02.821478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/05/image_17012025_13_05_34_6361.jpg', '/media/data/images/17012025/13/05/image_17012025_13_05_28_5155.jpg', '/media/data/images/17012025/13/05/image_17012025_13_05_23_6378.jpg', '/media/data/images/17012025/13/05/image_17012025_13_05_16_6373.jpg', '/media/data/images/17012025/13/05/image_17012025_13_05_10_5179.jpg', '/media/data/images/17012025/13/04/image_17012025_13_05_05_6473.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/05/image_17012025_13_05_34_6361.jpg
/media/data/images/17012025/13/05/image_17012025_13_05_28_5155.jpg
/media/data/images/17012025/13/05/image_17012025_13_05_23_6378.jpg
/media/data/images/17012025/13/05/image_17012025_13_05_16_6373.jpg
/media/data/images/17012025/13/05/image_17012025_13_05_10_5179.jpg
/media/data/images/17012025/13/04/image_17012025_13_05_05_6473.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329469944","1329469842","1329469790","1329469879","1329469882","1329469876"],"photo_ids_order":["1329469790","1329469842","1329469876","1329469879","1329469882","1329469944"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/42574c08122dbb8f354ab5bee6a7ca0f.jpg","text":"TemporaryFile(/tmp/multipartBody1226374483202260187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117492904,"filename":"image_17012025_13_05_05_6473.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/525c27fa8ae2b1cf202855cf52d80ddc.jpg","text":"TemporaryFile(/tmp/multipartBody2661275025891491243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117492904,"filename":"image_17012025_13_05_28_5155.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f8e466fc103ced4a8b1f4dff889632f0.jpg","text":"TemporaryFile(/tmp/multipartBody8734048221386188109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117492904,"filename":"image_17012025_13_05_34_6361.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e6f3606e93155ad7fc2f5413b32ac267.jpg","text":"TemporaryFile(/tmp/multipartBody2413774576464013011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117492904,"filename":"image_17012025_13_05_16_6373.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c8dc7abc5582aa72d8505407a42e4b4d.jpg","text":"TemporaryFile(/tmp/multipartBody6130552278002481993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117492904,"filename":"image_17012025_13_05_10_5179.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9a6397c9be116eca8fa0cfef2c3f7d70.jpg","text":"TemporaryFile(/tmp/multipartBody7641831898275133854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117492904,"filename":"image_17012025_13_05_23_6378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329469876","file1":"1329469842","file0":"1329469790","file4":"1329469882","file5":"1329469944","file3":"1329469879"},"map_files_photo_id_array":[{"photo_id":"1329469944","filename":"file5"},{"photo_id":"1329469876","filename":"file2"},{"photo_id":"1329469882","filename":"file4"},{"photo_id":"1329469842","filename":"file1"},{"photo_id":"1329469790","filename":"file0"},{"photo_id":"1329469879","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329469944":["hashtag1","hashtag2"]},{"1329469842":["hashtag1","hashtag2"]},{"1329469790":["hashtag1","hashtag2"]},{"1329469879":["hashtag1","hashtag2"]},{"1329469882":["hashtag1","hashtag2"]},{"1329469876":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329469944, 1329469842, 1329469790, 1329469879, 1329469882, 1329469876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.80352807044983 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:38:02.871536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/04/image_17012025_13_04_58_6332.jpg', '/media/data/images/17012025/13/04/image_17012025_13_04_52_5242.jpg', '/media/data/images/17012025/13/04/image_17012025_13_04_47_6555.jpg', '/media/data/images/17012025/13/04/image_17012025_13_04_40_5278.jpg', '/media/data/images/17012025/13/04/image_17012025_13_04_35_6480.jpg', '/media/data/images/17012025/13/04/image_17012025_13_04_28_6575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/04/image_17012025_13_04_58_6332.jpg
/media/data/images/17012025/13/04/image_17012025_13_04_52_5242.jpg
/media/data/images/17012025/13/04/image_17012025_13_04_47_6555.jpg
/media/data/images/17012025/13/04/image_17012025_13_04_40_5278.jpg
/media/data/images/17012025/13/04/image_17012025_13_04_35_6480.jpg
/media/data/images/17012025/13/04/image_17012025_13_04_28_6575.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329470203","1329470206","1329470196","1329470199","1329470192","1329470189"],"photo_ids_order":["1329470189","1329470192","1329470196","1329470199","1329470203","1329470206"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d0fb3abcf9c84ae1b86573eec32abf07.jpg","text":"TemporaryFile(/tmp/multipartBody331279494760471434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117554051,"filename":"image_17012025_13_04_35_6480.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/eb30a8e78fc42e3924c5c8f625dfc431.jpg","text":"TemporaryFile(/tmp/multipartBody6435939024386988060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117554051,"filename":"image_17012025_13_04_28_6575.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/180c102a4cd35cf7881e06ca2e0a4b3f.jpg","text":"TemporaryFile(/tmp/multipartBody814280664821697887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117554051,"filename":"image_17012025_13_04_47_6555.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d727e5926d7f9a3bb879e61341ef00e8.jpg","text":"TemporaryFile(/tmp/multipartBody9122732429410671194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117554051,"filename":"image_17012025_13_04_40_5278.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8572fad44033add9866913a6a900bc83.jpg","text":"TemporaryFile(/tmp/multipartBody255586033059000759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117554051,"filename":"image_17012025_13_04_52_5242.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ba59f1e3bea558fb18f7fcc2d1af7cb8.jpg","text":"TemporaryFile(/tmp/multipartBody6841978338149536876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117554051,"filename":"image_17012025_13_04_58_6332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329470196","file1":"1329470192","file0":"1329470189","file4":"1329470203","file5":"1329470206","file3":"1329470199"},"map_files_photo_id_array":[{"photo_id":"1329470206","filename":"file5"},{"photo_id":"1329470196","filename":"file2"},{"photo_id":"1329470203","filename":"file4"},{"photo_id":"1329470192","filename":"file1"},{"photo_id":"1329470189","filename":"file0"},{"photo_id":"1329470199","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329470203":["hashtag1","hashtag2"]},{"1329470206":["hashtag1","hashtag2"]},{"1329470196":["hashtag1","hashtag2"]},{"1329470199":["hashtag1","hashtag2"]},{"1329470192":["hashtag1","hashtag2"]},{"1329470189":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329470203, 1329470206, 1329470196, 1329470199, 1329470192, 1329470189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.65207481384277 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 13:39:02.301900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/04/image_17012025_13_04_22_5279.jpg', '/media/data/images/17012025/13/04/image_17012025_13_04_16_6449.jpg', '/media/data/images/17012025/13/04/image_17012025_13_04_10_5168.jpg', '/media/data/images/17012025/13/04/image_17012025_13_04_05_6221.jpg', '/media/data/images/17012025/13/03/image_17012025_13_03_59_6411.jpg', '/media/data/images/17012025/13/03/image_17012025_13_03_52_6451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/04/image_17012025_13_04_22_5279.jpg
/media/data/images/17012025/13/04/image_17012025_13_04_16_6449.jpg
/media/data/images/17012025/13/04/image_17012025_13_04_10_5168.jpg
/media/data/images/17012025/13/04/image_17012025_13_04_05_6221.jpg
/media/data/images/17012025/13/03/image_17012025_13_03_59_6411.jpg
/media/data/images/17012025/13/03/image_17012025_13_03_52_6451.jpg
2025-01-17 13:39:02.440253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/04/image_17012025_13_04_22_5279.jpg', '/media/data/images/17012025/13/04/image_17012025_13_04_16_6449.jpg', '/media/data/images/17012025/13/04/image_17012025_13_04_10_5168.jpg', '/media/data/images/17012025/13/04/image_17012025_13_04_05_6221.jpg', '/media/data/images/17012025/13/03/image_17012025_13_03_59_6411.jpg', '/media/data/images/17012025/13/03/image_17012025_13_03_52_6451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/04/image_17012025_13_04_22_5279.jpg
/media/data/images/17012025/13/04/image_17012025_13_04_16_6449.jpg
/media/data/images/17012025/13/04/image_17012025_13_04_10_5168.jpg
/media/data/images/17012025/13/04/image_17012025_13_04_05_6221.jpg
/media/data/images/17012025/13/03/image_17012025_13_03_59_6411.jpg
/media/data/images/17012025/13/03/image_17012025_13_03_52_6451.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329470272","1329470236","1329470268","1329470276","1329470261","1329470281"],"photo_ids_order":["1329470236","1329470261","1329470268","1329470272","1329470276","1329470281"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/51b15667cb9b72118962f0fbeb46ce44.jpg","text":"TemporaryFile(/tmp/multipartBody1664413684343307345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117612713,"filename":"image_17012025_13_04_05_6221.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3876be5045b8f39da93cef4d81dd6735.jpg","text":"TemporaryFile(/tmp/multipartBody7503345380022446264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117612713,"filename":"image_17012025_13_04_22_5279.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a98d52d83e46cd35916dab07fcb471db.jpg","text":"TemporaryFile(/tmp/multipartBody3777917496946606030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117612713,"filename":"image_17012025_13_04_10_5168.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6a8a31a6cc72961d7a4fef31d4a1c7ea.jpg","text":"TemporaryFile(/tmp/multipartBody5920372909490540951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117612713,"filename":"image_17012025_13_03_59_6411.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8338c56d47afe74f9a3a7491f1c615b3.jpg","text":"TemporaryFile(/tmp/multipartBody6596223109193386626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117612713,"filename":"image_17012025_13_04_16_6449.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/97b9d5e6d331519a01538113e36da878.jpg","text":"TemporaryFile(/tmp/multipartBody6080819886260588689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117612713,"filename":"image_17012025_13_03_52_6451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329470268","file1":"1329470261","file0":"1329470236","file4":"1329470276","file5":"1329470281","file3":"1329470272"},"map_files_photo_id_array":[{"photo_id":"1329470281","filename":"file5"},{"photo_id":"1329470268","filename":"file2"},{"photo_id":"1329470276","filename":"file4"},{"photo_id":"1329470261","filename":"file1"},{"photo_id":"1329470236","filename":"file0"},{"photo_id":"1329470272","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329470272":["hashtag1","hashtag2"]},{"1329470236":["hashtag1","hashtag2"]},{"1329470268":["hashtag1","hashtag2"]},{"1329470276":["hashtag1","hashtag2"]},{"1329470261":["hashtag1","hashtag2"]},{"1329470281":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329470272, 1329470236, 1329470268, 1329470276, 1329470261, 1329470281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.79311561584473 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329470266","1329470283","1329470279","1329470270","1329470273","1329470237"],"photo_ids_order":["1329470237","1329470266","1329470270","1329470273","1329470279","1329470283"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/edfe6b02521b9deb08c0225b7797f63a.jpg","text":"TemporaryFile(/tmp/multipartBody8607696329271569669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117613425,"filename":"image_17012025_13_04_16_6449.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9998b3ba87a48db08c7d6d4c9c81962c.jpg","text":"TemporaryFile(/tmp/multipartBody6111999920626618310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117613425,"filename":"image_17012025_13_03_52_6451.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/38a409fc3bca3599e6885b82ead405a2.jpg","text":"TemporaryFile(/tmp/multipartBody3343624145803611935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117613425,"filename":"image_17012025_13_03_59_6411.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/62f6df3eedd544c2d28d65b7c0bede28.jpg","text":"TemporaryFile(/tmp/multipartBody4807627401810275035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117613425,"filename":"image_17012025_13_04_10_5168.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ef28705c4a8400d82123514701970aef.jpg","text":"TemporaryFile(/tmp/multipartBody8751556729437472475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117613425,"filename":"image_17012025_13_04_05_6221.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/baf43569552b3f238e79b224b5216766.jpg","text":"TemporaryFile(/tmp/multipartBody4089324768563741447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117613425,"filename":"image_17012025_13_04_22_5279.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329470270","file1":"1329470266","file0":"1329470237","file4":"1329470279","file5":"1329470283","file3":"1329470273"},"map_files_photo_id_array":[{"photo_id":"1329470283","filename":"file5"},{"photo_id":"1329470270","filename":"file2"},{"photo_id":"1329470279","filename":"file4"},{"photo_id":"1329470266","filename":"file1"},{"photo_id":"1329470237","filename":"file0"},{"photo_id":"1329470273","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329470266":["hashtag1","hashtag2"]},{"1329470283":["hashtag1","hashtag2"]},{"1329470279":["hashtag1","hashtag2"]},{"1329470270":["hashtag1","hashtag2"]},{"1329470273":["hashtag1","hashtag2"]},{"1329470237":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329470266, 1329470283, 1329470279, 1329470270, 1329470273, 1329470237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.43728446960449 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:40:02.079564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/03/image_17012025_13_03_46_5174.jpg', '/media/data/images/17012025/13/03/image_17012025_13_03_41_6394.jpg', '/media/data/images/17012025/13/03/image_17012025_13_03_34_6387.jpg', '/media/data/images/17012025/13/03/image_17012025_13_03_28_5236.jpg', '/media/data/images/17012025/13/03/image_17012025_13_03_23_6545.jpg', '/media/data/images/17012025/13/03/image_17012025_13_03_16_5317.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/03/image_17012025_13_03_46_5174.jpg
/media/data/images/17012025/13/03/image_17012025_13_03_41_6394.jpg
/media/data/images/17012025/13/03/image_17012025_13_03_34_6387.jpg
/media/data/images/17012025/13/03/image_17012025_13_03_28_5236.jpg
/media/data/images/17012025/13/03/image_17012025_13_03_23_6545.jpg
/media/data/images/17012025/13/03/image_17012025_13_03_16_5317.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329470311","1329470314","1329470308","1329470304","1329470303","1329470306"],"photo_ids_order":["1329470303","1329470304","1329470306","1329470308","1329470311","1329470314"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/350a33e71c5a409c3e33f46a0e006c0c.jpg","text":"TemporaryFile(/tmp/multipartBody2716375668289211978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117667233,"filename":"image_17012025_13_03_23_6545.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2cd51a32d74fb1dd4857fdd09821cf37.jpg","text":"TemporaryFile(/tmp/multipartBody6320033813131968561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117667233,"filename":"image_17012025_13_03_16_5317.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/183ddeec24a13266a4dbdb047de34a8d.jpg","text":"TemporaryFile(/tmp/multipartBody7059949331073468842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117667233,"filename":"image_17012025_13_03_28_5236.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/34d4e5aabd6439aba500021c9d1ba2b9.jpg","text":"TemporaryFile(/tmp/multipartBody2745956043625774235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117667233,"filename":"image_17012025_13_03_41_6394.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d7ed0a838a4bf4f2732c7369434ba445.jpg","text":"TemporaryFile(/tmp/multipartBody5266895991160661027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117667233,"filename":"image_17012025_13_03_46_5174.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/16c741b6e9503eda1a2bfcebac1df080.jpg","text":"TemporaryFile(/tmp/multipartBody3032606047852257274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117667233,"filename":"image_17012025_13_03_34_6387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329470306","file1":"1329470304","file0":"1329470303","file4":"1329470311","file5":"1329470314","file3":"1329470308"},"map_files_photo_id_array":[{"photo_id":"1329470314","filename":"file5"},{"photo_id":"1329470306","filename":"file2"},{"photo_id":"1329470311","filename":"file4"},{"photo_id":"1329470304","filename":"file1"},{"photo_id":"1329470303","filename":"file0"},{"photo_id":"1329470308","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329470311":["hashtag1","hashtag2"]},{"1329470314":["hashtag1","hashtag2"]},{"1329470308":["hashtag1","hashtag2"]},{"1329470304":["hashtag1","hashtag2"]},{"1329470303":["hashtag1","hashtag2"]},{"1329470306":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329470311, 1329470314, 1329470308, 1329470304, 1329470303, 1329470306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.99894976615906 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:41:02.271953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/03/image_17012025_13_03_11_6635.jpg', '/media/data/images/17012025/13/02/image_17012025_13_02_59_6578.jpg', '/media/data/images/17012025/13/02/image_17012025_13_02_47_6575.jpg', '/media/data/images/17012025/13/02/image_17012025_13_02_40_6573.jpg', '/media/data/images/17012025/13/02/image_17012025_13_02_28_6574.jpg', '/media/data/images/17012025/13/01/image_17012025_13_01_22_6481.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/03/image_17012025_13_03_11_6635.jpg
/media/data/images/17012025/13/02/image_17012025_13_02_59_6578.jpg
/media/data/images/17012025/13/02/image_17012025_13_02_47_6575.jpg
/media/data/images/17012025/13/02/image_17012025_13_02_40_6573.jpg
/media/data/images/17012025/13/02/image_17012025_13_02_28_6574.jpg
/media/data/images/17012025/13/01/image_17012025_13_01_22_6481.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329470563","1329470617","1329470620","1329470541","1329470561","1329470564"],"photo_ids_order":["1329470541","1329470561","1329470563","1329470564","1329470617","1329470620"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7d7ab1f2aef2a747f2e69926d73f6d1b.jpg","text":"TemporaryFile(/tmp/multipartBody6232828489481046859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117732406,"filename":"image_17012025_13_02_47_6575.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e1f8fa3f427b17ba95c3d2ea567f1b7b.jpg","text":"TemporaryFile(/tmp/multipartBody2877617847536353999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117732406,"filename":"image_17012025_13_02_28_6574.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5cc5c1465aa05d66b8f70c11beda8197.jpg","text":"TemporaryFile(/tmp/multipartBody863623919512143814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117732406,"filename":"image_17012025_13_01_22_6481.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6713d24c21756fffb0ce200bcb8a816a.jpg","text":"TemporaryFile(/tmp/multipartBody265462479353737597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117732406,"filename":"image_17012025_13_03_11_6635.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9404e9aebc0c51c8c85bcb295744c062.jpg","text":"TemporaryFile(/tmp/multipartBody7987629229545627847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117732406,"filename":"image_17012025_13_02_59_6578.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d615e500b0affeedf1d7fb1ce70c5d7e.jpg","text":"TemporaryFile(/tmp/multipartBody3494711723336511557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117732406,"filename":"image_17012025_13_02_40_6573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329470563","file1":"1329470561","file0":"1329470541","file4":"1329470617","file5":"1329470620","file3":"1329470564"},"map_files_photo_id_array":[{"photo_id":"1329470620","filename":"file5"},{"photo_id":"1329470563","filename":"file2"},{"photo_id":"1329470617","filename":"file4"},{"photo_id":"1329470561","filename":"file1"},{"photo_id":"1329470541","filename":"file0"},{"photo_id":"1329470564","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329470563":["hashtag1","hashtag2"]},{"1329470617":["hashtag1","hashtag2"]},{"1329470620":["hashtag1","hashtag2"]},{"1329470541":["hashtag1","hashtag2"]},{"1329470561":["hashtag1","hashtag2"]},{"1329470564":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329470563, 1329470617, 1329470620, 1329470541, 1329470561, 1329470564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.24384117126465 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:42:02.252565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/01/image_17012025_13_01_16_5319.jpg', '/media/data/images/17012025/13/01/image_17012025_13_01_11_6529.jpg', '/media/data/images/17012025/13/01/image_17012025_13_01_04_5128.jpg', '/media/data/images/17012025/13/00/image_17012025_13_00_59_6588.jpg', '/media/data/images/17012025/13/00/image_17012025_13_00_46_5322.jpg', '/media/data/images/17012025/13/00/image_17012025_13_00_40_6542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/01/image_17012025_13_01_16_5319.jpg
/media/data/images/17012025/13/01/image_17012025_13_01_11_6529.jpg
/media/data/images/17012025/13/01/image_17012025_13_01_04_5128.jpg
/media/data/images/17012025/13/00/image_17012025_13_00_59_6588.jpg
/media/data/images/17012025/13/00/image_17012025_13_00_46_5322.jpg
/media/data/images/17012025/13/00/image_17012025_13_00_40_6542.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329470749","1329470743","1329470719","1329470700","1329470717","1329470729"],"photo_ids_order":["1329470700","1329470717","1329470719","1329470729","1329470743","1329470749"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/966606cfbc2522ff5ccb1152ecd38f28.jpg","text":"TemporaryFile(/tmp/multipartBody6096233585940252015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117789924,"filename":"image_17012025_13_00_40_6542.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/aaeaa217ced05381c05e8d70e5daaac3.jpg","text":"TemporaryFile(/tmp/multipartBody5211884601333398425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117789924,"filename":"image_17012025_13_00_46_5322.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/71450546c96bbe95d4f35e38264223f5.jpg","text":"TemporaryFile(/tmp/multipartBody8236161181346848697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117789924,"filename":"image_17012025_13_01_04_5128.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/00d4b4c043fd9a5138a79cc528f9f582.jpg","text":"TemporaryFile(/tmp/multipartBody719341232169616421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117789924,"filename":"image_17012025_13_01_16_5319.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/08be67f82cabfb22eefebe688f49c5ba.jpg","text":"TemporaryFile(/tmp/multipartBody8204647854710877496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117789924,"filename":"image_17012025_13_01_11_6529.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d554ac2898abb39b41163dc5ab617425.jpg","text":"TemporaryFile(/tmp/multipartBody8679051161181496696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117789924,"filename":"image_17012025_13_00_59_6588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329470719","file1":"1329470717","file0":"1329470700","file4":"1329470743","file5":"1329470749","file3":"1329470729"},"map_files_photo_id_array":[{"photo_id":"1329470749","filename":"file5"},{"photo_id":"1329470719","filename":"file2"},{"photo_id":"1329470743","filename":"file4"},{"photo_id":"1329470717","filename":"file1"},{"photo_id":"1329470700","filename":"file0"},{"photo_id":"1329470729","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329470749":["hashtag1","hashtag2"]},{"1329470743":["hashtag1","hashtag2"]},{"1329470719":["hashtag1","hashtag2"]},{"1329470700":["hashtag1","hashtag2"]},{"1329470717":["hashtag1","hashtag2"]},{"1329470729":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329470749, 1329470743, 1329470719, 1329470700, 1329470717, 1329470729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.109519243240356 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:43:02.524069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/00/image_17012025_13_00_34_5342.jpg', '/media/data/images/17012025/13/00/image_17012025_13_00_28_6583.jpg', '/media/data/images/17012025/13/00/image_17012025_13_00_22_5319.jpg', '/media/data/images/17012025/13/00/image_17012025_13_00_17_6604.jpg', '/media/data/images/17012025/13/00/image_17012025_13_00_10_5357.jpg', '/media/data/images/17012025/13/00/image_17012025_13_00_05_6424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/00/image_17012025_13_00_34_5342.jpg
/media/data/images/17012025/13/00/image_17012025_13_00_28_6583.jpg
/media/data/images/17012025/13/00/image_17012025_13_00_22_5319.jpg
/media/data/images/17012025/13/00/image_17012025_13_00_17_6604.jpg
/media/data/images/17012025/13/00/image_17012025_13_00_10_5357.jpg
/media/data/images/17012025/13/00/image_17012025_13_00_05_6424.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329470787","1329470789","1329470963","1329470918","1329470819","1329470785"],"photo_ids_order":["1329470785","1329470787","1329470789","1329470819","1329470918","1329470963"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f95241ddf5ca048bfc79953ef425f5bb.jpg","text":"TemporaryFile(/tmp/multipartBody2483299267671596090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117858230,"filename":"image_17012025_13_00_28_6583.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e7256706b5a174b001b53ef8db0e76ee.jpg","text":"TemporaryFile(/tmp/multipartBody8309271964836972558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117858230,"filename":"image_17012025_13_00_22_5319.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dcfdfbf4b74918f6be39472e755c6fa0.jpg","text":"TemporaryFile(/tmp/multipartBody5242056323609642467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117858230,"filename":"image_17012025_13_00_05_6424.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/daf11885622b7909403cc3e4e66a8403.jpg","text":"TemporaryFile(/tmp/multipartBody4152861328994314951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117858230,"filename":"image_17012025_13_00_10_5357.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8cebd345357dd69273754a2621f36043.jpg","text":"TemporaryFile(/tmp/multipartBody6356607406659588924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117858230,"filename":"image_17012025_13_00_17_6604.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0619b6c2e52f3b74a50048cab43d763a.jpg","text":"TemporaryFile(/tmp/multipartBody1934695114235968129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117858230,"filename":"image_17012025_13_00_34_5342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329470789","file1":"1329470787","file0":"1329470785","file4":"1329470918","file5":"1329470963","file3":"1329470819"},"map_files_photo_id_array":[{"photo_id":"1329470963","filename":"file5"},{"photo_id":"1329470789","filename":"file2"},{"photo_id":"1329470918","filename":"file4"},{"photo_id":"1329470787","filename":"file1"},{"photo_id":"1329470785","filename":"file0"},{"photo_id":"1329470819","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329470787":["hashtag1","hashtag2"]},{"1329470789":["hashtag1","hashtag2"]},{"1329470963":["hashtag1","hashtag2"]},{"1329470918":["hashtag1","hashtag2"]},{"1329470819":["hashtag1","hashtag2"]},{"1329470785":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329470787, 1329470789, 1329470963, 1329470918, 1329470819, 1329470785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.36230134963989 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 13:44:02.713941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/59/image_17012025_12_59_58_5314.jpg', '/media/data/images/17012025/12/59/image_17012025_12_59_53_6551.jpg', '/media/data/images/17012025/12/59/image_17012025_12_59_46_6486.jpg', '/media/data/images/17012025/12/59/image_17012025_12_59_40_5253.jpg', '/media/data/images/17012025/12/59/image_17012025_12_59_35_6512.jpg', '/media/data/images/17012025/12/59/image_17012025_12_59_28_5315.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/59/image_17012025_12_59_58_5314.jpg
/media/data/images/17012025/12/59/image_17012025_12_59_53_6551.jpg
/media/data/images/17012025/12/59/image_17012025_12_59_46_6486.jpg
/media/data/images/17012025/12/59/image_17012025_12_59_40_5253.jpg
/media/data/images/17012025/12/59/image_17012025_12_59_35_6512.jpg
/media/data/images/17012025/12/59/image_17012025_12_59_28_5315.jpg
2025-01-17 13:44:02.734527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/59/image_17012025_12_59_58_5314.jpg', '/media/data/images/17012025/12/59/image_17012025_12_59_53_6551.jpg', '/media/data/images/17012025/12/59/image_17012025_12_59_46_6486.jpg', '/media/data/images/17012025/12/59/image_17012025_12_59_40_5253.jpg', '/media/data/images/17012025/12/59/image_17012025_12_59_35_6512.jpg', '/media/data/images/17012025/12/59/image_17012025_12_59_28_5315.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/59/image_17012025_12_59_58_5314.jpg
/media/data/images/17012025/12/59/image_17012025_12_59_53_6551.jpg
/media/data/images/17012025/12/59/image_17012025_12_59_46_6486.jpg
/media/data/images/17012025/12/59/image_17012025_12_59_40_5253.jpg
/media/data/images/17012025/12/59/image_17012025_12_59_35_6512.jpg
/media/data/images/17012025/12/59/image_17012025_12_59_28_5315.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329471016","1329470985","1329471027","1329471012","1329470990","1329471007"],"photo_ids_order":["1329470985","1329470990","1329471007","1329471012","1329471016","1329471027"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b60ad2d776db459b21d2ca217aa51a88.jpg","text":"TemporaryFile(/tmp/multipartBody807766499012512101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117916093,"filename":"image_17012025_12_59_35_6512.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/606ce0202c142c44c8bff3e663775c44.jpg","text":"TemporaryFile(/tmp/multipartBody232715109605145427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117916093,"filename":"image_17012025_12_59_58_5314.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c94a4f872c2bffbe0e43b76ffd4544d2.jpg","text":"TemporaryFile(/tmp/multipartBody555683963301186642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117916093,"filename":"image_17012025_12_59_28_5315.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8491bef81bf0a6f9f2189d625fe774c4.jpg","text":"TemporaryFile(/tmp/multipartBody71124986826866189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117916093,"filename":"image_17012025_12_59_40_5253.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/023faae65a17310ffc26d3b9962ebaa9.jpg","text":"TemporaryFile(/tmp/multipartBody1616145924880660313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117916093,"filename":"image_17012025_12_59_53_6551.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8a85d3097c4e46869e31885ba65a0f78.jpg","text":"TemporaryFile(/tmp/multipartBody2698501430621732381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117916093,"filename":"image_17012025_12_59_46_6486.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329471007","file1":"1329470990","file0":"1329470985","file4":"1329471016","file5":"1329471027","file3":"1329471012"},"map_files_photo_id_array":[{"photo_id":"1329471027","filename":"file5"},{"photo_id":"1329471007","filename":"file2"},{"photo_id":"1329471016","filename":"file4"},{"photo_id":"1329470990","filename":"file1"},{"photo_id":"1329470985","filename":"file0"},{"photo_id":"1329471012","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329471016":["hashtag1","hashtag2"]},{"1329470985":["hashtag1","hashtag2"]},{"1329471027":["hashtag1","hashtag2"]},{"1329471012":["hashtag1","hashtag2"]},{"1329470990":["hashtag1","hashtag2"]},{"1329471007":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329471016, 1329470985, 1329471027, 1329471012, 1329470990, 1329471007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.411752462387085 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329470991","1329471017","1329471008","1329471028","1329471013","1329470986"],"photo_ids_order":["1329470986","1329470991","1329471008","1329471013","1329471017","1329471028"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/02954c577db65c235c6a325b93924f66.jpg","text":"TemporaryFile(/tmp/multipartBody4949200813516700471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117916441,"filename":"image_17012025_12_59_53_6551.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/45d4fc29202239d34b4c46c865216087.jpg","text":"TemporaryFile(/tmp/multipartBody6582049339362026933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117916441,"filename":"image_17012025_12_59_35_6512.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/be0bbc73a4a69b348af8fc2024ee9f8c.jpg","text":"TemporaryFile(/tmp/multipartBody3540706231357227448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117916441,"filename":"image_17012025_12_59_46_6486.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/231a5f415ea26465d701a205f2220d67.jpg","text":"TemporaryFile(/tmp/multipartBody2864973280855148845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117916441,"filename":"image_17012025_12_59_28_5315.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/47ad84c00bf948fd5f60b41705c3f400.jpg","text":"TemporaryFile(/tmp/multipartBody4911549462658461020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117916441,"filename":"image_17012025_12_59_40_5253.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/354157d9078b3a9c265d4962a87e7e12.jpg","text":"TemporaryFile(/tmp/multipartBody2587408761495036780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117916441,"filename":"image_17012025_12_59_58_5314.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329471008","file1":"1329470991","file0":"1329470986","file4":"1329471017","file5":"1329471028","file3":"1329471013"},"map_files_photo_id_array":[{"photo_id":"1329471028","filename":"file5"},{"photo_id":"1329471008","filename":"file2"},{"photo_id":"1329471017","filename":"file4"},{"photo_id":"1329470991","filename":"file1"},{"photo_id":"1329470986","filename":"file0"},{"photo_id":"1329471013","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329470991":["hashtag1","hashtag2"]},{"1329471017":["hashtag1","hashtag2"]},{"1329471008":["hashtag1","hashtag2"]},{"1329471028":["hashtag1","hashtag2"]},{"1329471013":["hashtag1","hashtag2"]},{"1329470986":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329470991, 1329471017, 1329471008, 1329471028, 1329471013, 1329470986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.49933481216431 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:45:02.597322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/59/image_17012025_12_59_23_6492.jpg', '/media/data/images/17012025/12/59/image_17012025_12_59_16_6480.jpg', '/media/data/images/17012025/12/59/image_17012025_12_59_10_5269.jpg', '/media/data/images/17012025/12/59/image_17012025_12_59_05_6226.jpg', '/media/data/images/17012025/12/58/image_17012025_12_58_58_6482.jpg', '/media/data/images/17012025/12/58/image_17012025_12_58_52_5300.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/59/image_17012025_12_59_23_6492.jpg
/media/data/images/17012025/12/59/image_17012025_12_59_16_6480.jpg
/media/data/images/17012025/12/59/image_17012025_12_59_10_5269.jpg
/media/data/images/17012025/12/59/image_17012025_12_59_05_6226.jpg
/media/data/images/17012025/12/58/image_17012025_12_58_58_6482.jpg
/media/data/images/17012025/12/58/image_17012025_12_58_52_5300.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329471084","1329471147","1329471086","1329471155","1329471143","1329471157"],"photo_ids_order":["1329471084","1329471086","1329471143","1329471147","1329471155","1329471157"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5ea5513c721e65aa4584a188ad2446be.jpg","text":"TemporaryFile(/tmp/multipartBody576215204809250740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117973523,"filename":"image_17012025_12_59_23_6492.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/799c648773ea151dd59bee5da6671a50.jpg","text":"TemporaryFile(/tmp/multipartBody8821060943309263487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117973523,"filename":"image_17012025_12_59_05_6226.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fe9262c6b87399be224250ae28260610.jpg","text":"TemporaryFile(/tmp/multipartBody1433702508822438285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117973523,"filename":"image_17012025_12_59_16_6480.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4f28dae5269d35872daee8749f21d5a9.jpg","text":"TemporaryFile(/tmp/multipartBody5879192082351225580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117973523,"filename":"image_17012025_12_58_58_6482.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cbf20a509476fa789ec5f9fb1ce85229.jpg","text":"TemporaryFile(/tmp/multipartBody6039288182661289115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117973523,"filename":"image_17012025_12_59_10_5269.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7193321a788872b5cdedd5dc744f8ce8.jpg","text":"TemporaryFile(/tmp/multipartBody2973153509365377090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737117973523,"filename":"image_17012025_12_58_52_5300.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329471143","file1":"1329471086","file0":"1329471084","file4":"1329471155","file5":"1329471157","file3":"1329471147"},"map_files_photo_id_array":[{"photo_id":"1329471157","filename":"file5"},{"photo_id":"1329471143","filename":"file2"},{"photo_id":"1329471155","filename":"file4"},{"photo_id":"1329471086","filename":"file1"},{"photo_id":"1329471084","filename":"file0"},{"photo_id":"1329471147","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329471084":["hashtag1","hashtag2"]},{"1329471147":["hashtag1","hashtag2"]},{"1329471086":["hashtag1","hashtag2"]},{"1329471155":["hashtag1","hashtag2"]},{"1329471143":["hashtag1","hashtag2"]},{"1329471157":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329471084, 1329471147, 1329471086, 1329471155, 1329471143, 1329471157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.1520516872406 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:46:02.644567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/58/image_17012025_12_58_47_6484.jpg', '/media/data/images/17012025/12/58/image_17012025_12_58_40_5259.jpg', '/media/data/images/17012025/12/57/image_17012025_12_57_52_5285.jpg', '/media/data/images/17012025/12/57/image_17012025_12_57_46_6535.jpg', '/media/data/images/17012025/12/57/image_17012025_12_57_40_5293.jpg', '/media/data/images/17012025/12/57/image_17012025_12_57_35_6496.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/58/image_17012025_12_58_47_6484.jpg
/media/data/images/17012025/12/58/image_17012025_12_58_40_5259.jpg
/media/data/images/17012025/12/57/image_17012025_12_57_52_5285.jpg
/media/data/images/17012025/12/57/image_17012025_12_57_46_6535.jpg
/media/data/images/17012025/12/57/image_17012025_12_57_40_5293.jpg
/media/data/images/17012025/12/57/image_17012025_12_57_35_6496.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: 7.274864673614502 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:46:22.464793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/58/image_17012025_12_58_47_6484.jpg', '/media/data/images/17012025/12/58/image_17012025_12_58_40_5259.jpg', '/media/data/images/17012025/12/57/image_17012025_12_57_52_5285.jpg', '/media/data/images/17012025/12/57/image_17012025_12_57_46_6535.jpg', '/media/data/images/17012025/12/57/image_17012025_12_57_40_5293.jpg', '/media/data/images/17012025/12/57/image_17012025_12_57_35_6496.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/58/image_17012025_12_58_47_6484.jpg
/media/data/images/17012025/12/58/image_17012025_12_58_40_5259.jpg
/media/data/images/17012025/12/57/image_17012025_12_57_52_5285.jpg
/media/data/images/17012025/12/57/image_17012025_12_57_46_6535.jpg
/media/data/images/17012025/12/57/image_17012025_12_57_40_5293.jpg
/media/data/images/17012025/12/57/image_17012025_12_57_35_6496.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329471315","1329471312","1329471344","1329471338","1329471355","1329471349"],"photo_ids_order":["1329471312","1329471315","1329471338","1329471344","1329471349","1329471355"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9f2139a9fa8271b1bf722b2e9747e61a.jpg","text":"TemporaryFile(/tmp/multipartBody8618338074065292484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118049101,"filename":"image_17012025_12_58_40_5259.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/25d999fc8640f4a9aa9578d853ffe756.jpg","text":"TemporaryFile(/tmp/multipartBody26206751645245796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118049101,"filename":"image_17012025_12_58_47_6484.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/afac64cd615b47a9a62ca6cf64f09a63.jpg","text":"TemporaryFile(/tmp/multipartBody534336771190472996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118049101,"filename":"image_17012025_12_57_46_6535.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4e2657f27375f66550d0695b4b385481.jpg","text":"TemporaryFile(/tmp/multipartBody3451435958833522791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118049101,"filename":"image_17012025_12_57_52_5285.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/968aace273bdc274b72a7955327b8434.jpg","text":"TemporaryFile(/tmp/multipartBody3888093508392783857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118049101,"filename":"image_17012025_12_57_35_6496.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9c01e4de5e7d45c9779db34e7d31e3c9.jpg","text":"TemporaryFile(/tmp/multipartBody1553965534976346119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118049101,"filename":"image_17012025_12_57_40_5293.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329471338","file1":"1329471315","file0":"1329471312","file4":"1329471349","file5":"1329471355","file3":"1329471344"},"map_files_photo_id_array":[{"photo_id":"1329471355","filename":"file5"},{"photo_id":"1329471338","filename":"file2"},{"photo_id":"1329471349","filename":"file4"},{"photo_id":"1329471315","filename":"file1"},{"photo_id":"1329471312","filename":"file0"},{"photo_id":"1329471344","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329471315":["hashtag1","hashtag2"]},{"1329471312":["hashtag1","hashtag2"]},{"1329471344":["hashtag1","hashtag2"]},{"1329471338":["hashtag1","hashtag2"]},{"1329471355":["hashtag1","hashtag2"]},{"1329471349":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329471315, 1329471312, 1329471344, 1329471338, 1329471355, 1329471349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.407426834106445 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:47:02.845945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/57/image_17012025_12_57_28_5292.jpg', '/media/data/images/17012025/12/57/image_17012025_12_57_16_6522.jpg', '/media/data/images/17012025/12/57/image_17012025_12_57_10_5285.jpg', '/media/data/images/17012025/12/56/image_17012025_12_56_58_6507.jpg', '/media/data/images/17012025/12/56/image_17012025_12_56_52_5318.jpg', '/media/data/images/17012025/12/56/image_17012025_12_56_46_6695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/57/image_17012025_12_57_28_5292.jpg
/media/data/images/17012025/12/57/image_17012025_12_57_16_6522.jpg
/media/data/images/17012025/12/57/image_17012025_12_57_10_5285.jpg
/media/data/images/17012025/12/56/image_17012025_12_56_58_6507.jpg
/media/data/images/17012025/12/56/image_17012025_12_56_52_5318.jpg
/media/data/images/17012025/12/56/image_17012025_12_56_46_6695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329471384","1329471369","1329471402","1329471392","1329471389","1329471373"],"photo_ids_order":["1329471369","1329471373","1329471384","1329471389","1329471392","1329471402"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/82725ef39deb771f439f137d4cc7a565.jpg","text":"TemporaryFile(/tmp/multipartBody8450701033886956351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118090795,"filename":"image_17012025_12_57_10_5285.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8c637a337fc2fe5d4f7fe7580888c629.jpg","text":"TemporaryFile(/tmp/multipartBody6003698099077332256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118090795,"filename":"image_17012025_12_57_28_5292.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e914713f304d2e2f43b54a51b04a12c7.jpg","text":"TemporaryFile(/tmp/multipartBody2188574962730059046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118090795,"filename":"image_17012025_12_56_46_6695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/833798ed9eeb97a1be0ca95f8b374aed.jpg","text":"TemporaryFile(/tmp/multipartBody7611854885152150783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118090795,"filename":"image_17012025_12_56_52_5318.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0df6e4d00dbbba97d504aec00cb1c2f1.jpg","text":"TemporaryFile(/tmp/multipartBody495589917565223283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118090795,"filename":"image_17012025_12_56_58_6507.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3e82e0c1e574473bcb2ca9840047b661.jpg","text":"TemporaryFile(/tmp/multipartBody1363013182008693577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118090795,"filename":"image_17012025_12_57_16_6522.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329471384","file1":"1329471373","file0":"1329471369","file4":"1329471392","file5":"1329471402","file3":"1329471389"},"map_files_photo_id_array":[{"photo_id":"1329471402","filename":"file5"},{"photo_id":"1329471384","filename":"file2"},{"photo_id":"1329471392","filename":"file4"},{"photo_id":"1329471373","filename":"file1"},{"photo_id":"1329471369","filename":"file0"},{"photo_id":"1329471389","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329471384":["hashtag1","hashtag2"]},{"1329471369":["hashtag1","hashtag2"]},{"1329471402":["hashtag1","hashtag2"]},{"1329471392":["hashtag1","hashtag2"]},{"1329471389":["hashtag1","hashtag2"]},{"1329471373":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329471384, 1329471369, 1329471402, 1329471392, 1329471389, 1329471373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.05456566810608 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:48:02.866561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/56/image_17012025_12_56_34_6554.jpg', '/media/data/images/17012025/12/56/image_17012025_12_56_28_5300.jpg', '/media/data/images/17012025/12/56/image_17012025_12_56_23_6698.jpg', '/media/data/images/17012025/12/56/image_17012025_12_56_10_5316.jpg', '/media/data/images/17012025/12/56/image_17012025_12_56_05_6320.jpg', '/media/data/images/17012025/12/55/image_17012025_12_55_59_6694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/56/image_17012025_12_56_34_6554.jpg
/media/data/images/17012025/12/56/image_17012025_12_56_28_5300.jpg
/media/data/images/17012025/12/56/image_17012025_12_56_23_6698.jpg
/media/data/images/17012025/12/56/image_17012025_12_56_10_5316.jpg
/media/data/images/17012025/12/56/image_17012025_12_56_05_6320.jpg
/media/data/images/17012025/12/55/image_17012025_12_55_59_6694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329471494","1329471488","1329471497","1329471499","1329471484","1329471481"],"photo_ids_order":["1329471481","1329471484","1329471488","1329471494","1329471497","1329471499"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/066e338ef0270752111273e5663df64c.jpg","text":"TemporaryFile(/tmp/multipartBody9007782619950144746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118151536,"filename":"image_17012025_12_56_10_5316.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/22bc7bb2f40d2cd9728d5ca549071062.jpg","text":"TemporaryFile(/tmp/multipartBody518674358899370583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118151536,"filename":"image_17012025_12_56_23_6698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/646498f4b31c6fccb9551386612ae1e0.jpg","text":"TemporaryFile(/tmp/multipartBody4116998567513373382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118151536,"filename":"image_17012025_12_56_05_6320.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/72d18198c14e4478040ada0136316eb8.jpg","text":"TemporaryFile(/tmp/multipartBody1924084259911156957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118151536,"filename":"image_17012025_12_55_59_6694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5a1a67ba0663b616725955f030ba399e.jpg","text":"TemporaryFile(/tmp/multipartBody8094306172155251817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118151536,"filename":"image_17012025_12_56_28_5300.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/95e5e0ff75fdaf5670741cd6146ddad9.jpg","text":"TemporaryFile(/tmp/multipartBody5001604796225010740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118151536,"filename":"image_17012025_12_56_34_6554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329471488","file1":"1329471484","file0":"1329471481","file4":"1329471497","file5":"1329471499","file3":"1329471494"},"map_files_photo_id_array":[{"photo_id":"1329471499","filename":"file5"},{"photo_id":"1329471488","filename":"file2"},{"photo_id":"1329471497","filename":"file4"},{"photo_id":"1329471484","filename":"file1"},{"photo_id":"1329471481","filename":"file0"},{"photo_id":"1329471494","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329471494":["hashtag1","hashtag2"]},{"1329471488":["hashtag1","hashtag2"]},{"1329471497":["hashtag1","hashtag2"]},{"1329471499":["hashtag1","hashtag2"]},{"1329471484":["hashtag1","hashtag2"]},{"1329471481":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329471494, 1329471488, 1329471497, 1329471499, 1329471484, 1329471481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.38838028907776 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 13:49:02.158774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/55/image_17012025_12_55_52_5317.jpg', '/media/data/images/17012025/12/55/image_17012025_12_55_47_6560.jpg', '/media/data/images/17012025/12/55/image_17012025_12_55_35_6558.jpg', '/media/data/images/17012025/12/55/image_17012025_12_55_28_5316.jpg', '/media/data/images/17012025/12/55/image_17012025_12_55_23_6553.jpg', '/media/data/images/17012025/12/55/image_17012025_12_55_10_5259.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/55/image_17012025_12_55_52_5317.jpg
/media/data/images/17012025/12/55/image_17012025_12_55_47_6560.jpg
/media/data/images/17012025/12/55/image_17012025_12_55_35_6558.jpg
/media/data/images/17012025/12/55/image_17012025_12_55_28_5316.jpg
/media/data/images/17012025/12/55/image_17012025_12_55_23_6553.jpg
/media/data/images/17012025/12/55/image_17012025_12_55_10_5259.jpg
2025-01-17 13:49:02.301968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/55/image_17012025_12_55_52_5317.jpg', '/media/data/images/17012025/12/55/image_17012025_12_55_47_6560.jpg', '/media/data/images/17012025/12/55/image_17012025_12_55_35_6558.jpg', '/media/data/images/17012025/12/55/image_17012025_12_55_28_5316.jpg', '/media/data/images/17012025/12/55/image_17012025_12_55_23_6553.jpg', '/media/data/images/17012025/12/55/image_17012025_12_55_10_5259.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/55/image_17012025_12_55_52_5317.jpg
/media/data/images/17012025/12/55/image_17012025_12_55_47_6560.jpg
/media/data/images/17012025/12/55/image_17012025_12_55_35_6558.jpg
/media/data/images/17012025/12/55/image_17012025_12_55_28_5316.jpg
/media/data/images/17012025/12/55/image_17012025_12_55_23_6553.jpg
/media/data/images/17012025/12/55/image_17012025_12_55_10_5259.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329472155","1329472165","1329472258","1329472159","1329472312","1329472170"],"photo_ids_order":["1329472155","1329472159","1329472165","1329472170","1329472258","1329472312"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/50bbc35ba94cede282f5f0375cfb042e.jpg","text":"TemporaryFile(/tmp/multipartBody5934644962154227516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118217482,"filename":"image_17012025_12_55_52_5317.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9d3d6558e7cc553367f98958a90748c8.jpg","text":"TemporaryFile(/tmp/multipartBody4232133168734097086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118217482,"filename":"image_17012025_12_55_35_6558.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/28db22fbd453dab45219816d3921f78a.jpg","text":"TemporaryFile(/tmp/multipartBody6222490551956486049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118217482,"filename":"image_17012025_12_55_23_6553.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7b7fbafec019d7106c992766fbb5e082.jpg","text":"TemporaryFile(/tmp/multipartBody3451599103225896919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118217482,"filename":"image_17012025_12_55_47_6560.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/435b2325c5dd6498d19c01733dca1b82.jpg","text":"TemporaryFile(/tmp/multipartBody7530939235066738983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118217482,"filename":"image_17012025_12_55_10_5259.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/75a9be3873116227f55f67e8255c3b72.jpg","text":"TemporaryFile(/tmp/multipartBody1377145176829396710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118217482,"filename":"image_17012025_12_55_28_5316.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329472165","file1":"1329472159","file0":"1329472155","file4":"1329472258","file5":"1329472312","file3":"1329472170"},"map_files_photo_id_array":[{"photo_id":"1329472312","filename":"file5"},{"photo_id":"1329472165","filename":"file2"},{"photo_id":"1329472258","filename":"file4"},{"photo_id":"1329472159","filename":"file1"},{"photo_id":"1329472155","filename":"file0"},{"photo_id":"1329472170","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329472155":["hashtag1","hashtag2"]},{"1329472165":["hashtag1","hashtag2"]},{"1329472258":["hashtag1","hashtag2"]},{"1329472159":["hashtag1","hashtag2"]},{"1329472312":["hashtag1","hashtag2"]},{"1329472170":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329472155, 1329472165, 1329472258, 1329472159, 1329472312, 1329472170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.40080499649048 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329472305","1329472206","1329472160","1329472157","1329472168","1329472315"],"photo_ids_order":["1329472157","1329472160","1329472168","1329472206","1329472305","1329472315"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e100db4f9d92647f87ce115d692e8427.jpg","text":"TemporaryFile(/tmp/multipartBody1119381617095656052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118217630,"filename":"image_17012025_12_55_23_6553.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c11a3929ecae7683da955ccc3d201ba4.jpg","text":"TemporaryFile(/tmp/multipartBody5534859449843179862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118217630,"filename":"image_17012025_12_55_28_5316.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/44c56eba33a44cd1188522e19e0c8bc7.jpg","text":"TemporaryFile(/tmp/multipartBody7935706031591755368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118217630,"filename":"image_17012025_12_55_47_6560.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/67b62cef7bdf18a7fc6578e5c7ffe91e.jpg","text":"TemporaryFile(/tmp/multipartBody3277838461487655121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118217630,"filename":"image_17012025_12_55_52_5317.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f1526bcbd074115ede40b3970efadffb.jpg","text":"TemporaryFile(/tmp/multipartBody5461781669798255733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118217630,"filename":"image_17012025_12_55_35_6558.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/79ea261474ffa0eceb329107ea009462.jpg","text":"TemporaryFile(/tmp/multipartBody4657506380074136442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118217630,"filename":"image_17012025_12_55_10_5259.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329472168","file1":"1329472160","file0":"1329472157","file4":"1329472305","file5":"1329472315","file3":"1329472206"},"map_files_photo_id_array":[{"photo_id":"1329472315","filename":"file5"},{"photo_id":"1329472168","filename":"file2"},{"photo_id":"1329472305","filename":"file4"},{"photo_id":"1329472160","filename":"file1"},{"photo_id":"1329472157","filename":"file0"},{"photo_id":"1329472206","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329472305":["hashtag1","hashtag2"]},{"1329472206":["hashtag1","hashtag2"]},{"1329472160":["hashtag1","hashtag2"]},{"1329472157":["hashtag1","hashtag2"]},{"1329472168":["hashtag1","hashtag2"]},{"1329472315":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329472305, 1329472206, 1329472160, 1329472157, 1329472168, 1329472315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.11483669281006 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:50:01.981386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/54/image_17012025_12_55_04_6605.jpg', '/media/data/images/17012025/12/54/image_17012025_12_54_58_5306.jpg', '/media/data/images/17012025/12/54/image_17012025_12_54_53_6553.jpg', '/media/data/images/17012025/12/54/image_17012025_12_54_46_5332.jpg', '/media/data/images/17012025/12/54/image_17012025_12_54_04_5249.jpg', '/media/data/images/17012025/12/53/image_17012025_12_53_59_6497.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/54/image_17012025_12_55_04_6605.jpg
/media/data/images/17012025/12/54/image_17012025_12_54_58_5306.jpg
/media/data/images/17012025/12/54/image_17012025_12_54_53_6553.jpg
/media/data/images/17012025/12/54/image_17012025_12_54_46_5332.jpg
/media/data/images/17012025/12/54/image_17012025_12_54_04_5249.jpg
/media/data/images/17012025/12/53/image_17012025_12_53_59_6497.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: 6.560767650604248 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:50:21.851896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/54/image_17012025_12_55_04_6605.jpg', '/media/data/images/17012025/12/54/image_17012025_12_54_58_5306.jpg', '/media/data/images/17012025/12/54/image_17012025_12_54_53_6553.jpg', '/media/data/images/17012025/12/54/image_17012025_12_54_46_5332.jpg', '/media/data/images/17012025/12/54/image_17012025_12_54_04_5249.jpg', '/media/data/images/17012025/12/53/image_17012025_12_53_59_6497.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/54/image_17012025_12_55_04_6605.jpg
/media/data/images/17012025/12/54/image_17012025_12_54_58_5306.jpg
/media/data/images/17012025/12/54/image_17012025_12_54_53_6553.jpg
/media/data/images/17012025/12/54/image_17012025_12_54_46_5332.jpg
/media/data/images/17012025/12/54/image_17012025_12_54_04_5249.jpg
/media/data/images/17012025/12/53/image_17012025_12_53_59_6497.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329473240","1329472778","1329473242","1329473245","1329473068","1329472491"],"photo_ids_order":["1329472491","1329472778","1329473068","1329473240","1329473242","1329473245"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/59c39f75a7a41221f39c8d4bffc30e32.jpg","text":"TemporaryFile(/tmp/multipartBody2161686131397963109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118288987,"filename":"image_17012025_12_54_46_5332.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5b62d913b3690ca50469379cd682813f.jpg","text":"TemporaryFile(/tmp/multipartBody4677833899305666762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118288987,"filename":"image_17012025_12_54_58_5306.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ae7b97a883148f989b7dab04a6a5ac4f.jpg","text":"TemporaryFile(/tmp/multipartBody5863524153935450290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118288987,"filename":"image_17012025_12_54_04_5249.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b66df77f1cc18f6ec3e7a9727776f97c.jpg","text":"TemporaryFile(/tmp/multipartBody1372502065330022140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118288987,"filename":"image_17012025_12_53_59_6497.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e457f8368a4f4c560b5f07f8604fadca.jpg","text":"TemporaryFile(/tmp/multipartBody8036832734940318752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118288987,"filename":"image_17012025_12_54_53_6553.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/103adb1301e7ae2c87935a59821522a7.jpg","text":"TemporaryFile(/tmp/multipartBody5805285885972085325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118288987,"filename":"image_17012025_12_55_04_6605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329473068","file1":"1329472778","file0":"1329472491","file4":"1329473242","file5":"1329473245","file3":"1329473240"},"map_files_photo_id_array":[{"photo_id":"1329473245","filename":"file5"},{"photo_id":"1329473068","filename":"file2"},{"photo_id":"1329473242","filename":"file4"},{"photo_id":"1329472778","filename":"file1"},{"photo_id":"1329472491","filename":"file0"},{"photo_id":"1329473240","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329473240":["hashtag1","hashtag2"]},{"1329472778":["hashtag1","hashtag2"]},{"1329473242":["hashtag1","hashtag2"]},{"1329473245":["hashtag1","hashtag2"]},{"1329473068":["hashtag1","hashtag2"]},{"1329472491":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329473240, 1329472778, 1329473242, 1329473245, 1329473068, 1329472491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.14888620376587 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:51:02.230143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/53/image_17012025_12_53_52_6510.jpg', '/media/data/images/17012025/12/53/image_17012025_12_53_46_5317.jpg', '/media/data/images/17012025/12/53/image_17012025_12_53_40_6549.jpg', '/media/data/images/17012025/12/53/image_17012025_12_53_34_5284.jpg', '/media/data/images/17012025/12/53/image_17012025_12_53_29_6469.jpg', '/media/data/images/17012025/12/53/image_17012025_12_53_22_6414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/53/image_17012025_12_53_52_6510.jpg
/media/data/images/17012025/12/53/image_17012025_12_53_46_5317.jpg
/media/data/images/17012025/12/53/image_17012025_12_53_40_6549.jpg
/media/data/images/17012025/12/53/image_17012025_12_53_34_5284.jpg
/media/data/images/17012025/12/53/image_17012025_12_53_29_6469.jpg
/media/data/images/17012025/12/53/image_17012025_12_53_22_6414.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329473270","1329473258","1329473273","1329473261","1329473266","1329473262"],"photo_ids_order":["1329473258","1329473261","1329473262","1329473266","1329473270","1329473273"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4b0b9077089b9da31cbc998f87f04ac5.jpg","text":"TemporaryFile(/tmp/multipartBody5686168619960350572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118328106,"filename":"image_17012025_12_53_29_6469.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3f5d8cb3fd3f6feeae12a7a57b37b693.jpg","text":"TemporaryFile(/tmp/multipartBody8681058986139231066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118328106,"filename":"image_17012025_12_53_52_6510.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/87e4e24180c01b91af2d5690fb0590c7.jpg","text":"TemporaryFile(/tmp/multipartBody4944058050181820716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118328106,"filename":"image_17012025_12_53_22_6414.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d056348b1322ef0b88f06337eff597ef.jpg","text":"TemporaryFile(/tmp/multipartBody2353856866313921693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118328106,"filename":"image_17012025_12_53_46_5317.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/40d4e12abd073ece2d74404c61e7f1a0.jpg","text":"TemporaryFile(/tmp/multipartBody451129271274796583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118328106,"filename":"image_17012025_12_53_34_5284.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d2d06d7f61ab18e83e129940126aefd3.jpg","text":"TemporaryFile(/tmp/multipartBody5406964393877569070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118328106,"filename":"image_17012025_12_53_40_6549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329473262","file1":"1329473261","file0":"1329473258","file4":"1329473270","file5":"1329473273","file3":"1329473266"},"map_files_photo_id_array":[{"photo_id":"1329473273","filename":"file5"},{"photo_id":"1329473262","filename":"file2"},{"photo_id":"1329473270","filename":"file4"},{"photo_id":"1329473261","filename":"file1"},{"photo_id":"1329473258","filename":"file0"},{"photo_id":"1329473266","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329473270":["hashtag1","hashtag2"]},{"1329473258":["hashtag1","hashtag2"]},{"1329473273":["hashtag1","hashtag2"]},{"1329473261":["hashtag1","hashtag2"]},{"1329473266":["hashtag1","hashtag2"]},{"1329473262":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329473270, 1329473258, 1329473273, 1329473261, 1329473266, 1329473262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.06397294998169 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:51:41.957239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/53/image_17012025_12_53_16_5186.jpg', '/media/data/images/17012025/12/53/image_17012025_12_53_11_6449.jpg', '/media/data/images/17012025/12/52/image_17012025_12_53_04_6414.jpg', '/media/data/images/17012025/12/52/image_17012025_12_52_58_5192.jpg', '/media/data/images/17012025/12/52/image_17012025_12_52_52_6419.jpg', '/media/data/images/17012025/12/52/image_17012025_12_52_46_6420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/53/image_17012025_12_53_16_5186.jpg
/media/data/images/17012025/12/53/image_17012025_12_53_11_6449.jpg
/media/data/images/17012025/12/52/image_17012025_12_53_04_6414.jpg
/media/data/images/17012025/12/52/image_17012025_12_52_58_5192.jpg
/media/data/images/17012025/12/52/image_17012025_12_52_52_6419.jpg
/media/data/images/17012025/12/52/image_17012025_12_52_46_6420.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329473597","1329473593","1329473530","1329473589","1329473533","1329473535"],"photo_ids_order":["1329473530","1329473533","1329473535","1329473589","1329473593","1329473597"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2c10b70e2959ba8610ce08172f41d5c6.jpg","text":"TemporaryFile(/tmp/multipartBody8509850918897991806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118366425,"filename":"image_17012025_12_52_46_6420.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e7118f8b6dca5075eb4075e3bd22910d.jpg","text":"TemporaryFile(/tmp/multipartBody3538925636313971712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118366425,"filename":"image_17012025_12_52_52_6419.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d4fb015898572390377b2536465113e9.jpg","text":"TemporaryFile(/tmp/multipartBody4465539184004270148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118366425,"filename":"image_17012025_12_53_16_5186.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/203b34c11efe3b24331f4d7139a3e0f8.jpg","text":"TemporaryFile(/tmp/multipartBody5285419008056909318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118366425,"filename":"image_17012025_12_52_58_5192.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/23819dbbb3c8e690d947e35711a596fa.jpg","text":"TemporaryFile(/tmp/multipartBody6580200960924044397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118366425,"filename":"image_17012025_12_53_11_6449.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b6def45c0d9fbe9593af99ecdacdd62b.jpg","text":"TemporaryFile(/tmp/multipartBody4602735121087934717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118366425,"filename":"image_17012025_12_53_04_6414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329473535","file1":"1329473533","file0":"1329473530","file4":"1329473593","file5":"1329473597","file3":"1329473589"},"map_files_photo_id_array":[{"photo_id":"1329473597","filename":"file5"},{"photo_id":"1329473535","filename":"file2"},{"photo_id":"1329473593","filename":"file4"},{"photo_id":"1329473533","filename":"file1"},{"photo_id":"1329473530","filename":"file0"},{"photo_id":"1329473589","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329473597":["hashtag1","hashtag2"]},{"1329473593":["hashtag1","hashtag2"]},{"1329473530":["hashtag1","hashtag2"]},{"1329473589":["hashtag1","hashtag2"]},{"1329473533":["hashtag1","hashtag2"]},{"1329473535":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329473597, 1329473593, 1329473530, 1329473589, 1329473533, 1329473535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47247004508972 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:52:22.067618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/52/image_17012025_12_52_40_5204.jpg', '/media/data/images/17012025/12/52/image_17012025_12_52_34_6424.jpg', '/media/data/images/17012025/12/52/image_17012025_12_52_28_5226.jpg', '/media/data/images/17012025/12/52/image_17012025_12_52_23_6421.jpg', '/media/data/images/17012025/12/52/image_17012025_12_52_16_6414.jpg', '/media/data/images/17012025/12/52/image_17012025_12_52_10_5161.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/52/image_17012025_12_52_40_5204.jpg
/media/data/images/17012025/12/52/image_17012025_12_52_34_6424.jpg
/media/data/images/17012025/12/52/image_17012025_12_52_28_5226.jpg
/media/data/images/17012025/12/52/image_17012025_12_52_23_6421.jpg
/media/data/images/17012025/12/52/image_17012025_12_52_16_6414.jpg
/media/data/images/17012025/12/52/image_17012025_12_52_10_5161.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329473822","1329473825","1329473810","1329473818","1329473806","1329473814"],"photo_ids_order":["1329473806","1329473810","1329473814","1329473818","1329473822","1329473825"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8e2aca53443f41ada18666882304ef4b.jpg","text":"TemporaryFile(/tmp/multipartBody8260037829476069034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118406407,"filename":"image_17012025_12_52_16_6414.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/97f4b3da508b80d0f1d384675477fcd3.jpg","text":"TemporaryFile(/tmp/multipartBody7127603572698495329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118406407,"filename":"image_17012025_12_52_10_5161.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fa53405456ab0b4c98e80e8f4c6d5faa.jpg","text":"TemporaryFile(/tmp/multipartBody7911073828630135152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118406407,"filename":"image_17012025_12_52_34_6424.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2ae6fa4bb5ab037be0279e4822048e41.jpg","text":"TemporaryFile(/tmp/multipartBody1537991706507860722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118406407,"filename":"image_17012025_12_52_23_6421.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d423e583576d7778f7c6c77890794cf3.jpg","text":"TemporaryFile(/tmp/multipartBody478359286257076577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118406407,"filename":"image_17012025_12_52_40_5204.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/32770473e939be71e018b7c3792c1c2b.jpg","text":"TemporaryFile(/tmp/multipartBody4697905356177010231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118406407,"filename":"image_17012025_12_52_28_5226.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329473814","file1":"1329473810","file0":"1329473806","file4":"1329473822","file5":"1329473825","file3":"1329473818"},"map_files_photo_id_array":[{"photo_id":"1329473825","filename":"file5"},{"photo_id":"1329473814","filename":"file2"},{"photo_id":"1329473822","filename":"file4"},{"photo_id":"1329473810","filename":"file1"},{"photo_id":"1329473806","filename":"file0"},{"photo_id":"1329473818","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329473822":["hashtag1","hashtag2"]},{"1329473825":["hashtag1","hashtag2"]},{"1329473810":["hashtag1","hashtag2"]},{"1329473818":["hashtag1","hashtag2"]},{"1329473806":["hashtag1","hashtag2"]},{"1329473814":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329473822, 1329473825, 1329473810, 1329473818, 1329473806, 1329473814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.62796068191528 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:53:02.418131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/52/image_17012025_12_52_05_6238.jpg', '/media/data/images/17012025/12/51/image_17012025_12_51_52_5199.jpg', '/media/data/images/17012025/12/51/image_17012025_12_51_47_6371.jpg', '/media/data/images/17012025/12/51/image_17012025_12_51_40_6380.jpg', '/media/data/images/17012025/12/51/image_17012025_12_51_34_5173.jpg', '/media/data/images/17012025/12/51/image_17012025_12_51_29_6391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/52/image_17012025_12_52_05_6238.jpg
/media/data/images/17012025/12/51/image_17012025_12_51_52_5199.jpg
/media/data/images/17012025/12/51/image_17012025_12_51_47_6371.jpg
/media/data/images/17012025/12/51/image_17012025_12_51_40_6380.jpg
/media/data/images/17012025/12/51/image_17012025_12_51_34_5173.jpg
/media/data/images/17012025/12/51/image_17012025_12_51_29_6391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329473846","1329473839","1329473854","1329473836","1329473841","1329473850"],"photo_ids_order":["1329473836","1329473839","1329473841","1329473846","1329473850","1329473854"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/00f902939261608da38de09e08757931.jpg","text":"TemporaryFile(/tmp/multipartBody7961394079916772754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118449539,"filename":"image_17012025_12_51_40_6380.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/944b6626854e8ef12f04da5ecfb1e524.jpg","text":"TemporaryFile(/tmp/multipartBody1189472333285853098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118449539,"filename":"image_17012025_12_51_52_5199.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a1d69a69686ac8ec1c6c34b249be5b81.jpg","text":"TemporaryFile(/tmp/multipartBody3730349758443615767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118449539,"filename":"image_17012025_12_51_29_6391.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/767f105e24065a3c87f295fbf3a8785a.jpg","text":"TemporaryFile(/tmp/multipartBody5469267855974806876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118449539,"filename":"image_17012025_12_52_05_6238.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/92c11b52bdee2787fc4d1469b7efbbc3.jpg","text":"TemporaryFile(/tmp/multipartBody6281833602272801755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118449539,"filename":"image_17012025_12_51_47_6371.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c7c8c26bd2ffc853aef42bb07d3fd47d.jpg","text":"TemporaryFile(/tmp/multipartBody1512060784200259170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118449539,"filename":"image_17012025_12_51_34_5173.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329473841","file1":"1329473839","file0":"1329473836","file4":"1329473850","file5":"1329473854","file3":"1329473846"},"map_files_photo_id_array":[{"photo_id":"1329473854","filename":"file5"},{"photo_id":"1329473841","filename":"file2"},{"photo_id":"1329473850","filename":"file4"},{"photo_id":"1329473839","filename":"file1"},{"photo_id":"1329473836","filename":"file0"},{"photo_id":"1329473846","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329473846":["hashtag1","hashtag2"]},{"1329473839":["hashtag1","hashtag2"]},{"1329473854":["hashtag1","hashtag2"]},{"1329473836":["hashtag1","hashtag2"]},{"1329473841":["hashtag1","hashtag2"]},{"1329473850":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329473846, 1329473839, 1329473854, 1329473836, 1329473841, 1329473850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.257222175598145 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 13:54:02.541508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/51/image_17012025_12_51_22_6405.jpg', '/media/data/images/17012025/12/51/image_17012025_12_51_16_5163.jpg', '/media/data/images/17012025/12/51/image_17012025_12_51_11_6382.jpg', '/media/data/images/17012025/12/51/image_17012025_12_51_04_6165.jpg', '/media/data/images/17012025/12/50/image_17012025_12_50_58_6378.jpg', '/media/data/images/17012025/12/50/image_17012025_12_50_52_5176.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/51/image_17012025_12_51_22_6405.jpg
/media/data/images/17012025/12/51/image_17012025_12_51_16_5163.jpg
/media/data/images/17012025/12/51/image_17012025_12_51_11_6382.jpg
/media/data/images/17012025/12/51/image_17012025_12_51_04_6165.jpg
/media/data/images/17012025/12/50/image_17012025_12_50_58_6378.jpg
/media/data/images/17012025/12/50/image_17012025_12_50_52_5176.jpg
2025-01-17 13:54:02.592630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/51/image_17012025_12_51_22_6405.jpg', '/media/data/images/17012025/12/51/image_17012025_12_51_16_5163.jpg', '/media/data/images/17012025/12/51/image_17012025_12_51_11_6382.jpg', '/media/data/images/17012025/12/51/image_17012025_12_51_04_6165.jpg', '/media/data/images/17012025/12/50/image_17012025_12_50_58_6378.jpg', '/media/data/images/17012025/12/50/image_17012025_12_50_52_5176.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/51/image_17012025_12_51_22_6405.jpg
/media/data/images/17012025/12/51/image_17012025_12_51_16_5163.jpg
/media/data/images/17012025/12/51/image_17012025_12_51_11_6382.jpg
/media/data/images/17012025/12/51/image_17012025_12_51_04_6165.jpg
/media/data/images/17012025/12/50/image_17012025_12_50_58_6378.jpg
/media/data/images/17012025/12/50/image_17012025_12_50_52_5176.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329473916","1329473876","1329473881","1329473890","1329473919","1329473907"],"photo_ids_order":["1329473876","1329473881","1329473890","1329473907","1329473916","1329473919"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/43785b10b238fc6171a0cf161de3fbe9.jpg","text":"TemporaryFile(/tmp/multipartBody5773271648647314115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118509253,"filename":"image_17012025_12_50_58_6378.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/29881186f29985ee31377790228835cd.jpg","text":"TemporaryFile(/tmp/multipartBody3716756073508288165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118509253,"filename":"image_17012025_12_51_22_6405.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fae39cb4ef8c6a5960610ba7287d1e75.jpg","text":"TemporaryFile(/tmp/multipartBody4532102956074686265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118509253,"filename":"image_17012025_12_51_16_5163.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9e959c507b957d31cf8107952d669ac7.jpg","text":"TemporaryFile(/tmp/multipartBody2568819070323748065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118509253,"filename":"image_17012025_12_51_11_6382.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/419354225e875b2f45e9839ab70f666d.jpg","text":"TemporaryFile(/tmp/multipartBody7943884208673068665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118509253,"filename":"image_17012025_12_50_52_5176.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/baa0185481c460e3ef2ad58e4109b46b.jpg","text":"TemporaryFile(/tmp/multipartBody3413142932845568566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118509253,"filename":"image_17012025_12_51_04_6165.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329473890","file1":"1329473881","file0":"1329473876","file4":"1329473916","file5":"1329473919","file3":"1329473907"},"map_files_photo_id_array":[{"photo_id":"1329473919","filename":"file5"},{"photo_id":"1329473890","filename":"file2"},{"photo_id":"1329473916","filename":"file4"},{"photo_id":"1329473881","filename":"file1"},{"photo_id":"1329473876","filename":"file0"},{"photo_id":"1329473907","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329473916":["hashtag1","hashtag2"]},{"1329473876":["hashtag1","hashtag2"]},{"1329473881":["hashtag1","hashtag2"]},{"1329473890":["hashtag1","hashtag2"]},{"1329473919":["hashtag1","hashtag2"]},{"1329473907":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329473916, 1329473876, 1329473881, 1329473890, 1329473919, 1329473907)","result":[],"list_datou_current":[]}'
Result OK !
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329473875","1329473920","1329473914","1329473905","1329473889","1329473880"],"photo_ids_order":["1329473875","1329473880","1329473889","1329473905","1329473914","1329473920"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/abe0888787f2772eae9d91a08bb77930.jpg","text":"TemporaryFile(/tmp/multipartBody2512368114306738672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118508983,"filename":"image_17012025_12_51_22_6405.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/15faf25838f90c356f8430e509de0354.jpg","text":"TemporaryFile(/tmp/multipartBody5753692322673063263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118508983,"filename":"image_17012025_12_50_52_5176.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ce62e633be684de15a46f5957ff05b48.jpg","text":"TemporaryFile(/tmp/multipartBody6098378093494089324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118508983,"filename":"image_17012025_12_50_58_6378.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/42d28a218fe1da649c72def0b72f8943.jpg","text":"TemporaryFile(/tmp/multipartBody1041343051106188680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118508983,"filename":"image_17012025_12_51_04_6165.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4bb69bbd8d6b05d8d620ac61dcac41af.jpg","text":"TemporaryFile(/tmp/multipartBody4579439443262441357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118508983,"filename":"image_17012025_12_51_11_6382.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0a0d9b6b7c61c6e95c1563fb46d14b13.jpg","text":"TemporaryFile(/tmp/multipartBody791198243220401517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118508983,"filename":"image_17012025_12_51_16_5163.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329473889","file1":"1329473880","file0":"1329473875","file4":"1329473914","file5":"1329473920","file3":"1329473905"},"map_files_photo_id_array":[{"photo_id":"1329473920","filename":"file5"},{"photo_id":"1329473889","filename":"file2"},{"photo_id":"1329473914","filename":"file4"},{"photo_id":"1329473880","filename":"file1"},{"photo_id":"1329473875","filename":"file0"},{"photo_id":"1329473905","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329473875":["hashtag1","hashtag2"]},{"1329473920":["hashtag1","hashtag2"]},{"1329473914":["hashtag1","hashtag2"]},{"1329473905":["hashtag1","hashtag2"]},{"1329473889":["hashtag1","hashtag2"]},{"1329473880":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329473875, 1329473920, 1329473914, 1329473905, 1329473889, 1329473880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.179936170578 secondes ---
uploaded 6 photos
time to upload: 39.25359845161438 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:55:02.580574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/50/image_17012025_12_50_47_6366.jpg', '/media/data/images/17012025/12/49/image_17012025_12_49_52_5197.jpg', '/media/data/images/17012025/12/49/image_17012025_12_49_46_6441.jpg', '/media/data/images/17012025/12/49/image_17012025_12_49_28_6427.jpg', '/media/data/images/17012025/12/49/image_17012025_12_49_22_5299.jpg', '/media/data/images/17012025/12/49/image_17012025_12_49_05_6333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/50/image_17012025_12_50_47_6366.jpg
/media/data/images/17012025/12/49/image_17012025_12_49_52_5197.jpg
/media/data/images/17012025/12/49/image_17012025_12_49_46_6441.jpg
/media/data/images/17012025/12/49/image_17012025_12_49_28_6427.jpg
/media/data/images/17012025/12/49/image_17012025_12_49_22_5299.jpg
/media/data/images/17012025/12/49/image_17012025_12_49_05_6333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329474008","1329473974","1329474001","1329473985","1329473979","1329473981"],"photo_ids_order":["1329473974","1329473979","1329473981","1329473985","1329474001","1329474008"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ce3a38e1f0d80c754b3ddc6be08e613b.jpg","text":"TemporaryFile(/tmp/multipartBody5223021164892051781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118570895,"filename":"image_17012025_12_49_05_6333.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c634864fee401ddff6bb7f460a7768e0.jpg","text":"TemporaryFile(/tmp/multipartBody4841486999969150597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118570895,"filename":"image_17012025_12_50_47_6366.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0eb58dd87669279f7bbe2e8dac846034.jpg","text":"TemporaryFile(/tmp/multipartBody5356634931301782506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118570895,"filename":"image_17012025_12_49_22_5299.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f28b6d30862fed92656efc368131f79e.jpg","text":"TemporaryFile(/tmp/multipartBody8769096941202514203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118570895,"filename":"image_17012025_12_49_28_6427.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/07062f2d48a3cdc5024aa2e25b3e9773.jpg","text":"TemporaryFile(/tmp/multipartBody2672535902752825417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118570895,"filename":"image_17012025_12_49_52_5197.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/48acd4de68e2500802b1996213c08f43.jpg","text":"TemporaryFile(/tmp/multipartBody8806824623752138344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118570895,"filename":"image_17012025_12_49_46_6441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329473981","file1":"1329473979","file0":"1329473974","file4":"1329474001","file5":"1329474008","file3":"1329473985"},"map_files_photo_id_array":[{"photo_id":"1329474008","filename":"file5"},{"photo_id":"1329473981","filename":"file2"},{"photo_id":"1329474001","filename":"file4"},{"photo_id":"1329473979","filename":"file1"},{"photo_id":"1329473974","filename":"file0"},{"photo_id":"1329473985","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329474008":["hashtag1","hashtag2"]},{"1329473974":["hashtag1","hashtag2"]},{"1329474001":["hashtag1","hashtag2"]},{"1329473985":["hashtag1","hashtag2"]},{"1329473979":["hashtag1","hashtag2"]},{"1329473981":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329474008, 1329473974, 1329474001, 1329473985, 1329473979, 1329473981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.772132873535156 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:56:02.674542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/48/image_17012025_12_48_58_6547.jpg', '/media/data/images/17012025/12/48/image_17012025_12_48_47_6529.jpg', '/media/data/images/17012025/12/48/image_17012025_12_48_28_5323.jpg', '/media/data/images/17012025/12/48/image_17012025_12_48_23_6505.jpg', '/media/data/images/17012025/12/48/image_17012025_12_48_16_6499.jpg', '/media/data/images/17012025/12/48/image_17012025_12_48_10_5205.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/48/image_17012025_12_48_58_6547.jpg
/media/data/images/17012025/12/48/image_17012025_12_48_47_6529.jpg
/media/data/images/17012025/12/48/image_17012025_12_48_28_5323.jpg
/media/data/images/17012025/12/48/image_17012025_12_48_23_6505.jpg
/media/data/images/17012025/12/48/image_17012025_12_48_16_6499.jpg
/media/data/images/17012025/12/48/image_17012025_12_48_10_5205.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329474094","1329474112","1329474093","1329474117","1329474108","1329474092"],"photo_ids_order":["1329474092","1329474093","1329474094","1329474108","1329474112","1329474117"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bdd85f587fe15e47b4b5a3ddbf60396b.jpg","text":"TemporaryFile(/tmp/multipartBody3159425357551905611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118630216,"filename":"image_17012025_12_48_28_5323.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f9384db92d2f5af500721f4107c574ec.jpg","text":"TemporaryFile(/tmp/multipartBody8284021800175261084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118630216,"filename":"image_17012025_12_48_16_6499.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1efca8c25218614aaf2a16d047b3b724.jpg","text":"TemporaryFile(/tmp/multipartBody2902940347709006163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118630216,"filename":"image_17012025_12_48_47_6529.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5112358bf03895d98076fd29f31d87e5.jpg","text":"TemporaryFile(/tmp/multipartBody1255904346258842304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118630216,"filename":"image_17012025_12_48_10_5205.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/507c4d9d29f0910b5fd61f058c7ebbc6.jpg","text":"TemporaryFile(/tmp/multipartBody9215570263270281675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118630216,"filename":"image_17012025_12_48_23_6505.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bbdbe55fee5dfa331fddbecd484b22f2.jpg","text":"TemporaryFile(/tmp/multipartBody3710686557648787319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118630216,"filename":"image_17012025_12_48_58_6547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329474094","file1":"1329474093","file0":"1329474092","file4":"1329474112","file5":"1329474117","file3":"1329474108"},"map_files_photo_id_array":[{"photo_id":"1329474117","filename":"file5"},{"photo_id":"1329474094","filename":"file2"},{"photo_id":"1329474112","filename":"file4"},{"photo_id":"1329474093","filename":"file1"},{"photo_id":"1329474092","filename":"file0"},{"photo_id":"1329474108","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329474094":["hashtag1","hashtag2"]},{"1329474112":["hashtag1","hashtag2"]},{"1329474093":["hashtag1","hashtag2"]},{"1329474117":["hashtag1","hashtag2"]},{"1329474108":["hashtag1","hashtag2"]},{"1329474092":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329474094, 1329474112, 1329474093, 1329474117, 1329474108, 1329474092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.35943627357483 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 13:57:02.859451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/48/image_17012025_12_48_05_6344.jpg', '/media/data/images/17012025/12/47/image_17012025_12_47_58_6483.jpg', '/media/data/images/17012025/12/47/image_17012025_12_47_52_5296.jpg', '/media/data/images/17012025/12/47/image_17012025_12_47_47_6399.jpg', '/media/data/images/17012025/12/47/image_17012025_12_47_40_6455.jpg', '/media/data/images/17012025/12/47/image_17012025_12_47_34_5204.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/48/image_17012025_12_48_05_6344.jpg
/media/data/images/17012025/12/47/image_17012025_12_47_58_6483.jpg
/media/data/images/17012025/12/47/image_17012025_12_47_52_5296.jpg
/media/data/images/17012025/12/47/image_17012025_12_47_47_6399.jpg
/media/data/images/17012025/12/47/image_17012025_12_47_40_6455.jpg
/media/data/images/17012025/12/47/image_17012025_12_47_34_5204.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329474149","1329474175","1329474151","1329474165","1329474168","1329474153"],"photo_ids_order":["1329474149","1329474151","1329474153","1329474165","1329474168","1329474175"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2ba24644c31dbed9d1a2df27fe2f6265.jpg","text":"TemporaryFile(/tmp/multipartBody8976424249837038132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118688562,"filename":"image_17012025_12_48_05_6344.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/49b2254e9d286d7229654171c30df550.jpg","text":"TemporaryFile(/tmp/multipartBody2331793216687483821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118688562,"filename":"image_17012025_12_47_34_5204.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0d99efb101b26f7a67ccb94e851ab192.jpg","text":"TemporaryFile(/tmp/multipartBody8292925131144696009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118688562,"filename":"image_17012025_12_47_58_6483.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6e1bc4281e68ac64c27a4090d0750686.jpg","text":"TemporaryFile(/tmp/multipartBody7881556438237340559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118688562,"filename":"image_17012025_12_47_47_6399.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/19d60f0172eb47aef1f52f03101c0256.jpg","text":"TemporaryFile(/tmp/multipartBody4137097997033753722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118688562,"filename":"image_17012025_12_47_40_6455.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4574bbdefba79095db720090ea965b8c.jpg","text":"TemporaryFile(/tmp/multipartBody5545401265416654808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118688562,"filename":"image_17012025_12_47_52_5296.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329474153","file1":"1329474151","file0":"1329474149","file4":"1329474168","file5":"1329474175","file3":"1329474165"},"map_files_photo_id_array":[{"photo_id":"1329474175","filename":"file5"},{"photo_id":"1329474153","filename":"file2"},{"photo_id":"1329474168","filename":"file4"},{"photo_id":"1329474151","filename":"file1"},{"photo_id":"1329474149","filename":"file0"},{"photo_id":"1329474165","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329474149":["hashtag1","hashtag2"]},{"1329474175":["hashtag1","hashtag2"]},{"1329474151":["hashtag1","hashtag2"]},{"1329474165":["hashtag1","hashtag2"]},{"1329474168":["hashtag1","hashtag2"]},{"1329474153":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329474149, 1329474175, 1329474151, 1329474165, 1329474168, 1329474153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.38265800476074 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
 val : 1 : upload photos already in processing! 
2025-01-17 13:59:02.316727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/12/47/image_17012025_12_47_28_6556.jpg', '/media/data/images/17012025/12/47/image_17012025_12_47_22_5321.jpg', '/media/data/images/17012025/12/47/image_17012025_12_47_17_6528.jpg', '/media/data/images/17012025/12/47/image_17012025_12_47_10_5293.jpg', '/media/data/images/17012025/12/47/image_17012025_12_47_05_6319.jpg', '/media/data/images/17012025/12/46/image_17012025_12_46_58_6555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/12/47/image_17012025_12_47_28_6556.jpg
/media/data/images/17012025/12/47/image_17012025_12_47_22_5321.jpg
/media/data/images/17012025/12/47/image_17012025_12_47_17_6528.jpg
/media/data/images/17012025/12/47/image_17012025_12_47_10_5293.jpg
/media/data/images/17012025/12/47/image_17012025_12_47_05_6319.jpg
/media/data/images/17012025/12/46/image_17012025_12_46_58_6555.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329474311","1329474305","1329474292","1329474277","1329474270","1329474264"],"photo_ids_order":["1329474264","1329474270","1329474277","1329474292","1329474305","1329474311"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1bcaf57c4221698d8ee38efe8e0e429b.jpg","text":"TemporaryFile(/tmp/multipartBody1184514242197594095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118809438,"filename":"image_17012025_12_46_58_6555.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6959a7b87a52b1ae85652c9d268229af.jpg","text":"TemporaryFile(/tmp/multipartBody8177337236663048801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118809438,"filename":"image_17012025_12_47_05_6319.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9ff00271e5104ad4dac05aac9d1724ba.jpg","text":"TemporaryFile(/tmp/multipartBody6875333485804321391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118809438,"filename":"image_17012025_12_47_10_5293.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/af205999629aef64769fffbe3fb36bd3.jpg","text":"TemporaryFile(/tmp/multipartBody1568330325818269091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118809438,"filename":"image_17012025_12_47_17_6528.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/adcd168c8e51608be549658d68706c60.jpg","text":"TemporaryFile(/tmp/multipartBody4907512823027565013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118809438,"filename":"image_17012025_12_47_22_5321.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/52a8e3ef2edd4e1a0f3879917965e19d.jpg","text":"TemporaryFile(/tmp/multipartBody2066224226991847325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118809438,"filename":"image_17012025_12_47_28_6556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329474277","file1":"1329474270","file0":"1329474264","file4":"1329474305","file5":"1329474311","file3":"1329474292"},"map_files_photo_id_array":[{"photo_id":"1329474311","filename":"file5"},{"photo_id":"1329474277","filename":"file2"},{"photo_id":"1329474305","filename":"file4"},{"photo_id":"1329474270","filename":"file1"},{"photo_id":"1329474264","filename":"file0"},{"photo_id":"1329474292","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329474311":["hashtag1","hashtag2"]},{"1329474305":["hashtag1","hashtag2"]},{"1329474292":["hashtag1","hashtag2"]},{"1329474277":["hashtag1","hashtag2"]},{"1329474270":["hashtag1","hashtag2"]},{"1329474264":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329474311, 1329474305, 1329474292, 1329474277, 1329474270, 1329474264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.607192277908325 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:00:02.132759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/57/image_17012025_13_57_52_6444.jpg', '/media/data/images/17012025/13/52/image_17012025_13_52_47_6506.jpg', '/media/data/images/17012025/13/47/image_17012025_13_47_28_5401.jpg', '/media/data/images/17012025/13/42/image_17012025_13_42_23_6421.jpg', '/media/data/images/17012025/13/37/image_17012025_13_37_10_6421.jpg', '/media/data/images/17012025/13/26/image_17012025_13_26_47_6390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/57/image_17012025_13_57_52_6444.jpg
/media/data/images/17012025/13/52/image_17012025_13_52_47_6506.jpg
/media/data/images/17012025/13/47/image_17012025_13_47_28_5401.jpg
/media/data/images/17012025/13/42/image_17012025_13_42_23_6421.jpg
/media/data/images/17012025/13/37/image_17012025_13_37_10_6421.jpg
/media/data/images/17012025/13/26/image_17012025_13_26_47_6390.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329474326","1329474373","1329474328","1329474384","1329474378","1329474398"],"photo_ids_order":["1329474326","1329474328","1329474373","1329474378","1329474384","1329474398"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/920cb189a588db57c2a0df8b5501a4a2.jpg","text":"TemporaryFile(/tmp/multipartBody6098493708834152324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118867044,"filename":"image_17012025_13_57_52_6444.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e4dc052bbb6e433f7f45db01b55180c0.jpg","text":"TemporaryFile(/tmp/multipartBody9159051824934178748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118867044,"filename":"image_17012025_13_47_28_5401.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a27e5dcd5aceacbde8ecd3185a31b2c6.jpg","text":"TemporaryFile(/tmp/multipartBody5786767222255856764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118867044,"filename":"image_17012025_13_52_47_6506.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8f56a8fd20a3c5a4eee41d4992138e95.jpg","text":"TemporaryFile(/tmp/multipartBody6865834215574974056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118867044,"filename":"image_17012025_13_37_10_6421.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/72970a92f19761bd542fcd24aa830844.jpg","text":"TemporaryFile(/tmp/multipartBody1107222173512185677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118867044,"filename":"image_17012025_13_42_23_6421.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c9f7d23c1c3af5bb7fb564e1bdd59ffb.jpg","text":"TemporaryFile(/tmp/multipartBody2290159397711481748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118867044,"filename":"image_17012025_13_26_47_6390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329474373","file1":"1329474328","file0":"1329474326","file4":"1329474384","file5":"1329474398","file3":"1329474378"},"map_files_photo_id_array":[{"photo_id":"1329474398","filename":"file5"},{"photo_id":"1329474373","filename":"file2"},{"photo_id":"1329474384","filename":"file4"},{"photo_id":"1329474328","filename":"file1"},{"photo_id":"1329474326","filename":"file0"},{"photo_id":"1329474378","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329474326":["hashtag1","hashtag2"]},{"1329474373":["hashtag1","hashtag2"]},{"1329474328":["hashtag1","hashtag2"]},{"1329474384":["hashtag1","hashtag2"]},{"1329474378":["hashtag1","hashtag2"]},{"1329474398":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329474326, 1329474373, 1329474328, 1329474384, 1329474378, 1329474398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.865389823913574 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:00:42.037895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/30/image_17012025_13_30_40_6377.jpg', '/media/data/images/17012025/13/30/image_17012025_13_30_34_5177.jpg', '/media/data/images/17012025/13/30/image_17012025_13_30_29_6371.jpg', '/media/data/images/17012025/13/30/image_17012025_13_30_22_6380.jpg', '/media/data/images/17012025/13/30/image_17012025_13_30_16_5174.jpg', '/media/data/images/17012025/13/30/image_17012025_13_30_11_6388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/30/image_17012025_13_30_40_6377.jpg
/media/data/images/17012025/13/30/image_17012025_13_30_34_5177.jpg
/media/data/images/17012025/13/30/image_17012025_13_30_29_6371.jpg
/media/data/images/17012025/13/30/image_17012025_13_30_22_6380.jpg
/media/data/images/17012025/13/30/image_17012025_13_30_16_5174.jpg
/media/data/images/17012025/13/30/image_17012025_13_30_11_6388.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329474446","1329474457","1329474471","1329474441","1329474435","1329474476"],"photo_ids_order":["1329474435","1329474441","1329474446","1329474457","1329474471","1329474476"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a0815e0bfdaff51d819496d864cbcf81.jpg","text":"TemporaryFile(/tmp/multipartBody402351765255817297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118906243,"filename":"image_17012025_13_30_29_6371.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/eb73746b45b50038810b87ba80271616.jpg","text":"TemporaryFile(/tmp/multipartBody2757273861138310599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118906243,"filename":"image_17012025_13_30_22_6380.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2a52ee49f0b437c5628fed46f88c5d2e.jpg","text":"TemporaryFile(/tmp/multipartBody6392148093977202775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118906243,"filename":"image_17012025_13_30_16_5174.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8db9b1627245930169135e82c5252262.jpg","text":"TemporaryFile(/tmp/multipartBody3118840460840583350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118906243,"filename":"image_17012025_13_30_34_5177.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e0edd0102b88436a33a1d077fb6f53c2.jpg","text":"TemporaryFile(/tmp/multipartBody5711393304281681465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118906243,"filename":"image_17012025_13_30_40_6377.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ab39aa9d6f67279691e19c47dd0cd954.jpg","text":"TemporaryFile(/tmp/multipartBody8346614920088169669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118906243,"filename":"image_17012025_13_30_11_6388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329474446","file1":"1329474441","file0":"1329474435","file4":"1329474471","file5":"1329474476","file3":"1329474457"},"map_files_photo_id_array":[{"photo_id":"1329474476","filename":"file5"},{"photo_id":"1329474446","filename":"file2"},{"photo_id":"1329474471","filename":"file4"},{"photo_id":"1329474441","filename":"file1"},{"photo_id":"1329474435","filename":"file0"},{"photo_id":"1329474457","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329474446":["hashtag1","hashtag2"]},{"1329474457":["hashtag1","hashtag2"]},{"1329474471":["hashtag1","hashtag2"]},{"1329474441":["hashtag1","hashtag2"]},{"1329474435":["hashtag1","hashtag2"]},{"1329474476":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329474446, 1329474457, 1329474471, 1329474441, 1329474435, 1329474476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.87991762161255 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:01:42.076907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/34/image_17012025_13_34_34_6386.jpg', '/media/data/images/17012025/13/34/image_17012025_13_34_28_5176.jpg', '/media/data/images/17012025/13/34/image_17012025_13_34_23_6384.jpg', '/media/data/images/17012025/13/34/image_17012025_13_34_16_6389.jpg', '/media/data/images/17012025/13/34/image_17012025_13_34_10_5213.jpg', '/media/data/images/17012025/13/34/image_17012025_13_34_05_6214.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/34/image_17012025_13_34_34_6386.jpg
/media/data/images/17012025/13/34/image_17012025_13_34_28_5176.jpg
/media/data/images/17012025/13/34/image_17012025_13_34_23_6384.jpg
/media/data/images/17012025/13/34/image_17012025_13_34_16_6389.jpg
/media/data/images/17012025/13/34/image_17012025_13_34_10_5213.jpg
/media/data/images/17012025/13/34/image_17012025_13_34_05_6214.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329474521","1329474527","1329474517","1329474511","1329474505","1329474525"],"photo_ids_order":["1329474505","1329474511","1329474517","1329474521","1329474525","1329474527"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/07e363435a9ec3584f6fb2f20676b493.jpg","text":"TemporaryFile(/tmp/multipartBody1148586227225726568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118966901,"filename":"image_17012025_13_34_16_6389.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d88a8bff6cdb55a2d60e99287d2fcaeb.jpg","text":"TemporaryFile(/tmp/multipartBody5904393058900769015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118966901,"filename":"image_17012025_13_34_05_6214.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a1c0594b03cea95500987b4e34b6f5f8.jpg","text":"TemporaryFile(/tmp/multipartBody242421701674416335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118966901,"filename":"image_17012025_13_34_23_6384.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/487f6471d207e8494806962da570948e.jpg","text":"TemporaryFile(/tmp/multipartBody7514823585281218281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118966901,"filename":"image_17012025_13_34_28_5176.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e66e55a172bed02c371ea56b8465e19e.jpg","text":"TemporaryFile(/tmp/multipartBody673236969551315908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118966901,"filename":"image_17012025_13_34_34_6386.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0fd2fc0edddf0ffb8e5b0f6eaf887e67.jpg","text":"TemporaryFile(/tmp/multipartBody6899757215650659656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737118966901,"filename":"image_17012025_13_34_10_5213.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329474517","file1":"1329474511","file0":"1329474505","file4":"1329474525","file5":"1329474527","file3":"1329474521"},"map_files_photo_id_array":[{"photo_id":"1329474527","filename":"file5"},{"photo_id":"1329474517","filename":"file2"},{"photo_id":"1329474525","filename":"file4"},{"photo_id":"1329474511","filename":"file1"},{"photo_id":"1329474505","filename":"file0"},{"photo_id":"1329474521","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329474521":["hashtag1","hashtag2"]},{"1329474527":["hashtag1","hashtag2"]},{"1329474517":["hashtag1","hashtag2"]},{"1329474511":["hashtag1","hashtag2"]},{"1329474505":["hashtag1","hashtag2"]},{"1329474525":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329474521, 1329474527, 1329474517, 1329474511, 1329474505, 1329474525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.68325090408325 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:02:22.146782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/38/image_17012025_13_38_35_6452.jpg', '/media/data/images/17012025/13/38/image_17012025_13_38_22_5280.jpg', '/media/data/images/17012025/13/38/image_17012025_13_38_16_6500.jpg', '/media/data/images/17012025/13/38/image_17012025_13_38_10_5264.jpg', '/media/data/images/17012025/13/38/image_17012025_13_38_05_6462.jpg', '/media/data/images/17012025/13/37/image_17012025_13_37_58_6497.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/38/image_17012025_13_38_35_6452.jpg
/media/data/images/17012025/13/38/image_17012025_13_38_22_5280.jpg
/media/data/images/17012025/13/38/image_17012025_13_38_16_6500.jpg
/media/data/images/17012025/13/38/image_17012025_13_38_10_5264.jpg
/media/data/images/17012025/13/38/image_17012025_13_38_05_6462.jpg
/media/data/images/17012025/13/37/image_17012025_13_37_58_6497.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329475004","1329474979","1329474984","1329474948","1329474992","1329474998"],"photo_ids_order":["1329474948","1329474979","1329474984","1329474992","1329474998","1329475004"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/60834dbbee292ddefa01ceeb186becd8.jpg","text":"TemporaryFile(/tmp/multipartBody787022153233523497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119010424,"filename":"image_17012025_13_37_58_6497.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/996cdc175ee7f1161207738faaf13a17.jpg","text":"TemporaryFile(/tmp/multipartBody4814210285527558018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119010424,"filename":"image_17012025_13_38_22_5280.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a9c7a1298f385ccde3eae80a5870491a.jpg","text":"TemporaryFile(/tmp/multipartBody7754131340360579121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119010424,"filename":"image_17012025_13_38_16_6500.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ba201c88b7513841cfd6e425e8704b34.jpg","text":"TemporaryFile(/tmp/multipartBody4873999457803041254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119010424,"filename":"image_17012025_13_38_35_6452.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/caa709c0b75f97f1f2d5f3dd938bf8ad.jpg","text":"TemporaryFile(/tmp/multipartBody5246141660513777217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119010424,"filename":"image_17012025_13_38_10_5264.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/36393f8d50556a5c7bdeae9273f584ff.jpg","text":"TemporaryFile(/tmp/multipartBody2676544087773136246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119010424,"filename":"image_17012025_13_38_05_6462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329474984","file1":"1329474979","file0":"1329474948","file4":"1329474998","file5":"1329475004","file3":"1329474992"},"map_files_photo_id_array":[{"photo_id":"1329475004","filename":"file5"},{"photo_id":"1329474984","filename":"file2"},{"photo_id":"1329474998","filename":"file4"},{"photo_id":"1329474979","filename":"file1"},{"photo_id":"1329474948","filename":"file0"},{"photo_id":"1329474992","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329475004":["hashtag1","hashtag2"]},{"1329474979":["hashtag1","hashtag2"]},{"1329474984":["hashtag1","hashtag2"]},{"1329474948":["hashtag1","hashtag2"]},{"1329474992":["hashtag1","hashtag2"]},{"1329474998":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329475004, 1329474979, 1329474984, 1329474948, 1329474992, 1329474998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.94833850860596 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:03:22.260156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/42/image_17012025_13_42_34_6385.jpg', '/media/data/images/17012025/13/42/image_17012025_13_42_28_5200.jpg', '/media/data/images/17012025/13/42/image_17012025_13_42_16_6444.jpg', '/media/data/images/17012025/13/42/image_17012025_13_42_10_5181.jpg', '/media/data/images/17012025/13/41/image_17012025_13_42_04_6368.jpg', '/media/data/images/17012025/13/41/image_17012025_13_41_58_6394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/42/image_17012025_13_42_34_6385.jpg
/media/data/images/17012025/13/42/image_17012025_13_42_28_5200.jpg
/media/data/images/17012025/13/42/image_17012025_13_42_16_6444.jpg
/media/data/images/17012025/13/42/image_17012025_13_42_10_5181.jpg
/media/data/images/17012025/13/41/image_17012025_13_42_04_6368.jpg
/media/data/images/17012025/13/41/image_17012025_13_41_58_6394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329475279","1329475216","1329475296","1329475289","1329475181","1329475178"],"photo_ids_order":["1329475178","1329475181","1329475216","1329475279","1329475289","1329475296"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/783d5bf849ed6b51dd2a674f7c7ef5b0.jpg","text":"TemporaryFile(/tmp/multipartBody1887796500579342989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119069139,"filename":"image_17012025_13_42_10_5181.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9c940052832d00a426384c6e4ce934c7.jpg","text":"TemporaryFile(/tmp/multipartBody4407300355442608689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119069139,"filename":"image_17012025_13_42_16_6444.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e49a768aa3686f77028123b4ea468208.jpg","text":"TemporaryFile(/tmp/multipartBody9040172719416325842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119069139,"filename":"image_17012025_13_41_58_6394.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/aed8422f3a45ed40ef8ee60dbab649ce.jpg","text":"TemporaryFile(/tmp/multipartBody2753181077439127628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119069139,"filename":"image_17012025_13_42_04_6368.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a7fbfa1beac5243be608a74814ed8753.jpg","text":"TemporaryFile(/tmp/multipartBody2816109887985477826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119069139,"filename":"image_17012025_13_42_28_5200.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b7c6fdd134d487f406efacc6039b3255.jpg","text":"TemporaryFile(/tmp/multipartBody7903325654569962142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119069139,"filename":"image_17012025_13_42_34_6385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329475216","file1":"1329475181","file0":"1329475178","file4":"1329475289","file5":"1329475296","file3":"1329475279"},"map_files_photo_id_array":[{"photo_id":"1329475296","filename":"file5"},{"photo_id":"1329475216","filename":"file2"},{"photo_id":"1329475289","filename":"file4"},{"photo_id":"1329475181","filename":"file1"},{"photo_id":"1329475178","filename":"file0"},{"photo_id":"1329475279","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329475279":["hashtag1","hashtag2"]},{"1329475216":["hashtag1","hashtag2"]},{"1329475296":["hashtag1","hashtag2"]},{"1329475289":["hashtag1","hashtag2"]},{"1329475181":["hashtag1","hashtag2"]},{"1329475178":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329475279, 1329475216, 1329475296, 1329475289, 1329475181, 1329475178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.20235061645508 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:04:22.389642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/46/image_17012025_13_46_17_6350.jpg', '/media/data/images/17012025/13/46/image_17012025_13_46_10_5329.jpg', '/media/data/images/17012025/13/45/image_17012025_13_45_59_6553.jpg', '/media/data/images/17012025/13/45/image_17012025_13_45_52_5307.jpg', '/media/data/images/17012025/13/45/image_17012025_13_45_47_6552.jpg', '/media/data/images/17012025/13/45/image_17012025_13_45_40_6477.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/46/image_17012025_13_46_17_6350.jpg
/media/data/images/17012025/13/46/image_17012025_13_46_10_5329.jpg
/media/data/images/17012025/13/45/image_17012025_13_45_59_6553.jpg
/media/data/images/17012025/13/45/image_17012025_13_45_52_5307.jpg
/media/data/images/17012025/13/45/image_17012025_13_45_47_6552.jpg
/media/data/images/17012025/13/45/image_17012025_13_45_40_6477.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329475372","1329475386","1329475380","1329475365","1329475346","1329475361"],"photo_ids_order":["1329475346","1329475361","1329475365","1329475372","1329475380","1329475386"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bd194299edf54fc5e4a1e388a569b718.jpg","text":"TemporaryFile(/tmp/multipartBody3587800430366186532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119131865,"filename":"image_17012025_13_45_52_5307.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/22e6b6406fe150f6f7204e745ac3bd33.jpg","text":"TemporaryFile(/tmp/multipartBody1829735760604647735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119131865,"filename":"image_17012025_13_45_40_6477.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dc7ad7f2e093e42eef9d7842d66a287f.jpg","text":"TemporaryFile(/tmp/multipartBody878241990960237859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119131865,"filename":"image_17012025_13_45_47_6552.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/94f1f2b2b33382dab01d3ad9a5a3d6af.jpg","text":"TemporaryFile(/tmp/multipartBody1078311671436577263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119131865,"filename":"image_17012025_13_45_59_6553.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a05a5d56d94a27271f67b588447964fc.jpg","text":"TemporaryFile(/tmp/multipartBody3623910487220926582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119131865,"filename":"image_17012025_13_46_17_6350.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7494885e0b954ec46c55d7f22d6d650c.jpg","text":"TemporaryFile(/tmp/multipartBody5512700507621502734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119131865,"filename":"image_17012025_13_46_10_5329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329475365","file1":"1329475361","file0":"1329475346","file4":"1329475380","file5":"1329475386","file3":"1329475372"},"map_files_photo_id_array":[{"photo_id":"1329475386","filename":"file5"},{"photo_id":"1329475365","filename":"file2"},{"photo_id":"1329475380","filename":"file4"},{"photo_id":"1329475361","filename":"file1"},{"photo_id":"1329475346","filename":"file0"},{"photo_id":"1329475372","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329475372":["hashtag1","hashtag2"]},{"1329475386":["hashtag1","hashtag2"]},{"1329475380":["hashtag1","hashtag2"]},{"1329475365":["hashtag1","hashtag2"]},{"1329475346":["hashtag1","hashtag2"]},{"1329475361":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329475372, 1329475386, 1329475380, 1329475365, 1329475346, 1329475361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.06122422218323 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:05:22.498545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/50/image_17012025_13_50_28_6536.jpg', '/media/data/images/17012025/13/50/image_17012025_13_50_22_5342.jpg', '/media/data/images/17012025/13/50/image_17012025_13_50_16_6662.jpg', '/media/data/images/17012025/13/50/image_17012025_13_50_10_5224.jpg', '/media/data/images/17012025/13/49/image_17012025_13_50_05_6487.jpg', '/media/data/images/17012025/13/49/image_17012025_13_49_58_5208.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/50/image_17012025_13_50_28_6536.jpg
/media/data/images/17012025/13/50/image_17012025_13_50_22_5342.jpg
/media/data/images/17012025/13/50/image_17012025_13_50_16_6662.jpg
/media/data/images/17012025/13/50/image_17012025_13_50_10_5224.jpg
/media/data/images/17012025/13/49/image_17012025_13_50_05_6487.jpg
/media/data/images/17012025/13/49/image_17012025_13_49_58_5208.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329475483","1329475537","1329475518","1329475550","1329475532","1329475526"],"photo_ids_order":["1329475483","1329475518","1329475526","1329475532","1329475537","1329475550"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9bc3f7853dce0771c380c07e78270510.jpg","text":"TemporaryFile(/tmp/multipartBody4176750952530560352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119189859,"filename":"image_17012025_13_50_28_6536.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a9e75722b997f9911faa59b921484cd7.jpg","text":"TemporaryFile(/tmp/multipartBody6168912264997346363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119189859,"filename":"image_17012025_13_50_05_6487.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a0bb87d7201d333ff84936d5a86a90a8.jpg","text":"TemporaryFile(/tmp/multipartBody2742263075271425672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119189859,"filename":"image_17012025_13_50_22_5342.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e10dcedf6d35369cb3e31fb25fc3d051.jpg","text":"TemporaryFile(/tmp/multipartBody8225986193816202541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119189859,"filename":"image_17012025_13_49_58_5208.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bce63e65314dd8fed262b5673c348731.jpg","text":"TemporaryFile(/tmp/multipartBody4366443316629741106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119189859,"filename":"image_17012025_13_50_10_5224.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6ad4598ec1ebed40a60717c7785a5699.jpg","text":"TemporaryFile(/tmp/multipartBody7805973961783437205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119189859,"filename":"image_17012025_13_50_16_6662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329475526","file1":"1329475518","file0":"1329475483","file4":"1329475537","file5":"1329475550","file3":"1329475532"},"map_files_photo_id_array":[{"photo_id":"1329475550","filename":"file5"},{"photo_id":"1329475526","filename":"file2"},{"photo_id":"1329475537","filename":"file4"},{"photo_id":"1329475518","filename":"file1"},{"photo_id":"1329475483","filename":"file0"},{"photo_id":"1329475532","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329475483":["hashtag1","hashtag2"]},{"1329475537":["hashtag1","hashtag2"]},{"1329475518":["hashtag1","hashtag2"]},{"1329475550":["hashtag1","hashtag2"]},{"1329475532":["hashtag1","hashtag2"]},{"1329475526":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329475483, 1329475537, 1329475518, 1329475550, 1329475532, 1329475526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.82640480995178 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:06:22.543939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/54/image_17012025_13_54_28_5197.jpg', '/media/data/images/17012025/13/54/image_17012025_13_54_23_6408.jpg', '/media/data/images/17012025/13/54/image_17012025_13_54_16_6425.jpg', '/media/data/images/17012025/13/54/image_17012025_13_54_10_5179.jpg', '/media/data/images/17012025/13/54/image_17012025_13_54_05_6227.jpg', '/media/data/images/17012025/13/53/image_17012025_13_53_59_6527.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/54/image_17012025_13_54_28_5197.jpg
/media/data/images/17012025/13/54/image_17012025_13_54_23_6408.jpg
/media/data/images/17012025/13/54/image_17012025_13_54_16_6425.jpg
/media/data/images/17012025/13/54/image_17012025_13_54_10_5179.jpg
/media/data/images/17012025/13/54/image_17012025_13_54_05_6227.jpg
/media/data/images/17012025/13/53/image_17012025_13_53_59_6527.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329475594","1329475600","1329475590","1329475587","1329475611","1329475605"],"photo_ids_order":["1329475587","1329475590","1329475594","1329475600","1329475605","1329475611"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2b0d6b61e5e05d7461709222785fbf7a.jpg","text":"TemporaryFile(/tmp/multipartBody7350493504738872341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119246832,"filename":"image_17012025_13_54_16_6425.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1fbb1c825ad6b67029400189e1b2afbd.jpg","text":"TemporaryFile(/tmp/multipartBody1225633854869707125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119246832,"filename":"image_17012025_13_54_10_5179.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6905563d0b8e96b197c4ec2906514489.jpg","text":"TemporaryFile(/tmp/multipartBody763497921925106856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119246832,"filename":"image_17012025_13_54_23_6408.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ebe2210758890665ab85f4c1e3fcebc7.jpg","text":"TemporaryFile(/tmp/multipartBody3902754738156802877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119246832,"filename":"image_17012025_13_54_28_5197.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bd42931bb0f0c8d56e28198b8d7c6566.jpg","text":"TemporaryFile(/tmp/multipartBody6390350701436031816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119246832,"filename":"image_17012025_13_53_59_6527.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e1668c17216c454ca19fe9732c4866a7.jpg","text":"TemporaryFile(/tmp/multipartBody382808073130010313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119246832,"filename":"image_17012025_13_54_05_6227.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329475594","file1":"1329475590","file0":"1329475587","file4":"1329475605","file5":"1329475611","file3":"1329475600"},"map_files_photo_id_array":[{"photo_id":"1329475611","filename":"file5"},{"photo_id":"1329475594","filename":"file2"},{"photo_id":"1329475605","filename":"file4"},{"photo_id":"1329475590","filename":"file1"},{"photo_id":"1329475587","filename":"file0"},{"photo_id":"1329475600","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329475594":["hashtag1","hashtag2"]},{"1329475600":["hashtag1","hashtag2"]},{"1329475590":["hashtag1","hashtag2"]},{"1329475587":["hashtag1","hashtag2"]},{"1329475611":["hashtag1","hashtag2"]},{"1329475605":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329475594, 1329475600, 1329475590, 1329475587, 1329475611, 1329475605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.11343455314636 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:07:03.061780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/53/image_17012025_13_53_52_5246.jpg', '/media/data/images/17012025/13/53/image_17012025_13_53_47_6410.jpg', '/media/data/images/17012025/13/53/image_17012025_13_53_40_6384.jpg', '/media/data/images/17012025/13/53/image_17012025_13_53_34_5176.jpg', '/media/data/images/17012025/13/53/image_17012025_13_53_29_6381.jpg', '/media/data/images/17012025/13/53/image_17012025_13_53_16_5192.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/53/image_17012025_13_53_52_5246.jpg
/media/data/images/17012025/13/53/image_17012025_13_53_47_6410.jpg
/media/data/images/17012025/13/53/image_17012025_13_53_40_6384.jpg
/media/data/images/17012025/13/53/image_17012025_13_53_34_5176.jpg
/media/data/images/17012025/13/53/image_17012025_13_53_29_6381.jpg
/media/data/images/17012025/13/53/image_17012025_13_53_16_5192.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329475648","1329475651","1329475630","1329475633","1329475653","1329475640"],"photo_ids_order":["1329475630","1329475633","1329475640","1329475648","1329475651","1329475653"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5feffeeaf719cd320ec90d4ff431fe12.jpg","text":"TemporaryFile(/tmp/multipartBody7212332861672239145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119287719,"filename":"image_17012025_13_53_34_5176.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0049829addd557d0a742d1e1643cef29.jpg","text":"TemporaryFile(/tmp/multipartBody7394283634652237657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119287719,"filename":"image_17012025_13_53_29_6381.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/08c66ddfd008bfe34d058af7da9e1a09.jpg","text":"TemporaryFile(/tmp/multipartBody1950689832984199308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119287719,"filename":"image_17012025_13_53_52_5246.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/08f0cdb93e0814944f2cf1372d505a9c.jpg","text":"TemporaryFile(/tmp/multipartBody3712155247121940308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119287719,"filename":"image_17012025_13_53_47_6410.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/26e1eb17643394937414f1289733b83a.jpg","text":"TemporaryFile(/tmp/multipartBody1644600264932496711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119287719,"filename":"image_17012025_13_53_16_5192.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/68bb0b027ac6ce890b05be51582917f0.jpg","text":"TemporaryFile(/tmp/multipartBody3529617064103836466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119287719,"filename":"image_17012025_13_53_40_6384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329475640","file1":"1329475633","file0":"1329475630","file4":"1329475651","file5":"1329475653","file3":"1329475648"},"map_files_photo_id_array":[{"photo_id":"1329475653","filename":"file5"},{"photo_id":"1329475640","filename":"file2"},{"photo_id":"1329475651","filename":"file4"},{"photo_id":"1329475633","filename":"file1"},{"photo_id":"1329475630","filename":"file0"},{"photo_id":"1329475648","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329475648":["hashtag1","hashtag2"]},{"1329475651":["hashtag1","hashtag2"]},{"1329475630":["hashtag1","hashtag2"]},{"1329475633":["hashtag1","hashtag2"]},{"1329475653":["hashtag1","hashtag2"]},{"1329475640":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329475648, 1329475651, 1329475630, 1329475633, 1329475653, 1329475640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.01546502113342 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:08:02.013058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/58/image_17012025_13_58_28_6410.jpg', '/media/data/images/17012025/13/58/image_17012025_13_58_22_5175.jpg', '/media/data/images/17012025/13/58/image_17012025_13_58_17_6343.jpg', '/media/data/images/17012025/13/58/image_17012025_13_58_10_6420.jpg', '/media/data/images/17012025/13/58/image_17012025_13_58_04_4999.jpg', '/media/data/images/17012025/13/57/image_17012025_13_57_59_6373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/58/image_17012025_13_58_28_6410.jpg
/media/data/images/17012025/13/58/image_17012025_13_58_22_5175.jpg
/media/data/images/17012025/13/58/image_17012025_13_58_17_6343.jpg
/media/data/images/17012025/13/58/image_17012025_13_58_10_6420.jpg
/media/data/images/17012025/13/58/image_17012025_13_58_04_4999.jpg
/media/data/images/17012025/13/57/image_17012025_13_57_59_6373.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329475717","1329475711","1329475713","1329475701","1329475706","1329475721"],"photo_ids_order":["1329475701","1329475706","1329475711","1329475713","1329475717","1329475721"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5fc246416b81f23f6ee5eaeff1ba9f5f.jpg","text":"TemporaryFile(/tmp/multipartBody8974830251156632196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119346627,"filename":"image_17012025_13_58_04_4999.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/707d49b6db3b62fe3ffb405eac7e37c5.jpg","text":"TemporaryFile(/tmp/multipartBody6480081684719096781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119346627,"filename":"image_17012025_13_58_17_6343.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3a38a1c0c1c1c5b837da1b6018a6c9b4.jpg","text":"TemporaryFile(/tmp/multipartBody4431886730558206717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119346627,"filename":"image_17012025_13_58_10_6420.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/df67b7868d81a6bb57e081b0e273621b.jpg","text":"TemporaryFile(/tmp/multipartBody3179053816436627214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119346627,"filename":"image_17012025_13_58_28_6410.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e3f73ce7c10b4a918bc13873846e5d13.jpg","text":"TemporaryFile(/tmp/multipartBody8714467279400690415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119346627,"filename":"image_17012025_13_58_22_5175.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/86e6ce2979fdabb4f0707e61b21c886c.jpg","text":"TemporaryFile(/tmp/multipartBody2228126101503969397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119346627,"filename":"image_17012025_13_57_59_6373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329475711","file1":"1329475706","file0":"1329475701","file4":"1329475717","file5":"1329475721","file3":"1329475713"},"map_files_photo_id_array":[{"photo_id":"1329475721","filename":"file5"},{"photo_id":"1329475711","filename":"file2"},{"photo_id":"1329475717","filename":"file4"},{"photo_id":"1329475706","filename":"file1"},{"photo_id":"1329475701","filename":"file0"},{"photo_id":"1329475713","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329475717":["hashtag1","hashtag2"]},{"1329475711":["hashtag1","hashtag2"]},{"1329475713":["hashtag1","hashtag2"]},{"1329475701":["hashtag1","hashtag2"]},{"1329475706":["hashtag1","hashtag2"]},{"1329475721":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329475717, 1329475711, 1329475713, 1329475701, 1329475706, 1329475721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.115373611450195 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:08:41.763371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/02/image_17012025_14_02_23_6369.jpg', '/media/data/images/17012025/14/02/image_17012025_14_02_16_6410.jpg', '/media/data/images/17012025/14/02/image_17012025_14_02_10_5196.jpg', '/media/data/images/17012025/14/02/image_17012025_14_02_05_6200.jpg', '/media/data/images/17012025/14/01/image_17012025_14_01_58_6373.jpg', '/media/data/images/17012025/14/01/image_17012025_14_01_52_6391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/02/image_17012025_14_02_23_6369.jpg
/media/data/images/17012025/14/02/image_17012025_14_02_16_6410.jpg
/media/data/images/17012025/14/02/image_17012025_14_02_10_5196.jpg
/media/data/images/17012025/14/02/image_17012025_14_02_05_6200.jpg
/media/data/images/17012025/14/01/image_17012025_14_01_58_6373.jpg
/media/data/images/17012025/14/01/image_17012025_14_01_52_6391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329475936","1329476019","1329475731","1329475796","1329475739","1329475736"],"photo_ids_order":["1329475731","1329475736","1329475739","1329475796","1329475936","1329476019"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f09d6e9ab01374010a53fe1b306ea5d8.jpg","text":"TemporaryFile(/tmp/multipartBody2879366369300560712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119386625,"filename":"image_17012025_14_01_58_6373.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e044dab6d019637b4292fd139e456e39.jpg","text":"TemporaryFile(/tmp/multipartBody2285546880710846219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119386625,"filename":"image_17012025_14_01_52_6391.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0472613e2c36651f633e13f09025be60.jpg","text":"TemporaryFile(/tmp/multipartBody8625764385545495307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119386625,"filename":"image_17012025_14_02_23_6369.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/db169bf28db93408e035c0889b5ec7a6.jpg","text":"TemporaryFile(/tmp/multipartBody5338933778431016018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119386625,"filename":"image_17012025_14_02_05_6200.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3bfff6581ff01eba32a9cd76d6bb391b.jpg","text":"TemporaryFile(/tmp/multipartBody5382000872534673665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119386625,"filename":"image_17012025_14_02_10_5196.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e247dcc45db90de246ac9937b68f3161.jpg","text":"TemporaryFile(/tmp/multipartBody3318718850456980863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119386625,"filename":"image_17012025_14_02_16_6410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329475739","file1":"1329475736","file0":"1329475731","file4":"1329475936","file5":"1329476019","file3":"1329475796"},"map_files_photo_id_array":[{"photo_id":"1329476019","filename":"file5"},{"photo_id":"1329475739","filename":"file2"},{"photo_id":"1329475936","filename":"file4"},{"photo_id":"1329475736","filename":"file1"},{"photo_id":"1329475731","filename":"file0"},{"photo_id":"1329475796","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329475936":["hashtag1","hashtag2"]},{"1329476019":["hashtag1","hashtag2"]},{"1329475731":["hashtag1","hashtag2"]},{"1329475796":["hashtag1","hashtag2"]},{"1329475739":["hashtag1","hashtag2"]},{"1329475736":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329475936, 1329476019, 1329475731, 1329475796, 1329475739, 1329475736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.342655658721924 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:09:41.860634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/05/image_17012025_14_05_53_6506.jpg', '/media/data/images/17012025/14/05/image_17012025_14_05_40_5186.jpg', '/media/data/images/17012025/14/05/image_17012025_14_05_34_6372.jpg', '/media/data/images/17012025/14/05/image_17012025_14_05_28_6391.jpg', '/media/data/images/17012025/14/05/image_17012025_14_05_22_5199.jpg', '/media/data/images/17012025/14/05/image_17012025_14_05_16_6392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/05/image_17012025_14_05_53_6506.jpg
/media/data/images/17012025/14/05/image_17012025_14_05_40_5186.jpg
/media/data/images/17012025/14/05/image_17012025_14_05_34_6372.jpg
/media/data/images/17012025/14/05/image_17012025_14_05_28_6391.jpg
/media/data/images/17012025/14/05/image_17012025_14_05_22_5199.jpg
/media/data/images/17012025/14/05/image_17012025_14_05_16_6392.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329476784","1329476778","1329476766","1329476782","1329476773","1329476752"],"photo_ids_order":["1329476752","1329476766","1329476773","1329476778","1329476782","1329476784"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c378fa222df23d3bec93d50ce0e75f4c.jpg","text":"TemporaryFile(/tmp/multipartBody701136878332463447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119448273,"filename":"image_17012025_14_05_16_6392.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/91846295f4c30e0c16eb2cee2d05d9ee.jpg","text":"TemporaryFile(/tmp/multipartBody1345855165000883791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119448273,"filename":"image_17012025_14_05_28_6391.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/894a29810f49ff8504cf4dc417b1f9bc.jpg","text":"TemporaryFile(/tmp/multipartBody6130741114697917835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119448273,"filename":"image_17012025_14_05_40_5186.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4cddc646b8a084ac3002e112559b8e7d.jpg","text":"TemporaryFile(/tmp/multipartBody6126202258584523182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119448273,"filename":"image_17012025_14_05_22_5199.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/639ef2f33141370d40d36aadd59fcf59.jpg","text":"TemporaryFile(/tmp/multipartBody6836411940630462628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119448273,"filename":"image_17012025_14_05_34_6372.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/545e19c8e17876360d6a947f8134be7e.jpg","text":"TemporaryFile(/tmp/multipartBody7344988220404732506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119448273,"filename":"image_17012025_14_05_53_6506.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329476773","file1":"1329476766","file0":"1329476752","file4":"1329476782","file5":"1329476784","file3":"1329476778"},"map_files_photo_id_array":[{"photo_id":"1329476784","filename":"file5"},{"photo_id":"1329476773","filename":"file2"},{"photo_id":"1329476782","filename":"file4"},{"photo_id":"1329476766","filename":"file1"},{"photo_id":"1329476752","filename":"file0"},{"photo_id":"1329476778","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329476784":["hashtag1","hashtag2"]},{"1329476778":["hashtag1","hashtag2"]},{"1329476766":["hashtag1","hashtag2"]},{"1329476782":["hashtag1","hashtag2"]},{"1329476773":["hashtag1","hashtag2"]},{"1329476752":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329476784, 1329476778, 1329476766, 1329476782, 1329476773, 1329476752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.001646995544434 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:10:41.944579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/10/image_17012025_14_10_10_6364.jpg', '/media/data/images/17012025/14/10/image_17012025_14_10_04_5112.jpg', '/media/data/images/17012025/14/09/image_17012025_14_09_59_6373.jpg', '/media/data/images/17012025/14/09/image_17012025_14_09_52_6374.jpg', '/media/data/images/17012025/14/09/image_17012025_14_09_46_6359.jpg', '/media/data/images/17012025/14/09/image_17012025_14_09_40_5152.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/10/image_17012025_14_10_10_6364.jpg
/media/data/images/17012025/14/10/image_17012025_14_10_04_5112.jpg
/media/data/images/17012025/14/09/image_17012025_14_09_59_6373.jpg
/media/data/images/17012025/14/09/image_17012025_14_09_52_6374.jpg
/media/data/images/17012025/14/09/image_17012025_14_09_46_6359.jpg
/media/data/images/17012025/14/09/image_17012025_14_09_40_5152.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: 4.117054224014282 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:11:02.417870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/10/image_17012025_14_10_10_6364.jpg', '/media/data/images/17012025/14/10/image_17012025_14_10_04_5112.jpg', '/media/data/images/17012025/14/09/image_17012025_14_09_59_6373.jpg', '/media/data/images/17012025/14/09/image_17012025_14_09_52_6374.jpg', '/media/data/images/17012025/14/09/image_17012025_14_09_46_6359.jpg', '/media/data/images/17012025/14/09/image_17012025_14_09_40_5152.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/10/image_17012025_14_10_10_6364.jpg
/media/data/images/17012025/14/10/image_17012025_14_10_04_5112.jpg
/media/data/images/17012025/14/09/image_17012025_14_09_59_6373.jpg
/media/data/images/17012025/14/09/image_17012025_14_09_52_6374.jpg
/media/data/images/17012025/14/09/image_17012025_14_09_46_6359.jpg
/media/data/images/17012025/14/09/image_17012025_14_09_40_5152.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329477378","1329477141","1329476958","1329476882","1329477251","1329477040"],"photo_ids_order":["1329476882","1329476958","1329477040","1329477141","1329477251","1329477378"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/329a3da78affcefa7453c4c063d70ec3.jpg","text":"TemporaryFile(/tmp/multipartBody2644757515841533901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119527201,"filename":"image_17012025_14_09_40_5152.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2db783d279e7d3ce19d3ae9796d1bcf5.jpg","text":"TemporaryFile(/tmp/multipartBody628933739723530308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119527201,"filename":"image_17012025_14_09_52_6374.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b12b29a1fa1ea2d693776fc2f772e543.jpg","text":"TemporaryFile(/tmp/multipartBody4883556677839185578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119527201,"filename":"image_17012025_14_10_04_5112.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/846ca40db67d2d377f232a476de04ed5.jpg","text":"TemporaryFile(/tmp/multipartBody4573865521029226571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119527201,"filename":"image_17012025_14_10_10_6364.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/071700ff4cf91c15a57db39b699aedd1.jpg","text":"TemporaryFile(/tmp/multipartBody183775802453868071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119527201,"filename":"image_17012025_14_09_46_6359.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/abefa173c2d2bc529c777648a2973c02.jpg","text":"TemporaryFile(/tmp/multipartBody990389183578928427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119527201,"filename":"image_17012025_14_09_59_6373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329477040","file1":"1329476958","file0":"1329476882","file4":"1329477251","file5":"1329477378","file3":"1329477141"},"map_files_photo_id_array":[{"photo_id":"1329477378","filename":"file5"},{"photo_id":"1329477040","filename":"file2"},{"photo_id":"1329477251","filename":"file4"},{"photo_id":"1329476958","filename":"file1"},{"photo_id":"1329476882","filename":"file0"},{"photo_id":"1329477141","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329477378":["hashtag1","hashtag2"]},{"1329477141":["hashtag1","hashtag2"]},{"1329476958":["hashtag1","hashtag2"]},{"1329476882":["hashtag1","hashtag2"]},{"1329477251":["hashtag1","hashtag2"]},{"1329477040":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329477378, 1329477141, 1329476958, 1329476882, 1329477251, 1329477040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.90860629081726 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:12:02.352544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/11/image_17012025_14_11_53_6357.jpg', '/media/data/images/17012025/14/11/image_17012025_14_11_46_6369.jpg', '/media/data/images/17012025/14/11/image_17012025_14_11_40_5157.jpg', '/media/data/images/17012025/14/11/image_17012025_14_11_35_6367.jpg', '/media/data/images/17012025/14/11/image_17012025_14_11_28_6368.jpg', '/media/data/images/17012025/14/11/image_17012025_14_11_22_5165.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/11/image_17012025_14_11_53_6357.jpg
/media/data/images/17012025/14/11/image_17012025_14_11_46_6369.jpg
/media/data/images/17012025/14/11/image_17012025_14_11_40_5157.jpg
/media/data/images/17012025/14/11/image_17012025_14_11_35_6367.jpg
/media/data/images/17012025/14/11/image_17012025_14_11_28_6368.jpg
/media/data/images/17012025/14/11/image_17012025_14_11_22_5165.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329477648","1329477651","1329477641","1329477644","1329477637","1329477625"],"photo_ids_order":["1329477625","1329477637","1329477641","1329477644","1329477648","1329477651"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f5a35b118a9a1111e6af732f76998bfe.jpg","text":"TemporaryFile(/tmp/multipartBody2438575623188686703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119586502,"filename":"image_17012025_14_11_28_6368.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3b0bc6113f0fa56e0cef1cb55070aad1.jpg","text":"TemporaryFile(/tmp/multipartBody4715407339835284933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119586502,"filename":"image_17012025_14_11_22_5165.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c417538cc7645641dab2d5c7acf55741.jpg","text":"TemporaryFile(/tmp/multipartBody8214032100948064433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119586502,"filename":"image_17012025_14_11_40_5157.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0617af633b111ceaaf8c4b30fb467293.jpg","text":"TemporaryFile(/tmp/multipartBody3472287997021277624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119586502,"filename":"image_17012025_14_11_35_6367.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/99f56e305174d1db928e3a1e2d93c385.jpg","text":"TemporaryFile(/tmp/multipartBody589882691817644496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119586502,"filename":"image_17012025_14_11_46_6369.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d7e90151fd4abcb3016baf18f5bc08c8.jpg","text":"TemporaryFile(/tmp/multipartBody1093531154385501695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119586502,"filename":"image_17012025_14_11_53_6357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329477641","file1":"1329477637","file0":"1329477625","file4":"1329477648","file5":"1329477651","file3":"1329477644"},"map_files_photo_id_array":[{"photo_id":"1329477651","filename":"file5"},{"photo_id":"1329477641","filename":"file2"},{"photo_id":"1329477648","filename":"file4"},{"photo_id":"1329477637","filename":"file1"},{"photo_id":"1329477625","filename":"file0"},{"photo_id":"1329477644","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329477648":["hashtag1","hashtag2"]},{"1329477651":["hashtag1","hashtag2"]},{"1329477641":["hashtag1","hashtag2"]},{"1329477644":["hashtag1","hashtag2"]},{"1329477637":["hashtag1","hashtag2"]},{"1329477625":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329477648, 1329477651, 1329477641, 1329477644, 1329477637, 1329477625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.109018325805664 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:13:02.587401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/12/image_17012025_14_12_52_5166.jpg', '/media/data/images/17012025/14/12/image_17012025_14_12_46_6367.jpg', '/media/data/images/17012025/14/12/image_17012025_14_12_34_5155.jpg', '/media/data/images/17012025/14/12/image_17012025_14_12_29_6366.jpg', '/media/data/images/17012025/14/12/image_17012025_14_12_22_6364.jpg', '/media/data/images/17012025/14/12/image_17012025_14_12_16_5155.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/12/image_17012025_14_12_52_5166.jpg
/media/data/images/17012025/14/12/image_17012025_14_12_46_6367.jpg
/media/data/images/17012025/14/12/image_17012025_14_12_34_5155.jpg
/media/data/images/17012025/14/12/image_17012025_14_12_29_6366.jpg
/media/data/images/17012025/14/12/image_17012025_14_12_22_6364.jpg
/media/data/images/17012025/14/12/image_17012025_14_12_16_5155.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: 5.219985246658325 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:13:22.205607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/13/image_17012025_14_13_53_6389.jpg', '/media/data/images/17012025/14/13/image_17012025_14_13_46_6371.jpg', '/media/data/images/17012025/14/13/image_17012025_14_13_40_5150.jpg', '/media/data/images/17012025/14/13/image_17012025_14_13_35_6426.jpg', '/media/data/images/17012025/14/13/image_17012025_14_13_28_6503.jpg', '/media/data/images/17012025/14/13/image_17012025_14_13_22_5281.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/13/image_17012025_14_13_53_6389.jpg
/media/data/images/17012025/14/13/image_17012025_14_13_46_6371.jpg
/media/data/images/17012025/14/13/image_17012025_14_13_40_5150.jpg
/media/data/images/17012025/14/13/image_17012025_14_13_35_6426.jpg
/media/data/images/17012025/14/13/image_17012025_14_13_28_6503.jpg
/media/data/images/17012025/14/13/image_17012025_14_13_22_5281.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329477879","1329477873","1329477867","1329477723","1329477728","1329477862"],"photo_ids_order":["1329477723","1329477728","1329477862","1329477867","1329477873","1329477879"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/61037efe7063051ef0f761dc3c104e5a.jpg","text":"TemporaryFile(/tmp/multipartBody4747106331168733028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119667344,"filename":"image_17012025_14_13_22_5281.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ca283b8c9caed059837c9235bf8a14c6.jpg","text":"TemporaryFile(/tmp/multipartBody784040230858366136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119667344,"filename":"image_17012025_14_13_28_6503.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1f7653464220d78df6c83aa0cb4095e4.jpg","text":"TemporaryFile(/tmp/multipartBody3732675317660020856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119667344,"filename":"image_17012025_14_13_35_6426.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5a699d7dc8c2276396dc37ca4c1903da.jpg","text":"TemporaryFile(/tmp/multipartBody3843679482887390025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119667344,"filename":"image_17012025_14_13_53_6389.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3560ac0c43d617b0fe83e55b8b944b53.jpg","text":"TemporaryFile(/tmp/multipartBody2212809858684747816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119667344,"filename":"image_17012025_14_13_46_6371.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fd2906e3375414bdaa365e9a48fa42ef.jpg","text":"TemporaryFile(/tmp/multipartBody1371252687596257258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119667344,"filename":"image_17012025_14_13_40_5150.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329477862","file1":"1329477728","file0":"1329477723","file4":"1329477873","file5":"1329477879","file3":"1329477867"},"map_files_photo_id_array":[{"photo_id":"1329477879","filename":"file5"},{"photo_id":"1329477862","filename":"file2"},{"photo_id":"1329477873","filename":"file4"},{"photo_id":"1329477728","filename":"file1"},{"photo_id":"1329477723","filename":"file0"},{"photo_id":"1329477867","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329477879":["hashtag1","hashtag2"]},{"1329477873":["hashtag1","hashtag2"]},{"1329477867":["hashtag1","hashtag2"]},{"1329477723":["hashtag1","hashtag2"]},{"1329477728":["hashtag1","hashtag2"]},{"1329477862":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329477879, 1329477873, 1329477867, 1329477723, 1329477728, 1329477862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.464568853378296 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:14:22.333918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/14/image_17012025_14_14_52_5168.jpg', '/media/data/images/17012025/14/14/image_17012025_14_14_47_6372.jpg', '/media/data/images/17012025/14/14/image_17012025_14_14_40_6409.jpg', '/media/data/images/17012025/14/14/image_17012025_14_14_34_5171.jpg', '/media/data/images/17012025/14/14/image_17012025_14_14_29_6390.jpg', '/media/data/images/17012025/14/14/image_17012025_14_14_22_6396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/14/image_17012025_14_14_52_5168.jpg
/media/data/images/17012025/14/14/image_17012025_14_14_47_6372.jpg
/media/data/images/17012025/14/14/image_17012025_14_14_40_6409.jpg
/media/data/images/17012025/14/14/image_17012025_14_14_34_5171.jpg
/media/data/images/17012025/14/14/image_17012025_14_14_29_6390.jpg
/media/data/images/17012025/14/14/image_17012025_14_14_22_6396.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329477978","1329477948","1329477915","1329477911","1329477905","1329477922"],"photo_ids_order":["1329477905","1329477911","1329477915","1329477922","1329477948","1329477978"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a3d378cd2de3718d5271d55a836ff729.jpg","text":"TemporaryFile(/tmp/multipartBody7519228514452190694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119727228,"filename":"image_17012025_14_14_22_6396.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/740691ca18a8fead475a83e29b264497.jpg","text":"TemporaryFile(/tmp/multipartBody2703980793985473369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119727228,"filename":"image_17012025_14_14_29_6390.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b45d41af3e42aabac94fa7d5ca297dcb.jpg","text":"TemporaryFile(/tmp/multipartBody8565891956298667060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119727228,"filename":"image_17012025_14_14_40_6409.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f5a9ed1ca86156cd71ac92c1a4005fcc.jpg","text":"TemporaryFile(/tmp/multipartBody5779802079638777608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119727228,"filename":"image_17012025_14_14_47_6372.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f4664d2b6c0735c50c98186e0df2fc70.jpg","text":"TemporaryFile(/tmp/multipartBody5171592214696468196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119727228,"filename":"image_17012025_14_14_52_5168.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/11bf781f81df236bc2e77c954802ba51.jpg","text":"TemporaryFile(/tmp/multipartBody3118749799773731674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119727228,"filename":"image_17012025_14_14_34_5171.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329477915","file1":"1329477911","file0":"1329477905","file4":"1329477948","file5":"1329477978","file3":"1329477922"},"map_files_photo_id_array":[{"photo_id":"1329477978","filename":"file5"},{"photo_id":"1329477915","filename":"file2"},{"photo_id":"1329477948","filename":"file4"},{"photo_id":"1329477911","filename":"file1"},{"photo_id":"1329477905","filename":"file0"},{"photo_id":"1329477922","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329477978":["hashtag1","hashtag2"]},{"1329477948":["hashtag1","hashtag2"]},{"1329477915":["hashtag1","hashtag2"]},{"1329477911":["hashtag1","hashtag2"]},{"1329477905":["hashtag1","hashtag2"]},{"1329477922":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329477978, 1329477948, 1329477915, 1329477911, 1329477905, 1329477922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.28443145751953 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:15:22.424280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/15/image_17012025_14_15_52_5171.jpg', '/media/data/images/17012025/14/15/image_17012025_14_15_47_6379.jpg', '/media/data/images/17012025/14/15/image_17012025_14_15_40_6387.jpg', '/media/data/images/17012025/14/15/image_17012025_14_15_34_6372.jpg', '/media/data/images/17012025/14/15/image_17012025_14_15_28_5169.jpg', '/media/data/images/17012025/14/15/image_17012025_14_15_22_6416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/15/image_17012025_14_15_52_5171.jpg
/media/data/images/17012025/14/15/image_17012025_14_15_47_6379.jpg
/media/data/images/17012025/14/15/image_17012025_14_15_40_6387.jpg
/media/data/images/17012025/14/15/image_17012025_14_15_34_6372.jpg
/media/data/images/17012025/14/15/image_17012025_14_15_28_5169.jpg
/media/data/images/17012025/14/15/image_17012025_14_15_22_6416.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329478053","1329478026","1329478019","1329478072","1329478083","1329478077"],"photo_ids_order":["1329478019","1329478026","1329478053","1329478072","1329478077","1329478083"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3b0604c835805a72b3f71fd1bcb21f3e.jpg","text":"TemporaryFile(/tmp/multipartBody646673589545772841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119787100,"filename":"image_17012025_14_15_40_6387.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/858517b3c8a78998b98a318171e244ef.jpg","text":"TemporaryFile(/tmp/multipartBody2787733943229372176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119787100,"filename":"image_17012025_14_15_47_6379.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6eb7478780265f6a6ec9ed974fdaadec.jpg","text":"TemporaryFile(/tmp/multipartBody7187381517345363398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119787100,"filename":"image_17012025_14_15_52_5171.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3a761d7f0251a2f362e230958c7b828d.jpg","text":"TemporaryFile(/tmp/multipartBody1967752829548208881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119787100,"filename":"image_17012025_14_15_34_6372.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/05cfa3f2b74d6e7a61f387dc81322a1c.jpg","text":"TemporaryFile(/tmp/multipartBody4183788494945686976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119787100,"filename":"image_17012025_14_15_22_6416.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e281331033120311e31abb549e61548b.jpg","text":"TemporaryFile(/tmp/multipartBody2608382913703435477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119787100,"filename":"image_17012025_14_15_28_5169.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329478053","file1":"1329478026","file0":"1329478019","file4":"1329478077","file5":"1329478083","file3":"1329478072"},"map_files_photo_id_array":[{"photo_id":"1329478083","filename":"file5"},{"photo_id":"1329478053","filename":"file2"},{"photo_id":"1329478077","filename":"file4"},{"photo_id":"1329478026","filename":"file1"},{"photo_id":"1329478019","filename":"file0"},{"photo_id":"1329478072","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329478053":["hashtag1","hashtag2"]},{"1329478026":["hashtag1","hashtag2"]},{"1329478019":["hashtag1","hashtag2"]},{"1329478072":["hashtag1","hashtag2"]},{"1329478083":["hashtag1","hashtag2"]},{"1329478077":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329478053, 1329478026, 1329478019, 1329478072, 1329478083, 1329478077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.75505542755127 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:16:02.774762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/15/image_17012025_14_15_16_6399.jpg', '/media/data/images/17012025/14/15/image_17012025_14_15_10_5209.jpg', '/media/data/images/17012025/14/14/image_17012025_14_15_04_6375.jpg', '/media/data/images/17012025/14/14/image_17012025_14_14_58_6362.jpg', '/media/data/images/17012025/14/14/image_17012025_14_14_16_5196.jpg', '/media/data/images/17012025/14/14/image_17012025_14_14_11_6396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/15/image_17012025_14_15_16_6399.jpg
/media/data/images/17012025/14/15/image_17012025_14_15_10_5209.jpg
/media/data/images/17012025/14/14/image_17012025_14_15_04_6375.jpg
/media/data/images/17012025/14/14/image_17012025_14_14_58_6362.jpg
/media/data/images/17012025/14/14/image_17012025_14_14_16_5196.jpg
/media/data/images/17012025/14/14/image_17012025_14_14_11_6396.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329478149","1329478195","1329478171","1329478129","1329478191","1329478138"],"photo_ids_order":["1329478129","1329478138","1329478149","1329478171","1329478191","1329478195"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b95a889f1e59a6e1bed836ea0cc1bdea.jpg","text":"TemporaryFile(/tmp/multipartBody5674699503574382127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119827108,"filename":"image_17012025_14_15_04_6375.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7d3e26c10cf0d947214adcbebebfd273.jpg","text":"TemporaryFile(/tmp/multipartBody6612083872123033010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119827108,"filename":"image_17012025_14_14_11_6396.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a8fb86b0fb262c50f63ce3d0c6e42ce6.jpg","text":"TemporaryFile(/tmp/multipartBody8497594647776580129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119827108,"filename":"image_17012025_14_14_58_6362.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/af5e9a5a7c24ae6b193c72b18a82966c.jpg","text":"TemporaryFile(/tmp/multipartBody6304029159364703446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119827108,"filename":"image_17012025_14_15_16_6399.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/89b61cbd16586f0a7d42e057d05959dc.jpg","text":"TemporaryFile(/tmp/multipartBody6594849755795122789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119827108,"filename":"image_17012025_14_14_16_5196.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d9a25abb7bec801f8b66b6f3c95920ab.jpg","text":"TemporaryFile(/tmp/multipartBody5638478463123587255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119827108,"filename":"image_17012025_14_15_10_5209.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329478149","file1":"1329478138","file0":"1329478129","file4":"1329478191","file5":"1329478195","file3":"1329478171"},"map_files_photo_id_array":[{"photo_id":"1329478195","filename":"file5"},{"photo_id":"1329478149","filename":"file2"},{"photo_id":"1329478191","filename":"file4"},{"photo_id":"1329478138","filename":"file1"},{"photo_id":"1329478129","filename":"file0"},{"photo_id":"1329478171","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329478149":["hashtag1","hashtag2"]},{"1329478195":["hashtag1","hashtag2"]},{"1329478171":["hashtag1","hashtag2"]},{"1329478129":["hashtag1","hashtag2"]},{"1329478191":["hashtag1","hashtag2"]},{"1329478138":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329478149, 1329478195, 1329478171, 1329478129, 1329478191, 1329478138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.419034242630005 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:17:02.888908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/16/image_17012025_14_16_52_5166.jpg', '/media/data/images/17012025/14/16/image_17012025_14_16_47_6362.jpg', '/media/data/images/17012025/14/16/image_17012025_14_16_40_6351.jpg', '/media/data/images/17012025/14/16/image_17012025_14_16_34_5176.jpg', '/media/data/images/17012025/14/16/image_17012025_14_16_29_6383.jpg', '/media/data/images/17012025/14/16/image_17012025_14_16_22_6365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/16/image_17012025_14_16_52_5166.jpg
/media/data/images/17012025/14/16/image_17012025_14_16_47_6362.jpg
/media/data/images/17012025/14/16/image_17012025_14_16_40_6351.jpg
/media/data/images/17012025/14/16/image_17012025_14_16_34_5176.jpg
/media/data/images/17012025/14/16/image_17012025_14_16_29_6383.jpg
/media/data/images/17012025/14/16/image_17012025_14_16_22_6365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329478245","1329478248","1329478233","1329478238","1329478243","1329478228"],"photo_ids_order":["1329478228","1329478233","1329478238","1329478243","1329478245","1329478248"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cb89fd137c535184e0f46749a3174c05.jpg","text":"TemporaryFile(/tmp/multipartBody2855570307174290032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119887303,"filename":"image_17012025_14_16_29_6383.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f1326c3d893ca372073a4873fcc24dfe.jpg","text":"TemporaryFile(/tmp/multipartBody2586023170493636601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119887303,"filename":"image_17012025_14_16_22_6365.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/18052c8fd724db22fab6f2bad54497f3.jpg","text":"TemporaryFile(/tmp/multipartBody6909641654800586746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119887303,"filename":"image_17012025_14_16_47_6362.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2234d19616cffbd8bf4bf914906c5911.jpg","text":"TemporaryFile(/tmp/multipartBody2697348873536716592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119887303,"filename":"image_17012025_14_16_40_6351.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9a87443d4b648a8f50dd501548d2fecb.jpg","text":"TemporaryFile(/tmp/multipartBody2590816609490347668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119887303,"filename":"image_17012025_14_16_34_5176.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5f0189e04832297e227dec1bbf5f6a21.jpg","text":"TemporaryFile(/tmp/multipartBody11103801068759879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119887303,"filename":"image_17012025_14_16_52_5166.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329478238","file1":"1329478233","file0":"1329478228","file4":"1329478245","file5":"1329478248","file3":"1329478243"},"map_files_photo_id_array":[{"photo_id":"1329478248","filename":"file5"},{"photo_id":"1329478238","filename":"file2"},{"photo_id":"1329478245","filename":"file4"},{"photo_id":"1329478233","filename":"file1"},{"photo_id":"1329478228","filename":"file0"},{"photo_id":"1329478243","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329478245":["hashtag1","hashtag2"]},{"1329478248":["hashtag1","hashtag2"]},{"1329478233":["hashtag1","hashtag2"]},{"1329478238":["hashtag1","hashtag2"]},{"1329478243":["hashtag1","hashtag2"]},{"1329478228":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329478245, 1329478248, 1329478233, 1329478238, 1329478243, 1329478228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.16889834403992 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:18:02.834420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/16/image_17012025_14_16_16_6378.jpg', '/media/data/images/17012025/14/16/image_17012025_14_16_10_5170.jpg', '/media/data/images/17012025/14/16/image_17012025_14_16_04_6182.jpg', '/media/data/images/17012025/14/15/image_17012025_14_15_58_6363.jpg', '/media/data/images/17012025/14/13/image_17012025_14_14_04_6531.jpg', '/media/data/images/17012025/14/13/image_17012025_14_13_58_5177.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/16/image_17012025_14_16_16_6378.jpg
/media/data/images/17012025/14/16/image_17012025_14_16_10_5170.jpg
/media/data/images/17012025/14/16/image_17012025_14_16_04_6182.jpg
/media/data/images/17012025/14/15/image_17012025_14_15_58_6363.jpg
/media/data/images/17012025/14/13/image_17012025_14_14_04_6531.jpg
/media/data/images/17012025/14/13/image_17012025_14_13_58_5177.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329478298","1329478277","1329478288","1329478285","1329478303","1329478281"],"photo_ids_order":["1329478277","1329478281","1329478285","1329478288","1329478298","1329478303"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cd6d5a267c3cffbfbbef7d2bc8874326.jpg","text":"TemporaryFile(/tmp/multipartBody3217481799978015813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119948398,"filename":"image_17012025_14_14_04_6531.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/291e0103b09a5158479954e6778827e2.jpg","text":"TemporaryFile(/tmp/multipartBody196560329764407570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119948398,"filename":"image_17012025_14_16_16_6378.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d9df0183f50678e0abe72f3b2b069170.jpg","text":"TemporaryFile(/tmp/multipartBody3612335884495848990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119948398,"filename":"image_17012025_14_15_58_6363.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/da3386b289474afb500d470c762ad374.jpg","text":"TemporaryFile(/tmp/multipartBody6238754394308512353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119948398,"filename":"image_17012025_14_16_04_6182.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/db8ebf310357a24751ad7f1385d2291b.jpg","text":"TemporaryFile(/tmp/multipartBody803609175934140993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119948398,"filename":"image_17012025_14_13_58_5177.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0ad9f42922bc97573fbf7705c7a55c7b.jpg","text":"TemporaryFile(/tmp/multipartBody335320557037144110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737119948398,"filename":"image_17012025_14_16_10_5170.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329478285","file1":"1329478281","file0":"1329478277","file4":"1329478298","file5":"1329478303","file3":"1329478288"},"map_files_photo_id_array":[{"photo_id":"1329478303","filename":"file5"},{"photo_id":"1329478285","filename":"file2"},{"photo_id":"1329478298","filename":"file4"},{"photo_id":"1329478281","filename":"file1"},{"photo_id":"1329478277","filename":"file0"},{"photo_id":"1329478288","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329478298":["hashtag1","hashtag2"]},{"1329478277":["hashtag1","hashtag2"]},{"1329478288":["hashtag1","hashtag2"]},{"1329478285":["hashtag1","hashtag2"]},{"1329478303":["hashtag1","hashtag2"]},{"1329478281":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329478298, 1329478277, 1329478288, 1329478285, 1329478303, 1329478281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.33037304878235 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 14:19:02.179312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/13/image_17012025_14_13_16_6525.jpg', '/media/data/images/17012025/14/13/image_17012025_14_13_10_5298.jpg', '/media/data/images/17012025/14/12/image_17012025_14_13_05_6394.jpg', '/media/data/images/17012025/14/12/image_17012025_14_12_58_6524.jpg', '/media/data/images/17012025/14/12/image_17012025_14_12_52_5166.jpg', '/media/data/images/17012025/14/12/image_17012025_14_12_46_6367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/13/image_17012025_14_13_16_6525.jpg
/media/data/images/17012025/14/13/image_17012025_14_13_10_5298.jpg
/media/data/images/17012025/14/12/image_17012025_14_13_05_6394.jpg
/media/data/images/17012025/14/12/image_17012025_14_12_58_6524.jpg
/media/data/images/17012025/14/12/image_17012025_14_12_52_5166.jpg
/media/data/images/17012025/14/12/image_17012025_14_12_46_6367.jpg
2025-01-17 14:19:02.235172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/13/image_17012025_14_13_16_6525.jpg', '/media/data/images/17012025/14/13/image_17012025_14_13_10_5298.jpg', '/media/data/images/17012025/14/12/image_17012025_14_13_05_6394.jpg', '/media/data/images/17012025/14/12/image_17012025_14_12_58_6524.jpg', '/media/data/images/17012025/14/12/image_17012025_14_12_52_5166.jpg', '/media/data/images/17012025/14/12/image_17012025_14_12_46_6367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/13/image_17012025_14_13_16_6525.jpg
/media/data/images/17012025/14/13/image_17012025_14_13_10_5298.jpg
/media/data/images/17012025/14/12/image_17012025_14_13_05_6394.jpg
/media/data/images/17012025/14/12/image_17012025_14_12_58_6524.jpg
/media/data/images/17012025/14/12/image_17012025_14_12_52_5166.jpg
/media/data/images/17012025/14/12/image_17012025_14_12_46_6367.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329478359","1329478352","1329478418","1329478371","1329478389","1329478356"],"photo_ids_order":["1329478352","1329478356","1329478359","1329478371","1329478389","1329478418"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ed97031ba6dfb0db7f0b641e688b5e7f.jpg","text":"TemporaryFile(/tmp/multipartBody3550691050791654981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120017692,"filename":"image_17012025_14_13_05_6394.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8fa13292d97169bf55877c176271d722.jpg","text":"TemporaryFile(/tmp/multipartBody5115536915445070086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120017692,"filename":"image_17012025_14_13_16_6525.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/306490848bfb91c7fb37a7e7e2d7a39c.jpg","text":"TemporaryFile(/tmp/multipartBody6146696852564973098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120017692,"filename":"image_17012025_14_12_46_6367.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0d0feace7c96abf3a39198e975a50739.jpg","text":"TemporaryFile(/tmp/multipartBody2938941159795849930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120017692,"filename":"image_17012025_14_12_58_6524.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e9229521835446a6fc5c38004ee2111f.jpg","text":"TemporaryFile(/tmp/multipartBody6279702899543169168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120017692,"filename":"image_17012025_14_12_52_5166.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/976aa767cdd1ff8828688b92a4fa0827.jpg","text":"TemporaryFile(/tmp/multipartBody8096850214348214429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120017692,"filename":"image_17012025_14_13_10_5298.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329478359","file1":"1329478356","file0":"1329478352","file4":"1329478389","file5":"1329478418","file3":"1329478371"},"map_files_photo_id_array":[{"photo_id":"1329478418","filename":"file5"},{"photo_id":"1329478359","filename":"file2"},{"photo_id":"1329478389","filename":"file4"},{"photo_id":"1329478356","filename":"file1"},{"photo_id":"1329478352","filename":"file0"},{"photo_id":"1329478371","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329478359":["hashtag1","hashtag2"]},{"1329478352":["hashtag1","hashtag2"]},{"1329478418":["hashtag1","hashtag2"]},{"1329478371":["hashtag1","hashtag2"]},{"1329478389":["hashtag1","hashtag2"]},{"1329478356":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329478359, 1329478352, 1329478418, 1329478371, 1329478389, 1329478356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.50423336029053 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329478399","1329478363","1329478357","1329478354","1329478420","1329478383"],"photo_ids_order":["1329478354","1329478357","1329478363","1329478383","1329478399","1329478420"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5c2f7bb422228e24890d9f384b95d545.jpg","text":"TemporaryFile(/tmp/multipartBody5397379534716060107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120017571,"filename":"image_17012025_14_12_52_5166.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/10f7f8c8253b3319a0e3dbb65739760a.jpg","text":"TemporaryFile(/tmp/multipartBody8010447916990430450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120017571,"filename":"image_17012025_14_13_05_6394.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7f1285315d583f404c67663330fd1da0.jpg","text":"TemporaryFile(/tmp/multipartBody1026706490761718622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120017571,"filename":"image_17012025_14_13_10_5298.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fd3372bb28a61913411fd1262be595ec.jpg","text":"TemporaryFile(/tmp/multipartBody2768610835517285230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120017571,"filename":"image_17012025_14_13_16_6525.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0f3c06025c794875ed985582421f0318.jpg","text":"TemporaryFile(/tmp/multipartBody1912778504952883133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120017571,"filename":"image_17012025_14_12_46_6367.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5770cf783c28e438dde1da15c95abb70.jpg","text":"TemporaryFile(/tmp/multipartBody9191897449223792490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120017571,"filename":"image_17012025_14_12_58_6524.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329478363","file1":"1329478357","file0":"1329478354","file4":"1329478399","file5":"1329478420","file3":"1329478383"},"map_files_photo_id_array":[{"photo_id":"1329478420","filename":"file5"},{"photo_id":"1329478363","filename":"file2"},{"photo_id":"1329478399","filename":"file4"},{"photo_id":"1329478357","filename":"file1"},{"photo_id":"1329478354","filename":"file0"},{"photo_id":"1329478383","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329478399":["hashtag1","hashtag2"]},{"1329478363":["hashtag1","hashtag2"]},{"1329478357":["hashtag1","hashtag2"]},{"1329478354":["hashtag1","hashtag2"]},{"1329478420":["hashtag1","hashtag2"]},{"1329478383":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329478399, 1329478363, 1329478357, 1329478354, 1329478420, 1329478383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.18271851539612 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:20:02.019686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/12/image_17012025_14_12_34_5155.jpg', '/media/data/images/17012025/14/12/image_17012025_14_12_29_6366.jpg', '/media/data/images/17012025/14/12/image_17012025_14_12_22_6364.jpg', '/media/data/images/17012025/14/12/image_17012025_14_12_16_5155.jpg', '/media/data/images/17012025/14/12/image_17012025_14_12_11_6385.jpg', '/media/data/images/17012025/14/11/image_17012025_14_12_04_6520.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/12/image_17012025_14_12_34_5155.jpg
/media/data/images/17012025/14/12/image_17012025_14_12_29_6366.jpg
/media/data/images/17012025/14/12/image_17012025_14_12_22_6364.jpg
/media/data/images/17012025/14/12/image_17012025_14_12_16_5155.jpg
/media/data/images/17012025/14/12/image_17012025_14_12_11_6385.jpg
/media/data/images/17012025/14/11/image_17012025_14_12_04_6520.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329478499","1329478547","1329478537","1329478551","1329478554","1329478461"],"photo_ids_order":["1329478461","1329478499","1329478537","1329478547","1329478551","1329478554"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5779379bb9887b0e0590669eed316929.jpg","text":"TemporaryFile(/tmp/multipartBody5325389569457858547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120071281,"filename":"image_17012025_14_12_29_6366.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6954729ecfc174ec6e8170805f9631ea.jpg","text":"TemporaryFile(/tmp/multipartBody3274252876933827583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120071281,"filename":"image_17012025_14_12_16_5155.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/24aa2aa27bbf26c530fdc8b0bc1cb159.jpg","text":"TemporaryFile(/tmp/multipartBody4553315727499408583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120071281,"filename":"image_17012025_14_12_22_6364.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c30ed38b46c0ce9030b19de8acb1ba26.jpg","text":"TemporaryFile(/tmp/multipartBody2597779683101609439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120071281,"filename":"image_17012025_14_12_11_6385.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e1a256a0338fa8e73bff56a5bbd5d273.jpg","text":"TemporaryFile(/tmp/multipartBody3628749167686566657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120071281,"filename":"image_17012025_14_12_04_6520.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bf015807731ab50c73f9827948252655.jpg","text":"TemporaryFile(/tmp/multipartBody4380474786554543247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120071281,"filename":"image_17012025_14_12_34_5155.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329478537","file1":"1329478499","file0":"1329478461","file4":"1329478551","file5":"1329478554","file3":"1329478547"},"map_files_photo_id_array":[{"photo_id":"1329478554","filename":"file5"},{"photo_id":"1329478537","filename":"file2"},{"photo_id":"1329478551","filename":"file4"},{"photo_id":"1329478499","filename":"file1"},{"photo_id":"1329478461","filename":"file0"},{"photo_id":"1329478547","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329478499":["hashtag1","hashtag2"]},{"1329478547":["hashtag1","hashtag2"]},{"1329478537":["hashtag1","hashtag2"]},{"1329478551":["hashtag1","hashtag2"]},{"1329478554":["hashtag1","hashtag2"]},{"1329478461":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329478499, 1329478547, 1329478537, 1329478551, 1329478554, 1329478461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.465306997299194 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:21:02.403043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/11/image_17012025_14_11_58_5153.jpg', '/media/data/images/17012025/14/11/image_17012025_14_11_17_6376.jpg', '/media/data/images/17012025/14/11/image_17012025_14_11_10_6358.jpg', '/media/data/images/17012025/14/10/image_17012025_14_11_04_6373.jpg', '/media/data/images/17012025/14/10/image_17012025_14_10_58_5158.jpg', '/media/data/images/17012025/14/10/image_17012025_14_10_53_6367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/11/image_17012025_14_11_58_5153.jpg
/media/data/images/17012025/14/11/image_17012025_14_11_17_6376.jpg
/media/data/images/17012025/14/11/image_17012025_14_11_10_6358.jpg
/media/data/images/17012025/14/10/image_17012025_14_11_04_6373.jpg
/media/data/images/17012025/14/10/image_17012025_14_10_58_5158.jpg
/media/data/images/17012025/14/10/image_17012025_14_10_53_6367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329478614","1329478589","1329478598","1329478586","1329478610","1329478603"],"photo_ids_order":["1329478586","1329478589","1329478598","1329478603","1329478610","1329478614"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6abdca3613ebb4d51c62c84e1d63441f.jpg","text":"TemporaryFile(/tmp/multipartBody4434884579572291568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120127880,"filename":"image_17012025_14_10_53_6367.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/547758dff206fff5ac2c3d7c679fe656.jpg","text":"TemporaryFile(/tmp/multipartBody2369172813834793797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120127880,"filename":"image_17012025_14_11_17_6376.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cb2cfdb45869dbd0da953b014599e95c.jpg","text":"TemporaryFile(/tmp/multipartBody4051627128344488524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120127880,"filename":"image_17012025_14_11_10_6358.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/558015ee7513bb6069d099f14bf9496f.jpg","text":"TemporaryFile(/tmp/multipartBody6622477293217431275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120127880,"filename":"image_17012025_14_11_58_5153.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2f97419f6baccaf4498acd3950c6918c.jpg","text":"TemporaryFile(/tmp/multipartBody8966932080564279760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120127880,"filename":"image_17012025_14_10_58_5158.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ddde2751a8d1d8a5149ff38afdc8d46d.jpg","text":"TemporaryFile(/tmp/multipartBody1986091644783318115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120127880,"filename":"image_17012025_14_11_04_6373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329478598","file1":"1329478589","file0":"1329478586","file4":"1329478610","file5":"1329478614","file3":"1329478603"},"map_files_photo_id_array":[{"photo_id":"1329478614","filename":"file5"},{"photo_id":"1329478598","filename":"file2"},{"photo_id":"1329478610","filename":"file4"},{"photo_id":"1329478589","filename":"file1"},{"photo_id":"1329478586","filename":"file0"},{"photo_id":"1329478603","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329478614":["hashtag1","hashtag2"]},{"1329478589":["hashtag1","hashtag2"]},{"1329478598":["hashtag1","hashtag2"]},{"1329478586":["hashtag1","hashtag2"]},{"1329478610":["hashtag1","hashtag2"]},{"1329478603":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329478614, 1329478589, 1329478598, 1329478586, 1329478610, 1329478603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.31870484352112 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:22:02.346701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/20/image_17012025_14_20_46_6484.jpg', '/media/data/images/17012025/14/20/image_17012025_14_20_40_5279.jpg', '/media/data/images/17012025/14/20/image_17012025_14_20_35_6518.jpg', '/media/data/images/17012025/14/20/image_17012025_14_20_28_5272.jpg', '/media/data/images/17012025/14/20/image_17012025_14_20_23_6516.jpg', '/media/data/images/17012025/14/20/image_17012025_14_20_16_6526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/20/image_17012025_14_20_46_6484.jpg
/media/data/images/17012025/14/20/image_17012025_14_20_40_5279.jpg
/media/data/images/17012025/14/20/image_17012025_14_20_35_6518.jpg
/media/data/images/17012025/14/20/image_17012025_14_20_28_5272.jpg
/media/data/images/17012025/14/20/image_17012025_14_20_23_6516.jpg
/media/data/images/17012025/14/20/image_17012025_14_20_16_6526.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329479747","1329479752","1329479725","1329479737","1329479539","1329479742"],"photo_ids_order":["1329479539","1329479725","1329479737","1329479742","1329479747","1329479752"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/08dc8b6ae68e98f9ea53aa7b6bd1bd5c.jpg","text":"TemporaryFile(/tmp/multipartBody6067466201385480567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120194740,"filename":"image_17012025_14_20_23_6516.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/46d812ddbdca90d36f4ee99e2d76ea0e.jpg","text":"TemporaryFile(/tmp/multipartBody2312916090025214757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120194740,"filename":"image_17012025_14_20_16_6526.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d6126a3ccfca991feded0f8bdd754405.jpg","text":"TemporaryFile(/tmp/multipartBody7409699873416793599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120194740,"filename":"image_17012025_14_20_40_5279.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c7022a4d2c732e506640f36d7150b7e4.jpg","text":"TemporaryFile(/tmp/multipartBody2483044893011170508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120194740,"filename":"image_17012025_14_20_35_6518.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/922662001311482dcaa8e84c8f6495eb.jpg","text":"TemporaryFile(/tmp/multipartBody4625260499392075598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120194740,"filename":"image_17012025_14_20_46_6484.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fc16ccd4edb84c3a52188501003cc457.jpg","text":"TemporaryFile(/tmp/multipartBody7708560513736710832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120194740,"filename":"image_17012025_14_20_28_5272.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329479737","file1":"1329479725","file0":"1329479539","file4":"1329479747","file5":"1329479752","file3":"1329479742"},"map_files_photo_id_array":[{"photo_id":"1329479752","filename":"file5"},{"photo_id":"1329479737","filename":"file2"},{"photo_id":"1329479747","filename":"file4"},{"photo_id":"1329479725","filename":"file1"},{"photo_id":"1329479539","filename":"file0"},{"photo_id":"1329479742","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329479747":["hashtag1","hashtag2"]},{"1329479752":["hashtag1","hashtag2"]},{"1329479725":["hashtag1","hashtag2"]},{"1329479737":["hashtag1","hashtag2"]},{"1329479539":["hashtag1","hashtag2"]},{"1329479742":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329479747, 1329479752, 1329479725, 1329479737, 1329479539, 1329479742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.53731417655945 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:23:02.375603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/22/image_17012025_14_22_53_6545.jpg', '/media/data/images/17012025/14/22/image_17012025_14_22_46_6546.jpg', '/media/data/images/17012025/14/22/image_17012025_14_22_34_6557.jpg', '/media/data/images/17012025/14/22/image_17012025_14_22_28_5283.jpg', '/media/data/images/17012025/14/22/image_17012025_14_22_23_6607.jpg', '/media/data/images/17012025/14/22/image_17012025_14_22_16_5287.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/22/image_17012025_14_22_53_6545.jpg
/media/data/images/17012025/14/22/image_17012025_14_22_46_6546.jpg
/media/data/images/17012025/14/22/image_17012025_14_22_34_6557.jpg
/media/data/images/17012025/14/22/image_17012025_14_22_28_5283.jpg
/media/data/images/17012025/14/22/image_17012025_14_22_23_6607.jpg
/media/data/images/17012025/14/22/image_17012025_14_22_16_5287.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329479801","1329479947","1329479806","1329479793","1329480183","1329479811"],"photo_ids_order":["1329479793","1329479801","1329479806","1329479811","1329479947","1329480183"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b96dca43eb799a31c02b5e43d5b3b8cd.jpg","text":"TemporaryFile(/tmp/multipartBody7316753250751651466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120257974,"filename":"image_17012025_14_22_46_6546.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d30af120c32e47a9b4dc54733a8383c0.jpg","text":"TemporaryFile(/tmp/multipartBody7485843001664748673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120257974,"filename":"image_17012025_14_22_23_6607.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f4ccf93c2dcc9a1ea1f6b7cf81ce4855.jpg","text":"TemporaryFile(/tmp/multipartBody4667740275253035064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120257974,"filename":"image_17012025_14_22_34_6557.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/20a2fa0766e125c46831cee196877189.jpg","text":"TemporaryFile(/tmp/multipartBody1225497526345541596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120257974,"filename":"image_17012025_14_22_53_6545.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ebd4c7c904aefd13c76311497c1c166f.jpg","text":"TemporaryFile(/tmp/multipartBody6629855438723439492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120257974,"filename":"image_17012025_14_22_16_5287.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/af94be3237d322a03fda388719cfa374.jpg","text":"TemporaryFile(/tmp/multipartBody3955591074164806548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120257974,"filename":"image_17012025_14_22_28_5283.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329479806","file1":"1329479801","file0":"1329479793","file4":"1329479947","file5":"1329480183","file3":"1329479811"},"map_files_photo_id_array":[{"photo_id":"1329480183","filename":"file5"},{"photo_id":"1329479806","filename":"file2"},{"photo_id":"1329479947","filename":"file4"},{"photo_id":"1329479801","filename":"file1"},{"photo_id":"1329479793","filename":"file0"},{"photo_id":"1329479811","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329479801":["hashtag1","hashtag2"]},{"1329479947":["hashtag1","hashtag2"]},{"1329479806":["hashtag1","hashtag2"]},{"1329479793":["hashtag1","hashtag2"]},{"1329480183":["hashtag1","hashtag2"]},{"1329479811":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329479801, 1329479947, 1329479806, 1329479793, 1329480183, 1329479811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.53987193107605 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 14:24:02.566707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/22/image_17012025_14_22_11_6509.jpg', '/media/data/images/17012025/14/22/image_17012025_14_22_04_5264.jpg', '/media/data/images/17012025/14/21/image_17012025_14_21_59_6572.jpg', '/media/data/images/17012025/14/21/image_17012025_14_21_52_6547.jpg', '/media/data/images/17012025/14/21/image_17012025_14_21_46_5287.jpg', '/media/data/images/17012025/14/21/image_17012025_14_21_40_6559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/22/image_17012025_14_22_11_6509.jpg
/media/data/images/17012025/14/22/image_17012025_14_22_04_5264.jpg
/media/data/images/17012025/14/21/image_17012025_14_21_59_6572.jpg
/media/data/images/17012025/14/21/image_17012025_14_21_52_6547.jpg
/media/data/images/17012025/14/21/image_17012025_14_21_46_5287.jpg
/media/data/images/17012025/14/21/image_17012025_14_21_40_6559.jpg
2025-01-17 14:24:02.653216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/22/image_17012025_14_22_11_6509.jpg', '/media/data/images/17012025/14/22/image_17012025_14_22_04_5264.jpg', '/media/data/images/17012025/14/21/image_17012025_14_21_59_6572.jpg', '/media/data/images/17012025/14/21/image_17012025_14_21_52_6547.jpg', '/media/data/images/17012025/14/21/image_17012025_14_21_46_5287.jpg', '/media/data/images/17012025/14/21/image_17012025_14_21_40_6559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/22/image_17012025_14_22_11_6509.jpg
/media/data/images/17012025/14/22/image_17012025_14_22_04_5264.jpg
/media/data/images/17012025/14/21/image_17012025_14_21_59_6572.jpg
/media/data/images/17012025/14/21/image_17012025_14_21_52_6547.jpg
/media/data/images/17012025/14/21/image_17012025_14_21_46_5287.jpg
/media/data/images/17012025/14/21/image_17012025_14_21_40_6559.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329480210","1329480302","1329480367","1329480313","1329480384","1329480279"],"photo_ids_order":["1329480210","1329480279","1329480302","1329480313","1329480367","1329480384"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e514270623f25ee3e85d17f1f4da6fa0.jpg","text":"TemporaryFile(/tmp/multipartBody7373876813275545655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120317535,"filename":"image_17012025_14_22_11_6509.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c23e39a5acc4339e9207acf68753a618.jpg","text":"TemporaryFile(/tmp/multipartBody1550725279009230208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120317535,"filename":"image_17012025_14_21_59_6572.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7997fd21dd48808396e6df56750ed7e8.jpg","text":"TemporaryFile(/tmp/multipartBody243155546021189669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120317535,"filename":"image_17012025_14_21_46_5287.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fdaa57a6d7d0b023bdccd18ef7268751.jpg","text":"TemporaryFile(/tmp/multipartBody9187107013045087170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120317535,"filename":"image_17012025_14_21_52_6547.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e655bc2dfdbf970a38eb9903a98d8b31.jpg","text":"TemporaryFile(/tmp/multipartBody2337987179546385873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120317535,"filename":"image_17012025_14_21_40_6559.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9394896afcd8d2d50bccc53e64d42916.jpg","text":"TemporaryFile(/tmp/multipartBody5651431056329384476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120317535,"filename":"image_17012025_14_22_04_5264.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329480302","file1":"1329480279","file0":"1329480210","file4":"1329480367","file5":"1329480384","file3":"1329480313"},"map_files_photo_id_array":[{"photo_id":"1329480384","filename":"file5"},{"photo_id":"1329480302","filename":"file2"},{"photo_id":"1329480367","filename":"file4"},{"photo_id":"1329480279","filename":"file1"},{"photo_id":"1329480210","filename":"file0"},{"photo_id":"1329480313","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329480210":["hashtag1","hashtag2"]},{"1329480302":["hashtag1","hashtag2"]},{"1329480367":["hashtag1","hashtag2"]},{"1329480313":["hashtag1","hashtag2"]},{"1329480384":["hashtag1","hashtag2"]},{"1329480279":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329480210, 1329480302, 1329480367, 1329480313, 1329480384, 1329480279)","result":[],"list_datou_current":[]}'
Result OK !
<Response [200]>
b'{"photo_ids":["1329480303","1329480368","1329480284","1329480314","1329480385","1329480211"],"photo_ids_order":["1329480211","1329480284","1329480303","1329480314","1329480368","1329480385"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dae466f2e03bcc5828d775c595bb3fb7.jpg","text":"TemporaryFile(/tmp/multipartBody5865034200044155182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120317590,"filename":"image_17012025_14_21_59_6572.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/83a70f4039802f1c5eecc78a18173fc3.jpg","text":"TemporaryFile(/tmp/multipartBody7424541056863372079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120317590,"filename":"image_17012025_14_21_46_5287.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9bded4864354f349819c87047c05a426.jpg","text":"TemporaryFile(/tmp/multipartBody326785939025280240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120317590,"filename":"image_17012025_14_22_04_5264.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/23b498ba5e71253edc225c255db68f45.jpg","text":"TemporaryFile(/tmp/multipartBody545883916760111381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120317590,"filename":"image_17012025_14_21_52_6547.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6f2cc707f941ca82917e0a93853e2882.jpg","text":"TemporaryFile(/tmp/multipartBody3374843529205436647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120317590,"filename":"image_17012025_14_21_40_6559.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/155ff104886636a955de4828490dfe55.jpg","text":"TemporaryFile(/tmp/multipartBody5184163679021467184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120317590,"filename":"image_17012025_14_22_11_6509.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329480303","file1":"1329480284","file0":"1329480211","file4":"1329480368","file5":"1329480385","file3":"1329480314"},"map_files_photo_id_array":[{"photo_id":"1329480385","filename":"file5"},{"photo_id":"1329480303","filename":"file2"},{"photo_id":"1329480368","filename":"file4"},{"photo_id":"1329480284","filename":"file1"},{"photo_id":"1329480211","filename":"file0"},{"photo_id":"1329480314","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329480303":["hashtag1","hashtag2"]},{"1329480368":["hashtag1","hashtag2"]},{"1329480284":["hashtag1","hashtag2"]},{"1329480314":["hashtag1","hashtag2"]},{"1329480385":["hashtag1","hashtag2"]},{"1329480211":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329480303, 1329480368, 1329480284, 1329480314, 1329480385, 1329480211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.63498592376709 secondes ---
uploaded 6 photos
time to upload: 49.73452401161194 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:25:02.529972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/21/image_17012025_14_21_34_5299.jpg', '/media/data/images/17012025/14/21/image_17012025_14_21_29_6519.jpg', '/media/data/images/17012025/14/21/image_17012025_14_21_22_5340.jpg', '/media/data/images/17012025/14/21/image_17012025_14_21_17_6658.jpg', '/media/data/images/17012025/14/21/image_17012025_14_21_10_5398.jpg', '/media/data/images/17012025/14/21/image_17012025_14_21_05_6413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/21/image_17012025_14_21_34_5299.jpg
/media/data/images/17012025/14/21/image_17012025_14_21_29_6519.jpg
/media/data/images/17012025/14/21/image_17012025_14_21_22_5340.jpg
/media/data/images/17012025/14/21/image_17012025_14_21_17_6658.jpg
/media/data/images/17012025/14/21/image_17012025_14_21_10_5398.jpg
/media/data/images/17012025/14/21/image_17012025_14_21_05_6413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329480440","1329480443","1329480451","1329480454","1329480433","1329480459"],"photo_ids_order":["1329480433","1329480440","1329480443","1329480451","1329480454","1329480459"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c2e6ca48ef2d1cfea80e323ad91d8b72.jpg","text":"TemporaryFile(/tmp/multipartBody7237624021718604111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120371720,"filename":"image_17012025_14_21_29_6519.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/aeeba7f9248ca1df20a5371ee007b26b.jpg","text":"TemporaryFile(/tmp/multipartBody6123970544617092015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120371720,"filename":"image_17012025_14_21_22_5340.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2f9e398eca8cc6451a0e5e00df2e4058.jpg","text":"TemporaryFile(/tmp/multipartBody6946840012925645130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120371720,"filename":"image_17012025_14_21_17_6658.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f9e4426a3827b37320a149c537b9f8f4.jpg","text":"TemporaryFile(/tmp/multipartBody3265899166439079908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120371720,"filename":"image_17012025_14_21_10_5398.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c67fcb9574b8462ebe16d76330e36017.jpg","text":"TemporaryFile(/tmp/multipartBody1444964952995904991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120371720,"filename":"image_17012025_14_21_34_5299.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/11c4628bf4417681a626d27ef7ae5f32.jpg","text":"TemporaryFile(/tmp/multipartBody1195927875415088363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120371720,"filename":"image_17012025_14_21_05_6413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329480443","file1":"1329480440","file0":"1329480433","file4":"1329480454","file5":"1329480459","file3":"1329480451"},"map_files_photo_id_array":[{"photo_id":"1329480459","filename":"file5"},{"photo_id":"1329480443","filename":"file2"},{"photo_id":"1329480454","filename":"file4"},{"photo_id":"1329480440","filename":"file1"},{"photo_id":"1329480433","filename":"file0"},{"photo_id":"1329480451","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329480440":["hashtag1","hashtag2"]},{"1329480443":["hashtag1","hashtag2"]},{"1329480451":["hashtag1","hashtag2"]},{"1329480454":["hashtag1","hashtag2"]},{"1329480433":["hashtag1","hashtag2"]},{"1329480459":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329480440, 1329480443, 1329480451, 1329480454, 1329480433, 1329480459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.35248589515686 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:26:02.586221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/20/image_17012025_14_20_53_6556.jpg', '/media/data/images/17012025/14/19/image_17012025_14_20_04_6574.jpg', '/media/data/images/17012025/14/19/image_17012025_14_19_58_5307.jpg', '/media/data/images/17012025/14/19/image_17012025_14_19_53_6600.jpg', '/media/data/images/17012025/14/19/image_17012025_14_19_46_5293.jpg', '/media/data/images/17012025/14/19/image_17012025_14_19_41_6531.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/20/image_17012025_14_20_53_6556.jpg
/media/data/images/17012025/14/19/image_17012025_14_20_04_6574.jpg
/media/data/images/17012025/14/19/image_17012025_14_19_58_5307.jpg
/media/data/images/17012025/14/19/image_17012025_14_19_53_6600.jpg
/media/data/images/17012025/14/19/image_17012025_14_19_46_5293.jpg
/media/data/images/17012025/14/19/image_17012025_14_19_41_6531.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329480516","1329480563","1329480521","1329480553","1329480567","1329480495"],"photo_ids_order":["1329480495","1329480516","1329480521","1329480553","1329480563","1329480567"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6a4d10b2767b757994a4df015bbff282.jpg","text":"TemporaryFile(/tmp/multipartBody5545787367597580142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120433376,"filename":"image_17012025_14_20_04_6574.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6cc49cb80eafb02fd7fcaffc786da8e4.jpg","text":"TemporaryFile(/tmp/multipartBody8875890220853685685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120433376,"filename":"image_17012025_14_19_46_5293.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fb8149842ff8ef4e80a780b36eae6b73.jpg","text":"TemporaryFile(/tmp/multipartBody1312770967484746383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120433376,"filename":"image_17012025_14_19_58_5307.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4670ea8aebe0daff4ab1112395afd81e.jpg","text":"TemporaryFile(/tmp/multipartBody1188012758557926729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120433376,"filename":"image_17012025_14_19_53_6600.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8eed3c48bb115783e3ccc1dd1c1bae78.jpg","text":"TemporaryFile(/tmp/multipartBody4815770835546155280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120433376,"filename":"image_17012025_14_19_41_6531.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6b01d32998057d42cdbc91ea10b36892.jpg","text":"TemporaryFile(/tmp/multipartBody5306367487329272566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120433376,"filename":"image_17012025_14_20_53_6556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329480521","file1":"1329480516","file0":"1329480495","file4":"1329480563","file5":"1329480567","file3":"1329480553"},"map_files_photo_id_array":[{"photo_id":"1329480567","filename":"file5"},{"photo_id":"1329480521","filename":"file2"},{"photo_id":"1329480563","filename":"file4"},{"photo_id":"1329480516","filename":"file1"},{"photo_id":"1329480495","filename":"file0"},{"photo_id":"1329480553","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329480516":["hashtag1","hashtag2"]},{"1329480563":["hashtag1","hashtag2"]},{"1329480521":["hashtag1","hashtag2"]},{"1329480553":["hashtag1","hashtag2"]},{"1329480567":["hashtag1","hashtag2"]},{"1329480495":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329480516, 1329480563, 1329480521, 1329480553, 1329480567, 1329480495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.606647968292236 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:27:02.845533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/19/image_17012025_14_19_34_5330.jpg', '/media/data/images/17012025/14/19/image_17012025_14_19_29_6588.jpg', '/media/data/images/17012025/14/19/image_17012025_14_19_22_5310.jpg', '/media/data/images/17012025/14/19/image_17012025_14_19_17_6557.jpg', '/media/data/images/17012025/14/19/image_17012025_14_19_10_6584.jpg', '/media/data/images/17012025/14/19/image_17012025_14_19_04_5065.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/19/image_17012025_14_19_34_5330.jpg
/media/data/images/17012025/14/19/image_17012025_14_19_29_6588.jpg
/media/data/images/17012025/14/19/image_17012025_14_19_22_5310.jpg
/media/data/images/17012025/14/19/image_17012025_14_19_17_6557.jpg
/media/data/images/17012025/14/19/image_17012025_14_19_10_6584.jpg
/media/data/images/17012025/14/19/image_17012025_14_19_04_5065.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329480651","1329480668","1329480641","1329480658","1329480646","1329480690"],"photo_ids_order":["1329480641","1329480646","1329480651","1329480658","1329480668","1329480690"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2399e92334ee855e8cdd8038fccf599a.jpg","text":"TemporaryFile(/tmp/multipartBody6738908153941339373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120493638,"filename":"image_17012025_14_19_22_5310.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c66e3a6d765a4cebb069d966c3e0d9bf.jpg","text":"TemporaryFile(/tmp/multipartBody6818895473223000849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120493638,"filename":"image_17012025_14_19_10_6584.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/53cc1bbe06c4a2c6a4756d8a799e78ed.jpg","text":"TemporaryFile(/tmp/multipartBody2554670714925560991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120493638,"filename":"image_17012025_14_19_34_5330.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/00a4d95222981e3958235881bed54ec1.jpg","text":"TemporaryFile(/tmp/multipartBody2095618071552679790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120493638,"filename":"image_17012025_14_19_17_6557.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/35befef8341422fb8c48aa8303058e6a.jpg","text":"TemporaryFile(/tmp/multipartBody1005206457563574933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120493638,"filename":"image_17012025_14_19_29_6588.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b8b2980040b604ad3f2328fcfcbef9b5.jpg","text":"TemporaryFile(/tmp/multipartBody7625363947897364008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120493638,"filename":"image_17012025_14_19_04_5065.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329480651","file1":"1329480646","file0":"1329480641","file4":"1329480668","file5":"1329480690","file3":"1329480658"},"map_files_photo_id_array":[{"photo_id":"1329480690","filename":"file5"},{"photo_id":"1329480651","filename":"file2"},{"photo_id":"1329480668","filename":"file4"},{"photo_id":"1329480646","filename":"file1"},{"photo_id":"1329480641","filename":"file0"},{"photo_id":"1329480658","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329480651":["hashtag1","hashtag2"]},{"1329480668":["hashtag1","hashtag2"]},{"1329480641":["hashtag1","hashtag2"]},{"1329480658":["hashtag1","hashtag2"]},{"1329480646":["hashtag1","hashtag2"]},{"1329480690":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329480651, 1329480668, 1329480641, 1329480658, 1329480646, 1329480690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.45180702209473 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:28:02.748005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/18/image_17012025_14_18_59_6558.jpg', '/media/data/images/17012025/14/18/image_17012025_14_18_52_5274.jpg', '/media/data/images/17012025/14/18/image_17012025_14_18_47_6512.jpg', '/media/data/images/17012025/14/18/image_17012025_14_18_40_6491.jpg', '/media/data/images/17012025/14/18/image_17012025_14_18_34_5255.jpg', '/media/data/images/17012025/14/18/image_17012025_14_18_29_6505.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/18/image_17012025_14_18_59_6558.jpg
/media/data/images/17012025/14/18/image_17012025_14_18_52_5274.jpg
/media/data/images/17012025/14/18/image_17012025_14_18_47_6512.jpg
/media/data/images/17012025/14/18/image_17012025_14_18_40_6491.jpg
/media/data/images/17012025/14/18/image_17012025_14_18_34_5255.jpg
/media/data/images/17012025/14/18/image_17012025_14_18_29_6505.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329480722","1329480725","1329480719","1329480736","1329480730","1329480741"],"photo_ids_order":["1329480719","1329480722","1329480725","1329480730","1329480736","1329480741"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7c91b547459aa8aa3b519b7207f73dc6.jpg","text":"TemporaryFile(/tmp/multipartBody9190406591480235818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120551763,"filename":"image_17012025_14_18_52_5274.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d8258fea8c64e3f32586e2b53f6a2985.jpg","text":"TemporaryFile(/tmp/multipartBody4510304457688619044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120551763,"filename":"image_17012025_14_18_47_6512.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1783615122b004867f94a56f89e1b8e9.jpg","text":"TemporaryFile(/tmp/multipartBody2565302538921730432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120551763,"filename":"image_17012025_14_18_59_6558.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/aa5ca38de7dc08a67f6952e81e4c6fe7.jpg","text":"TemporaryFile(/tmp/multipartBody6203969003831484742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120551763,"filename":"image_17012025_14_18_34_5255.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6cda2e21b672c436f6ceac93696669c7.jpg","text":"TemporaryFile(/tmp/multipartBody3344514776590411665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120551763,"filename":"image_17012025_14_18_40_6491.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9932879a34a4fbbd48f59084631cc3b0.jpg","text":"TemporaryFile(/tmp/multipartBody3289026965556119881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120551763,"filename":"image_17012025_14_18_29_6505.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329480725","file1":"1329480722","file0":"1329480719","file4":"1329480736","file5":"1329480741","file3":"1329480730"},"map_files_photo_id_array":[{"photo_id":"1329480741","filename":"file5"},{"photo_id":"1329480725","filename":"file2"},{"photo_id":"1329480736","filename":"file4"},{"photo_id":"1329480722","filename":"file1"},{"photo_id":"1329480719","filename":"file0"},{"photo_id":"1329480730","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329480722":["hashtag1","hashtag2"]},{"1329480725":["hashtag1","hashtag2"]},{"1329480719":["hashtag1","hashtag2"]},{"1329480736":["hashtag1","hashtag2"]},{"1329480730":["hashtag1","hashtag2"]},{"1329480741":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329480722, 1329480725, 1329480719, 1329480736, 1329480730, 1329480741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.409844398498535 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 14:29:03.211080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/18/image_17012025_14_18_22_5246.jpg', '/media/data/images/17012025/14/18/image_17012025_14_18_17_6466.jpg', '/media/data/images/17012025/14/18/image_17012025_14_18_10_6485.jpg', '/media/data/images/17012025/14/18/image_17012025_14_18_04_5051.jpg', '/media/data/images/17012025/14/17/image_17012025_14_17_59_6461.jpg', '/media/data/images/17012025/14/17/image_17012025_14_17_52_6478.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/18/image_17012025_14_18_22_5246.jpg
/media/data/images/17012025/14/18/image_17012025_14_18_17_6466.jpg
/media/data/images/17012025/14/18/image_17012025_14_18_10_6485.jpg
/media/data/images/17012025/14/18/image_17012025_14_18_04_5051.jpg
/media/data/images/17012025/14/17/image_17012025_14_17_59_6461.jpg
/media/data/images/17012025/14/17/image_17012025_14_17_52_6478.jpg
2025-01-17 14:29:03.371782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/18/image_17012025_14_18_22_5246.jpg', '/media/data/images/17012025/14/18/image_17012025_14_18_17_6466.jpg', '/media/data/images/17012025/14/18/image_17012025_14_18_10_6485.jpg', '/media/data/images/17012025/14/18/image_17012025_14_18_04_5051.jpg', '/media/data/images/17012025/14/17/image_17012025_14_17_59_6461.jpg', '/media/data/images/17012025/14/17/image_17012025_14_17_52_6478.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/18/image_17012025_14_18_22_5246.jpg
/media/data/images/17012025/14/18/image_17012025_14_18_17_6466.jpg
/media/data/images/17012025/14/18/image_17012025_14_18_10_6485.jpg
/media/data/images/17012025/14/18/image_17012025_14_18_04_5051.jpg
/media/data/images/17012025/14/17/image_17012025_14_17_59_6461.jpg
/media/data/images/17012025/14/17/image_17012025_14_17_52_6478.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329480799","1329480793","1329480787","1329480805","1329480780","1329480774"],"photo_ids_order":["1329480774","1329480780","1329480787","1329480793","1329480799","1329480805"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e7529ba9756a7edb8c4fd40d8f3a0039.jpg","text":"TemporaryFile(/tmp/multipartBody2540042496455526872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120615570,"filename":"image_17012025_14_17_59_6461.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a3bf30df48b4b4b523729d6199444d1c.jpg","text":"TemporaryFile(/tmp/multipartBody7576981947759334153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120615570,"filename":"image_17012025_14_18_04_5051.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/195415116dcc98a24085ec6c57e1c08e.jpg","text":"TemporaryFile(/tmp/multipartBody5886353132521225211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120615570,"filename":"image_17012025_14_18_10_6485.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/370784f102a3437f441a81fe3284332e.jpg","text":"TemporaryFile(/tmp/multipartBody4175107659126011817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120615570,"filename":"image_17012025_14_17_52_6478.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/80be6f87e62a4452e9b5db471d9f17b6.jpg","text":"TemporaryFile(/tmp/multipartBody8698877231464782502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120615570,"filename":"image_17012025_14_18_17_6466.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/38b486c7993dd515ee724c01066c674d.jpg","text":"TemporaryFile(/tmp/multipartBody384984096712752520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120615570,"filename":"image_17012025_14_18_22_5246.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329480787","file1":"1329480780","file0":"1329480774","file4":"1329480799","file5":"1329480805","file3":"1329480793"},"map_files_photo_id_array":[{"photo_id":"1329480805","filename":"file5"},{"photo_id":"1329480787","filename":"file2"},{"photo_id":"1329480799","filename":"file4"},{"photo_id":"1329480780","filename":"file1"},{"photo_id":"1329480774","filename":"file0"},{"photo_id":"1329480793","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329480799":["hashtag1","hashtag2"]},{"1329480793":["hashtag1","hashtag2"]},{"1329480787":["hashtag1","hashtag2"]},{"1329480805":["hashtag1","hashtag2"]},{"1329480780":["hashtag1","hashtag2"]},{"1329480774":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329480799, 1329480793, 1329480787, 1329480805, 1329480780, 1329480774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.43208861351013 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329480794","1329480788","1329480776","1329480809","1329480781","1329480802"],"photo_ids_order":["1329480776","1329480781","1329480788","1329480794","1329480802","1329480809"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/be77447c3550564b75ce695e88eada27.jpg","text":"TemporaryFile(/tmp/multipartBody8324545451816128528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120616106,"filename":"image_17012025_14_18_04_5051.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cdf151f12f1867bb185513f2be160997.jpg","text":"TemporaryFile(/tmp/multipartBody8970912561851619683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120616106,"filename":"image_17012025_14_18_10_6485.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a3199209ddcb87acb23fb539806d4995.jpg","text":"TemporaryFile(/tmp/multipartBody2626243584385763884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120616106,"filename":"image_17012025_14_18_22_5246.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b9d96dd8ac915dc141ac98f3f0ae9f6e.jpg","text":"TemporaryFile(/tmp/multipartBody8814783426346472890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120616106,"filename":"image_17012025_14_17_52_6478.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/50c364ab47b9545ac6888b5ab19bf4e2.jpg","text":"TemporaryFile(/tmp/multipartBody7422597227451339624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120616106,"filename":"image_17012025_14_18_17_6466.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0bac9340d6cddd3dd914d2a5617a5454.jpg","text":"TemporaryFile(/tmp/multipartBody4252806686311957810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120616106,"filename":"image_17012025_14_17_59_6461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329480788","file1":"1329480781","file0":"1329480776","file4":"1329480802","file5":"1329480809","file3":"1329480794"},"map_files_photo_id_array":[{"photo_id":"1329480809","filename":"file5"},{"photo_id":"1329480788","filename":"file2"},{"photo_id":"1329480802","filename":"file4"},{"photo_id":"1329480781","filename":"file1"},{"photo_id":"1329480776","filename":"file0"},{"photo_id":"1329480794","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329480794":["hashtag1","hashtag2"]},{"1329480788":["hashtag1","hashtag2"]},{"1329480776":["hashtag1","hashtag2"]},{"1329480809":["hashtag1","hashtag2"]},{"1329480781":["hashtag1","hashtag2"]},{"1329480802":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329480794, 1329480788, 1329480776, 1329480809, 1329480781, 1329480802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.77917671203613 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:30:01.958981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/17/image_17012025_14_17_46_5274.jpg', '/media/data/images/17012025/14/17/image_17012025_14_17_41_6453.jpg', '/media/data/images/17012025/14/17/image_17012025_14_17_34_6463.jpg', '/media/data/images/17012025/14/17/image_17012025_14_17_28_5225.jpg', '/media/data/images/17012025/14/17/image_17012025_14_17_22_6455.jpg', '/media/data/images/17012025/14/17/image_17012025_14_17_16_5224.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/17/image_17012025_14_17_46_5274.jpg
/media/data/images/17012025/14/17/image_17012025_14_17_41_6453.jpg
/media/data/images/17012025/14/17/image_17012025_14_17_34_6463.jpg
/media/data/images/17012025/14/17/image_17012025_14_17_28_5225.jpg
/media/data/images/17012025/14/17/image_17012025_14_17_22_6455.jpg
/media/data/images/17012025/14/17/image_17012025_14_17_16_5224.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329480869","1329480860","1329480874","1329480865","1329480885","1329480879"],"photo_ids_order":["1329480860","1329480865","1329480869","1329480874","1329480879","1329480885"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8f2ece9e0125457b441b62cfd5772e34.jpg","text":"TemporaryFile(/tmp/multipartBody6420240101980378163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120670471,"filename":"image_17012025_14_17_34_6463.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8ac11e3078609f89ba886cb199837e2f.jpg","text":"TemporaryFile(/tmp/multipartBody3538575967721330929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120670471,"filename":"image_17012025_14_17_46_5274.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a08216116bcf33286626943c1c3cad74.jpg","text":"TemporaryFile(/tmp/multipartBody9132669633151935958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120670471,"filename":"image_17012025_14_17_28_5225.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0f2448f546f3a02baf23cb82b57c6d9a.jpg","text":"TemporaryFile(/tmp/multipartBody9038777677684215902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120670471,"filename":"image_17012025_14_17_41_6453.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1e4367800790bf26b9102e22a6bae5b5.jpg","text":"TemporaryFile(/tmp/multipartBody3102723259399611329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120670471,"filename":"image_17012025_14_17_16_5224.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a34c9a4981b4b33b40c52226ba6edb76.jpg","text":"TemporaryFile(/tmp/multipartBody2612321845604292839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120670471,"filename":"image_17012025_14_17_22_6455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329480869","file1":"1329480865","file0":"1329480860","file4":"1329480879","file5":"1329480885","file3":"1329480874"},"map_files_photo_id_array":[{"photo_id":"1329480885","filename":"file5"},{"photo_id":"1329480869","filename":"file2"},{"photo_id":"1329480879","filename":"file4"},{"photo_id":"1329480865","filename":"file1"},{"photo_id":"1329480860","filename":"file0"},{"photo_id":"1329480874","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329480869":["hashtag1","hashtag2"]},{"1329480860":["hashtag1","hashtag2"]},{"1329480874":["hashtag1","hashtag2"]},{"1329480865":["hashtag1","hashtag2"]},{"1329480885":["hashtag1","hashtag2"]},{"1329480879":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329480869, 1329480860, 1329480874, 1329480865, 1329480885, 1329480879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.33032178878784 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:31:02.141996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/17/image_17012025_14_17_11_6402.jpg', '/media/data/images/17012025/14/17/image_17012025_14_17_04_6169.jpg', '/media/data/images/17012025/14/16/image_17012025_14_16_58_6341.jpg', '/media/data/images/17012025/14/10/image_17012025_14_10_46_6381.jpg', '/media/data/images/17012025/14/10/image_17012025_14_10_40_5188.jpg', '/media/data/images/17012025/14/10/image_17012025_14_10_35_6389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/17/image_17012025_14_17_11_6402.jpg
/media/data/images/17012025/14/17/image_17012025_14_17_04_6169.jpg
/media/data/images/17012025/14/16/image_17012025_14_16_58_6341.jpg
/media/data/images/17012025/14/10/image_17012025_14_10_46_6381.jpg
/media/data/images/17012025/14/10/image_17012025_14_10_40_5188.jpg
/media/data/images/17012025/14/10/image_17012025_14_10_35_6389.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329481388","1329481070","1329480989","1329481127","1329481297","1329481186"],"photo_ids_order":["1329480989","1329481070","1329481127","1329481186","1329481297","1329481388"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/926950525f11985b1e322708f1d95396.jpg","text":"TemporaryFile(/tmp/multipartBody8724241905871385656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120726443,"filename":"image_17012025_14_10_35_6389.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7a8dff77748204465e287e2a5ce1b7a3.jpg","text":"TemporaryFile(/tmp/multipartBody7623735215570476251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120726443,"filename":"image_17012025_14_17_04_6169.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2b12d23935ebaee73d5e19fef9484179.jpg","text":"TemporaryFile(/tmp/multipartBody2523139085793012490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120726443,"filename":"image_17012025_14_17_11_6402.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2241f6690a13b5c67250d5506747ec57.jpg","text":"TemporaryFile(/tmp/multipartBody1237596859751416738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120726443,"filename":"image_17012025_14_16_58_6341.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/95f89b4cc3fb211b43c6f14a007238b9.jpg","text":"TemporaryFile(/tmp/multipartBody7165259245276573034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120726443,"filename":"image_17012025_14_10_40_5188.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9ab85d8a8d9fe1c7264cb409b0ff353c.jpg","text":"TemporaryFile(/tmp/multipartBody8698621154099909823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120726443,"filename":"image_17012025_14_10_46_6381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329481127","file1":"1329481070","file0":"1329480989","file4":"1329481297","file5":"1329481388","file3":"1329481186"},"map_files_photo_id_array":[{"photo_id":"1329481388","filename":"file5"},{"photo_id":"1329481127","filename":"file2"},{"photo_id":"1329481297","filename":"file4"},{"photo_id":"1329481070","filename":"file1"},{"photo_id":"1329480989","filename":"file0"},{"photo_id":"1329481186","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329481388":["hashtag1","hashtag2"]},{"1329481070":["hashtag1","hashtag2"]},{"1329480989":["hashtag1","hashtag2"]},{"1329481127":["hashtag1","hashtag2"]},{"1329481297":["hashtag1","hashtag2"]},{"1329481186":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329481388, 1329481070, 1329480989, 1329481127, 1329481297, 1329481186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.363247871398926 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:32:02.106371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/10/image_17012025_14_10_28_6387.jpg', '/media/data/images/17012025/14/10/image_17012025_14_10_22_5187.jpg', '/media/data/images/17012025/14/10/image_17012025_14_10_17_6429.jpg', '/media/data/images/17012025/14/09/image_17012025_14_09_34_6394.jpg', '/media/data/images/17012025/14/09/image_17012025_14_09_28_6394.jpg', '/media/data/images/17012025/14/09/image_17012025_14_09_22_5156.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/10/image_17012025_14_10_28_6387.jpg
/media/data/images/17012025/14/10/image_17012025_14_10_22_5187.jpg
/media/data/images/17012025/14/10/image_17012025_14_10_17_6429.jpg
/media/data/images/17012025/14/09/image_17012025_14_09_34_6394.jpg
/media/data/images/17012025/14/09/image_17012025_14_09_28_6394.jpg
/media/data/images/17012025/14/09/image_17012025_14_09_22_5156.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329481868","1329481919","1329481915","1329481923","1329481911","1329481908"],"photo_ids_order":["1329481868","1329481908","1329481911","1329481915","1329481919","1329481923"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b001827ad3d48535582e30d3034d4d81.jpg","text":"TemporaryFile(/tmp/multipartBody6508515251787235618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120786568,"filename":"image_17012025_14_10_28_6387.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a340b92a3b924fc7afc1499d86a34a8e.jpg","text":"TemporaryFile(/tmp/multipartBody7278182056538867911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120786568,"filename":"image_17012025_14_09_28_6394.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d8f63c1629e4e40324b878535a6a44df.jpg","text":"TemporaryFile(/tmp/multipartBody7132586322349992992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120786568,"filename":"image_17012025_14_09_34_6394.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/928dd4d17e2bd49c8e71b8dc1f9964a7.jpg","text":"TemporaryFile(/tmp/multipartBody1470967226289626474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120786568,"filename":"image_17012025_14_09_22_5156.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7187ec12fc7bc98edf59691f8362d598.jpg","text":"TemporaryFile(/tmp/multipartBody8830032367919208225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120786568,"filename":"image_17012025_14_10_17_6429.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/767ac611d234be721a88c3977b0ec08c.jpg","text":"TemporaryFile(/tmp/multipartBody246167554021704042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120786568,"filename":"image_17012025_14_10_22_5187.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329481911","file1":"1329481908","file0":"1329481868","file4":"1329481919","file5":"1329481923","file3":"1329481915"},"map_files_photo_id_array":[{"photo_id":"1329481923","filename":"file5"},{"photo_id":"1329481911","filename":"file2"},{"photo_id":"1329481919","filename":"file4"},{"photo_id":"1329481908","filename":"file1"},{"photo_id":"1329481868","filename":"file0"},{"photo_id":"1329481915","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329481868":["hashtag1","hashtag2"]},{"1329481919":["hashtag1","hashtag2"]},{"1329481915":["hashtag1","hashtag2"]},{"1329481923":["hashtag1","hashtag2"]},{"1329481911":["hashtag1","hashtag2"]},{"1329481908":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329481868, 1329481919, 1329481915, 1329481923, 1329481911, 1329481908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.36072516441345 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:32:41.996638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/09/image_17012025_14_09_17_6397.jpg', '/media/data/images/17012025/14/09/image_17012025_14_09_10_6445.jpg', '/media/data/images/17012025/14/09/image_17012025_14_09_04_5070.jpg', '/media/data/images/17012025/14/08/image_17012025_14_08_59_6476.jpg', '/media/data/images/17012025/14/08/image_17012025_14_08_52_6518.jpg', '/media/data/images/17012025/14/08/image_17012025_14_08_46_5311.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/09/image_17012025_14_09_17_6397.jpg
/media/data/images/17012025/14/09/image_17012025_14_09_10_6445.jpg
/media/data/images/17012025/14/09/image_17012025_14_09_04_5070.jpg
/media/data/images/17012025/14/08/image_17012025_14_08_59_6476.jpg
/media/data/images/17012025/14/08/image_17012025_14_08_52_6518.jpg
/media/data/images/17012025/14/08/image_17012025_14_08_46_5311.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329481943","1329481937","1329481939","1329482034","1329481950","1329481935"],"photo_ids_order":["1329481935","1329481937","1329481939","1329481943","1329481950","1329482034"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a811da3105552e043abea7c09493e3f5.jpg","text":"TemporaryFile(/tmp/multipartBody133180883119317522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120828603,"filename":"image_17012025_14_08_59_6476.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8007e1c51d72020c7ebbfb154c054af7.jpg","text":"TemporaryFile(/tmp/multipartBody2113954765202897423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120828603,"filename":"image_17012025_14_09_10_6445.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f890d06edbb9981eb83fe99dde9d165e.jpg","text":"TemporaryFile(/tmp/multipartBody3494084754610431215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120828603,"filename":"image_17012025_14_09_04_5070.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9650e966732e9d5c8b3d4a2658ea7bc9.jpg","text":"TemporaryFile(/tmp/multipartBody7691947151625124279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120828603,"filename":"image_17012025_14_08_46_5311.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/418a1fb6efa2a1f2171193c3216e1a1b.jpg","text":"TemporaryFile(/tmp/multipartBody4891352064094834314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120828603,"filename":"image_17012025_14_08_52_6518.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8ab8391a88e6f45366c0f790aa07407d.jpg","text":"TemporaryFile(/tmp/multipartBody1207932189775203696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120828603,"filename":"image_17012025_14_09_17_6397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329481939","file1":"1329481937","file0":"1329481935","file4":"1329481950","file5":"1329482034","file3":"1329481943"},"map_files_photo_id_array":[{"photo_id":"1329482034","filename":"file5"},{"photo_id":"1329481939","filename":"file2"},{"photo_id":"1329481950","filename":"file4"},{"photo_id":"1329481937","filename":"file1"},{"photo_id":"1329481935","filename":"file0"},{"photo_id":"1329481943","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329481943":["hashtag1","hashtag2"]},{"1329481937":["hashtag1","hashtag2"]},{"1329481939":["hashtag1","hashtag2"]},{"1329482034":["hashtag1","hashtag2"]},{"1329481950":["hashtag1","hashtag2"]},{"1329481935":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329481943, 1329481937, 1329481939, 1329482034, 1329481950, 1329481935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.640125036239624 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:33:42.078371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/08/image_17012025_14_08_34_5279.jpg', '/media/data/images/17012025/14/08/image_17012025_14_08_17_6573.jpg', '/media/data/images/17012025/14/08/image_17012025_14_08_10_5300.jpg', '/media/data/images/17012025/14/07/image_17012025_14_07_58_5278.jpg', '/media/data/images/17012025/14/07/image_17012025_14_07_23_6509.jpg', '/media/data/images/17012025/14/07/image_17012025_14_07_04_6285.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/08/image_17012025_14_08_34_5279.jpg
/media/data/images/17012025/14/08/image_17012025_14_08_17_6573.jpg
/media/data/images/17012025/14/08/image_17012025_14_08_10_5300.jpg
/media/data/images/17012025/14/07/image_17012025_14_07_58_5278.jpg
/media/data/images/17012025/14/07/image_17012025_14_07_23_6509.jpg
/media/data/images/17012025/14/07/image_17012025_14_07_04_6285.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329482374","1329482362","1329482356","1329482379","1329482346","1329482351"],"photo_ids_order":["1329482346","1329482351","1329482356","1329482362","1329482374","1329482379"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/359083847106c8d147f0932cd62aba3d.jpg","text":"TemporaryFile(/tmp/multipartBody4355365238074030343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120895959,"filename":"image_17012025_14_07_23_6509.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e0e256e16a30c22ab7e0b1bae07e868c.jpg","text":"TemporaryFile(/tmp/multipartBody465406115832518683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120895959,"filename":"image_17012025_14_07_58_5278.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3fec900f1a94965dd17c0320c27e57d4.jpg","text":"TemporaryFile(/tmp/multipartBody1472777789529824653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120895959,"filename":"image_17012025_14_08_10_5300.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/48637b2140d401f1a48af1b234b032aa.jpg","text":"TemporaryFile(/tmp/multipartBody970595659657193872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120895959,"filename":"image_17012025_14_07_04_6285.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3ad6d463146b56e73589624fddb9f658.jpg","text":"TemporaryFile(/tmp/multipartBody1646089762064714452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120895959,"filename":"image_17012025_14_08_34_5279.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/90ca151ebaf2439c39b0092ade375955.jpg","text":"TemporaryFile(/tmp/multipartBody4310626032251269600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120895959,"filename":"image_17012025_14_08_17_6573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329482356","file1":"1329482351","file0":"1329482346","file4":"1329482374","file5":"1329482379","file3":"1329482362"},"map_files_photo_id_array":[{"photo_id":"1329482379","filename":"file5"},{"photo_id":"1329482356","filename":"file2"},{"photo_id":"1329482374","filename":"file4"},{"photo_id":"1329482351","filename":"file1"},{"photo_id":"1329482346","filename":"file0"},{"photo_id":"1329482362","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329482374":["hashtag1","hashtag2"]},{"1329482362":["hashtag1","hashtag2"]},{"1329482356":["hashtag1","hashtag2"]},{"1329482379":["hashtag1","hashtag2"]},{"1329482346":["hashtag1","hashtag2"]},{"1329482351":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329482374, 1329482362, 1329482356, 1329482379, 1329482346, 1329482351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.00234627723694 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:34:42.198705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/06/image_17012025_14_06_52_5282.jpg', '/media/data/images/17012025/14/05/image_17012025_14_06_04_6524.jpg', '/media/data/images/17012025/14/05/image_17012025_14_05_10_6380.jpg', '/media/data/images/17012025/14/05/image_17012025_14_05_04_5009.jpg', '/media/data/images/17012025/14/04/image_17012025_14_04_59_6379.jpg', '/media/data/images/17012025/14/04/image_17012025_14_04_52_6479.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/06/image_17012025_14_06_52_5282.jpg
/media/data/images/17012025/14/05/image_17012025_14_06_04_6524.jpg
/media/data/images/17012025/14/05/image_17012025_14_05_10_6380.jpg
/media/data/images/17012025/14/05/image_17012025_14_05_04_5009.jpg
/media/data/images/17012025/14/04/image_17012025_14_04_59_6379.jpg
/media/data/images/17012025/14/04/image_17012025_14_04_52_6479.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329482671","1329482737","1329482742","1329482730","1329482568","1329482762"],"photo_ids_order":["1329482568","1329482671","1329482730","1329482737","1329482742","1329482762"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/28c94110e6276298e6b52ada8a48eddc.jpg","text":"TemporaryFile(/tmp/multipartBody5156398123049596700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120948688,"filename":"image_17012025_14_06_04_6524.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/949a1b6bbd96977e26c40fe1b07ccf08.jpg","text":"TemporaryFile(/tmp/multipartBody4637380657921387034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120948688,"filename":"image_17012025_14_05_04_5009.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3a08dbc5ea0ac6c2b4e9c5c95b0189de.jpg","text":"TemporaryFile(/tmp/multipartBody9197892882828809931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120948688,"filename":"image_17012025_14_04_59_6379.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/161a43ecddae1bca0a8225b8d3bebb39.jpg","text":"TemporaryFile(/tmp/multipartBody4368288679752519395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120948688,"filename":"image_17012025_14_05_10_6380.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f3f34f826b070f21c314c19414d36c21.jpg","text":"TemporaryFile(/tmp/multipartBody4999374287977828250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120948688,"filename":"image_17012025_14_06_52_5282.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2cc341cea535f906b6eedd96bbf70087.jpg","text":"TemporaryFile(/tmp/multipartBody5023842735361651961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737120948688,"filename":"image_17012025_14_04_52_6479.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329482730","file1":"1329482671","file0":"1329482568","file4":"1329482742","file5":"1329482762","file3":"1329482737"},"map_files_photo_id_array":[{"photo_id":"1329482762","filename":"file5"},{"photo_id":"1329482730","filename":"file2"},{"photo_id":"1329482742","filename":"file4"},{"photo_id":"1329482671","filename":"file1"},{"photo_id":"1329482568","filename":"file0"},{"photo_id":"1329482737","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329482671":["hashtag1","hashtag2"]},{"1329482737":["hashtag1","hashtag2"]},{"1329482742":["hashtag1","hashtag2"]},{"1329482730":["hashtag1","hashtag2"]},{"1329482568":["hashtag1","hashtag2"]},{"1329482762":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329482671, 1329482737, 1329482742, 1329482730, 1329482568, 1329482762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.117839336395264 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:35:42.295287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/04/image_17012025_14_04_46_5254.jpg', '/media/data/images/17012025/14/04/image_17012025_14_04_41_6361.jpg', '/media/data/images/17012025/14/04/image_17012025_14_04_34_6394.jpg', '/media/data/images/17012025/14/04/image_17012025_14_04_28_5182.jpg', '/media/data/images/17012025/14/04/image_17012025_14_04_23_6343.jpg', '/media/data/images/17012025/14/04/image_17012025_14_04_16_6423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/04/image_17012025_14_04_46_5254.jpg
/media/data/images/17012025/14/04/image_17012025_14_04_41_6361.jpg
/media/data/images/17012025/14/04/image_17012025_14_04_34_6394.jpg
/media/data/images/17012025/14/04/image_17012025_14_04_28_5182.jpg
/media/data/images/17012025/14/04/image_17012025_14_04_23_6343.jpg
/media/data/images/17012025/14/04/image_17012025_14_04_16_6423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329482887","1329482896","1329482944","1329482872","1329483012","1329482876"],"photo_ids_order":["1329482872","1329482876","1329482887","1329482896","1329482944","1329483012"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f34688a3326a342106c66ab6063ddee8.jpg","text":"TemporaryFile(/tmp/multipartBody6862964666668525561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121008812,"filename":"image_17012025_14_04_34_6394.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ce9db4a9de99393360404bb078480263.jpg","text":"TemporaryFile(/tmp/multipartBody1663708960530517041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121008812,"filename":"image_17012025_14_04_28_5182.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cdb96aa0004dd3753ff71021b010ff82.jpg","text":"TemporaryFile(/tmp/multipartBody4924587896825563100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121008812,"filename":"image_17012025_14_04_23_6343.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/baf9ad0b182626fd8da1d5361f58eac9.jpg","text":"TemporaryFile(/tmp/multipartBody4854607073741634377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121008812,"filename":"image_17012025_14_04_46_5254.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/26e376e8c69594bfc628531a9588ff21.jpg","text":"TemporaryFile(/tmp/multipartBody6885899430352900290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121008812,"filename":"image_17012025_14_04_16_6423.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/208a55856fdbcdf17a3dbec80ddaee43.jpg","text":"TemporaryFile(/tmp/multipartBody7519761571046781622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121008812,"filename":"image_17012025_14_04_41_6361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329482887","file1":"1329482876","file0":"1329482872","file4":"1329482944","file5":"1329483012","file3":"1329482896"},"map_files_photo_id_array":[{"photo_id":"1329483012","filename":"file5"},{"photo_id":"1329482887","filename":"file2"},{"photo_id":"1329482944","filename":"file4"},{"photo_id":"1329482876","filename":"file1"},{"photo_id":"1329482872","filename":"file0"},{"photo_id":"1329482896","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329482887":["hashtag1","hashtag2"]},{"1329482896":["hashtag1","hashtag2"]},{"1329482944":["hashtag1","hashtag2"]},{"1329482872":["hashtag1","hashtag2"]},{"1329483012":["hashtag1","hashtag2"]},{"1329482876":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329482887, 1329482896, 1329482944, 1329482872, 1329483012, 1329482876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.75170969963074 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:36:42.402709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/04/image_17012025_14_04_10_5151.jpg', '/media/data/images/17012025/14/04/image_17012025_14_04_05_6224.jpg', '/media/data/images/17012025/14/03/image_17012025_14_03_59_6389.jpg', '/media/data/images/17012025/14/03/image_17012025_14_03_52_6394.jpg', '/media/data/images/17012025/14/03/image_17012025_14_03_46_5162.jpg', '/media/data/images/17012025/14/03/image_17012025_14_03_41_6389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/04/image_17012025_14_04_10_5151.jpg
/media/data/images/17012025/14/04/image_17012025_14_04_05_6224.jpg
/media/data/images/17012025/14/03/image_17012025_14_03_59_6389.jpg
/media/data/images/17012025/14/03/image_17012025_14_03_52_6394.jpg
/media/data/images/17012025/14/03/image_17012025_14_03_46_5162.jpg
/media/data/images/17012025/14/03/image_17012025_14_03_41_6389.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329483769","1329483655","1329483529","1329483564","1329483386","1329483461"],"photo_ids_order":["1329483386","1329483461","1329483529","1329483564","1329483655","1329483769"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b512f6082a6f93677a522434156eca95.jpg","text":"TemporaryFile(/tmp/multipartBody4057259273775731529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121070257,"filename":"image_17012025_14_03_41_6389.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/92152e1df08b9bf30a6cc6b883139aac.jpg","text":"TemporaryFile(/tmp/multipartBody8829850310191721463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121070257,"filename":"image_17012025_14_03_46_5162.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/747d21fcd174ff16685350242468ad9f.jpg","text":"TemporaryFile(/tmp/multipartBody3367914219611197113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121070257,"filename":"image_17012025_14_03_59_6389.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b4d48871392d1606e4dbc4871b38d78d.jpg","text":"TemporaryFile(/tmp/multipartBody7991797923802124012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121070257,"filename":"image_17012025_14_03_52_6394.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7accba06fe14ec9a88ec074c651a2b3e.jpg","text":"TemporaryFile(/tmp/multipartBody8750168132871985893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121070257,"filename":"image_17012025_14_04_10_5151.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1e621001f608bc631985670316f9bc8f.jpg","text":"TemporaryFile(/tmp/multipartBody7138706546676308815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121070257,"filename":"image_17012025_14_04_05_6224.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329483529","file1":"1329483461","file0":"1329483386","file4":"1329483655","file5":"1329483769","file3":"1329483564"},"map_files_photo_id_array":[{"photo_id":"1329483769","filename":"file5"},{"photo_id":"1329483529","filename":"file2"},{"photo_id":"1329483655","filename":"file4"},{"photo_id":"1329483461","filename":"file1"},{"photo_id":"1329483386","filename":"file0"},{"photo_id":"1329483564","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329483769":["hashtag1","hashtag2"]},{"1329483655":["hashtag1","hashtag2"]},{"1329483529":["hashtag1","hashtag2"]},{"1329483564":["hashtag1","hashtag2"]},{"1329483386":["hashtag1","hashtag2"]},{"1329483461":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329483769, 1329483655, 1329483529, 1329483564, 1329483386, 1329483461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.47361969947815 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:37:42.498388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/03/image_17012025_14_03_34_6370.jpg', '/media/data/images/17012025/14/03/image_17012025_14_03_28_5173.jpg', '/media/data/images/17012025/14/03/image_17012025_14_03_23_6378.jpg', '/media/data/images/17012025/14/03/image_17012025_14_03_16_6407.jpg', '/media/data/images/17012025/14/03/image_17012025_14_03_10_5156.jpg', '/media/data/images/17012025/14/03/image_17012025_14_03_05_6220.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/03/image_17012025_14_03_34_6370.jpg
/media/data/images/17012025/14/03/image_17012025_14_03_28_5173.jpg
/media/data/images/17012025/14/03/image_17012025_14_03_23_6378.jpg
/media/data/images/17012025/14/03/image_17012025_14_03_16_6407.jpg
/media/data/images/17012025/14/03/image_17012025_14_03_10_5156.jpg
/media/data/images/17012025/14/03/image_17012025_14_03_05_6220.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329483976","1329483972","1329483960","1329483980","1329483968","1329483982"],"photo_ids_order":["1329483960","1329483968","1329483972","1329483976","1329483980","1329483982"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/558c834c6eb8c82e69e7c09050e4f7d8.jpg","text":"TemporaryFile(/tmp/multipartBody2791739470620823406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121127300,"filename":"image_17012025_14_03_16_6407.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a7004cc5a42b70f5b2d66f51aff0e078.jpg","text":"TemporaryFile(/tmp/multipartBody7459051738222758659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121127300,"filename":"image_17012025_14_03_23_6378.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d7820a3c9963e3574c927783d258f7ea.jpg","text":"TemporaryFile(/tmp/multipartBody5181980670696998987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121127300,"filename":"image_17012025_14_03_34_6370.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b0bb90b796bc8df60ecb3faf521a53c0.jpg","text":"TemporaryFile(/tmp/multipartBody5550786763118544439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121127300,"filename":"image_17012025_14_03_10_5156.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/66745b87f8df26f59e53204e3bb21d67.jpg","text":"TemporaryFile(/tmp/multipartBody7870312470059188617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121127300,"filename":"image_17012025_14_03_28_5173.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/37c7838aa8c2d3ce30383ca0d31b381d.jpg","text":"TemporaryFile(/tmp/multipartBody6431847932708386687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121127300,"filename":"image_17012025_14_03_05_6220.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329483972","file1":"1329483968","file0":"1329483960","file4":"1329483980","file5":"1329483982","file3":"1329483976"},"map_files_photo_id_array":[{"photo_id":"1329483982","filename":"file5"},{"photo_id":"1329483972","filename":"file2"},{"photo_id":"1329483980","filename":"file4"},{"photo_id":"1329483968","filename":"file1"},{"photo_id":"1329483960","filename":"file0"},{"photo_id":"1329483976","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329483976":["hashtag1","hashtag2"]},{"1329483972":["hashtag1","hashtag2"]},{"1329483960":["hashtag1","hashtag2"]},{"1329483980":["hashtag1","hashtag2"]},{"1329483968":["hashtag1","hashtag2"]},{"1329483982":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329483976, 1329483972, 1329483960, 1329483980, 1329483968, 1329483982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.16842579841614 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:38:42.578635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/02/image_17012025_14_02_58_6347.jpg', '/media/data/images/17012025/14/02/image_17012025_14_02_52_6386.jpg', '/media/data/images/17012025/14/02/image_17012025_14_02_46_5179.jpg', '/media/data/images/17012025/14/02/image_17012025_14_02_41_6387.jpg', '/media/data/images/17012025/14/02/image_17012025_14_02_34_6397.jpg', '/media/data/images/17012025/14/02/image_17012025_14_02_28_5178.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/02/image_17012025_14_02_58_6347.jpg
/media/data/images/17012025/14/02/image_17012025_14_02_52_6386.jpg
/media/data/images/17012025/14/02/image_17012025_14_02_46_5179.jpg
/media/data/images/17012025/14/02/image_17012025_14_02_41_6387.jpg
/media/data/images/17012025/14/02/image_17012025_14_02_34_6397.jpg
/media/data/images/17012025/14/02/image_17012025_14_02_28_5178.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329484254","1329484359","1329484379","1329484388","1329484355","1329484384"],"photo_ids_order":["1329484254","1329484355","1329484359","1329484379","1329484384","1329484388"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/abd7422e5af6eb1f751f5e62e9c7d5c3.jpg","text":"TemporaryFile(/tmp/multipartBody3407545960401691730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121188199,"filename":"image_17012025_14_02_58_6347.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/eebf39d07e0534de78f98f224ef83975.jpg","text":"TemporaryFile(/tmp/multipartBody1432927985289291058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121188199,"filename":"image_17012025_14_02_46_5179.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1d4bdad746c484057463ced80c675949.jpg","text":"TemporaryFile(/tmp/multipartBody8412061228281626483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121188199,"filename":"image_17012025_14_02_41_6387.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7840af73fbd921862bbb1d1d77ea7f6c.jpg","text":"TemporaryFile(/tmp/multipartBody5691184524246717196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121188199,"filename":"image_17012025_14_02_28_5178.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1776da5c9da6febdcd1ed78b50df2eb5.jpg","text":"TemporaryFile(/tmp/multipartBody672029151156741349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121188199,"filename":"image_17012025_14_02_52_6386.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5a7f5d2b501d33c2e821be7f42963844.jpg","text":"TemporaryFile(/tmp/multipartBody120094696431617877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121188199,"filename":"image_17012025_14_02_34_6397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329484359","file1":"1329484355","file0":"1329484254","file4":"1329484384","file5":"1329484388","file3":"1329484379"},"map_files_photo_id_array":[{"photo_id":"1329484388","filename":"file5"},{"photo_id":"1329484359","filename":"file2"},{"photo_id":"1329484384","filename":"file4"},{"photo_id":"1329484355","filename":"file1"},{"photo_id":"1329484254","filename":"file0"},{"photo_id":"1329484379","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329484254":["hashtag1","hashtag2"]},{"1329484359":["hashtag1","hashtag2"]},{"1329484379":["hashtag1","hashtag2"]},{"1329484388":["hashtag1","hashtag2"]},{"1329484355":["hashtag1","hashtag2"]},{"1329484384":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329484254, 1329484359, 1329484379, 1329484388, 1329484355, 1329484384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.41056680679321 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:39:42.665569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/01/image_17012025_14_01_46_5174.jpg', '/media/data/images/17012025/14/01/image_17012025_14_01_40_6392.jpg', '/media/data/images/17012025/14/01/image_17012025_14_01_34_6377.jpg', '/media/data/images/17012025/14/01/image_17012025_14_01_28_5169.jpg', '/media/data/images/17012025/14/01/image_17012025_14_01_23_6375.jpg', '/media/data/images/17012025/14/01/image_17012025_14_01_16_6386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/01/image_17012025_14_01_46_5174.jpg
/media/data/images/17012025/14/01/image_17012025_14_01_40_6392.jpg
/media/data/images/17012025/14/01/image_17012025_14_01_34_6377.jpg
/media/data/images/17012025/14/01/image_17012025_14_01_28_5169.jpg
/media/data/images/17012025/14/01/image_17012025_14_01_23_6375.jpg
/media/data/images/17012025/14/01/image_17012025_14_01_16_6386.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329484513","1329484571","1329484511","1329484520","1329484508","1329484505"],"photo_ids_order":["1329484505","1329484508","1329484511","1329484513","1329484520","1329484571"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/25341debf993f35757d420bb4e4b85cb.jpg","text":"TemporaryFile(/tmp/multipartBody2116960397296316819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121247652,"filename":"image_17012025_14_01_28_5169.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1a362e968ff98e6f48485b17f8788a34.jpg","text":"TemporaryFile(/tmp/multipartBody4518341874446059009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121247652,"filename":"image_17012025_14_01_16_6386.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3528065135d5967966e10ba767442de6.jpg","text":"TemporaryFile(/tmp/multipartBody7830755745957554014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121247652,"filename":"image_17012025_14_01_34_6377.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4b99b5e57341f2517f93005e495f2c51.jpg","text":"TemporaryFile(/tmp/multipartBody7011024963557966161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121247652,"filename":"image_17012025_14_01_23_6375.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b0359ee94c07883cdbac6e98b98555a1.jpg","text":"TemporaryFile(/tmp/multipartBody6683249000862248199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121247652,"filename":"image_17012025_14_01_40_6392.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/002d123de194c05e8de4cbb40af23acd.jpg","text":"TemporaryFile(/tmp/multipartBody3781978813982797192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121247652,"filename":"image_17012025_14_01_46_5174.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329484511","file1":"1329484508","file0":"1329484505","file4":"1329484520","file5":"1329484571","file3":"1329484513"},"map_files_photo_id_array":[{"photo_id":"1329484571","filename":"file5"},{"photo_id":"1329484511","filename":"file2"},{"photo_id":"1329484520","filename":"file4"},{"photo_id":"1329484508","filename":"file1"},{"photo_id":"1329484505","filename":"file0"},{"photo_id":"1329484513","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329484513":["hashtag1","hashtag2"]},{"1329484571":["hashtag1","hashtag2"]},{"1329484511":["hashtag1","hashtag2"]},{"1329484520":["hashtag1","hashtag2"]},{"1329484508":["hashtag1","hashtag2"]},{"1329484505":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329484513, 1329484571, 1329484511, 1329484520, 1329484508, 1329484505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.43371558189392 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:40:41.760267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/01/image_17012025_14_01_10_5235.jpg', '/media/data/images/17012025/14/00/image_17012025_14_01_05_6609.jpg', '/media/data/images/17012025/14/00/image_17012025_14_00_58_5356.jpg', '/media/data/images/17012025/14/00/image_17012025_14_00_53_6577.jpg', '/media/data/images/17012025/14/00/image_17012025_14_00_46_5334.jpg', '/media/data/images/17012025/14/00/image_17012025_14_00_41_6600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/01/image_17012025_14_01_10_5235.jpg
/media/data/images/17012025/14/00/image_17012025_14_01_05_6609.jpg
/media/data/images/17012025/14/00/image_17012025_14_00_58_5356.jpg
/media/data/images/17012025/14/00/image_17012025_14_00_53_6577.jpg
/media/data/images/17012025/14/00/image_17012025_14_00_46_5334.jpg
/media/data/images/17012025/14/00/image_17012025_14_00_41_6600.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: 8.26004409790039 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:41:02.109808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/01/image_17012025_14_01_10_5235.jpg', '/media/data/images/17012025/14/00/image_17012025_14_01_05_6609.jpg', '/media/data/images/17012025/14/00/image_17012025_14_00_58_5356.jpg', '/media/data/images/17012025/14/00/image_17012025_14_00_53_6577.jpg', '/media/data/images/17012025/14/00/image_17012025_14_00_46_5334.jpg', '/media/data/images/17012025/14/00/image_17012025_14_00_41_6600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/01/image_17012025_14_01_10_5235.jpg
/media/data/images/17012025/14/00/image_17012025_14_01_05_6609.jpg
/media/data/images/17012025/14/00/image_17012025_14_00_58_5356.jpg
/media/data/images/17012025/14/00/image_17012025_14_00_53_6577.jpg
/media/data/images/17012025/14/00/image_17012025_14_00_46_5334.jpg
/media/data/images/17012025/14/00/image_17012025_14_00_41_6600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329485916","1329485910","1329485930","1329485936","1329485923","1329485898"],"photo_ids_order":["1329485898","1329485910","1329485916","1329485923","1329485930","1329485936"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cca8fc1eb2727fb911dbbc99d0dde001.jpg","text":"TemporaryFile(/tmp/multipartBody5545375018879794738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121330407,"filename":"image_17012025_14_00_58_5356.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f9187f5a50855d948e6f31605099c7c2.jpg","text":"TemporaryFile(/tmp/multipartBody4846158846031099149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121330407,"filename":"image_17012025_14_01_05_6609.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/479dd8a0a61e1e5820b0c8952a0b3a9b.jpg","text":"TemporaryFile(/tmp/multipartBody3131565676528569865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121330407,"filename":"image_17012025_14_00_46_5334.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e98d6dead9b8805110e646828e8702f8.jpg","text":"TemporaryFile(/tmp/multipartBody7717241853742496938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121330407,"filename":"image_17012025_14_00_41_6600.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/859562edb9ef76b19c736a7fab59969a.jpg","text":"TemporaryFile(/tmp/multipartBody5087120759500702096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121330407,"filename":"image_17012025_14_00_53_6577.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2d3c1930bb4660ad0e3f8f1438ff739a.jpg","text":"TemporaryFile(/tmp/multipartBody5652909469499933993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121330407,"filename":"image_17012025_14_01_10_5235.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329485916","file1":"1329485910","file0":"1329485898","file4":"1329485930","file5":"1329485936","file3":"1329485923"},"map_files_photo_id_array":[{"photo_id":"1329485936","filename":"file5"},{"photo_id":"1329485916","filename":"file2"},{"photo_id":"1329485930","filename":"file4"},{"photo_id":"1329485910","filename":"file1"},{"photo_id":"1329485898","filename":"file0"},{"photo_id":"1329485923","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329485916":["hashtag1","hashtag2"]},{"1329485910":["hashtag1","hashtag2"]},{"1329485930":["hashtag1","hashtag2"]},{"1329485936":["hashtag1","hashtag2"]},{"1329485923":["hashtag1","hashtag2"]},{"1329485898":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329485916, 1329485910, 1329485930, 1329485936, 1329485923, 1329485898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.2234423160553 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:42:02.128847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/00/image_17012025_14_00_34_5398.jpg', '/media/data/images/17012025/14/00/image_17012025_14_00_29_6634.jpg', '/media/data/images/17012025/14/00/image_17012025_14_00_22_5354.jpg', '/media/data/images/17012025/14/00/image_17012025_14_00_17_6574.jpg', '/media/data/images/17012025/14/00/image_17012025_14_00_10_6381.jpg', '/media/data/images/17012025/13/59/image_17012025_14_00_04_5359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/00/image_17012025_14_00_34_5398.jpg
/media/data/images/17012025/14/00/image_17012025_14_00_29_6634.jpg
/media/data/images/17012025/14/00/image_17012025_14_00_22_5354.jpg
/media/data/images/17012025/14/00/image_17012025_14_00_17_6574.jpg
/media/data/images/17012025/14/00/image_17012025_14_00_10_6381.jpg
/media/data/images/17012025/13/59/image_17012025_14_00_04_5359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329486365","1329486320","1329486352","1329486169","1329486378","1329486087"],"photo_ids_order":["1329486087","1329486169","1329486320","1329486352","1329486365","1329486378"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/193bfc7ff0ba1d19544f44c27c458d8b.jpg","text":"TemporaryFile(/tmp/multipartBody4076348386610467810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121391441,"filename":"image_17012025_14_00_10_6381.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/efd4336151be2fe5b5451fff6f693f17.jpg","text":"TemporaryFile(/tmp/multipartBody3977871987235654327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121391441,"filename":"image_17012025_14_00_22_5354.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bdabe6888b9a7f8e67ba2694e5b2b3be.jpg","text":"TemporaryFile(/tmp/multipartBody1134380728987878730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121391441,"filename":"image_17012025_14_00_17_6574.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/95d35df4b5bda75de38a840216f64be0.jpg","text":"TemporaryFile(/tmp/multipartBody6438646460917367368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121391441,"filename":"image_17012025_14_00_29_6634.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8936e0fb85b57bc90ae0cd073c61a5aa.jpg","text":"TemporaryFile(/tmp/multipartBody6342277587526311821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121391441,"filename":"image_17012025_14_00_04_5359.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e41e4e698f652ceca2b553b8998a3d12.jpg","text":"TemporaryFile(/tmp/multipartBody8309100607174354069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121391441,"filename":"image_17012025_14_00_34_5398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329486320","file1":"1329486169","file0":"1329486087","file4":"1329486365","file5":"1329486378","file3":"1329486352"},"map_files_photo_id_array":[{"photo_id":"1329486378","filename":"file5"},{"photo_id":"1329486320","filename":"file2"},{"photo_id":"1329486365","filename":"file4"},{"photo_id":"1329486169","filename":"file1"},{"photo_id":"1329486087","filename":"file0"},{"photo_id":"1329486352","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329486365":["hashtag1","hashtag2"]},{"1329486320":["hashtag1","hashtag2"]},{"1329486352":["hashtag1","hashtag2"]},{"1329486169":["hashtag1","hashtag2"]},{"1329486378":["hashtag1","hashtag2"]},{"1329486087":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329486365, 1329486320, 1329486352, 1329486169, 1329486378, 1329486087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.68042254447937 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:43:02.365704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/59/image_17012025_13_59_58_6380.jpg', '/media/data/images/17012025/13/59/image_17012025_13_59_52_5217.jpg', '/media/data/images/17012025/13/59/image_17012025_13_59_47_6467.jpg', '/media/data/images/17012025/13/59/image_17012025_13_59_22_6406.jpg', '/media/data/images/17012025/13/59/image_17012025_13_59_16_5175.jpg', '/media/data/images/17012025/13/59/image_17012025_13_59_11_6371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/59/image_17012025_13_59_58_6380.jpg
/media/data/images/17012025/13/59/image_17012025_13_59_52_5217.jpg
/media/data/images/17012025/13/59/image_17012025_13_59_47_6467.jpg
/media/data/images/17012025/13/59/image_17012025_13_59_22_6406.jpg
/media/data/images/17012025/13/59/image_17012025_13_59_16_5175.jpg
/media/data/images/17012025/13/59/image_17012025_13_59_11_6371.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329486575","1329486599","1329486578","1329486589","1329486571","1329486567"],"photo_ids_order":["1329486567","1329486571","1329486575","1329486578","1329486589","1329486599"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/73275fbc1dd098210322164fafdde61e.jpg","text":"TemporaryFile(/tmp/multipartBody2032698081044675075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121448137,"filename":"image_17012025_13_59_47_6467.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/016f982b95e21f08d70338317620123f.jpg","text":"TemporaryFile(/tmp/multipartBody4419645386584899453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121448137,"filename":"image_17012025_13_59_11_6371.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c747dfea6ca2ee19c4507cda0bb76ac7.jpg","text":"TemporaryFile(/tmp/multipartBody5852621439062074429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121448137,"filename":"image_17012025_13_59_22_6406.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f8617c90efce07a13789266a3a69a974.jpg","text":"TemporaryFile(/tmp/multipartBody8711214122917947723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121448137,"filename":"image_17012025_13_59_16_5175.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f0bf78b3c33204afe174f32301e0e082.jpg","text":"TemporaryFile(/tmp/multipartBody7550977256277045529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121448137,"filename":"image_17012025_13_59_52_5217.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5b9f4fab06197b4b8f65c9d933acc797.jpg","text":"TemporaryFile(/tmp/multipartBody178222442921130422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121448137,"filename":"image_17012025_13_59_58_6380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329486575","file1":"1329486571","file0":"1329486567","file4":"1329486589","file5":"1329486599","file3":"1329486578"},"map_files_photo_id_array":[{"photo_id":"1329486599","filename":"file5"},{"photo_id":"1329486575","filename":"file2"},{"photo_id":"1329486589","filename":"file4"},{"photo_id":"1329486571","filename":"file1"},{"photo_id":"1329486567","filename":"file0"},{"photo_id":"1329486578","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329486575":["hashtag1","hashtag2"]},{"1329486599":["hashtag1","hashtag2"]},{"1329486578":["hashtag1","hashtag2"]},{"1329486589":["hashtag1","hashtag2"]},{"1329486571":["hashtag1","hashtag2"]},{"1329486567":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329486575, 1329486599, 1329486578, 1329486589, 1329486571, 1329486567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.8546929359436 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:43:42.017824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/58/image_17012025_13_59_04_6425.jpg', '/media/data/images/17012025/13/58/image_17012025_13_58_58_5191.jpg', '/media/data/images/17012025/13/58/image_17012025_13_58_53_6422.jpg', '/media/data/images/17012025/13/58/image_17012025_13_58_46_6396.jpg', '/media/data/images/17012025/13/58/image_17012025_13_58_40_5203.jpg', '/media/data/images/17012025/13/58/image_17012025_13_58_35_6409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/58/image_17012025_13_59_04_6425.jpg
/media/data/images/17012025/13/58/image_17012025_13_58_58_5191.jpg
/media/data/images/17012025/13/58/image_17012025_13_58_53_6422.jpg
/media/data/images/17012025/13/58/image_17012025_13_58_46_6396.jpg
/media/data/images/17012025/13/58/image_17012025_13_58_40_5203.jpg
/media/data/images/17012025/13/58/image_17012025_13_58_35_6409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329486629","1329486631","1329486625","1329486616","1329486636","1329486621"],"photo_ids_order":["1329486616","1329486621","1329486625","1329486629","1329486631","1329486636"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/00bb348d97793d390ea79948d53d2e3e.jpg","text":"TemporaryFile(/tmp/multipartBody6357344211016293904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121486406,"filename":"image_17012025_13_58_46_6396.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2522aecbbfe8b02b7178098797ba79d2.jpg","text":"TemporaryFile(/tmp/multipartBody3250543209712207877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121486406,"filename":"image_17012025_13_58_40_5203.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2da9b6f1379d23388936aacbbbaf4e9b.jpg","text":"TemporaryFile(/tmp/multipartBody7790444471308726098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121486406,"filename":"image_17012025_13_58_53_6422.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fca703f8aae312a0eb9847a4a5e7ef7e.jpg","text":"TemporaryFile(/tmp/multipartBody8212554583704192310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121486406,"filename":"image_17012025_13_59_04_6425.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/71d578ded7899e61e8416e27bf72164c.jpg","text":"TemporaryFile(/tmp/multipartBody977662806753832776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121486406,"filename":"image_17012025_13_58_35_6409.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cdf7e62a49adb6585ed33a81edfa8ef6.jpg","text":"TemporaryFile(/tmp/multipartBody1046801589776667571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121486406,"filename":"image_17012025_13_58_58_5191.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329486625","file1":"1329486621","file0":"1329486616","file4":"1329486631","file5":"1329486636","file3":"1329486629"},"map_files_photo_id_array":[{"photo_id":"1329486636","filename":"file5"},{"photo_id":"1329486625","filename":"file2"},{"photo_id":"1329486631","filename":"file4"},{"photo_id":"1329486621","filename":"file1"},{"photo_id":"1329486616","filename":"file0"},{"photo_id":"1329486629","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329486629":["hashtag1","hashtag2"]},{"1329486631":["hashtag1","hashtag2"]},{"1329486625":["hashtag1","hashtag2"]},{"1329486616":["hashtag1","hashtag2"]},{"1329486636":["hashtag1","hashtag2"]},{"1329486621":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329486629, 1329486631, 1329486625, 1329486616, 1329486636, 1329486621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.4220871925354 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:44:42.115340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/57/image_17012025_13_57_41_6446.jpg', '/media/data/images/17012025/13/57/image_17012025_13_57_34_6425.jpg', '/media/data/images/17012025/13/57/image_17012025_13_57_28_5349.jpg', '/media/data/images/17012025/13/57/image_17012025_13_57_11_6574.jpg', '/media/data/images/17012025/13/57/image_17012025_13_57_04_5134.jpg', '/media/data/images/17012025/13/56/image_17012025_13_56_59_6568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/57/image_17012025_13_57_41_6446.jpg
/media/data/images/17012025/13/57/image_17012025_13_57_34_6425.jpg
/media/data/images/17012025/13/57/image_17012025_13_57_28_5349.jpg
/media/data/images/17012025/13/57/image_17012025_13_57_11_6574.jpg
/media/data/images/17012025/13/57/image_17012025_13_57_04_5134.jpg
/media/data/images/17012025/13/56/image_17012025_13_56_59_6568.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329486702","1329486689","1329486707","1329486697","1329486712","1329486714"],"photo_ids_order":["1329486689","1329486697","1329486702","1329486707","1329486712","1329486714"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d90b7c240992a8b9636b8d4e6e1e88e4.jpg","text":"TemporaryFile(/tmp/multipartBody7783202305867370170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121550475,"filename":"image_17012025_13_57_28_5349.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5c42f747e128e91323ac1397135cb6b8.jpg","text":"TemporaryFile(/tmp/multipartBody4189411830183020402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121550475,"filename":"image_17012025_13_57_41_6446.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/97eecbc9689a4d5e99d0883226841654.jpg","text":"TemporaryFile(/tmp/multipartBody657483300646556107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121550475,"filename":"image_17012025_13_57_11_6574.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a02472b52e9b7af20e166c3b7f67a8b5.jpg","text":"TemporaryFile(/tmp/multipartBody8446586386438526533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121550475,"filename":"image_17012025_13_57_34_6425.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/24921ec67be76fc0ce6d27d16ab92b58.jpg","text":"TemporaryFile(/tmp/multipartBody1414908916578434070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121550475,"filename":"image_17012025_13_57_04_5134.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c77d135ab88426dde94adbd9aafbbd1e.jpg","text":"TemporaryFile(/tmp/multipartBody7479498005363813735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121550475,"filename":"image_17012025_13_56_59_6568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329486702","file1":"1329486697","file0":"1329486689","file4":"1329486712","file5":"1329486714","file3":"1329486707"},"map_files_photo_id_array":[{"photo_id":"1329486714","filename":"file5"},{"photo_id":"1329486702","filename":"file2"},{"photo_id":"1329486712","filename":"file4"},{"photo_id":"1329486697","filename":"file1"},{"photo_id":"1329486689","filename":"file0"},{"photo_id":"1329486707","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329486702":["hashtag1","hashtag2"]},{"1329486689":["hashtag1","hashtag2"]},{"1329486707":["hashtag1","hashtag2"]},{"1329486697":["hashtag1","hashtag2"]},{"1329486712":["hashtag1","hashtag2"]},{"1329486714":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329486702, 1329486689, 1329486707, 1329486697, 1329486712, 1329486714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.712204694747925 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:45:42.199166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/56/image_17012025_13_56_52_6465.jpg', '/media/data/images/17012025/13/56/image_17012025_13_56_46_5308.jpg', '/media/data/images/17012025/13/56/image_17012025_13_56_29_6536.jpg', '/media/data/images/17012025/13/56/image_17012025_13_56_22_5314.jpg', '/media/data/images/17012025/13/56/image_17012025_13_56_17_6597.jpg', '/media/data/images/17012025/13/56/image_17012025_13_56_05_6289.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/56/image_17012025_13_56_52_6465.jpg
/media/data/images/17012025/13/56/image_17012025_13_56_46_5308.jpg
/media/data/images/17012025/13/56/image_17012025_13_56_29_6536.jpg
/media/data/images/17012025/13/56/image_17012025_13_56_22_5314.jpg
/media/data/images/17012025/13/56/image_17012025_13_56_17_6597.jpg
/media/data/images/17012025/13/56/image_17012025_13_56_05_6289.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329487139","1329486878","1329486959","1329486805","1329487050","1329487230"],"photo_ids_order":["1329486805","1329486878","1329486959","1329487050","1329487139","1329487230"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7ce740485f6b3a47cbd1730db9ef2cd4.jpg","text":"TemporaryFile(/tmp/multipartBody7229952498902139588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121611067,"filename":"image_17012025_13_56_17_6597.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/01cc3241f7edc370dce6ceed66c81ce0.jpg","text":"TemporaryFile(/tmp/multipartBody6510262264252142847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121611067,"filename":"image_17012025_13_56_46_5308.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2c945b2452ed35421066f5f4bc8b5e5c.jpg","text":"TemporaryFile(/tmp/multipartBody7320285585436190357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121611067,"filename":"image_17012025_13_56_29_6536.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0a01a3b48244ba00248fe2b1ce6d2685.jpg","text":"TemporaryFile(/tmp/multipartBody3562129149742240289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121611067,"filename":"image_17012025_13_56_52_6465.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e8cbf65a693f88bb06ff373fcd42eb65.jpg","text":"TemporaryFile(/tmp/multipartBody2924079094379234801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121611067,"filename":"image_17012025_13_56_22_5314.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/44f9aeafa1eccc5ab74abcd5fee4c817.jpg","text":"TemporaryFile(/tmp/multipartBody2443379610552228083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121611067,"filename":"image_17012025_13_56_05_6289.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329486959","file1":"1329486878","file0":"1329486805","file4":"1329487139","file5":"1329487230","file3":"1329487050"},"map_files_photo_id_array":[{"photo_id":"1329487230","filename":"file5"},{"photo_id":"1329486959","filename":"file2"},{"photo_id":"1329487139","filename":"file4"},{"photo_id":"1329486878","filename":"file1"},{"photo_id":"1329486805","filename":"file0"},{"photo_id":"1329487050","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329487139":["hashtag1","hashtag2"]},{"1329486878":["hashtag1","hashtag2"]},{"1329486959":["hashtag1","hashtag2"]},{"1329486805":["hashtag1","hashtag2"]},{"1329487050":["hashtag1","hashtag2"]},{"1329487230":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329487139, 1329486878, 1329486959, 1329486805, 1329487050, 1329487230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.39568567276001 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:46:42.297986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/55/image_17012025_13_55_58_6536.jpg', '/media/data/images/17012025/13/55/image_17012025_13_55_52_5320.jpg', '/media/data/images/17012025/13/55/image_17012025_13_55_47_6525.jpg', '/media/data/images/17012025/13/55/image_17012025_13_55_40_5280.jpg', '/media/data/images/17012025/13/55/image_17012025_13_55_35_6543.jpg', '/media/data/images/17012025/13/55/image_17012025_13_55_28_6482.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/55/image_17012025_13_55_58_6536.jpg
/media/data/images/17012025/13/55/image_17012025_13_55_52_5320.jpg
/media/data/images/17012025/13/55/image_17012025_13_55_47_6525.jpg
/media/data/images/17012025/13/55/image_17012025_13_55_40_5280.jpg
/media/data/images/17012025/13/55/image_17012025_13_55_35_6543.jpg
/media/data/images/17012025/13/55/image_17012025_13_55_28_6482.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329487664","1329487658","1329487645","1329487669","1329487642","1329487650"],"photo_ids_order":["1329487642","1329487645","1329487650","1329487658","1329487664","1329487669"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/60fcdd7cf29010884f41841443b5dd28.jpg","text":"TemporaryFile(/tmp/multipartBody3624949918049414861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121670568,"filename":"image_17012025_13_55_35_6543.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2a996492f032908c9aac6b647106195f.jpg","text":"TemporaryFile(/tmp/multipartBody4254608947156835346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121670568,"filename":"image_17012025_13_55_40_5280.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ccd78d5f3cd5181589dc9d0232187911.jpg","text":"TemporaryFile(/tmp/multipartBody7690054211408707244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121670568,"filename":"image_17012025_13_55_52_5320.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e34ecf63ff29ff7a1cf96a0d8e50d485.jpg","text":"TemporaryFile(/tmp/multipartBody4414535956205481232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121670568,"filename":"image_17012025_13_55_28_6482.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/380243c48a081e8521e0cf29f22c0fe8.jpg","text":"TemporaryFile(/tmp/multipartBody3873255207975620353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121670568,"filename":"image_17012025_13_55_58_6536.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ace0037d8c2bde30a5aa08f8fa89191d.jpg","text":"TemporaryFile(/tmp/multipartBody5296454817987486043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121670568,"filename":"image_17012025_13_55_47_6525.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329487650","file1":"1329487645","file0":"1329487642","file4":"1329487664","file5":"1329487669","file3":"1329487658"},"map_files_photo_id_array":[{"photo_id":"1329487669","filename":"file5"},{"photo_id":"1329487650","filename":"file2"},{"photo_id":"1329487664","filename":"file4"},{"photo_id":"1329487645","filename":"file1"},{"photo_id":"1329487642","filename":"file0"},{"photo_id":"1329487658","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329487664":["hashtag1","hashtag2"]},{"1329487658":["hashtag1","hashtag2"]},{"1329487645":["hashtag1","hashtag2"]},{"1329487669":["hashtag1","hashtag2"]},{"1329487642":["hashtag1","hashtag2"]},{"1329487650":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329487664, 1329487658, 1329487645, 1329487669, 1329487642, 1329487650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.012518644332886 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:47:42.384465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/55/image_17012025_13_55_22_5160.jpg', '/media/data/images/17012025/13/55/image_17012025_13_55_17_6338.jpg', '/media/data/images/17012025/13/55/image_17012025_13_55_10_6390.jpg', '/media/data/images/17012025/13/55/image_17012025_13_55_04_5129.jpg', '/media/data/images/17012025/13/54/image_17012025_13_54_59_6383.jpg', '/media/data/images/17012025/13/54/image_17012025_13_54_52_6391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/55/image_17012025_13_55_22_5160.jpg
/media/data/images/17012025/13/55/image_17012025_13_55_17_6338.jpg
/media/data/images/17012025/13/55/image_17012025_13_55_10_6390.jpg
/media/data/images/17012025/13/55/image_17012025_13_55_04_5129.jpg
/media/data/images/17012025/13/54/image_17012025_13_54_59_6383.jpg
/media/data/images/17012025/13/54/image_17012025_13_54_52_6391.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329487931","1329487937","1329487951","1329487921","1329488055","1329487964"],"photo_ids_order":["1329487921","1329487931","1329487937","1329487951","1329487964","1329488055"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e5615e92429cab58b9c134b6b2a45956.jpg","text":"TemporaryFile(/tmp/multipartBody2067979236512027005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121727678,"filename":"image_17012025_13_55_17_6338.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8c015912522e99b72700eba139a5d240.jpg","text":"TemporaryFile(/tmp/multipartBody5294176676591194160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121727678,"filename":"image_17012025_13_55_10_6390.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3afea40376e89227b43f3b1f9e8dd3be.jpg","text":"TemporaryFile(/tmp/multipartBody7332210781861478383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121727678,"filename":"image_17012025_13_55_04_5129.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cfaaabb9b6363a9aa7603c9e9e6165f4.jpg","text":"TemporaryFile(/tmp/multipartBody5853881427284568731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121727678,"filename":"image_17012025_13_55_22_5160.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2dd9d8912646a2c38ad45d53f9561b59.jpg","text":"TemporaryFile(/tmp/multipartBody6112500916334391205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121727678,"filename":"image_17012025_13_54_52_6391.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3b6db3cd0467c1d6cc963b0f7f7737c3.jpg","text":"TemporaryFile(/tmp/multipartBody1620720544079602853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121727678,"filename":"image_17012025_13_54_59_6383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329487937","file1":"1329487931","file0":"1329487921","file4":"1329487964","file5":"1329488055","file3":"1329487951"},"map_files_photo_id_array":[{"photo_id":"1329488055","filename":"file5"},{"photo_id":"1329487937","filename":"file2"},{"photo_id":"1329487964","filename":"file4"},{"photo_id":"1329487931","filename":"file1"},{"photo_id":"1329487921","filename":"file0"},{"photo_id":"1329487951","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329487931":["hashtag1","hashtag2"]},{"1329487937":["hashtag1","hashtag2"]},{"1329487951":["hashtag1","hashtag2"]},{"1329487921":["hashtag1","hashtag2"]},{"1329488055":["hashtag1","hashtag2"]},{"1329487964":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329487931, 1329487937, 1329487951, 1329487921, 1329488055, 1329487964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.60965061187744 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:48:22.479638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/54/image_17012025_13_54_46_5190.jpg', '/media/data/images/17012025/13/54/image_17012025_13_54_41_6397.jpg', '/media/data/images/17012025/13/54/image_17012025_13_54_34_6405.jpg', '/media/data/images/17012025/13/53/image_17012025_13_53_11_6397.jpg', '/media/data/images/17012025/13/53/image_17012025_13_53_04_6203.jpg', '/media/data/images/17012025/13/52/image_17012025_13_52_58_6413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/54/image_17012025_13_54_46_5190.jpg
/media/data/images/17012025/13/54/image_17012025_13_54_41_6397.jpg
/media/data/images/17012025/13/54/image_17012025_13_54_34_6405.jpg
/media/data/images/17012025/13/53/image_17012025_13_53_11_6397.jpg
/media/data/images/17012025/13/53/image_17012025_13_53_04_6203.jpg
/media/data/images/17012025/13/52/image_17012025_13_52_58_6413.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329488117","1329488102","1329488089","1329488122","1329488107","1329488111"],"photo_ids_order":["1329488089","1329488102","1329488107","1329488111","1329488117","1329488122"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/05c3120d58d6380299691e3e95cd1e5e.jpg","text":"TemporaryFile(/tmp/multipartBody7043244517056643494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121767322,"filename":"image_17012025_13_53_04_6203.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ee3d00c9d2c19d93a5d82c88b831254e.jpg","text":"TemporaryFile(/tmp/multipartBody3726872314946939334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121767322,"filename":"image_17012025_13_54_41_6397.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8097b5428d2a151209161fba18e231d9.jpg","text":"TemporaryFile(/tmp/multipartBody7116646812714659317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121767322,"filename":"image_17012025_13_54_46_5190.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/82fdd847650ce5d51d5d1ddef4a633ad.jpg","text":"TemporaryFile(/tmp/multipartBody4101818015514869598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121767322,"filename":"image_17012025_13_52_58_6413.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/040975a1da533f47e286437baf79f714.jpg","text":"TemporaryFile(/tmp/multipartBody8287244159835401569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121767322,"filename":"image_17012025_13_54_34_6405.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/73e215d7b61304232dd147c3e111da71.jpg","text":"TemporaryFile(/tmp/multipartBody3164288012743975885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121767322,"filename":"image_17012025_13_53_11_6397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329488107","file1":"1329488102","file0":"1329488089","file4":"1329488117","file5":"1329488122","file3":"1329488111"},"map_files_photo_id_array":[{"photo_id":"1329488122","filename":"file5"},{"photo_id":"1329488107","filename":"file2"},{"photo_id":"1329488117","filename":"file4"},{"photo_id":"1329488102","filename":"file1"},{"photo_id":"1329488089","filename":"file0"},{"photo_id":"1329488111","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329488117":["hashtag1","hashtag2"]},{"1329488102":["hashtag1","hashtag2"]},{"1329488089":["hashtag1","hashtag2"]},{"1329488122":["hashtag1","hashtag2"]},{"1329488107":["hashtag1","hashtag2"]},{"1329488111":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329488117, 1329488102, 1329488089, 1329488122, 1329488107, 1329488111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.96353459358215 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
 val : 1 : upload photos already in processing! 
2025-01-17 14:49:02.826583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/52/image_17012025_13_52_52_5153.jpg', '/media/data/images/17012025/13/52/image_17012025_13_52_40_5584.jpg', '/media/data/images/17012025/13/52/image_17012025_13_52_35_6560.jpg', '/media/data/images/17012025/13/52/image_17012025_13_52_28_5316.jpg', '/media/data/images/17012025/13/52/image_17012025_13_52_23_6507.jpg', '/media/data/images/17012025/13/52/image_17012025_13_52_16_6395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/52/image_17012025_13_52_52_5153.jpg
/media/data/images/17012025/13/52/image_17012025_13_52_40_5584.jpg
/media/data/images/17012025/13/52/image_17012025_13_52_35_6560.jpg
/media/data/images/17012025/13/52/image_17012025_13_52_28_5316.jpg
/media/data/images/17012025/13/52/image_17012025_13_52_23_6507.jpg
/media/data/images/17012025/13/52/image_17012025_13_52_16_6395.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329488510","1329488504","1329488470","1329488490","1329488439","1329488486"],"photo_ids_order":["1329488439","1329488470","1329488486","1329488490","1329488504","1329488510"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3986420d73f91ee2b87be17e2e6635a5.jpg","text":"TemporaryFile(/tmp/multipartBody6559574188611818489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121825353,"filename":"image_17012025_13_52_16_6395.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/700344fc188e75b1be1a6d47c8890222.jpg","text":"TemporaryFile(/tmp/multipartBody6047465027803035267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121825353,"filename":"image_17012025_13_52_23_6507.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fe5417c0d3bce2770e567241c0368862.jpg","text":"TemporaryFile(/tmp/multipartBody4782294313952825098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121825353,"filename":"image_17012025_13_52_40_5584.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/27de5da0ed35553aec6ca07a0035d93f.jpg","text":"TemporaryFile(/tmp/multipartBody7181907584164775689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121825353,"filename":"image_17012025_13_52_28_5316.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/75a5b28e18f2d72176446d51933bb711.jpg","text":"TemporaryFile(/tmp/multipartBody2181989876048162071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121825353,"filename":"image_17012025_13_52_52_5153.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/81d1771a7b28ca984ab4ce4970213011.jpg","text":"TemporaryFile(/tmp/multipartBody3877828414937611070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121825353,"filename":"image_17012025_13_52_35_6560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329488486","file1":"1329488470","file0":"1329488439","file4":"1329488504","file5":"1329488510","file3":"1329488490"},"map_files_photo_id_array":[{"photo_id":"1329488510","filename":"file5"},{"photo_id":"1329488486","filename":"file2"},{"photo_id":"1329488504","filename":"file4"},{"photo_id":"1329488470","filename":"file1"},{"photo_id":"1329488439","filename":"file0"},{"photo_id":"1329488490","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329488510":["hashtag1","hashtag2"]},{"1329488504":["hashtag1","hashtag2"]},{"1329488470":["hashtag1","hashtag2"]},{"1329488490":["hashtag1","hashtag2"]},{"1329488439":["hashtag1","hashtag2"]},{"1329488486":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329488510, 1329488504, 1329488470, 1329488490, 1329488439, 1329488486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.68506073951721 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:50:22.656952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/52/image_17012025_13_52_10_5161.jpg', '/media/data/images/17012025/13/51/image_17012025_13_52_05_6492.jpg', '/media/data/images/17012025/13/51/image_17012025_13_51_58_6412.jpg', '/media/data/images/17012025/13/51/image_17012025_13_51_52_5173.jpg', '/media/data/images/17012025/13/51/image_17012025_13_51_47_6392.jpg', '/media/data/images/17012025/13/51/image_17012025_13_51_40_6383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/52/image_17012025_13_52_10_5161.jpg
/media/data/images/17012025/13/51/image_17012025_13_52_05_6492.jpg
/media/data/images/17012025/13/51/image_17012025_13_51_58_6412.jpg
/media/data/images/17012025/13/51/image_17012025_13_51_52_5173.jpg
/media/data/images/17012025/13/51/image_17012025_13_51_47_6392.jpg
/media/data/images/17012025/13/51/image_17012025_13_51_40_6383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329488702","1329488713","1329488691","1329488685","1329488696","1329488708"],"photo_ids_order":["1329488685","1329488691","1329488696","1329488702","1329488708","1329488713"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/69be91eb7ed7fa184806910dc8d37f00.jpg","text":"TemporaryFile(/tmp/multipartBody6460510884735163035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121894842,"filename":"image_17012025_13_51_52_5173.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5300e6e2665a26ad4b614ae4209262b0.jpg","text":"TemporaryFile(/tmp/multipartBody887094595876001422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121894842,"filename":"image_17012025_13_51_40_6383.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9c476b9db2814d297842ba7f5624a457.jpg","text":"TemporaryFile(/tmp/multipartBody3185816655327573036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121894842,"filename":"image_17012025_13_52_05_6492.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/49e45ccb5c58113e654ec3612c8895ce.jpg","text":"TemporaryFile(/tmp/multipartBody5188938289438859880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121894842,"filename":"image_17012025_13_52_10_5161.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5b88fb9e0ef042c455a999eccb8ecb1f.jpg","text":"TemporaryFile(/tmp/multipartBody6014470863124159918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121894842,"filename":"image_17012025_13_51_58_6412.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a45bde5ab20039dd44a7d8fb96d70888.jpg","text":"TemporaryFile(/tmp/multipartBody2506497727192671277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121894842,"filename":"image_17012025_13_51_47_6392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329488696","file1":"1329488691","file0":"1329488685","file4":"1329488708","file5":"1329488713","file3":"1329488702"},"map_files_photo_id_array":[{"photo_id":"1329488713","filename":"file5"},{"photo_id":"1329488696","filename":"file2"},{"photo_id":"1329488708","filename":"file4"},{"photo_id":"1329488691","filename":"file1"},{"photo_id":"1329488685","filename":"file0"},{"photo_id":"1329488702","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329488702":["hashtag1","hashtag2"]},{"1329488713":["hashtag1","hashtag2"]},{"1329488691":["hashtag1","hashtag2"]},{"1329488685":["hashtag1","hashtag2"]},{"1329488696":["hashtag1","hashtag2"]},{"1329488708":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329488702, 1329488713, 1329488691, 1329488685, 1329488696, 1329488708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.51387596130371 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:51:21.746664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/51/image_17012025_13_51_34_5177.jpg', '/media/data/images/17012025/13/51/image_17012025_13_51_29_6436.jpg', '/media/data/images/17012025/13/51/image_17012025_13_51_22_6427.jpg', '/media/data/images/17012025/13/51/image_17012025_13_51_16_5174.jpg', '/media/data/images/17012025/13/51/image_17012025_13_51_11_6375.jpg', '/media/data/images/17012025/13/50/image_17012025_13_51_04_6365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/51/image_17012025_13_51_34_5177.jpg
/media/data/images/17012025/13/51/image_17012025_13_51_29_6436.jpg
/media/data/images/17012025/13/51/image_17012025_13_51_22_6427.jpg
/media/data/images/17012025/13/51/image_17012025_13_51_16_5174.jpg
/media/data/images/17012025/13/51/image_17012025_13_51_11_6375.jpg
/media/data/images/17012025/13/50/image_17012025_13_51_04_6365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329488788","1329488749","1329488740","1329488792","1329488774","1329488768"],"photo_ids_order":["1329488740","1329488749","1329488768","1329488774","1329488788","1329488792"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/66f0f9f5907aca49fc237c9181a937d3.jpg","text":"TemporaryFile(/tmp/multipartBody2660726953475923091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121948258,"filename":"image_17012025_13_51_11_6375.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/30b33052dec943216d6b1edb34e79eff.jpg","text":"TemporaryFile(/tmp/multipartBody790282919042812164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121948258,"filename":"image_17012025_13_51_29_6436.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8a1303b970ce4f4f106f4d2340ea7b5b.jpg","text":"TemporaryFile(/tmp/multipartBody5693173568736262587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121948258,"filename":"image_17012025_13_51_34_5177.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3baa1be864d2e1a13cea4257b1de8850.jpg","text":"TemporaryFile(/tmp/multipartBody5668855202195152150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121948258,"filename":"image_17012025_13_51_04_6365.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/15ac9514829b8b15e59a2ce99212bb30.jpg","text":"TemporaryFile(/tmp/multipartBody8665146322648289772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121948258,"filename":"image_17012025_13_51_16_5174.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ead5ed0bf340ff6bc78ffab853f13bbb.jpg","text":"TemporaryFile(/tmp/multipartBody3559125335489257088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737121948258,"filename":"image_17012025_13_51_22_6427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329488768","file1":"1329488749","file0":"1329488740","file4":"1329488788","file5":"1329488792","file3":"1329488774"},"map_files_photo_id_array":[{"photo_id":"1329488792","filename":"file5"},{"photo_id":"1329488768","filename":"file2"},{"photo_id":"1329488788","filename":"file4"},{"photo_id":"1329488749","filename":"file1"},{"photo_id":"1329488740","filename":"file0"},{"photo_id":"1329488774","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329488788":["hashtag1","hashtag2"]},{"1329488749":["hashtag1","hashtag2"]},{"1329488740":["hashtag1","hashtag2"]},{"1329488792":["hashtag1","hashtag2"]},{"1329488774":["hashtag1","hashtag2"]},{"1329488768":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329488788, 1329488749, 1329488740, 1329488792, 1329488774, 1329488768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.975172996520996 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:52:21.826112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/50/image_17012025_13_50_58_5179.jpg', '/media/data/images/17012025/13/50/image_17012025_13_50_53_6376.jpg', '/media/data/images/17012025/13/50/image_17012025_13_50_46_6390.jpg', '/media/data/images/17012025/13/50/image_17012025_13_50_40_5172.jpg', '/media/data/images/17012025/13/50/image_17012025_13_50_35_6377.jpg', '/media/data/images/17012025/13/49/image_17012025_13_49_53_6435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/50/image_17012025_13_50_58_5179.jpg
/media/data/images/17012025/13/50/image_17012025_13_50_53_6376.jpg
/media/data/images/17012025/13/50/image_17012025_13_50_46_6390.jpg
/media/data/images/17012025/13/50/image_17012025_13_50_40_5172.jpg
/media/data/images/17012025/13/50/image_17012025_13_50_35_6377.jpg
/media/data/images/17012025/13/49/image_17012025_13_49_53_6435.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329488837","1329488824","1329488832","1329488841","1329488820","1329488828"],"photo_ids_order":["1329488820","1329488824","1329488828","1329488832","1329488837","1329488841"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a2c22b9622c2fb8cf425624615712da4.jpg","text":"TemporaryFile(/tmp/multipartBody6788628676915452819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122006837,"filename":"image_17012025_13_50_35_6377.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cf32a24f67b49a24c5a989051d70f4d3.jpg","text":"TemporaryFile(/tmp/multipartBody6729085329846932155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122006837,"filename":"image_17012025_13_50_53_6376.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/64e0b051ae9205615b7069fa5abbfa9b.jpg","text":"TemporaryFile(/tmp/multipartBody2167213683314645437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122006837,"filename":"image_17012025_13_50_40_5172.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c2793548823f37faf7cbcabaf7bc0383.jpg","text":"TemporaryFile(/tmp/multipartBody6830488686478390234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122006837,"filename":"image_17012025_13_49_53_6435.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/91ea2b2eed751394f724f337580123b9.jpg","text":"TemporaryFile(/tmp/multipartBody5316837341340434790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122006837,"filename":"image_17012025_13_50_58_5179.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5a1d785c6c6a757b3d1b9fdf2131f21d.jpg","text":"TemporaryFile(/tmp/multipartBody6699950338971330878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122006837,"filename":"image_17012025_13_50_46_6390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329488828","file1":"1329488824","file0":"1329488820","file4":"1329488837","file5":"1329488841","file3":"1329488832"},"map_files_photo_id_array":[{"photo_id":"1329488841","filename":"file5"},{"photo_id":"1329488828","filename":"file2"},{"photo_id":"1329488837","filename":"file4"},{"photo_id":"1329488824","filename":"file1"},{"photo_id":"1329488820","filename":"file0"},{"photo_id":"1329488832","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329488837":["hashtag1","hashtag2"]},{"1329488824":["hashtag1","hashtag2"]},{"1329488832":["hashtag1","hashtag2"]},{"1329488841":["hashtag1","hashtag2"]},{"1329488820":["hashtag1","hashtag2"]},{"1329488828":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329488837, 1329488824, 1329488832, 1329488841, 1329488820, 1329488828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.197388648986816 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:53:02.187509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/49/image_17012025_13_49_46_6408.jpg', '/media/data/images/17012025/13/49/image_17012025_13_49_40_5152.jpg', '/media/data/images/17012025/13/49/image_17012025_13_49_35_6412.jpg', '/media/data/images/17012025/13/49/image_17012025_13_49_28_6407.jpg', '/media/data/images/17012025/13/49/image_17012025_13_49_22_5171.jpg', '/media/data/images/17012025/13/49/image_17012025_13_49_17_6387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/49/image_17012025_13_49_46_6408.jpg
/media/data/images/17012025/13/49/image_17012025_13_49_40_5152.jpg
/media/data/images/17012025/13/49/image_17012025_13_49_35_6412.jpg
/media/data/images/17012025/13/49/image_17012025_13_49_28_6407.jpg
/media/data/images/17012025/13/49/image_17012025_13_49_22_5171.jpg
/media/data/images/17012025/13/49/image_17012025_13_49_17_6387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329488872","1329488862","1329488876","1329488879","1329488858","1329488867"],"photo_ids_order":["1329488858","1329488862","1329488867","1329488872","1329488876","1329488879"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c3e1186619ae2af16da5f18afe985856.jpg","text":"TemporaryFile(/tmp/multipartBody4136626251678422918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122048244,"filename":"image_17012025_13_49_28_6407.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f07bd3940620b0e77e56cef595c326ba.jpg","text":"TemporaryFile(/tmp/multipartBody3460266106481079007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122048244,"filename":"image_17012025_13_49_40_5152.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ee4e22e6cbdaead01fca78da98ef403e.jpg","text":"TemporaryFile(/tmp/multipartBody6368137226095245165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122048244,"filename":"image_17012025_13_49_22_5171.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/37f2f125c84bf38fef098e0691758af4.jpg","text":"TemporaryFile(/tmp/multipartBody7979770804234158774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122048244,"filename":"image_17012025_13_49_17_6387.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8351c2b2872223bc2165976e28fead40.jpg","text":"TemporaryFile(/tmp/multipartBody542032506406490674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122048244,"filename":"image_17012025_13_49_46_6408.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ee49737f999c6f1388d6f1ae36c22d0f.jpg","text":"TemporaryFile(/tmp/multipartBody3669469983493589568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122048244,"filename":"image_17012025_13_49_35_6412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329488867","file1":"1329488862","file0":"1329488858","file4":"1329488876","file5":"1329488879","file3":"1329488872"},"map_files_photo_id_array":[{"photo_id":"1329488879","filename":"file5"},{"photo_id":"1329488867","filename":"file2"},{"photo_id":"1329488876","filename":"file4"},{"photo_id":"1329488862","filename":"file1"},{"photo_id":"1329488858","filename":"file0"},{"photo_id":"1329488872","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329488872":["hashtag1","hashtag2"]},{"1329488862":["hashtag1","hashtag2"]},{"1329488876":["hashtag1","hashtag2"]},{"1329488879":["hashtag1","hashtag2"]},{"1329488858":["hashtag1","hashtag2"]},{"1329488867":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329488872, 1329488862, 1329488876, 1329488879, 1329488858, 1329488867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.68534755706787 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
 val : 1 : upload photos already in processing! 
2025-01-17 14:54:02.126663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/49/image_17012025_13_49_10_6365.jpg', '/media/data/images/17012025/13/48/image_17012025_13_49_04_6427.jpg', '/media/data/images/17012025/13/48/image_17012025_13_48_58_5148.jpg', '/media/data/images/17012025/13/48/image_17012025_13_48_53_6370.jpg', '/media/data/images/17012025/13/48/image_17012025_13_48_46_6384.jpg', '/media/data/images/17012025/13/48/image_17012025_13_48_40_5171.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/49/image_17012025_13_49_10_6365.jpg
/media/data/images/17012025/13/48/image_17012025_13_49_04_6427.jpg
/media/data/images/17012025/13/48/image_17012025_13_48_58_5148.jpg
/media/data/images/17012025/13/48/image_17012025_13_48_53_6370.jpg
/media/data/images/17012025/13/48/image_17012025_13_48_46_6384.jpg
/media/data/images/17012025/13/48/image_17012025_13_48_40_5171.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329489373","1329489121","1329488989","1329488980","1329488944","1329489050"],"photo_ids_order":["1329488944","1329488980","1329488989","1329489050","1329489121","1329489373"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c33e29982557630370e2d5b21a604d49.jpg","text":"TemporaryFile(/tmp/multipartBody8298176915040891565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122106924,"filename":"image_17012025_13_48_40_5171.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bbc5150e6d8112ed69a98f05b76bc5b6.jpg","text":"TemporaryFile(/tmp/multipartBody1990368817634509820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122106924,"filename":"image_17012025_13_48_46_6384.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e98b4bd2b32fddd1bc2d25a986b3a0db.jpg","text":"TemporaryFile(/tmp/multipartBody4829245317465043221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122106924,"filename":"image_17012025_13_48_58_5148.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bd173a075bea85abafc8925f7bcd4075.jpg","text":"TemporaryFile(/tmp/multipartBody8531006202710604106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122106924,"filename":"image_17012025_13_49_04_6427.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/511660bfa1dc52bb2f1cf9fbabe1b342.jpg","text":"TemporaryFile(/tmp/multipartBody8534844996762405050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122106924,"filename":"image_17012025_13_49_10_6365.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f5395e2619d30068784c4f13bf576ff2.jpg","text":"TemporaryFile(/tmp/multipartBody1361330889815401254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122106924,"filename":"image_17012025_13_48_53_6370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329488989","file1":"1329488980","file0":"1329488944","file4":"1329489121","file5":"1329489373","file3":"1329489050"},"map_files_photo_id_array":[{"photo_id":"1329489373","filename":"file5"},{"photo_id":"1329488989","filename":"file2"},{"photo_id":"1329489121","filename":"file4"},{"photo_id":"1329488980","filename":"file1"},{"photo_id":"1329488944","filename":"file0"},{"photo_id":"1329489050","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329489373":["hashtag1","hashtag2"]},{"1329489121":["hashtag1","hashtag2"]},{"1329488989":["hashtag1","hashtag2"]},{"1329488980":["hashtag1","hashtag2"]},{"1329488944":["hashtag1","hashtag2"]},{"1329489050":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329489373, 1329489121, 1329488989, 1329488980, 1329488944, 1329489050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.67412710189819 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:55:02.363154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/48/image_17012025_13_48_35_6383.jpg', '/media/data/images/17012025/13/48/image_17012025_13_48_28_6398.jpg', '/media/data/images/17012025/13/48/image_17012025_13_48_22_5171.jpg', '/media/data/images/17012025/13/48/image_17012025_13_48_17_6401.jpg', '/media/data/images/17012025/13/48/image_17012025_13_48_10_6459.jpg', '/media/data/images/17012025/13/48/image_17012025_13_48_04_4986.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/48/image_17012025_13_48_35_6383.jpg
/media/data/images/17012025/13/48/image_17012025_13_48_28_6398.jpg
/media/data/images/17012025/13/48/image_17012025_13_48_22_5171.jpg
/media/data/images/17012025/13/48/image_17012025_13_48_17_6401.jpg
/media/data/images/17012025/13/48/image_17012025_13_48_10_6459.jpg
/media/data/images/17012025/13/48/image_17012025_13_48_04_4986.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329490634","1329490616","1329490621","1329490611","1329490637","1329490625"],"photo_ids_order":["1329490611","1329490616","1329490621","1329490625","1329490634","1329490637"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ba4d1e535fe4dd6758e4c8fbc55de9c1.jpg","text":"TemporaryFile(/tmp/multipartBody6094071448786757510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122168563,"filename":"image_17012025_13_48_10_6459.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/04fbc8435cad7bd74f665431549a0ada.jpg","text":"TemporaryFile(/tmp/multipartBody7480639981317219855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122168563,"filename":"image_17012025_13_48_28_6398.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5685013f32932bee5fa58ba6d1f9488a.jpg","text":"TemporaryFile(/tmp/multipartBody8091339247117259564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122168563,"filename":"image_17012025_13_48_22_5171.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ca36190b3372c928a22188c93551ace0.jpg","text":"TemporaryFile(/tmp/multipartBody4383169090604607646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122168563,"filename":"image_17012025_13_48_35_6383.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/72addf087926bdd14b5c4a1935aaa1f5.jpg","text":"TemporaryFile(/tmp/multipartBody5776679117975281897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122168563,"filename":"image_17012025_13_48_04_4986.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/da03df449f85ee7eae4afdbc4a271bc9.jpg","text":"TemporaryFile(/tmp/multipartBody2737388825567575779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122168563,"filename":"image_17012025_13_48_17_6401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329490621","file1":"1329490616","file0":"1329490611","file4":"1329490634","file5":"1329490637","file3":"1329490625"},"map_files_photo_id_array":[{"photo_id":"1329490637","filename":"file5"},{"photo_id":"1329490621","filename":"file2"},{"photo_id":"1329490634","filename":"file4"},{"photo_id":"1329490616","filename":"file1"},{"photo_id":"1329490611","filename":"file0"},{"photo_id":"1329490625","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329490634":["hashtag1","hashtag2"]},{"1329490616":["hashtag1","hashtag2"]},{"1329490621":["hashtag1","hashtag2"]},{"1329490611":["hashtag1","hashtag2"]},{"1329490637":["hashtag1","hashtag2"]},{"1329490625":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329490634, 1329490616, 1329490621, 1329490611, 1329490637, 1329490625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.95478892326355 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:55:42.125282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/47/image_17012025_13_47_59_6406.jpg', '/media/data/images/17012025/13/47/image_17012025_13_47_52_6418.jpg', '/media/data/images/17012025/13/47/image_17012025_13_47_46_5207.jpg', '/media/data/images/17012025/13/47/image_17012025_13_47_41_6407.jpg', '/media/data/images/17012025/13/47/image_17012025_13_47_34_6508.jpg', '/media/data/images/17012025/13/47/image_17012025_13_47_11_6645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/47/image_17012025_13_47_59_6406.jpg
/media/data/images/17012025/13/47/image_17012025_13_47_52_6418.jpg
/media/data/images/17012025/13/47/image_17012025_13_47_46_5207.jpg
/media/data/images/17012025/13/47/image_17012025_13_47_41_6407.jpg
/media/data/images/17012025/13/47/image_17012025_13_47_34_6508.jpg
/media/data/images/17012025/13/47/image_17012025_13_47_11_6645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329490696","1329490709","1329490666","1329490720","1329490702","1329490736"],"photo_ids_order":["1329490666","1329490696","1329490702","1329490709","1329490720","1329490736"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/91f3d15fdf60d72e0a50a83c8aaa1a3d.jpg","text":"TemporaryFile(/tmp/multipartBody8740083283339178676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122212090,"filename":"image_17012025_13_47_52_6418.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cc3dcaca7815b82245af680fe2181bbf.jpg","text":"TemporaryFile(/tmp/multipartBody1144382373674893097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122212090,"filename":"image_17012025_13_47_41_6407.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/340627aff834ffdeacea48498c007b4a.jpg","text":"TemporaryFile(/tmp/multipartBody1347954605943557831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122212090,"filename":"image_17012025_13_47_59_6406.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/eeeb09ecaf5dcafe771b493aa2966d91.jpg","text":"TemporaryFile(/tmp/multipartBody7818083283592230037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122212090,"filename":"image_17012025_13_47_34_6508.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7032166cb146fc20099d6c15711d545e.jpg","text":"TemporaryFile(/tmp/multipartBody1599520630775393256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122212090,"filename":"image_17012025_13_47_46_5207.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/61fba8408798592de911862849c84def.jpg","text":"TemporaryFile(/tmp/multipartBody6761317004065918776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122212090,"filename":"image_17012025_13_47_11_6645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329490702","file1":"1329490696","file0":"1329490666","file4":"1329490720","file5":"1329490736","file3":"1329490709"},"map_files_photo_id_array":[{"photo_id":"1329490736","filename":"file5"},{"photo_id":"1329490702","filename":"file2"},{"photo_id":"1329490720","filename":"file4"},{"photo_id":"1329490696","filename":"file1"},{"photo_id":"1329490666","filename":"file0"},{"photo_id":"1329490709","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329490696":["hashtag1","hashtag2"]},{"1329490709":["hashtag1","hashtag2"]},{"1329490666":["hashtag1","hashtag2"]},{"1329490720":["hashtag1","hashtag2"]},{"1329490702":["hashtag1","hashtag2"]},{"1329490736":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329490696, 1329490709, 1329490666, 1329490720, 1329490702, 1329490736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.107747077941895 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:56:42.222448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/47/image_17012025_13_47_04_5125.jpg', '/media/data/images/17012025/13/46/image_17012025_13_46_52_5348.jpg', '/media/data/images/17012025/13/46/image_17012025_13_46_47_6469.jpg', '/media/data/images/17012025/13/46/image_17012025_13_46_40_6578.jpg', '/media/data/images/17012025/13/46/image_17012025_13_46_34_5304.jpg', '/media/data/images/17012025/13/45/image_17012025_13_45_34_5229.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/47/image_17012025_13_47_04_5125.jpg
/media/data/images/17012025/13/46/image_17012025_13_46_52_5348.jpg
/media/data/images/17012025/13/46/image_17012025_13_46_47_6469.jpg
/media/data/images/17012025/13/46/image_17012025_13_46_40_6578.jpg
/media/data/images/17012025/13/46/image_17012025_13_46_34_5304.jpg
/media/data/images/17012025/13/45/image_17012025_13_45_34_5229.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329491329","1329491257","1329491230","1329491336","1329491267","1329491225"],"photo_ids_order":["1329491225","1329491230","1329491257","1329491267","1329491329","1329491336"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ef7af170140dec493b63ec89cd6d372d.jpg","text":"TemporaryFile(/tmp/multipartBody3058364794479246565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122270724,"filename":"image_17012025_13_46_34_5304.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/136b05d8538e47a5c55f11539b3a905c.jpg","text":"TemporaryFile(/tmp/multipartBody8039063837381919103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122270724,"filename":"image_17012025_13_46_47_6469.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8a06f239c4ed42902569d888d0542a49.jpg","text":"TemporaryFile(/tmp/multipartBody1447500659975664210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122270724,"filename":"image_17012025_13_46_52_5348.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/eac408ce9ed1a65a5fc39569785c258d.jpg","text":"TemporaryFile(/tmp/multipartBody2800637038739898038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122270724,"filename":"image_17012025_13_45_34_5229.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a1c29699ff9a3b4e3b6f613303d7de63.jpg","text":"TemporaryFile(/tmp/multipartBody4973802227636763017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122270724,"filename":"image_17012025_13_46_40_6578.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b8456e5d97c51944e2aa462226a81f4a.jpg","text":"TemporaryFile(/tmp/multipartBody3602006872101080653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122270724,"filename":"image_17012025_13_47_04_5125.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329491257","file1":"1329491230","file0":"1329491225","file4":"1329491329","file5":"1329491336","file3":"1329491267"},"map_files_photo_id_array":[{"photo_id":"1329491336","filename":"file5"},{"photo_id":"1329491257","filename":"file2"},{"photo_id":"1329491329","filename":"file4"},{"photo_id":"1329491230","filename":"file1"},{"photo_id":"1329491225","filename":"file0"},{"photo_id":"1329491267","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329491329":["hashtag1","hashtag2"]},{"1329491257":["hashtag1","hashtag2"]},{"1329491230":["hashtag1","hashtag2"]},{"1329491336":["hashtag1","hashtag2"]},{"1329491267":["hashtag1","hashtag2"]},{"1329491225":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329491329, 1329491257, 1329491230, 1329491336, 1329491267, 1329491225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.72611904144287 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 14:57:42.325155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/45/image_17012025_13_45_28_6568.jpg', '/media/data/images/17012025/13/45/image_17012025_13_45_22_5257.jpg', '/media/data/images/17012025/13/45/image_17012025_13_45_17_6597.jpg', '/media/data/images/17012025/13/45/image_17012025_13_45_10_5415.jpg', '/media/data/images/17012025/13/45/image_17012025_13_45_05_6360.jpg', '/media/data/images/17012025/13/44/image_17012025_13_44_58_6547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/45/image_17012025_13_45_28_6568.jpg
/media/data/images/17012025/13/45/image_17012025_13_45_22_5257.jpg
/media/data/images/17012025/13/45/image_17012025_13_45_17_6597.jpg
/media/data/images/17012025/13/45/image_17012025_13_45_10_5415.jpg
/media/data/images/17012025/13/45/image_17012025_13_45_05_6360.jpg
/media/data/images/17012025/13/44/image_17012025_13_44_58_6547.jpg
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
 val : 1 : upload photos already in processing! 
2025-01-17 14:59:02.969562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/13/45/image_17012025_13_45_28_6568.jpg', '/media/data/images/17012025/13/45/image_17012025_13_45_22_5257.jpg', '/media/data/images/17012025/13/45/image_17012025_13_45_17_6597.jpg', '/media/data/images/17012025/13/45/image_17012025_13_45_10_5415.jpg', '/media/data/images/17012025/13/45/image_17012025_13_45_05_6360.jpg', '/media/data/images/17012025/13/44/image_17012025_13_44_58_6547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/13/45/image_17012025_13_45_28_6568.jpg
/media/data/images/17012025/13/45/image_17012025_13_45_22_5257.jpg
/media/data/images/17012025/13/45/image_17012025_13_45_17_6597.jpg
/media/data/images/17012025/13/45/image_17012025_13_45_10_5415.jpg
/media/data/images/17012025/13/45/image_17012025_13_45_05_6360.jpg
/media/data/images/17012025/13/44/image_17012025_13_44_58_6547.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329491493","1329491469","1329491484","1329491505","1329491476","1329491501"],"photo_ids_order":["1329491469","1329491476","1329491484","1329491493","1329491501","1329491505"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1237de552cdd791c331eb2b7a2915be3.jpg","text":"TemporaryFile(/tmp/multipartBody4402356343548561639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122412783,"filename":"image_17012025_13_45_10_5415.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b80bebb43749bf266317ef6bad49f9f1.jpg","text":"TemporaryFile(/tmp/multipartBody7007184534972084123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122412783,"filename":"image_17012025_13_45_28_6568.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/739de915e4a0e7e032a9a9aef5a2e074.jpg","text":"TemporaryFile(/tmp/multipartBody6466005162275674158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122412783,"filename":"image_17012025_13_45_17_6597.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d504e3324cfa1b8ed3500d5bc32243fe.jpg","text":"TemporaryFile(/tmp/multipartBody6909728966525588256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122412783,"filename":"image_17012025_13_44_58_6547.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/112d82727a42dafedbecc3aada3d9775.jpg","text":"TemporaryFile(/tmp/multipartBody6227731038313195387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122412783,"filename":"image_17012025_13_45_22_5257.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bd844e2f669460d5b3c22de08a61e7d2.jpg","text":"TemporaryFile(/tmp/multipartBody1291102108729910707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122412783,"filename":"image_17012025_13_45_05_6360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329491484","file1":"1329491476","file0":"1329491469","file4":"1329491501","file5":"1329491505","file3":"1329491493"},"map_files_photo_id_array":[{"photo_id":"1329491505","filename":"file5"},{"photo_id":"1329491484","filename":"file2"},{"photo_id":"1329491501","filename":"file4"},{"photo_id":"1329491476","filename":"file1"},{"photo_id":"1329491469","filename":"file0"},{"photo_id":"1329491493","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329491493":["hashtag1","hashtag2"]},{"1329491469":["hashtag1","hashtag2"]},{"1329491484":["hashtag1","hashtag2"]},{"1329491505":["hashtag1","hashtag2"]},{"1329491476":["hashtag1","hashtag2"]},{"1329491501":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329491493, 1329491469, 1329491484, 1329491505, 1329491476, 1329491501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.37703514099121 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:00:03.038867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/38/image_17012025_14_38_46_6350.jpg', '/media/data/images/17012025/14/33/image_17012025_14_33_29_6354.jpg', '/media/data/images/17012025/14/28/image_17012025_14_28_16_5169.jpg', '/media/data/images/17012025/14/26/image_17012025_14_26_52_5263.jpg', '/media/data/images/17012025/14/26/image_17012025_14_26_46_6481.jpg', '/media/data/images/17012025/14/26/image_17012025_14_26_40_5258.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/38/image_17012025_14_38_46_6350.jpg
/media/data/images/17012025/14/33/image_17012025_14_33_29_6354.jpg
/media/data/images/17012025/14/28/image_17012025_14_28_16_5169.jpg
/media/data/images/17012025/14/26/image_17012025_14_26_52_5263.jpg
/media/data/images/17012025/14/26/image_17012025_14_26_46_6481.jpg
/media/data/images/17012025/14/26/image_17012025_14_26_40_5258.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329491566","1329491602","1329491559","1329491607","1329491582","1329491591"],"photo_ids_order":["1329491559","1329491566","1329491582","1329491591","1329491602","1329491607"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/73d4f12c07aaeb4a27198c9a9b9b34e1.jpg","text":"TemporaryFile(/tmp/multipartBody7477988524260662909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122472841,"filename":"image_17012025_14_33_29_6354.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c887d43d6a674c9871c742734b27d1d2.jpg","text":"TemporaryFile(/tmp/multipartBody3164704534139435656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122472841,"filename":"image_17012025_14_26_46_6481.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e37e44246a6f01e6bd54a4916fc7b518.jpg","text":"TemporaryFile(/tmp/multipartBody8458972671178545344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122472841,"filename":"image_17012025_14_38_46_6350.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dc9b9054055d4b91945c4ef001e17cd1.jpg","text":"TemporaryFile(/tmp/multipartBody7962906046179761065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122472841,"filename":"image_17012025_14_26_40_5258.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/97b61ee8f86dd2e291c5b3775ca83569.jpg","text":"TemporaryFile(/tmp/multipartBody2564138134456736978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122472841,"filename":"image_17012025_14_28_16_5169.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5409bf07afe7a1aa75fc51fae7216e2b.jpg","text":"TemporaryFile(/tmp/multipartBody988359297760594327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122472841,"filename":"image_17012025_14_26_52_5263.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329491582","file1":"1329491566","file0":"1329491559","file4":"1329491602","file5":"1329491607","file3":"1329491591"},"map_files_photo_id_array":[{"photo_id":"1329491607","filename":"file5"},{"photo_id":"1329491582","filename":"file2"},{"photo_id":"1329491602","filename":"file4"},{"photo_id":"1329491566","filename":"file1"},{"photo_id":"1329491559","filename":"file0"},{"photo_id":"1329491591","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329491566":["hashtag1","hashtag2"]},{"1329491602":["hashtag1","hashtag2"]},{"1329491559":["hashtag1","hashtag2"]},{"1329491607":["hashtag1","hashtag2"]},{"1329491582":["hashtag1","hashtag2"]},{"1329491591":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329491566, 1329491602, 1329491559, 1329491607, 1329491582, 1329491591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.81072783470154 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:01:02.288397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/30/image_17012025_14_30_52_6416.jpg', '/media/data/images/17012025/14/30/image_17012025_14_30_46_5179.jpg', '/media/data/images/17012025/14/30/image_17012025_14_30_41_6412.jpg', '/media/data/images/17012025/14/30/image_17012025_14_30_34_6430.jpg', '/media/data/images/17012025/14/30/image_17012025_14_30_28_5174.jpg', '/media/data/images/17012025/14/30/image_17012025_14_30_23_6381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/30/image_17012025_14_30_52_6416.jpg
/media/data/images/17012025/14/30/image_17012025_14_30_46_5179.jpg
/media/data/images/17012025/14/30/image_17012025_14_30_41_6412.jpg
/media/data/images/17012025/14/30/image_17012025_14_30_34_6430.jpg
/media/data/images/17012025/14/30/image_17012025_14_30_28_5174.jpg
/media/data/images/17012025/14/30/image_17012025_14_30_23_6381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329491728","1329491629","1329491733","1329491633","1329491720","1329491738"],"photo_ids_order":["1329491629","1329491633","1329491720","1329491728","1329491733","1329491738"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6671581e18a924f1284bb86804264bf2.jpg","text":"TemporaryFile(/tmp/multipartBody3481616019773806239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122534351,"filename":"image_17012025_14_30_34_6430.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a87376e3438e55b07b7a1315775aa5d7.jpg","text":"TemporaryFile(/tmp/multipartBody5121935928097506595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122534351,"filename":"image_17012025_14_30_52_6416.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e6f1baf8728a3fc5b1c0d2c5c7f51c27.jpg","text":"TemporaryFile(/tmp/multipartBody1494754741207384308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122534351,"filename":"image_17012025_14_30_28_5174.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2855c99bab2f6bec3b5f4dff20181307.jpg","text":"TemporaryFile(/tmp/multipartBody2532180293919702717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122534351,"filename":"image_17012025_14_30_46_5179.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1819192be26f6f95baa1ba82b9e28663.jpg","text":"TemporaryFile(/tmp/multipartBody2344550248297627941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122534351,"filename":"image_17012025_14_30_41_6412.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/088fde539285d1b518be6aaa7976195a.jpg","text":"TemporaryFile(/tmp/multipartBody8841158013569050022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122534351,"filename":"image_17012025_14_30_23_6381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329491720","file1":"1329491633","file0":"1329491629","file4":"1329491733","file5":"1329491738","file3":"1329491728"},"map_files_photo_id_array":[{"photo_id":"1329491738","filename":"file5"},{"photo_id":"1329491720","filename":"file2"},{"photo_id":"1329491733","filename":"file4"},{"photo_id":"1329491633","filename":"file1"},{"photo_id":"1329491629","filename":"file0"},{"photo_id":"1329491728","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329491728":["hashtag1","hashtag2"]},{"1329491629":["hashtag1","hashtag2"]},{"1329491733":["hashtag1","hashtag2"]},{"1329491633":["hashtag1","hashtag2"]},{"1329491720":["hashtag1","hashtag2"]},{"1329491738":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329491728, 1329491629, 1329491733, 1329491633, 1329491720, 1329491738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.65304231643677 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:02:02.190307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/34/image_17012025_14_34_52_5146.jpg', '/media/data/images/17012025/14/34/image_17012025_14_34_47_6375.jpg', '/media/data/images/17012025/14/34/image_17012025_14_34_40_6374.jpg', '/media/data/images/17012025/14/34/image_17012025_14_34_34_5175.jpg', '/media/data/images/17012025/14/34/image_17012025_14_34_29_6385.jpg', '/media/data/images/17012025/14/34/image_17012025_14_34_22_6385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/34/image_17012025_14_34_52_5146.jpg
/media/data/images/17012025/14/34/image_17012025_14_34_47_6375.jpg
/media/data/images/17012025/14/34/image_17012025_14_34_40_6374.jpg
/media/data/images/17012025/14/34/image_17012025_14_34_34_5175.jpg
/media/data/images/17012025/14/34/image_17012025_14_34_29_6385.jpg
/media/data/images/17012025/14/34/image_17012025_14_34_22_6385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329491793","1329491795","1329491798","1329491777","1329491813","1329491816"],"photo_ids_order":["1329491777","1329491793","1329491795","1329491798","1329491813","1329491816"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/406fd335bd8b61518b54b97c192b90a7.jpg","text":"TemporaryFile(/tmp/multipartBody6053888898114647685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122587651,"filename":"image_17012025_14_34_47_6375.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b457e3f4c1fbd443901509ff125ff306.jpg","text":"TemporaryFile(/tmp/multipartBody2071461422551280184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122587651,"filename":"image_17012025_14_34_40_6374.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d578c551b069d318daa0bd6ab60413c7.jpg","text":"TemporaryFile(/tmp/multipartBody72265149718819948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122587651,"filename":"image_17012025_14_34_34_5175.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ad738626e41709384b4979f6bfd311f1.jpg","text":"TemporaryFile(/tmp/multipartBody7509613707546086588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122587651,"filename":"image_17012025_14_34_52_5146.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/164db0b5646b056e6b8102ef4834ce91.jpg","text":"TemporaryFile(/tmp/multipartBody7444081749518284706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122587651,"filename":"image_17012025_14_34_29_6385.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c434162bea2418ca9f8848276dcee170.jpg","text":"TemporaryFile(/tmp/multipartBody7463541928741126373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122587651,"filename":"image_17012025_14_34_22_6385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329491795","file1":"1329491793","file0":"1329491777","file4":"1329491813","file5":"1329491816","file3":"1329491798"},"map_files_photo_id_array":[{"photo_id":"1329491816","filename":"file5"},{"photo_id":"1329491795","filename":"file2"},{"photo_id":"1329491813","filename":"file4"},{"photo_id":"1329491793","filename":"file1"},{"photo_id":"1329491777","filename":"file0"},{"photo_id":"1329491798","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329491793":["hashtag1","hashtag2"]},{"1329491795":["hashtag1","hashtag2"]},{"1329491798":["hashtag1","hashtag2"]},{"1329491777":["hashtag1","hashtag2"]},{"1329491813":["hashtag1","hashtag2"]},{"1329491816":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329491793, 1329491795, 1329491798, 1329491777, 1329491813, 1329491816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.00099039077759 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:03:02.397726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/38/image_17012025_14_38_53_6344.jpg', '/media/data/images/17012025/14/38/image_17012025_14_38_40_5141.jpg', '/media/data/images/17012025/14/38/image_17012025_14_38_35_6344.jpg', '/media/data/images/17012025/14/38/image_17012025_14_38_28_6348.jpg', '/media/data/images/17012025/14/38/image_17012025_14_38_22_6336.jpg', '/media/data/images/17012025/14/38/image_17012025_14_38_16_5126.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/38/image_17012025_14_38_53_6344.jpg
/media/data/images/17012025/14/38/image_17012025_14_38_40_5141.jpg
/media/data/images/17012025/14/38/image_17012025_14_38_35_6344.jpg
/media/data/images/17012025/14/38/image_17012025_14_38_28_6348.jpg
/media/data/images/17012025/14/38/image_17012025_14_38_22_6336.jpg
/media/data/images/17012025/14/38/image_17012025_14_38_16_5126.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329491859","1329491850","1329491847","1329491838","1329491843","1329491855"],"photo_ids_order":["1329491838","1329491843","1329491847","1329491850","1329491855","1329491859"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/56934b3c5024e66decb15c274572f8fc.jpg","text":"TemporaryFile(/tmp/multipartBody6643618099402392255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122646910,"filename":"image_17012025_14_38_16_5126.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9f7d8ebdf59431fddb423c5e3b8915d3.jpg","text":"TemporaryFile(/tmp/multipartBody1705710259528212427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122646910,"filename":"image_17012025_14_38_28_6348.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3b96c18f7068419b5f203b1bd436c31c.jpg","text":"TemporaryFile(/tmp/multipartBody6872872583347750835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122646910,"filename":"image_17012025_14_38_35_6344.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c9e16e25d3f1475eabb1740621a7d141.jpg","text":"TemporaryFile(/tmp/multipartBody4189838170766540555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122646910,"filename":"image_17012025_14_38_53_6344.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b4d4e132e31a8940aac2165242fd0a68.jpg","text":"TemporaryFile(/tmp/multipartBody506814909189790969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122646910,"filename":"image_17012025_14_38_40_5141.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a18620fed09068835d838ddc1e67abcb.jpg","text":"TemporaryFile(/tmp/multipartBody2352787887926023561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122646910,"filename":"image_17012025_14_38_22_6336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329491847","file1":"1329491843","file0":"1329491838","file4":"1329491855","file5":"1329491859","file3":"1329491850"},"map_files_photo_id_array":[{"photo_id":"1329491859","filename":"file5"},{"photo_id":"1329491847","filename":"file2"},{"photo_id":"1329491855","filename":"file4"},{"photo_id":"1329491843","filename":"file1"},{"photo_id":"1329491838","filename":"file0"},{"photo_id":"1329491850","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329491859":["hashtag1","hashtag2"]},{"1329491850":["hashtag1","hashtag2"]},{"1329491847":["hashtag1","hashtag2"]},{"1329491838":["hashtag1","hashtag2"]},{"1329491843":["hashtag1","hashtag2"]},{"1329491855":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329491859, 1329491850, 1329491847, 1329491838, 1329491843, 1329491855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.53947186470032 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:04:02.504527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/42/image_17012025_14_42_46_5161.jpg', '/media/data/images/17012025/14/42/image_17012025_14_42_41_6387.jpg', '/media/data/images/17012025/14/42/image_17012025_14_42_34_6391.jpg', '/media/data/images/17012025/14/42/image_17012025_14_42_28_5173.jpg', '/media/data/images/17012025/14/42/image_17012025_14_42_23_6378.jpg', '/media/data/images/17012025/14/42/image_17012025_14_42_16_6392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/42/image_17012025_14_42_46_5161.jpg
/media/data/images/17012025/14/42/image_17012025_14_42_41_6387.jpg
/media/data/images/17012025/14/42/image_17012025_14_42_34_6391.jpg
/media/data/images/17012025/14/42/image_17012025_14_42_28_5173.jpg
/media/data/images/17012025/14/42/image_17012025_14_42_23_6378.jpg
/media/data/images/17012025/14/42/image_17012025_14_42_16_6392.jpg
2025-01-17 15:04:02.522252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/42/image_17012025_14_42_46_5161.jpg', '/media/data/images/17012025/14/42/image_17012025_14_42_41_6387.jpg', '/media/data/images/17012025/14/42/image_17012025_14_42_34_6391.jpg', '/media/data/images/17012025/14/42/image_17012025_14_42_28_5173.jpg', '/media/data/images/17012025/14/42/image_17012025_14_42_23_6378.jpg', '/media/data/images/17012025/14/42/image_17012025_14_42_16_6392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/42/image_17012025_14_42_46_5161.jpg
/media/data/images/17012025/14/42/image_17012025_14_42_41_6387.jpg
/media/data/images/17012025/14/42/image_17012025_14_42_34_6391.jpg
/media/data/images/17012025/14/42/image_17012025_14_42_28_5173.jpg
/media/data/images/17012025/14/42/image_17012025_14_42_23_6378.jpg
/media/data/images/17012025/14/42/image_17012025_14_42_16_6392.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329491883","1329491931","1329491969","1329491939","1329491900","1329491989"],"photo_ids_order":["1329491883","1329491900","1329491931","1329491939","1329491969","1329491989"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/82cb31f80c8a2f6410a83081b789d029.jpg","text":"TemporaryFile(/tmp/multipartBody7002380111992386030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122714377,"filename":"image_17012025_14_42_46_5161.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b8020146927ba17e535089ba13784732.jpg","text":"TemporaryFile(/tmp/multipartBody961260919338544701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122714377,"filename":"image_17012025_14_42_34_6391.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ecbe1c1ac81520535ab55817974b9159.jpg","text":"TemporaryFile(/tmp/multipartBody2742147528219109934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122714377,"filename":"image_17012025_14_42_23_6378.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0e38f6e719b1539fc0778f49e0f682fa.jpg","text":"TemporaryFile(/tmp/multipartBody5287692854586486183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122714377,"filename":"image_17012025_14_42_28_5173.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5041dd403656f9b093a7f156b39773a0.jpg","text":"TemporaryFile(/tmp/multipartBody8888346430692411923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122714377,"filename":"image_17012025_14_42_41_6387.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5471cf9b5c785db2aa389706762f788c.jpg","text":"TemporaryFile(/tmp/multipartBody2060418530124609966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122714377,"filename":"image_17012025_14_42_16_6392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329491931","file1":"1329491900","file0":"1329491883","file4":"1329491969","file5":"1329491989","file3":"1329491939"},"map_files_photo_id_array":[{"photo_id":"1329491989","filename":"file5"},{"photo_id":"1329491931","filename":"file2"},{"photo_id":"1329491969","filename":"file4"},{"photo_id":"1329491900","filename":"file1"},{"photo_id":"1329491883","filename":"file0"},{"photo_id":"1329491939","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329491883":["hashtag1","hashtag2"]},{"1329491931":["hashtag1","hashtag2"]},{"1329491969":["hashtag1","hashtag2"]},{"1329491939":["hashtag1","hashtag2"]},{"1329491900":["hashtag1","hashtag2"]},{"1329491989":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329491883, 1329491931, 1329491969, 1329491939, 1329491900, 1329491989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.82750177383423 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329491932","1329491970","1329491940","1329491901","1329491882","1329491990"],"photo_ids_order":["1329491882","1329491901","1329491932","1329491940","1329491970","1329491990"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dbf23ad1e2e9642c700c11f3d380f909.jpg","text":"TemporaryFile(/tmp/multipartBody2672086147583634597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122713904,"filename":"image_17012025_14_42_34_6391.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e1fab347fb09c45c37712b222cc7f9c9.jpg","text":"TemporaryFile(/tmp/multipartBody4127018735651164899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122713904,"filename":"image_17012025_14_42_23_6378.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/58c8bc56f455a1cd0fbf604a2026ff07.jpg","text":"TemporaryFile(/tmp/multipartBody9126875690571729723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122713904,"filename":"image_17012025_14_42_28_5173.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/745de88e2cbcfce929e56db7d66ceb46.jpg","text":"TemporaryFile(/tmp/multipartBody1146459909880569159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122713904,"filename":"image_17012025_14_42_41_6387.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cf450657a1d6f154c6b54761055e4862.jpg","text":"TemporaryFile(/tmp/multipartBody4315930487494856058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122713904,"filename":"image_17012025_14_42_46_5161.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4104e4c72214e5acd800af4dea6d4685.jpg","text":"TemporaryFile(/tmp/multipartBody2908795787014946213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122713904,"filename":"image_17012025_14_42_16_6392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329491932","file1":"1329491901","file0":"1329491882","file4":"1329491970","file5":"1329491990","file3":"1329491940"},"map_files_photo_id_array":[{"photo_id":"1329491990","filename":"file5"},{"photo_id":"1329491932","filename":"file2"},{"photo_id":"1329491970","filename":"file4"},{"photo_id":"1329491901","filename":"file1"},{"photo_id":"1329491882","filename":"file0"},{"photo_id":"1329491940","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329491932":["hashtag1","hashtag2"]},{"1329491970":["hashtag1","hashtag2"]},{"1329491940":["hashtag1","hashtag2"]},{"1329491901":["hashtag1","hashtag2"]},{"1329491882":["hashtag1","hashtag2"]},{"1329491990":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329491932, 1329491970, 1329491940, 1329491901, 1329491882, 1329491990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.30242586135864 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:05:02.557345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/46/image_17012025_14_46_40_6385.jpg', '/media/data/images/17012025/14/46/image_17012025_14_46_34_6383.jpg', '/media/data/images/17012025/14/46/image_17012025_14_46_28_5174.jpg', '/media/data/images/17012025/14/46/image_17012025_14_46_23_6379.jpg', '/media/data/images/17012025/14/46/image_17012025_14_46_16_6379.jpg', '/media/data/images/17012025/14/46/image_17012025_14_46_10_5171.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/46/image_17012025_14_46_40_6385.jpg
/media/data/images/17012025/14/46/image_17012025_14_46_34_6383.jpg
/media/data/images/17012025/14/46/image_17012025_14_46_28_5174.jpg
/media/data/images/17012025/14/46/image_17012025_14_46_23_6379.jpg
/media/data/images/17012025/14/46/image_17012025_14_46_16_6379.jpg
/media/data/images/17012025/14/46/image_17012025_14_46_10_5171.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329492075","1329492063","1329492069","1329492080","1329492083","1329492052"],"photo_ids_order":["1329492052","1329492063","1329492069","1329492075","1329492080","1329492083"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8d40f5b0251cd210e8bbf30e7049bd10.jpg","text":"TemporaryFile(/tmp/multipartBody4597753012575253143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122769913,"filename":"image_17012025_14_46_23_6379.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/67944529f6ea3f59f22f145cc6e8e75f.jpg","text":"TemporaryFile(/tmp/multipartBody5515066005667010986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122769913,"filename":"image_17012025_14_46_34_6383.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ac0abaf1198e855a1595d5cab87d7969.jpg","text":"TemporaryFile(/tmp/multipartBody4843291978330827149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122769913,"filename":"image_17012025_14_46_28_5174.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/542b2e7a63f555a196cf97b1b4699560.jpg","text":"TemporaryFile(/tmp/multipartBody7843071654724329095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122769913,"filename":"image_17012025_14_46_16_6379.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b0b2fe0ff7b93e1d5992cdb84a095f53.jpg","text":"TemporaryFile(/tmp/multipartBody6604539858826115021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122769913,"filename":"image_17012025_14_46_10_5171.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d159ac0d2487b92424af07e0d40f4fa4.jpg","text":"TemporaryFile(/tmp/multipartBody1333119849359557260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122769913,"filename":"image_17012025_14_46_40_6385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329492069","file1":"1329492063","file0":"1329492052","file4":"1329492080","file5":"1329492083","file3":"1329492075"},"map_files_photo_id_array":[{"photo_id":"1329492083","filename":"file5"},{"photo_id":"1329492069","filename":"file2"},{"photo_id":"1329492080","filename":"file4"},{"photo_id":"1329492063","filename":"file1"},{"photo_id":"1329492052","filename":"file0"},{"photo_id":"1329492075","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329492075":["hashtag1","hashtag2"]},{"1329492063":["hashtag1","hashtag2"]},{"1329492069":["hashtag1","hashtag2"]},{"1329492080":["hashtag1","hashtag2"]},{"1329492083":["hashtag1","hashtag2"]},{"1329492052":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329492075, 1329492063, 1329492069, 1329492080, 1329492083, 1329492052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.13043451309204 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:06:02.580027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/50/image_17012025_14_50_28_6455.jpg', '/media/data/images/17012025/14/50/image_17012025_14_50_22_6071.jpg', '/media/data/images/17012025/14/50/image_17012025_14_50_16_5209.jpg', '/media/data/images/17012025/14/50/image_17012025_14_50_11_6492.jpg', '/media/data/images/17012025/14/50/image_17012025_14_50_04_5182.jpg', '/media/data/images/17012025/14/49/image_17012025_14_49_59_6459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/50/image_17012025_14_50_28_6455.jpg
/media/data/images/17012025/14/50/image_17012025_14_50_22_6071.jpg
/media/data/images/17012025/14/50/image_17012025_14_50_16_5209.jpg
/media/data/images/17012025/14/50/image_17012025_14_50_11_6492.jpg
/media/data/images/17012025/14/50/image_17012025_14_50_04_5182.jpg
/media/data/images/17012025/14/49/image_17012025_14_49_59_6459.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329492106","1329492096","1329492102","1329492131","1329492125","1329492119"],"photo_ids_order":["1329492096","1329492102","1329492106","1329492119","1329492125","1329492131"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2da2379ee4762d6349a4aee20c89e408.jpg","text":"TemporaryFile(/tmp/multipartBody7294178925278080844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122829369,"filename":"image_17012025_14_50_16_5209.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/77fdb9254900267afc12db0bc3d0e523.jpg","text":"TemporaryFile(/tmp/multipartBody2330600637803949316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122829369,"filename":"image_17012025_14_50_28_6455.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f4a2da3a185f6fa7231a2dcc5ebf0d90.jpg","text":"TemporaryFile(/tmp/multipartBody2980166177959562984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122829369,"filename":"image_17012025_14_50_22_6071.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9717a3c709c5ecd2d097b4546c8f3366.jpg","text":"TemporaryFile(/tmp/multipartBody9220013726213999100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122829369,"filename":"image_17012025_14_49_59_6459.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/618f39e2a19755679eb7eb30446f473a.jpg","text":"TemporaryFile(/tmp/multipartBody4791337263185921395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122829369,"filename":"image_17012025_14_50_04_5182.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/76cac70ea5c09c3051839a0f8f8c0d0e.jpg","text":"TemporaryFile(/tmp/multipartBody5661181142743534276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122829369,"filename":"image_17012025_14_50_11_6492.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329492106","file1":"1329492102","file0":"1329492096","file4":"1329492125","file5":"1329492131","file3":"1329492119"},"map_files_photo_id_array":[{"photo_id":"1329492131","filename":"file5"},{"photo_id":"1329492106","filename":"file2"},{"photo_id":"1329492125","filename":"file4"},{"photo_id":"1329492102","filename":"file1"},{"photo_id":"1329492096","filename":"file0"},{"photo_id":"1329492119","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329492106":["hashtag1","hashtag2"]},{"1329492096":["hashtag1","hashtag2"]},{"1329492102":["hashtag1","hashtag2"]},{"1329492131":["hashtag1","hashtag2"]},{"1329492125":["hashtag1","hashtag2"]},{"1329492119":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329492106, 1329492096, 1329492102, 1329492131, 1329492125, 1329492119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.775716066360474 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:07:02.887640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/54/image_17012025_14_54_17_6569.jpg', '/media/data/images/17012025/14/54/image_17012025_14_54_10_5347.jpg', '/media/data/images/17012025/14/53/image_17012025_14_53_58_6549.jpg', '/media/data/images/17012025/14/53/image_17012025_14_53_52_5275.jpg', '/media/data/images/17012025/14/53/image_17012025_14_53_40_5285.jpg', '/media/data/images/17012025/14/53/image_17012025_14_53_22_5316.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/54/image_17012025_14_54_17_6569.jpg
/media/data/images/17012025/14/54/image_17012025_14_54_10_5347.jpg
/media/data/images/17012025/14/53/image_17012025_14_53_58_6549.jpg
/media/data/images/17012025/14/53/image_17012025_14_53_52_5275.jpg
/media/data/images/17012025/14/53/image_17012025_14_53_40_5285.jpg
/media/data/images/17012025/14/53/image_17012025_14_53_22_5316.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329492202","1329492206","1329492196","1329492184","1329492178","1329492172"],"photo_ids_order":["1329492172","1329492178","1329492184","1329492196","1329492202","1329492206"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/211154de5e689b505d625b3b6bd7ff07.jpg","text":"TemporaryFile(/tmp/multipartBody1672903282579506918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122898581,"filename":"image_17012025_14_53_40_5285.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d325b912290b322a023d1b9ab44369f0.jpg","text":"TemporaryFile(/tmp/multipartBody5538332800849555873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122898581,"filename":"image_17012025_14_53_22_5316.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/18a566f7c595d809dbae52c1ba2b7c81.jpg","text":"TemporaryFile(/tmp/multipartBody3896765592098950168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122898581,"filename":"image_17012025_14_53_52_5275.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bb6019663c350fddb5e61e80bce1b878.jpg","text":"TemporaryFile(/tmp/multipartBody7104247101203127689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122898581,"filename":"image_17012025_14_53_58_6549.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/77edd2261dfe508959e25381e21ff02a.jpg","text":"TemporaryFile(/tmp/multipartBody8010723025709696712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122898581,"filename":"image_17012025_14_54_10_5347.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1c7d8fb4301a9baa78c8335d7569d67a.jpg","text":"TemporaryFile(/tmp/multipartBody8283886968196725524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122898581,"filename":"image_17012025_14_54_17_6569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329492184","file1":"1329492178","file0":"1329492172","file4":"1329492202","file5":"1329492206","file3":"1329492196"},"map_files_photo_id_array":[{"photo_id":"1329492206","filename":"file5"},{"photo_id":"1329492184","filename":"file2"},{"photo_id":"1329492202","filename":"file4"},{"photo_id":"1329492178","filename":"file1"},{"photo_id":"1329492172","filename":"file0"},{"photo_id":"1329492196","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329492202":["hashtag1","hashtag2"]},{"1329492206":["hashtag1","hashtag2"]},{"1329492196":["hashtag1","hashtag2"]},{"1329492184":["hashtag1","hashtag2"]},{"1329492178":["hashtag1","hashtag2"]},{"1329492172":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329492202, 1329492206, 1329492196, 1329492184, 1329492178, 1329492172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.346179723739624 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:08:02.735322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/58/image_17012025_14_58_10_6527.jpg', '/media/data/images/17012025/14/58/image_17012025_14_58_04_5090.jpg', '/media/data/images/17012025/14/57/image_17012025_14_57_59_6514.jpg', '/media/data/images/17012025/14/57/image_17012025_14_57_40_6551.jpg', '/media/data/images/17012025/14/57/image_17012025_14_57_17_6549.jpg', '/media/data/images/17012025/14/56/image_17012025_14_56_58_6517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/58/image_17012025_14_58_10_6527.jpg
/media/data/images/17012025/14/58/image_17012025_14_58_04_5090.jpg
/media/data/images/17012025/14/57/image_17012025_14_57_59_6514.jpg
/media/data/images/17012025/14/57/image_17012025_14_57_40_6551.jpg
/media/data/images/17012025/14/57/image_17012025_14_57_17_6549.jpg
/media/data/images/17012025/14/56/image_17012025_14_56_58_6517.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329492264","1329492258","1329492249","1329492234","1329492236","1329492241"],"photo_ids_order":["1329492234","1329492236","1329492241","1329492249","1329492258","1329492264"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f95848dc513112133ad52436c9337f53.jpg","text":"TemporaryFile(/tmp/multipartBody3248519006574582354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122955838,"filename":"image_17012025_14_56_58_6517.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/799277f84d0ffd33c2b8f450e5261cd4.jpg","text":"TemporaryFile(/tmp/multipartBody6982289617151425818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122955838,"filename":"image_17012025_14_57_17_6549.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6be685c75db05171c6dc56cfa9ec3efe.jpg","text":"TemporaryFile(/tmp/multipartBody2101112839158171296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122955838,"filename":"image_17012025_14_57_40_6551.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/832b8253be24187915c6cb7545b66e6e.jpg","text":"TemporaryFile(/tmp/multipartBody7112575091113098213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122955838,"filename":"image_17012025_14_58_10_6527.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ed7e04bfa9bb0ef10c1f9eb51ab27526.jpg","text":"TemporaryFile(/tmp/multipartBody6472006467541325624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122955838,"filename":"image_17012025_14_58_04_5090.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/694ed5a452d3fc5f93c47481d034b5a6.jpg","text":"TemporaryFile(/tmp/multipartBody2864687218037144658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737122955838,"filename":"image_17012025_14_57_59_6514.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329492241","file1":"1329492236","file0":"1329492234","file4":"1329492258","file5":"1329492264","file3":"1329492249"},"map_files_photo_id_array":[{"photo_id":"1329492264","filename":"file5"},{"photo_id":"1329492241","filename":"file2"},{"photo_id":"1329492258","filename":"file4"},{"photo_id":"1329492236","filename":"file1"},{"photo_id":"1329492234","filename":"file0"},{"photo_id":"1329492249","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329492264":["hashtag1","hashtag2"]},{"1329492258":["hashtag1","hashtag2"]},{"1329492249":["hashtag1","hashtag2"]},{"1329492234":["hashtag1","hashtag2"]},{"1329492236":["hashtag1","hashtag2"]},{"1329492241":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329492264, 1329492258, 1329492249, 1329492234, 1329492236, 1329492241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.76482653617859 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:09:03.050146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/15/02/image_17012025_15_02_17_6552.jpg', '/media/data/images/17012025/15/01/image_17012025_15_01_58_6524.jpg', '/media/data/images/17012025/15/01/image_17012025_15_01_35_6522.jpg', '/media/data/images/17012025/15/01/image_17012025_15_01_10_5299.jpg', '/media/data/images/17012025/15/00/image_17012025_15_01_05_6681.jpg', '/media/data/images/17012025/15/00/image_17012025_15_00_58_5306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/15/02/image_17012025_15_02_17_6552.jpg
/media/data/images/17012025/15/01/image_17012025_15_01_58_6524.jpg
/media/data/images/17012025/15/01/image_17012025_15_01_35_6522.jpg
/media/data/images/17012025/15/01/image_17012025_15_01_10_5299.jpg
/media/data/images/17012025/15/00/image_17012025_15_01_05_6681.jpg
/media/data/images/17012025/15/00/image_17012025_15_00_58_5306.jpg
2025-01-17 15:09:03.389421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/15/02/image_17012025_15_02_17_6552.jpg', '/media/data/images/17012025/15/01/image_17012025_15_01_58_6524.jpg', '/media/data/images/17012025/15/01/image_17012025_15_01_35_6522.jpg', '/media/data/images/17012025/15/01/image_17012025_15_01_10_5299.jpg', '/media/data/images/17012025/15/00/image_17012025_15_01_05_6681.jpg', '/media/data/images/17012025/15/00/image_17012025_15_00_58_5306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/15/02/image_17012025_15_02_17_6552.jpg
/media/data/images/17012025/15/01/image_17012025_15_01_58_6524.jpg
/media/data/images/17012025/15/01/image_17012025_15_01_35_6522.jpg
/media/data/images/17012025/15/01/image_17012025_15_01_10_5299.jpg
/media/data/images/17012025/15/00/image_17012025_15_01_05_6681.jpg
/media/data/images/17012025/15/00/image_17012025_15_00_58_5306.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329492993","1329492403","1329492819","1329492587","1329492937","1329492412"],"photo_ids_order":["1329492403","1329492412","1329492587","1329492819","1329492937","1329492993"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4537ced69dd0de255f6a7063f6bc2957.jpg","text":"TemporaryFile(/tmp/multipartBody9037120627094225310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123031004,"filename":"image_17012025_15_00_58_5306.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7951bd3e241ab0a31efa7385100debe5.jpg","text":"TemporaryFile(/tmp/multipartBody5835238856026045521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123031004,"filename":"image_17012025_15_02_17_6552.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a9023794deb1831cc09fe354e95961ef.jpg","text":"TemporaryFile(/tmp/multipartBody4012158872331346669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123031004,"filename":"image_17012025_15_01_10_5299.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d3f2ba7259f9cc0c8072ef238c59cf35.jpg","text":"TemporaryFile(/tmp/multipartBody7065824325663199725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123031004,"filename":"image_17012025_15_01_35_6522.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b1940f3ef75ff3310f4aea50181cdc5c.jpg","text":"TemporaryFile(/tmp/multipartBody8699500777134235789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123031004,"filename":"image_17012025_15_01_05_6681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ec3f57d424190fa530ab60aa820add8a.jpg","text":"TemporaryFile(/tmp/multipartBody7515076249094587378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123031004,"filename":"image_17012025_15_01_58_6524.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329492587","file1":"1329492412","file0":"1329492403","file4":"1329492937","file5":"1329492993","file3":"1329492819"},"map_files_photo_id_array":[{"photo_id":"1329492993","filename":"file5"},{"photo_id":"1329492587","filename":"file2"},{"photo_id":"1329492937","filename":"file4"},{"photo_id":"1329492412","filename":"file1"},{"photo_id":"1329492403","filename":"file0"},{"photo_id":"1329492819","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329492993":["hashtag1","hashtag2"]},{"1329492403":["hashtag1","hashtag2"]},{"1329492819":["hashtag1","hashtag2"]},{"1329492587":["hashtag1","hashtag2"]},{"1329492937":["hashtag1","hashtag2"]},{"1329492412":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329492993, 1329492403, 1329492819, 1329492587, 1329492937, 1329492412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.90200567245483 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329492681","1329492996","1329492936","1329492866","1329492413","1329492404"],"photo_ids_order":["1329492404","1329492413","1329492681","1329492866","1329492936","1329492996"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d66dfc1e4af95811149babb9b4bdfeca.jpg","text":"TemporaryFile(/tmp/multipartBody81017816720798938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123033322,"filename":"image_17012025_15_01_35_6522.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e657fb9194126c2f4213423e11375a7b.jpg","text":"TemporaryFile(/tmp/multipartBody7542197427778847414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123033322,"filename":"image_17012025_15_00_58_5306.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a37f77d330adfde411a452686af35375.jpg","text":"TemporaryFile(/tmp/multipartBody6976375947484611948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123033322,"filename":"image_17012025_15_01_05_6681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/05150c2e789d6b3127402265015bfbcb.jpg","text":"TemporaryFile(/tmp/multipartBody5809100883274067057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123033322,"filename":"image_17012025_15_01_10_5299.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/17565abfe80cfea9375795b46fc018ed.jpg","text":"TemporaryFile(/tmp/multipartBody9153001738272211150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123033322,"filename":"image_17012025_15_01_58_6524.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cfad264ab010cc4d860c871886c70831.jpg","text":"TemporaryFile(/tmp/multipartBody794601370544132949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123033322,"filename":"image_17012025_15_02_17_6552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329492681","file1":"1329492413","file0":"1329492404","file4":"1329492936","file5":"1329492996","file3":"1329492866"},"map_files_photo_id_array":[{"photo_id":"1329492996","filename":"file5"},{"photo_id":"1329492681","filename":"file2"},{"photo_id":"1329492936","filename":"file4"},{"photo_id":"1329492413","filename":"file1"},{"photo_id":"1329492404","filename":"file0"},{"photo_id":"1329492866","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329492681":["hashtag1","hashtag2"]},{"1329492996":["hashtag1","hashtag2"]},{"1329492936":["hashtag1","hashtag2"]},{"1329492866":["hashtag1","hashtag2"]},{"1329492413":["hashtag1","hashtag2"]},{"1329492404":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329492681, 1329492996, 1329492936, 1329492866, 1329492413, 1329492404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.44502472877502 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:10:22.730773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/15/10/image_17012025_15_10_05_6515.jpg', '/media/data/images/17012025/15/09/image_17012025_15_09_58_6517.jpg', '/media/data/images/17012025/15/09/image_17012025_15_09_40_5283.jpg', '/media/data/images/17012025/15/09/image_17012025_15_09_28_6512.jpg', '/media/data/images/17012025/15/09/image_17012025_15_09_22_5304.jpg', '/media/data/images/17012025/15/09/image_17012025_15_09_16_6547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/15/10/image_17012025_15_10_05_6515.jpg
/media/data/images/17012025/15/09/image_17012025_15_09_58_6517.jpg
/media/data/images/17012025/15/09/image_17012025_15_09_40_5283.jpg
/media/data/images/17012025/15/09/image_17012025_15_09_28_6512.jpg
/media/data/images/17012025/15/09/image_17012025_15_09_22_5304.jpg
/media/data/images/17012025/15/09/image_17012025_15_09_16_6547.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329493638","1329493626","1329493622","1329493631","1329493615","1329493618"],"photo_ids_order":["1329493615","1329493618","1329493622","1329493626","1329493631","1329493638"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a009175a915df4fbd68672a00af1412a.jpg","text":"TemporaryFile(/tmp/multipartBody3319978137650309406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123101250,"filename":"image_17012025_15_09_16_6547.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0517e13ad284063c944e115eb99bae68.jpg","text":"TemporaryFile(/tmp/multipartBody1614793254023583857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123101250,"filename":"image_17012025_15_09_28_6512.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d139b8aa0a27bd5ae172c3a87fa36bce.jpg","text":"TemporaryFile(/tmp/multipartBody8566935702913062345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123101250,"filename":"image_17012025_15_09_40_5283.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a20984e2751c564adfd349502723efe1.jpg","text":"TemporaryFile(/tmp/multipartBody5280110186677980777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123101250,"filename":"image_17012025_15_09_22_5304.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b271b28f7afd1dc4e4dc518442f539e4.jpg","text":"TemporaryFile(/tmp/multipartBody7895100758194776953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123101250,"filename":"image_17012025_15_10_05_6515.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c7dea87520b141c94e1a416e637a06e2.jpg","text":"TemporaryFile(/tmp/multipartBody1361247916650722488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123101250,"filename":"image_17012025_15_09_58_6517.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329493622","file1":"1329493618","file0":"1329493615","file4":"1329493631","file5":"1329493638","file3":"1329493626"},"map_files_photo_id_array":[{"photo_id":"1329493638","filename":"file5"},{"photo_id":"1329493622","filename":"file2"},{"photo_id":"1329493631","filename":"file4"},{"photo_id":"1329493618","filename":"file1"},{"photo_id":"1329493615","filename":"file0"},{"photo_id":"1329493626","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329493638":["hashtag1","hashtag2"]},{"1329493626":["hashtag1","hashtag2"]},{"1329493622":["hashtag1","hashtag2"]},{"1329493631":["hashtag1","hashtag2"]},{"1329493615":["hashtag1","hashtag2"]},{"1329493618":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329493638, 1329493626, 1329493622, 1329493631, 1329493615, 1329493618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.376033544540405 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:11:21.881552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/15/11/image_17012025_15_11_53_6464.jpg', '/media/data/images/17012025/15/11/image_17012025_15_11_46_6477.jpg', '/media/data/images/17012025/15/11/image_17012025_15_11_40_5247.jpg', '/media/data/images/17012025/15/11/image_17012025_15_11_35_6494.jpg', '/media/data/images/17012025/15/11/image_17012025_15_11_23_6532.jpg', '/media/data/images/17012025/15/11/image_17012025_15_11_10_5282.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/15/11/image_17012025_15_11_53_6464.jpg
/media/data/images/17012025/15/11/image_17012025_15_11_46_6477.jpg
/media/data/images/17012025/15/11/image_17012025_15_11_40_5247.jpg
/media/data/images/17012025/15/11/image_17012025_15_11_35_6494.jpg
/media/data/images/17012025/15/11/image_17012025_15_11_23_6532.jpg
/media/data/images/17012025/15/11/image_17012025_15_11_10_5282.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329493716","1329493706","1329493700","1329493756","1329493702","1329493698"],"photo_ids_order":["1329493698","1329493700","1329493702","1329493706","1329493716","1329493756"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/476d03284c5edf48e2f068e0c5e9cd02.jpg","text":"TemporaryFile(/tmp/multipartBody4823739914975044982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123148697,"filename":"image_17012025_15_11_23_6532.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/de4f8991dd1a10691286233bcce892c9.jpg","text":"TemporaryFile(/tmp/multipartBody5699948921118114031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123148697,"filename":"image_17012025_15_11_35_6494.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b3393b7301c811cdc71e49be18de4752.jpg","text":"TemporaryFile(/tmp/multipartBody1794551046800469568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123148697,"filename":"image_17012025_15_11_46_6477.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/80cd7608ea97828a8d5aed432ec54840.jpg","text":"TemporaryFile(/tmp/multipartBody1407207141189785455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123148697,"filename":"image_17012025_15_11_10_5282.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6c26abe4946db793647555e767791690.jpg","text":"TemporaryFile(/tmp/multipartBody3344629768620239210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123148697,"filename":"image_17012025_15_11_40_5247.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/be5091b053af72beab8c44dde9ab0c63.jpg","text":"TemporaryFile(/tmp/multipartBody3513853972374081548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123148697,"filename":"image_17012025_15_11_53_6464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329493702","file1":"1329493700","file0":"1329493698","file4":"1329493716","file5":"1329493756","file3":"1329493706"},"map_files_photo_id_array":[{"photo_id":"1329493756","filename":"file5"},{"photo_id":"1329493702","filename":"file2"},{"photo_id":"1329493716","filename":"file4"},{"photo_id":"1329493700","filename":"file1"},{"photo_id":"1329493698","filename":"file0"},{"photo_id":"1329493706","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329493716":["hashtag1","hashtag2"]},{"1329493706":["hashtag1","hashtag2"]},{"1329493700":["hashtag1","hashtag2"]},{"1329493756":["hashtag1","hashtag2"]},{"1329493702":["hashtag1","hashtag2"]},{"1329493698":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329493716, 1329493706, 1329493700, 1329493756, 1329493702, 1329493698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.506367206573486 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:12:21.937220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/15/12/image_17012025_15_12_52_5255.jpg', '/media/data/images/17012025/15/12/image_17012025_15_12_47_6483.jpg', '/media/data/images/17012025/15/12/image_17012025_15_12_40_6477.jpg', '/media/data/images/17012025/15/12/image_17012025_15_12_34_5222.jpg', '/media/data/images/17012025/15/12/image_17012025_15_12_29_6383.jpg', '/media/data/images/17012025/15/12/image_17012025_15_12_22_6395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/15/12/image_17012025_15_12_52_5255.jpg
/media/data/images/17012025/15/12/image_17012025_15_12_47_6483.jpg
/media/data/images/17012025/15/12/image_17012025_15_12_40_6477.jpg
/media/data/images/17012025/15/12/image_17012025_15_12_34_5222.jpg
/media/data/images/17012025/15/12/image_17012025_15_12_29_6383.jpg
/media/data/images/17012025/15/12/image_17012025_15_12_22_6395.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329494353","1329494269","1329494257","1329494481","1329494274","1329494235"],"photo_ids_order":["1329494235","1329494257","1329494269","1329494274","1329494353","1329494481"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/643d853734f19d5d7b3213baa96f6314.jpg","text":"TemporaryFile(/tmp/multipartBody262042797707303058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123211218,"filename":"image_17012025_15_12_29_6383.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7f54e47532e77f9e2cb4d37525464683.jpg","text":"TemporaryFile(/tmp/multipartBody3816655727262045901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123211218,"filename":"image_17012025_15_12_40_6477.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/51b3cf89c32d75b95ee25253d8b3bd5d.jpg","text":"TemporaryFile(/tmp/multipartBody4644312492418357427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123211218,"filename":"image_17012025_15_12_47_6483.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b21875fc7d30102eca44665626821006.jpg","text":"TemporaryFile(/tmp/multipartBody2092710454251570837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123211218,"filename":"image_17012025_15_12_22_6395.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9e548be1634177ab147052106a99fda7.jpg","text":"TemporaryFile(/tmp/multipartBody7560466596452431983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123211218,"filename":"image_17012025_15_12_34_5222.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ad9283a407c20c5e9794212a4aea7395.jpg","text":"TemporaryFile(/tmp/multipartBody1803119757733986954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123211218,"filename":"image_17012025_15_12_52_5255.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329494269","file1":"1329494257","file0":"1329494235","file4":"1329494353","file5":"1329494481","file3":"1329494274"},"map_files_photo_id_array":[{"photo_id":"1329494481","filename":"file5"},{"photo_id":"1329494269","filename":"file2"},{"photo_id":"1329494353","filename":"file4"},{"photo_id":"1329494257","filename":"file1"},{"photo_id":"1329494235","filename":"file0"},{"photo_id":"1329494274","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329494353":["hashtag1","hashtag2"]},{"1329494269":["hashtag1","hashtag2"]},{"1329494257":["hashtag1","hashtag2"]},{"1329494481":["hashtag1","hashtag2"]},{"1329494274":["hashtag1","hashtag2"]},{"1329494235":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329494353, 1329494269, 1329494257, 1329494481, 1329494274, 1329494235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.829691648483276 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:13:22.023223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/15/13/image_17012025_15_13_52_6395.jpg', '/media/data/images/17012025/15/13/image_17012025_15_13_46_5184.jpg', '/media/data/images/17012025/15/13/image_17012025_15_13_41_6392.jpg', '/media/data/images/17012025/15/13/image_17012025_15_13_34_6389.jpg', '/media/data/images/17012025/15/13/image_17012025_15_13_28_5180.jpg', '/media/data/images/17012025/15/13/image_17012025_15_13_23_6388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/15/13/image_17012025_15_13_52_6395.jpg
/media/data/images/17012025/15/13/image_17012025_15_13_46_5184.jpg
/media/data/images/17012025/15/13/image_17012025_15_13_41_6392.jpg
/media/data/images/17012025/15/13/image_17012025_15_13_34_6389.jpg
/media/data/images/17012025/15/13/image_17012025_15_13_28_5180.jpg
/media/data/images/17012025/15/13/image_17012025_15_13_23_6388.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329494520","1329494531","1329494513","1329494545","1329494538","1329494526"],"photo_ids_order":["1329494513","1329494520","1329494526","1329494531","1329494538","1329494545"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0b8403635c98d5f8a753256c2beb5ee1.jpg","text":"TemporaryFile(/tmp/multipartBody7340905848748892089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123268763,"filename":"image_17012025_15_13_46_5184.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ad00ae329e4e4819b1efbe11d8734d5d.jpg","text":"TemporaryFile(/tmp/multipartBody7532165691126922367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123268763,"filename":"image_17012025_15_13_34_6389.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ce114ad186edabff4c6f01fbfcf2578a.jpg","text":"TemporaryFile(/tmp/multipartBody9136409237113059896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123268763,"filename":"image_17012025_15_13_52_6395.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b29c0287ccadeb91caf57a9ebb88ac2f.jpg","text":"TemporaryFile(/tmp/multipartBody7681303688509401193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123268763,"filename":"image_17012025_15_13_23_6388.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/59ac962043d693f2c6f00f2cfccdfe1c.jpg","text":"TemporaryFile(/tmp/multipartBody8910411301805831930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123268763,"filename":"image_17012025_15_13_28_5180.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b20e977e0cf51a42621265c4813e73ec.jpg","text":"TemporaryFile(/tmp/multipartBody8421882180534608203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123268763,"filename":"image_17012025_15_13_41_6392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329494526","file1":"1329494520","file0":"1329494513","file4":"1329494538","file5":"1329494545","file3":"1329494531"},"map_files_photo_id_array":[{"photo_id":"1329494545","filename":"file5"},{"photo_id":"1329494526","filename":"file2"},{"photo_id":"1329494538","filename":"file4"},{"photo_id":"1329494520","filename":"file1"},{"photo_id":"1329494513","filename":"file0"},{"photo_id":"1329494531","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329494520":["hashtag1","hashtag2"]},{"1329494531":["hashtag1","hashtag2"]},{"1329494513":["hashtag1","hashtag2"]},{"1329494545":["hashtag1","hashtag2"]},{"1329494538":["hashtag1","hashtag2"]},{"1329494526":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329494520, 1329494531, 1329494513, 1329494545, 1329494538, 1329494526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.14480924606323 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:14:22.129980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/15/14/image_17012025_15_14_52_6369.jpg', '/media/data/images/17012025/15/14/image_17012025_15_14_46_6385.jpg', '/media/data/images/17012025/15/14/image_17012025_15_14_40_5169.jpg', '/media/data/images/17012025/15/14/image_17012025_15_14_35_6402.jpg', '/media/data/images/17012025/15/14/image_17012025_15_14_28_6415.jpg', '/media/data/images/17012025/15/14/image_17012025_15_14_22_5197.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/15/14/image_17012025_15_14_52_6369.jpg
/media/data/images/17012025/15/14/image_17012025_15_14_46_6385.jpg
/media/data/images/17012025/15/14/image_17012025_15_14_40_5169.jpg
/media/data/images/17012025/15/14/image_17012025_15_14_35_6402.jpg
/media/data/images/17012025/15/14/image_17012025_15_14_28_6415.jpg
/media/data/images/17012025/15/14/image_17012025_15_14_22_5197.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329494601","1329494585","1329494594","1329494581","1329494571","1329494574"],"photo_ids_order":["1329494571","1329494574","1329494581","1329494585","1329494594","1329494601"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5eeb4adef6fa62665eff43606038b5ba.jpg","text":"TemporaryFile(/tmp/multipartBody7054515835995883365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123326952,"filename":"image_17012025_15_14_22_5197.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/46de86f235eade7ca96545f902124910.jpg","text":"TemporaryFile(/tmp/multipartBody4212864775631236490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123326952,"filename":"image_17012025_15_14_35_6402.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a53d5c69f9e3f13f038a73ddbe27d087.jpg","text":"TemporaryFile(/tmp/multipartBody1548649721101672609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123326952,"filename":"image_17012025_15_14_28_6415.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/385a82c8bc306add294664d104d3e68a.jpg","text":"TemporaryFile(/tmp/multipartBody6750711856559676910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123326952,"filename":"image_17012025_15_14_40_5169.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f9ffa5da25f96ac7957866afb6dd65e8.jpg","text":"TemporaryFile(/tmp/multipartBody5247252050522923166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123326952,"filename":"image_17012025_15_14_52_6369.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5e63587825c11353a837c09a668fbc56.jpg","text":"TemporaryFile(/tmp/multipartBody1320720636383845395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123326952,"filename":"image_17012025_15_14_46_6385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329494581","file1":"1329494574","file0":"1329494571","file4":"1329494594","file5":"1329494601","file3":"1329494585"},"map_files_photo_id_array":[{"photo_id":"1329494601","filename":"file5"},{"photo_id":"1329494581","filename":"file2"},{"photo_id":"1329494594","filename":"file4"},{"photo_id":"1329494574","filename":"file1"},{"photo_id":"1329494571","filename":"file0"},{"photo_id":"1329494585","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329494601":["hashtag1","hashtag2"]},{"1329494585":["hashtag1","hashtag2"]},{"1329494594":["hashtag1","hashtag2"]},{"1329494581":["hashtag1","hashtag2"]},{"1329494571":["hashtag1","hashtag2"]},{"1329494574":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329494601, 1329494585, 1329494594, 1329494581, 1329494571, 1329494574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.20246481895447 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:15:22.217327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/15/15/image_17012025_15_15_52_5197.jpg', '/media/data/images/17012025/15/15/image_17012025_15_15_47_6433.jpg', '/media/data/images/17012025/15/15/image_17012025_15_15_40_6442.jpg', '/media/data/images/17012025/15/15/image_17012025_15_15_34_5221.jpg', '/media/data/images/17012025/15/15/image_17012025_15_15_28_6466.jpg', '/media/data/images/17012025/15/15/image_17012025_15_15_22_5178.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/15/15/image_17012025_15_15_52_5197.jpg
/media/data/images/17012025/15/15/image_17012025_15_15_47_6433.jpg
/media/data/images/17012025/15/15/image_17012025_15_15_40_6442.jpg
/media/data/images/17012025/15/15/image_17012025_15_15_34_5221.jpg
/media/data/images/17012025/15/15/image_17012025_15_15_28_6466.jpg
/media/data/images/17012025/15/15/image_17012025_15_15_22_5178.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329494807","1329494689","1329494812","1329494734","1329494778","1329494757"],"photo_ids_order":["1329494689","1329494734","1329494757","1329494778","1329494807","1329494812"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c05d0fbaea26746e507c9678161b2fb6.jpg","text":"TemporaryFile(/tmp/multipartBody6323568002709912644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123387044,"filename":"image_17012025_15_15_28_6466.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4823e2f539b14325ee0f6edd697fda14.jpg","text":"TemporaryFile(/tmp/multipartBody2059609392447789474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123387044,"filename":"image_17012025_15_15_52_5197.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/eda5b4c0f69f58adcb176c2767d3c50b.jpg","text":"TemporaryFile(/tmp/multipartBody1576336762492520932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123387044,"filename":"image_17012025_15_15_22_5178.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0438aa2d9e95bcae351974736d49ea01.jpg","text":"TemporaryFile(/tmp/multipartBody6742844758803393793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123387044,"filename":"image_17012025_15_15_47_6433.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/da4380cf32d4c2d58d0515e1286ae0b3.jpg","text":"TemporaryFile(/tmp/multipartBody8147062685565407804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123387044,"filename":"image_17012025_15_15_34_5221.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/030a36ada6ffae84751984df96404ac3.jpg","text":"TemporaryFile(/tmp/multipartBody4773533253982676167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123387044,"filename":"image_17012025_15_15_40_6442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329494757","file1":"1329494734","file0":"1329494689","file4":"1329494807","file5":"1329494812","file3":"1329494778"},"map_files_photo_id_array":[{"photo_id":"1329494812","filename":"file5"},{"photo_id":"1329494757","filename":"file2"},{"photo_id":"1329494807","filename":"file4"},{"photo_id":"1329494734","filename":"file1"},{"photo_id":"1329494689","filename":"file0"},{"photo_id":"1329494778","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329494807":["hashtag1","hashtag2"]},{"1329494689":["hashtag1","hashtag2"]},{"1329494812":["hashtag1","hashtag2"]},{"1329494734":["hashtag1","hashtag2"]},{"1329494778":["hashtag1","hashtag2"]},{"1329494757":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329494807, 1329494689, 1329494812, 1329494734, 1329494778, 1329494757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.45743536949158 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:16:22.326855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/15/16/image_17012025_15_16_52_6403.jpg', '/media/data/images/17012025/15/16/image_17012025_15_16_46_5204.jpg', '/media/data/images/17012025/15/16/image_17012025_15_16_40_6409.jpg', '/media/data/images/17012025/15/16/image_17012025_15_16_34_5202.jpg', '/media/data/images/17012025/15/16/image_17012025_15_16_29_6465.jpg', '/media/data/images/17012025/15/16/image_17012025_15_16_22_6430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/15/16/image_17012025_15_16_52_6403.jpg
/media/data/images/17012025/15/16/image_17012025_15_16_46_5204.jpg
/media/data/images/17012025/15/16/image_17012025_15_16_40_6409.jpg
/media/data/images/17012025/15/16/image_17012025_15_16_34_5202.jpg
/media/data/images/17012025/15/16/image_17012025_15_16_29_6465.jpg
/media/data/images/17012025/15/16/image_17012025_15_16_22_6430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329494912","1329494875","1329494850","1329494856","1329494835","1329494838"],"photo_ids_order":["1329494835","1329494838","1329494850","1329494856","1329494875","1329494912"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ebc4902b8c8bcb1fbab0378afa03a513.jpg","text":"TemporaryFile(/tmp/multipartBody2035189480096497975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123448129,"filename":"image_17012025_15_16_22_6430.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3aa7447d3ebe9490ff7f2df53d9868e3.jpg","text":"TemporaryFile(/tmp/multipartBody802127821742964779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123448129,"filename":"image_17012025_15_16_29_6465.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/81b7dfbf8eab2753192ca3b1ebedfc7b.jpg","text":"TemporaryFile(/tmp/multipartBody5076005530321051139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123448129,"filename":"image_17012025_15_16_40_6409.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/aa10c41c44a5c90a8f3415b4d45d4652.jpg","text":"TemporaryFile(/tmp/multipartBody8061428818665307710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123448129,"filename":"image_17012025_15_16_34_5202.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/41b942c5ca80488bd2fe4ff458ab8bc3.jpg","text":"TemporaryFile(/tmp/multipartBody691979186277363887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123448129,"filename":"image_17012025_15_16_52_6403.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/48efa7c54af1888b1fefc9329978c334.jpg","text":"TemporaryFile(/tmp/multipartBody7062753668661321709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123448129,"filename":"image_17012025_15_16_46_5204.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329494850","file1":"1329494838","file0":"1329494835","file4":"1329494875","file5":"1329494912","file3":"1329494856"},"map_files_photo_id_array":[{"photo_id":"1329494912","filename":"file5"},{"photo_id":"1329494850","filename":"file2"},{"photo_id":"1329494875","filename":"file4"},{"photo_id":"1329494838","filename":"file1"},{"photo_id":"1329494835","filename":"file0"},{"photo_id":"1329494856","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329494912":["hashtag1","hashtag2"]},{"1329494875":["hashtag1","hashtag2"]},{"1329494850":["hashtag1","hashtag2"]},{"1329494856":["hashtag1","hashtag2"]},{"1329494835":["hashtag1","hashtag2"]},{"1329494838":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329494912, 1329494875, 1329494850, 1329494856, 1329494835, 1329494838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.35532522201538 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:17:22.463600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/15/16/image_17012025_15_16_16_5184.jpg', '/media/data/images/17012025/15/16/image_17012025_15_16_11_6388.jpg', '/media/data/images/17012025/15/16/image_17012025_15_16_04_6200.jpg', '/media/data/images/17012025/15/15/image_17012025_15_15_58_6389.jpg', '/media/data/images/17012025/15/15/image_17012025_15_15_17_6392.jpg', '/media/data/images/17012025/15/15/image_17012025_15_15_10_6401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/15/16/image_17012025_15_16_16_5184.jpg
/media/data/images/17012025/15/16/image_17012025_15_16_11_6388.jpg
/media/data/images/17012025/15/16/image_17012025_15_16_04_6200.jpg
/media/data/images/17012025/15/15/image_17012025_15_15_58_6389.jpg
/media/data/images/17012025/15/15/image_17012025_15_15_17_6392.jpg
/media/data/images/17012025/15/15/image_17012025_15_15_10_6401.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329495374","1329495422","1329495277","1329495555","1329495306","1329495485"],"photo_ids_order":["1329495277","1329495306","1329495374","1329495422","1329495485","1329495555"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e7ad5e99dcc67c5594cdb5b9f3b9ffa6.jpg","text":"TemporaryFile(/tmp/multipartBody2640117631501269121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123508899,"filename":"image_17012025_15_16_04_6200.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cbd18812172ca0f571e4c542fa400dfb.jpg","text":"TemporaryFile(/tmp/multipartBody3866707484197606732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123508899,"filename":"image_17012025_15_15_58_6389.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/22df34d33b7a579b547c466fa800ed82.jpg","text":"TemporaryFile(/tmp/multipartBody567219322316795823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123508899,"filename":"image_17012025_15_16_16_5184.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9b657e541753bb68957d6bd2273beb96.jpg","text":"TemporaryFile(/tmp/multipartBody5555906876709391324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123508899,"filename":"image_17012025_15_15_10_6401.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/faebb01ed76eb81b4ab7fb2e1e1b199b.jpg","text":"TemporaryFile(/tmp/multipartBody3872175408825500362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123508899,"filename":"image_17012025_15_16_11_6388.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/03187f46b81faf8b30aaea0b4851b86e.jpg","text":"TemporaryFile(/tmp/multipartBody8126842283329800849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123508899,"filename":"image_17012025_15_15_17_6392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329495374","file1":"1329495306","file0":"1329495277","file4":"1329495485","file5":"1329495555","file3":"1329495422"},"map_files_photo_id_array":[{"photo_id":"1329495555","filename":"file5"},{"photo_id":"1329495374","filename":"file2"},{"photo_id":"1329495485","filename":"file4"},{"photo_id":"1329495306","filename":"file1"},{"photo_id":"1329495277","filename":"file0"},{"photo_id":"1329495422","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329495374":["hashtag1","hashtag2"]},{"1329495422":["hashtag1","hashtag2"]},{"1329495277":["hashtag1","hashtag2"]},{"1329495555":["hashtag1","hashtag2"]},{"1329495306":["hashtag1","hashtag2"]},{"1329495485":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329495374, 1329495422, 1329495277, 1329495555, 1329495306, 1329495485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.26414918899536 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:18:22.501635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/15/14/image_17012025_15_15_04_6413.jpg', '/media/data/images/17012025/15/14/image_17012025_15_14_58_5183.jpg', '/media/data/images/17012025/15/14/image_17012025_15_14_17_6399.jpg', '/media/data/images/17012025/15/14/image_17012025_15_14_10_6413.jpg', '/media/data/images/17012025/15/14/image_17012025_15_14_04_5003.jpg', '/media/data/images/17012025/15/13/image_17012025_15_13_59_6395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/15/14/image_17012025_15_15_04_6413.jpg
/media/data/images/17012025/15/14/image_17012025_15_14_58_5183.jpg
/media/data/images/17012025/15/14/image_17012025_15_14_17_6399.jpg
/media/data/images/17012025/15/14/image_17012025_15_14_10_6413.jpg
/media/data/images/17012025/15/14/image_17012025_15_14_04_5003.jpg
/media/data/images/17012025/15/13/image_17012025_15_13_59_6395.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329495935","1329495905","1329495922","1329495916","1329495910","1329495930"],"photo_ids_order":["1329495905","1329495910","1329495916","1329495922","1329495930","1329495935"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bd44fcf4aa2fbf5b1504068527cc0e2e.jpg","text":"TemporaryFile(/tmp/multipartBody6997316505995450807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123567314,"filename":"image_17012025_15_13_59_6395.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a017563c51c662f97c5939dad7305fc2.jpg","text":"TemporaryFile(/tmp/multipartBody1690877828318919754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123567314,"filename":"image_17012025_15_15_04_6413.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bb6a6d37cabd492d3b1996cc0e635411.jpg","text":"TemporaryFile(/tmp/multipartBody1862510410983152999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123567314,"filename":"image_17012025_15_14_10_6413.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a0ad82dbd80171fad662e22b89bfba53.jpg","text":"TemporaryFile(/tmp/multipartBody7581170828035776364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123567314,"filename":"image_17012025_15_14_17_6399.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7db934aca638cf351f5e219d715a81ab.jpg","text":"TemporaryFile(/tmp/multipartBody3332738835607906127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123567314,"filename":"image_17012025_15_14_58_5183.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/03f6347bbd19c1f19b6bdbdc6169545a.jpg","text":"TemporaryFile(/tmp/multipartBody6951729283093483848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123567314,"filename":"image_17012025_15_14_04_5003.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329495916","file1":"1329495910","file0":"1329495905","file4":"1329495930","file5":"1329495935","file3":"1329495922"},"map_files_photo_id_array":[{"photo_id":"1329495935","filename":"file5"},{"photo_id":"1329495916","filename":"file2"},{"photo_id":"1329495930","filename":"file4"},{"photo_id":"1329495910","filename":"file1"},{"photo_id":"1329495905","filename":"file0"},{"photo_id":"1329495922","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329495935":["hashtag1","hashtag2"]},{"1329495905":["hashtag1","hashtag2"]},{"1329495922":["hashtag1","hashtag2"]},{"1329495916":["hashtag1","hashtag2"]},{"1329495910":["hashtag1","hashtag2"]},{"1329495930":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329495935, 1329495905, 1329495922, 1329495916, 1329495910, 1329495930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.465596437454224 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:19:22.610996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/15/13/image_17012025_15_13_16_6386.jpg', '/media/data/images/17012025/15/13/image_17012025_15_13_10_5195.jpg', '/media/data/images/17012025/15/13/image_17012025_15_13_05_6206.jpg', '/media/data/images/17012025/15/12/image_17012025_15_12_59_6480.jpg', '/media/data/images/17012025/15/12/image_17012025_15_12_16_5183.jpg', '/media/data/images/17012025/15/12/image_17012025_15_12_11_6452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/15/13/image_17012025_15_13_16_6386.jpg
/media/data/images/17012025/15/13/image_17012025_15_13_10_5195.jpg
/media/data/images/17012025/15/13/image_17012025_15_13_05_6206.jpg
/media/data/images/17012025/15/12/image_17012025_15_12_59_6480.jpg
/media/data/images/17012025/15/12/image_17012025_15_12_16_5183.jpg
/media/data/images/17012025/15/12/image_17012025_15_12_11_6452.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329496204","1329496132","1329496280","1329496113","1329496145","1329496148"],"photo_ids_order":["1329496113","1329496132","1329496145","1329496148","1329496204","1329496280"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ba6d270dee0a6100140e51cbcf0e599a.jpg","text":"TemporaryFile(/tmp/multipartBody7850457167450802643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123627184,"filename":"image_17012025_15_12_16_5183.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/09762740cee209755363e234a77d9b73.jpg","text":"TemporaryFile(/tmp/multipartBody6170483332287205041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123627184,"filename":"image_17012025_15_13_10_5195.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/53cf7047a50ffbb217c21eed8b06bfba.jpg","text":"TemporaryFile(/tmp/multipartBody3440451250594821769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123627184,"filename":"image_17012025_15_12_11_6452.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1ef1d260baa33033aeb8946f7e509393.jpg","text":"TemporaryFile(/tmp/multipartBody553183421755525072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123627184,"filename":"image_17012025_15_13_16_6386.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bf70b7890fc7da09a6ae776dc043ebe9.jpg","text":"TemporaryFile(/tmp/multipartBody1917289851442712627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123627184,"filename":"image_17012025_15_13_05_6206.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/eb767f934fbc37664cb78eae167862d4.jpg","text":"TemporaryFile(/tmp/multipartBody3799722073912563244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123627184,"filename":"image_17012025_15_12_59_6480.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329496145","file1":"1329496132","file0":"1329496113","file4":"1329496204","file5":"1329496280","file3":"1329496148"},"map_files_photo_id_array":[{"photo_id":"1329496280","filename":"file5"},{"photo_id":"1329496145","filename":"file2"},{"photo_id":"1329496204","filename":"file4"},{"photo_id":"1329496132","filename":"file1"},{"photo_id":"1329496113","filename":"file0"},{"photo_id":"1329496148","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329496204":["hashtag1","hashtag2"]},{"1329496132":["hashtag1","hashtag2"]},{"1329496280":["hashtag1","hashtag2"]},{"1329496113":["hashtag1","hashtag2"]},{"1329496145":["hashtag1","hashtag2"]},{"1329496148":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329496204, 1329496132, 1329496280, 1329496113, 1329496145, 1329496148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.43210768699646 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:20:22.723897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/15/11/image_17012025_15_12_04_6257.jpg', '/media/data/images/17012025/15/11/image_17012025_15_11_58_5237.jpg', '/media/data/images/17012025/15/10/image_17012025_15_11_04_6576.jpg', '/media/data/images/17012025/15/10/image_17012025_15_10_58_5312.jpg', '/media/data/images/17012025/15/10/image_17012025_15_10_46_5284.jpg', '/media/data/images/17012025/15/10/image_17012025_15_10_41_6637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/15/11/image_17012025_15_12_04_6257.jpg
/media/data/images/17012025/15/11/image_17012025_15_11_58_5237.jpg
/media/data/images/17012025/15/10/image_17012025_15_11_04_6576.jpg
/media/data/images/17012025/15/10/image_17012025_15_10_58_5312.jpg
/media/data/images/17012025/15/10/image_17012025_15_10_46_5284.jpg
/media/data/images/17012025/15/10/image_17012025_15_10_41_6637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329496570","1329496614","1329496784","1329496556","1329496715","1329496559"],"photo_ids_order":["1329496556","1329496559","1329496570","1329496614","1329496715","1329496784"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/60733c375fe01ced4323321c2163cfed.jpg","text":"TemporaryFile(/tmp/multipartBody8894738337271607419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123691025,"filename":"image_17012025_15_11_04_6576.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5e1cb6a7b1d57329a9399da84e71234f.jpg","text":"TemporaryFile(/tmp/multipartBody9000553975813042866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123691025,"filename":"image_17012025_15_10_58_5312.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/77c6356f22442f43a0348371d0e5d10f.jpg","text":"TemporaryFile(/tmp/multipartBody3440652562799123382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123691025,"filename":"image_17012025_15_10_41_6637.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/104e5bf8314fbf083a7b19271e5016c8.jpg","text":"TemporaryFile(/tmp/multipartBody1926152114376085223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123691025,"filename":"image_17012025_15_12_04_6257.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/feb10d2c18c67194eb12e1fb025ce27a.jpg","text":"TemporaryFile(/tmp/multipartBody2722205460422707081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123691025,"filename":"image_17012025_15_10_46_5284.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7b49c4126b2ffcf380086245c7440d16.jpg","text":"TemporaryFile(/tmp/multipartBody6360492910541042214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123691025,"filename":"image_17012025_15_11_58_5237.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329496570","file1":"1329496559","file0":"1329496556","file4":"1329496715","file5":"1329496784","file3":"1329496614"},"map_files_photo_id_array":[{"photo_id":"1329496784","filename":"file5"},{"photo_id":"1329496570","filename":"file2"},{"photo_id":"1329496715","filename":"file4"},{"photo_id":"1329496559","filename":"file1"},{"photo_id":"1329496556","filename":"file0"},{"photo_id":"1329496614","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329496570":["hashtag1","hashtag2"]},{"1329496614":["hashtag1","hashtag2"]},{"1329496784":["hashtag1","hashtag2"]},{"1329496556":["hashtag1","hashtag2"]},{"1329496715":["hashtag1","hashtag2"]},{"1329496559":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329496570, 1329496614, 1329496784, 1329496556, 1329496715, 1329496559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.850123167037964 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:21:21.801394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/15/20/image_17012025_15_20_52_6386.jpg', '/media/data/images/17012025/15/20/image_17012025_15_20_46_6380.jpg', '/media/data/images/17012025/15/20/image_17012025_15_20_40_5167.jpg', '/media/data/images/17012025/15/20/image_17012025_15_20_35_6385.jpg', '/media/data/images/17012025/15/20/image_17012025_15_20_28_6424.jpg', '/media/data/images/17012025/15/20/image_17012025_15_20_22_5185.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/15/20/image_17012025_15_20_52_6386.jpg
/media/data/images/17012025/15/20/image_17012025_15_20_46_6380.jpg
/media/data/images/17012025/15/20/image_17012025_15_20_40_5167.jpg
/media/data/images/17012025/15/20/image_17012025_15_20_35_6385.jpg
/media/data/images/17012025/15/20/image_17012025_15_20_28_6424.jpg
/media/data/images/17012025/15/20/image_17012025_15_20_22_5185.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329497190","1329497186","1329497180","1329497183","1329497264","1329497173"],"photo_ids_order":["1329497173","1329497180","1329497183","1329497186","1329497190","1329497264"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/edc0f2a78b59e32d3f8a031ea77bbe3e.jpg","text":"TemporaryFile(/tmp/multipartBody3118160757738483869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123746731,"filename":"image_17012025_15_20_28_6424.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ba61737aa5a7cfddb0118971fd8cc83a.jpg","text":"TemporaryFile(/tmp/multipartBody7876482135855544825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123746731,"filename":"image_17012025_15_20_35_6385.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/aef86600223183bafad237b68a49e385.jpg","text":"TemporaryFile(/tmp/multipartBody2189431822962114166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123746731,"filename":"image_17012025_15_20_46_6380.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9ef7db2a03d07395e23e4f658e501b5e.jpg","text":"TemporaryFile(/tmp/multipartBody2465288588118263130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123746731,"filename":"image_17012025_15_20_40_5167.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3b7435a902382887f854ecf7d2b4c5f6.jpg","text":"TemporaryFile(/tmp/multipartBody8973155031492206524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123746731,"filename":"image_17012025_15_20_22_5185.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4365e6305754efaeb6dbefb932a6555a.jpg","text":"TemporaryFile(/tmp/multipartBody1729059026618730245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123746731,"filename":"image_17012025_15_20_52_6386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329497183","file1":"1329497180","file0":"1329497173","file4":"1329497190","file5":"1329497264","file3":"1329497186"},"map_files_photo_id_array":[{"photo_id":"1329497264","filename":"file5"},{"photo_id":"1329497183","filename":"file2"},{"photo_id":"1329497190","filename":"file4"},{"photo_id":"1329497180","filename":"file1"},{"photo_id":"1329497173","filename":"file0"},{"photo_id":"1329497186","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329497190":["hashtag1","hashtag2"]},{"1329497186":["hashtag1","hashtag2"]},{"1329497180":["hashtag1","hashtag2"]},{"1329497183":["hashtag1","hashtag2"]},{"1329497264":["hashtag1","hashtag2"]},{"1329497173":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329497190, 1329497186, 1329497180, 1329497183, 1329497264, 1329497173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.828431367874146 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:22:21.869027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/15/22/image_17012025_15_22_53_6401.jpg', '/media/data/images/17012025/15/22/image_17012025_15_22_46_6384.jpg', '/media/data/images/17012025/15/22/image_17012025_15_22_40_5176.jpg', '/media/data/images/17012025/15/22/image_17012025_15_22_35_6383.jpg', '/media/data/images/17012025/15/22/image_17012025_15_22_28_6390.jpg', '/media/data/images/17012025/15/22/image_17012025_15_22_22_6373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/15/22/image_17012025_15_22_53_6401.jpg
/media/data/images/17012025/15/22/image_17012025_15_22_46_6384.jpg
/media/data/images/17012025/15/22/image_17012025_15_22_40_5176.jpg
/media/data/images/17012025/15/22/image_17012025_15_22_35_6383.jpg
/media/data/images/17012025/15/22/image_17012025_15_22_28_6390.jpg
/media/data/images/17012025/15/22/image_17012025_15_22_22_6373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329498514","1329498171","1329498369","1329498587","1329498581","1329498460"],"photo_ids_order":["1329498171","1329498369","1329498460","1329498514","1329498581","1329498587"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/91df040ef79e5f7e7d7b635bff41b20d.jpg","text":"TemporaryFile(/tmp/multipartBody7415336609364206833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123806709,"filename":"image_17012025_15_22_35_6383.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/48fb090f3056c766a57fd617c11521b8.jpg","text":"TemporaryFile(/tmp/multipartBody3136060914899127402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123806709,"filename":"image_17012025_15_22_53_6401.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/928098e758a7755913a29052bc982bf7.jpg","text":"TemporaryFile(/tmp/multipartBody1904610118547837833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123806709,"filename":"image_17012025_15_22_46_6384.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c88c92cd3e852cc5306e46851b9e777d.jpg","text":"TemporaryFile(/tmp/multipartBody7141442993523965904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123806709,"filename":"image_17012025_15_22_22_6373.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d7d00bf893cad75506a3583513a83723.jpg","text":"TemporaryFile(/tmp/multipartBody7957017090228308309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123806709,"filename":"image_17012025_15_22_28_6390.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d28ee3de50c48b109aad0224fc0c4d0c.jpg","text":"TemporaryFile(/tmp/multipartBody1370245408348094385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123806709,"filename":"image_17012025_15_22_40_5176.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329498460","file1":"1329498369","file0":"1329498171","file4":"1329498581","file5":"1329498587","file3":"1329498514"},"map_files_photo_id_array":[{"photo_id":"1329498587","filename":"file5"},{"photo_id":"1329498460","filename":"file2"},{"photo_id":"1329498581","filename":"file4"},{"photo_id":"1329498369","filename":"file1"},{"photo_id":"1329498171","filename":"file0"},{"photo_id":"1329498514","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329498514":["hashtag1","hashtag2"]},{"1329498171":["hashtag1","hashtag2"]},{"1329498369":["hashtag1","hashtag2"]},{"1329498587":["hashtag1","hashtag2"]},{"1329498581":["hashtag1","hashtag2"]},{"1329498460":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329498514, 1329498171, 1329498369, 1329498587, 1329498581, 1329498460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.317492723464966 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:23:21.971020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/15/22/image_17012025_15_22_16_5234.jpg', '/media/data/images/17012025/15/22/image_17012025_15_22_11_6386.jpg', '/media/data/images/17012025/15/21/image_17012025_15_22_04_6412.jpg', '/media/data/images/17012025/15/21/image_17012025_15_21_58_4970.jpg', '/media/data/images/17012025/15/21/image_17012025_15_21_53_6371.jpg', '/media/data/images/17012025/15/21/image_17012025_15_21_46_6397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/15/22/image_17012025_15_22_16_5234.jpg
/media/data/images/17012025/15/22/image_17012025_15_22_11_6386.jpg
/media/data/images/17012025/15/21/image_17012025_15_22_04_6412.jpg
/media/data/images/17012025/15/21/image_17012025_15_21_58_4970.jpg
/media/data/images/17012025/15/21/image_17012025_15_21_53_6371.jpg
/media/data/images/17012025/15/21/image_17012025_15_21_46_6397.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329498630","1329498653","1329498658","1329498643","1329498625","1329498619"],"photo_ids_order":["1329498619","1329498625","1329498630","1329498643","1329498653","1329498658"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/490dae74d7d9982b6b6941d251211aaf.jpg","text":"TemporaryFile(/tmp/multipartBody395887548508725951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123866471,"filename":"image_17012025_15_22_04_6412.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f3d330e5aba781ce3c95e10695f01368.jpg","text":"TemporaryFile(/tmp/multipartBody1257127137709656230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123866471,"filename":"image_17012025_15_21_53_6371.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/98b4c322f7f15c99c5ef25a0e44862d6.jpg","text":"TemporaryFile(/tmp/multipartBody5986781828694842163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123866471,"filename":"image_17012025_15_21_46_6397.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/64d885e3a292d570e50341ae7518a907.jpg","text":"TemporaryFile(/tmp/multipartBody196677520720915709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123866471,"filename":"image_17012025_15_21_58_4970.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/00aed1821d50d0c0c79b7f0628544d31.jpg","text":"TemporaryFile(/tmp/multipartBody4730909287827097053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123866471,"filename":"image_17012025_15_22_11_6386.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e88266903e91edd233927a5624be787a.jpg","text":"TemporaryFile(/tmp/multipartBody2552423274784856337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123866471,"filename":"image_17012025_15_22_16_5234.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329498630","file1":"1329498625","file0":"1329498619","file4":"1329498653","file5":"1329498658","file3":"1329498643"},"map_files_photo_id_array":[{"photo_id":"1329498658","filename":"file5"},{"photo_id":"1329498630","filename":"file2"},{"photo_id":"1329498653","filename":"file4"},{"photo_id":"1329498625","filename":"file1"},{"photo_id":"1329498619","filename":"file0"},{"photo_id":"1329498643","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329498630":["hashtag1","hashtag2"]},{"1329498653":["hashtag1","hashtag2"]},{"1329498658":["hashtag1","hashtag2"]},{"1329498643":["hashtag1","hashtag2"]},{"1329498625":["hashtag1","hashtag2"]},{"1329498619":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329498630, 1329498653, 1329498658, 1329498643, 1329498625, 1329498619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.66473364830017 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 15:24:02.287892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/15/21/image_17012025_15_21_40_5184.jpg', '/media/data/images/17012025/15/21/image_17012025_15_21_35_6394.jpg', '/media/data/images/17012025/15/21/image_17012025_15_21_28_6344.jpg', '/media/data/images/17012025/15/21/image_17012025_15_21_22_5173.jpg', '/media/data/images/17012025/15/21/image_17012025_15_21_17_6388.jpg', '/media/data/images/17012025/15/21/image_17012025_15_21_10_6388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/15/21/image_17012025_15_21_40_5184.jpg
/media/data/images/17012025/15/21/image_17012025_15_21_35_6394.jpg
/media/data/images/17012025/15/21/image_17012025_15_21_28_6344.jpg
/media/data/images/17012025/15/21/image_17012025_15_21_22_5173.jpg
/media/data/images/17012025/15/21/image_17012025_15_21_17_6388.jpg
/media/data/images/17012025/15/21/image_17012025_15_21_10_6388.jpg
2025-01-17 15:24:02.383139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/15/21/image_17012025_15_21_40_5184.jpg', '/media/data/images/17012025/15/21/image_17012025_15_21_35_6394.jpg', '/media/data/images/17012025/15/21/image_17012025_15_21_28_6344.jpg', '/media/data/images/17012025/15/21/image_17012025_15_21_22_5173.jpg', '/media/data/images/17012025/15/21/image_17012025_15_21_17_6388.jpg', '/media/data/images/17012025/15/21/image_17012025_15_21_10_6388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/15/21/image_17012025_15_21_40_5184.jpg
/media/data/images/17012025/15/21/image_17012025_15_21_35_6394.jpg
/media/data/images/17012025/15/21/image_17012025_15_21_28_6344.jpg
/media/data/images/17012025/15/21/image_17012025_15_21_22_5173.jpg
/media/data/images/17012025/15/21/image_17012025_15_21_17_6388.jpg
/media/data/images/17012025/15/21/image_17012025_15_21_10_6388.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: 17.07596516609192 secondes ---
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329498774","1329498696","1329499038","1329499001","1329498979","1329498885"],"photo_ids_order":["1329498696","1329498774","1329498885","1329498979","1329499001","1329499038"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3ba244621cf2a062eeedd35b25197ed3.jpg","text":"TemporaryFile(/tmp/multipartBody759282383852749444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123918566,"filename":"image_17012025_15_21_35_6394.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/14e1e62473b99ce5ca79603c6425be41.jpg","text":"TemporaryFile(/tmp/multipartBody3050866760483698291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123918566,"filename":"image_17012025_15_21_40_5184.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1ebfd044b8d0fc92d829014271eae135.jpg","text":"TemporaryFile(/tmp/multipartBody7596539033893741203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123918566,"filename":"image_17012025_15_21_10_6388.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5b10b47fca423ce53ff6ec1fc9cb1b2f.jpg","text":"TemporaryFile(/tmp/multipartBody2806055043268446221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123918566,"filename":"image_17012025_15_21_17_6388.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0cd66be99673218f350f47a6215368f1.jpg","text":"TemporaryFile(/tmp/multipartBody7637134741327948320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123918566,"filename":"image_17012025_15_21_22_5173.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/294a7797761d896e9105f9b3abba23c7.jpg","text":"TemporaryFile(/tmp/multipartBody137741649674966182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123918566,"filename":"image_17012025_15_21_28_6344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329498885","file1":"1329498774","file0":"1329498696","file4":"1329499001","file5":"1329499038","file3":"1329498979"},"map_files_photo_id_array":[{"photo_id":"1329499038","filename":"file5"},{"photo_id":"1329498885","filename":"file2"},{"photo_id":"1329499001","filename":"file4"},{"photo_id":"1329498774","filename":"file1"},{"photo_id":"1329498696","filename":"file0"},{"photo_id":"1329498979","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329498774":["hashtag1","hashtag2"]},{"1329498696":["hashtag1","hashtag2"]},{"1329499038":["hashtag1","hashtag2"]},{"1329499001":["hashtag1","hashtag2"]},{"1329498979":["hashtag1","hashtag2"]},{"1329498885":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329498774, 1329498696, 1329499038, 1329499001, 1329498979, 1329498885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.518954038619995 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:25:02.418106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/15/20/image_17012025_15_21_04_6410.jpg', '/media/data/images/17012025/15/20/image_17012025_15_20_58_5165.jpg', '/media/data/images/17012025/15/20/image_17012025_15_20_17_6406.jpg', '/media/data/images/17012025/15/20/image_17012025_15_20_10_6439.jpg', '/media/data/images/17012025/15/20/image_17012025_15_20_04_5028.jpg', '/media/data/images/17012025/15/19/image_17012025_15_19_59_6431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/15/20/image_17012025_15_21_04_6410.jpg
/media/data/images/17012025/15/20/image_17012025_15_20_58_5165.jpg
/media/data/images/17012025/15/20/image_17012025_15_20_17_6406.jpg
/media/data/images/17012025/15/20/image_17012025_15_20_10_6439.jpg
/media/data/images/17012025/15/20/image_17012025_15_20_04_5028.jpg
/media/data/images/17012025/15/19/image_17012025_15_19_59_6431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329499215","1329499298","1329499256","1329499205","1329499330","1329499210"],"photo_ids_order":["1329499205","1329499210","1329499215","1329499256","1329499298","1329499330"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4d8a849f4989742f8151662a475cefd8.jpg","text":"TemporaryFile(/tmp/multipartBody7802131191139308484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123967311,"filename":"image_17012025_15_20_17_6406.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1ec97a1cb52216c2282e744b76721874.jpg","text":"TemporaryFile(/tmp/multipartBody5948353853020442937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123967311,"filename":"image_17012025_15_20_04_5028.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c55b664b97749d35497cc2c9c9526269.jpg","text":"TemporaryFile(/tmp/multipartBody2264191458679360380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123967311,"filename":"image_17012025_15_20_10_6439.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f738b1fe4e4611981d6c0dab11e2e082.jpg","text":"TemporaryFile(/tmp/multipartBody8267403214614159212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123967311,"filename":"image_17012025_15_21_04_6410.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/22e9b4254e44124a53e128d7c8df11fd.jpg","text":"TemporaryFile(/tmp/multipartBody8034965793703044778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123967311,"filename":"image_17012025_15_19_59_6431.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5f18449cf4cc31e594f632aa0b5b4f49.jpg","text":"TemporaryFile(/tmp/multipartBody5953479793874281562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737123967311,"filename":"image_17012025_15_20_58_5165.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329499215","file1":"1329499210","file0":"1329499205","file4":"1329499298","file5":"1329499330","file3":"1329499256"},"map_files_photo_id_array":[{"photo_id":"1329499330","filename":"file5"},{"photo_id":"1329499215","filename":"file2"},{"photo_id":"1329499298","filename":"file4"},{"photo_id":"1329499210","filename":"file1"},{"photo_id":"1329499205","filename":"file0"},{"photo_id":"1329499256","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329499215":["hashtag1","hashtag2"]},{"1329499298":["hashtag1","hashtag2"]},{"1329499256":["hashtag1","hashtag2"]},{"1329499205":["hashtag1","hashtag2"]},{"1329499330":["hashtag1","hashtag2"]},{"1329499210":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329499215, 1329499298, 1329499256, 1329499205, 1329499330, 1329499210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.840110540390015 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:26:02.354000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/15/19/image_17012025_15_19_52_6439.jpg', '/media/data/images/17012025/15/19/image_17012025_15_19_46_5179.jpg', '/media/data/images/17012025/15/19/image_17012025_15_19_41_6354.jpg', '/media/data/images/17012025/15/19/image_17012025_15_19_34_6564.jpg', '/media/data/images/17012025/15/19/image_17012025_15_19_28_5256.jpg', '/media/data/images/17012025/15/19/image_17012025_15_19_22_6362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/15/19/image_17012025_15_19_52_6439.jpg
/media/data/images/17012025/15/19/image_17012025_15_19_46_5179.jpg
/media/data/images/17012025/15/19/image_17012025_15_19_41_6354.jpg
/media/data/images/17012025/15/19/image_17012025_15_19_34_6564.jpg
/media/data/images/17012025/15/19/image_17012025_15_19_28_5256.jpg
/media/data/images/17012025/15/19/image_17012025_15_19_22_6362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329499449","1329499454","1329499430","1329499433","1329499443","1329499437"],"photo_ids_order":["1329499430","1329499433","1329499437","1329499443","1329499449","1329499454"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d1bf9e3295881c134eb5ddde11963104.jpg","text":"TemporaryFile(/tmp/multipartBody5178627829766370199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124028436,"filename":"image_17012025_15_19_28_5256.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6b9123dcccab3d874fd718f0c143fb4d.jpg","text":"TemporaryFile(/tmp/multipartBody9184452590238752566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124028436,"filename":"image_17012025_15_19_22_6362.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8fb2d54d358b255c7531430354605ff4.jpg","text":"TemporaryFile(/tmp/multipartBody7793073584581921335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124028436,"filename":"image_17012025_15_19_52_6439.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ee47e47fe6c3055de6f6c3b44f689e84.jpg","text":"TemporaryFile(/tmp/multipartBody744556441006690352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124028436,"filename":"image_17012025_15_19_46_5179.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bfd1442a6c948be0c110137e174de400.jpg","text":"TemporaryFile(/tmp/multipartBody8012271553710114967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124028436,"filename":"image_17012025_15_19_34_6564.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/335a43739e62cf7d34879ce8188a8250.jpg","text":"TemporaryFile(/tmp/multipartBody1415476497603760623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124028436,"filename":"image_17012025_15_19_41_6354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329499437","file1":"1329499433","file0":"1329499430","file4":"1329499449","file5":"1329499454","file3":"1329499443"},"map_files_photo_id_array":[{"photo_id":"1329499454","filename":"file5"},{"photo_id":"1329499437","filename":"file2"},{"photo_id":"1329499449","filename":"file4"},{"photo_id":"1329499433","filename":"file1"},{"photo_id":"1329499430","filename":"file0"},{"photo_id":"1329499443","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329499449":["hashtag1","hashtag2"]},{"1329499454":["hashtag1","hashtag2"]},{"1329499430":["hashtag1","hashtag2"]},{"1329499433":["hashtag1","hashtag2"]},{"1329499443":["hashtag1","hashtag2"]},{"1329499437":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329499449, 1329499454, 1329499430, 1329499433, 1329499443, 1329499437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.87828588485718 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:27:02.446138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/15/19/image_17012025_15_19_16_6383.jpg', '/media/data/images/17012025/15/19/image_17012025_15_19_10_5172.jpg', '/media/data/images/17012025/15/18/image_17012025_15_19_05_6449.jpg', '/media/data/images/17012025/15/18/image_17012025_15_18_58_5236.jpg', '/media/data/images/17012025/15/18/image_17012025_15_18_53_6454.jpg', '/media/data/images/17012025/15/18/image_17012025_15_18_46_6437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/15/19/image_17012025_15_19_16_6383.jpg
/media/data/images/17012025/15/19/image_17012025_15_19_10_5172.jpg
/media/data/images/17012025/15/18/image_17012025_15_19_05_6449.jpg
/media/data/images/17012025/15/18/image_17012025_15_18_58_5236.jpg
/media/data/images/17012025/15/18/image_17012025_15_18_53_6454.jpg
/media/data/images/17012025/15/18/image_17012025_15_18_46_6437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329499515","1329499509","1329499517","1329499486","1329499513","1329499504"],"photo_ids_order":["1329499486","1329499504","1329499509","1329499513","1329499515","1329499517"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cd7252325dff187569f5ccb3221c2e57.jpg","text":"TemporaryFile(/tmp/multipartBody6992314706156352272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124087621,"filename":"image_17012025_15_18_53_6454.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/00512e2f342fdd535589e9eb46b8d866.jpg","text":"TemporaryFile(/tmp/multipartBody1267509395272166209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124087621,"filename":"image_17012025_15_19_05_6449.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8a07310d8e1012d877595dd276a1879e.jpg","text":"TemporaryFile(/tmp/multipartBody391871142687676062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124087621,"filename":"image_17012025_15_18_46_6437.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8a7ea85ddd14d7ae5f46f410fd84c8c9.jpg","text":"TemporaryFile(/tmp/multipartBody2522244049704052330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124087621,"filename":"image_17012025_15_19_16_6383.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bec1198fbff028760e3a12e84d585e7a.jpg","text":"TemporaryFile(/tmp/multipartBody6561155812957985211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124087621,"filename":"image_17012025_15_18_58_5236.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b0ab57825f06ab729a1ce1b45eead7b5.jpg","text":"TemporaryFile(/tmp/multipartBody2893432857592627792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124087621,"filename":"image_17012025_15_19_10_5172.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329499509","file1":"1329499504","file0":"1329499486","file4":"1329499515","file5":"1329499517","file3":"1329499513"},"map_files_photo_id_array":[{"photo_id":"1329499517","filename":"file5"},{"photo_id":"1329499509","filename":"file2"},{"photo_id":"1329499515","filename":"file4"},{"photo_id":"1329499504","filename":"file1"},{"photo_id":"1329499486","filename":"file0"},{"photo_id":"1329499513","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329499515":["hashtag1","hashtag2"]},{"1329499509":["hashtag1","hashtag2"]},{"1329499517":["hashtag1","hashtag2"]},{"1329499486":["hashtag1","hashtag2"]},{"1329499513":["hashtag1","hashtag2"]},{"1329499504":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329499515, 1329499509, 1329499517, 1329499486, 1329499513, 1329499504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.16794466972351 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:28:02.495119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/15/18/image_17012025_15_18_40_5214.jpg', '/media/data/images/17012025/15/18/image_17012025_15_18_35_6414.jpg', '/media/data/images/17012025/15/18/image_17012025_15_18_28_6465.jpg', '/media/data/images/17012025/15/18/image_17012025_15_18_22_5197.jpg', '/media/data/images/17012025/15/18/image_17012025_15_18_17_6416.jpg', '/media/data/images/17012025/15/18/image_17012025_15_18_10_6427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/15/18/image_17012025_15_18_40_5214.jpg
/media/data/images/17012025/15/18/image_17012025_15_18_35_6414.jpg
/media/data/images/17012025/15/18/image_17012025_15_18_28_6465.jpg
/media/data/images/17012025/15/18/image_17012025_15_18_22_5197.jpg
/media/data/images/17012025/15/18/image_17012025_15_18_17_6416.jpg
/media/data/images/17012025/15/18/image_17012025_15_18_10_6427.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329499547","1329499541","1329499535","1329499544","1329499538","1329499549"],"photo_ids_order":["1329499535","1329499538","1329499541","1329499544","1329499547","1329499549"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fe0ce5070d0ebc935d21ac2c999c733c.jpg","text":"TemporaryFile(/tmp/multipartBody818996966750394350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124147280,"filename":"image_17012025_15_18_17_6416.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/68ee4257d9c89587fc6e0753b8771215.jpg","text":"TemporaryFile(/tmp/multipartBody1811354974436777799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124147280,"filename":"image_17012025_15_18_28_6465.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2d9b13095c6ea7c2e3170ef37696ff6a.jpg","text":"TemporaryFile(/tmp/multipartBody2151847042665356812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124147280,"filename":"image_17012025_15_18_40_5214.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ab6793e07cb84f8033b252db673874bc.jpg","text":"TemporaryFile(/tmp/multipartBody95620143468641661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124147280,"filename":"image_17012025_15_18_22_5197.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/079564033a3a5c5c011717463df94356.jpg","text":"TemporaryFile(/tmp/multipartBody1677018549331378074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124147280,"filename":"image_17012025_15_18_35_6414.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/94ef03f2584021e977d17a8952a43785.jpg","text":"TemporaryFile(/tmp/multipartBody6707401903891775363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124147280,"filename":"image_17012025_15_18_10_6427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329499541","file1":"1329499538","file0":"1329499535","file4":"1329499547","file5":"1329499549","file3":"1329499544"},"map_files_photo_id_array":[{"photo_id":"1329499549","filename":"file5"},{"photo_id":"1329499541","filename":"file2"},{"photo_id":"1329499547","filename":"file4"},{"photo_id":"1329499538","filename":"file1"},{"photo_id":"1329499535","filename":"file0"},{"photo_id":"1329499544","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329499547":["hashtag1","hashtag2"]},{"1329499541":["hashtag1","hashtag2"]},{"1329499535":["hashtag1","hashtag2"]},{"1329499544":["hashtag1","hashtag2"]},{"1329499538":["hashtag1","hashtag2"]},{"1329499549":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329499547, 1329499541, 1329499535, 1329499544, 1329499538, 1329499549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.70027828216553 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:29:02.942417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/15/18/image_17012025_15_18_04_5023.jpg', '/media/data/images/17012025/15/17/image_17012025_15_17_59_6415.jpg', '/media/data/images/17012025/15/17/image_17012025_15_17_52_6418.jpg', '/media/data/images/17012025/15/17/image_17012025_15_17_46_5183.jpg', '/media/data/images/17012025/15/17/image_17012025_15_17_41_6408.jpg', '/media/data/images/17012025/15/17/image_17012025_15_17_34_6389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/15/18/image_17012025_15_18_04_5023.jpg
/media/data/images/17012025/15/17/image_17012025_15_17_59_6415.jpg
/media/data/images/17012025/15/17/image_17012025_15_17_52_6418.jpg
/media/data/images/17012025/15/17/image_17012025_15_17_46_5183.jpg
/media/data/images/17012025/15/17/image_17012025_15_17_41_6408.jpg
/media/data/images/17012025/15/17/image_17012025_15_17_34_6389.jpg
2025-01-17 15:29:02.950043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/15/18/image_17012025_15_18_04_5023.jpg', '/media/data/images/17012025/15/17/image_17012025_15_17_59_6415.jpg', '/media/data/images/17012025/15/17/image_17012025_15_17_52_6418.jpg', '/media/data/images/17012025/15/17/image_17012025_15_17_46_5183.jpg', '/media/data/images/17012025/15/17/image_17012025_15_17_41_6408.jpg', '/media/data/images/17012025/15/17/image_17012025_15_17_34_6389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/15/18/image_17012025_15_18_04_5023.jpg
/media/data/images/17012025/15/17/image_17012025_15_17_59_6415.jpg
/media/data/images/17012025/15/17/image_17012025_15_17_52_6418.jpg
/media/data/images/17012025/15/17/image_17012025_15_17_46_5183.jpg
/media/data/images/17012025/15/17/image_17012025_15_17_41_6408.jpg
/media/data/images/17012025/15/17/image_17012025_15_17_34_6389.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329499614","1329499594","1329499651","1329499633","1329499606","1329499641"],"photo_ids_order":["1329499594","1329499606","1329499614","1329499633","1329499641","1329499651"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5225860cd9a7d7671476d9217067f744.jpg","text":"TemporaryFile(/tmp/multipartBody6480070809591103952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124221791,"filename":"image_17012025_15_17_52_6418.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5739b578be241cf5f292b223f7c4e027.jpg","text":"TemporaryFile(/tmp/multipartBody3348212980956222004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124221791,"filename":"image_17012025_15_18_04_5023.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6636e4f137c1fb498fd3cc531051b102.jpg","text":"TemporaryFile(/tmp/multipartBody8058538437357335156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124221791,"filename":"image_17012025_15_17_34_6389.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b878e182cd4da1a73fbfe2092c988b43.jpg","text":"TemporaryFile(/tmp/multipartBody670008986300958402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124221791,"filename":"image_17012025_15_17_46_5183.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/581d634df2f4a11899d9dfd073369920.jpg","text":"TemporaryFile(/tmp/multipartBody8905181310556016616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124221791,"filename":"image_17012025_15_17_59_6415.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/23edc3345029d510d8a4192cc836a708.jpg","text":"TemporaryFile(/tmp/multipartBody6363591019749504488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124221791,"filename":"image_17012025_15_17_41_6408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329499614","file1":"1329499606","file0":"1329499594","file4":"1329499641","file5":"1329499651","file3":"1329499633"},"map_files_photo_id_array":[{"photo_id":"1329499651","filename":"file5"},{"photo_id":"1329499614","filename":"file2"},{"photo_id":"1329499641","filename":"file4"},{"photo_id":"1329499606","filename":"file1"},{"photo_id":"1329499594","filename":"file0"},{"photo_id":"1329499633","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329499614":["hashtag1","hashtag2"]},{"1329499594":["hashtag1","hashtag2"]},{"1329499651":["hashtag1","hashtag2"]},{"1329499633":["hashtag1","hashtag2"]},{"1329499606":["hashtag1","hashtag2"]},{"1329499641":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329499614, 1329499594, 1329499651, 1329499633, 1329499606, 1329499641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.14227056503296 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329499650","1329499629","1329499655","1329499601","1329499610","1329499635"],"photo_ids_order":["1329499601","1329499610","1329499629","1329499635","1329499650","1329499655"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2376c86e04ec401b213c1267e232996d.jpg","text":"TemporaryFile(/tmp/multipartBody2684934450099009980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124222669,"filename":"image_17012025_15_17_41_6408.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2d3474fef4b74c43c8e5dd803e4bd12b.jpg","text":"TemporaryFile(/tmp/multipartBody644443824710939659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124222669,"filename":"image_17012025_15_17_52_6418.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e76065b438e52bc8ce9e069b9be58ddd.jpg","text":"TemporaryFile(/tmp/multipartBody8619964014871941881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124222669,"filename":"image_17012025_15_17_34_6389.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/079acf0658898b6b365b879f5eab6668.jpg","text":"TemporaryFile(/tmp/multipartBody1468142107992254477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124222669,"filename":"image_17012025_15_18_04_5023.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/44dd3e33dbb1ca409b1bbc23178c4f76.jpg","text":"TemporaryFile(/tmp/multipartBody1647676264178941481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124222669,"filename":"image_17012025_15_17_59_6415.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3f149436d8e1147f466cbaf35e46e212.jpg","text":"TemporaryFile(/tmp/multipartBody6697003930144547965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124222669,"filename":"image_17012025_15_17_46_5183.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329499629","file1":"1329499610","file0":"1329499601","file4":"1329499650","file5":"1329499655","file3":"1329499635"},"map_files_photo_id_array":[{"photo_id":"1329499655","filename":"file5"},{"photo_id":"1329499629","filename":"file2"},{"photo_id":"1329499650","filename":"file4"},{"photo_id":"1329499610","filename":"file1"},{"photo_id":"1329499601","filename":"file0"},{"photo_id":"1329499635","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329499650":["hashtag1","hashtag2"]},{"1329499629":["hashtag1","hashtag2"]},{"1329499655":["hashtag1","hashtag2"]},{"1329499601":["hashtag1","hashtag2"]},{"1329499610":["hashtag1","hashtag2"]},{"1329499635":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329499650, 1329499629, 1329499655, 1329499601, 1329499610, 1329499635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.203444957733154 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:30:02.728627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/15/17/image_17012025_15_17_28_5234.jpg', '/media/data/images/17012025/15/17/image_17012025_15_17_23_6425.jpg', '/media/data/images/17012025/15/17/image_17012025_15_17_16_6426.jpg', '/media/data/images/17012025/15/17/image_17012025_15_17_10_5224.jpg', '/media/data/images/17012025/15/17/image_17012025_15_17_05_6203.jpg', '/media/data/images/17012025/15/16/image_17012025_15_16_58_6387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/15/17/image_17012025_15_17_28_5234.jpg
/media/data/images/17012025/15/17/image_17012025_15_17_23_6425.jpg
/media/data/images/17012025/15/17/image_17012025_15_17_16_6426.jpg
/media/data/images/17012025/15/17/image_17012025_15_17_10_5224.jpg
/media/data/images/17012025/15/17/image_17012025_15_17_05_6203.jpg
/media/data/images/17012025/15/16/image_17012025_15_16_58_6387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329499687","1329499684","1329499698","1329499692","1329499695","1329499680"],"photo_ids_order":["1329499680","1329499684","1329499687","1329499692","1329499695","1329499698"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bc93182e62963477044e8cbb917d338f.jpg","text":"TemporaryFile(/tmp/multipartBody3287609224210224146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124270288,"filename":"image_17012025_15_17_16_6426.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ffda737ab70f814bf334d45341f773ff.jpg","text":"TemporaryFile(/tmp/multipartBody3436432003799027296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124270288,"filename":"image_17012025_15_17_23_6425.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/47b217b945859eadae54ece24cd00bdb.jpg","text":"TemporaryFile(/tmp/multipartBody3741623328635297458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124270288,"filename":"image_17012025_15_16_58_6387.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4538a8910d4ebe66a44d08a3a1ebfd71.jpg","text":"TemporaryFile(/tmp/multipartBody7389384408586464204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124270288,"filename":"image_17012025_15_17_10_5224.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a625326f7bb34edab83fe078fe3bd4ad.jpg","text":"TemporaryFile(/tmp/multipartBody7653285965749446053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124270288,"filename":"image_17012025_15_17_05_6203.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f8868c0a517beee167ea01e97d58f14d.jpg","text":"TemporaryFile(/tmp/multipartBody6705899254891496832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124270288,"filename":"image_17012025_15_17_28_5234.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329499687","file1":"1329499684","file0":"1329499680","file4":"1329499695","file5":"1329499698","file3":"1329499692"},"map_files_photo_id_array":[{"photo_id":"1329499698","filename":"file5"},{"photo_id":"1329499687","filename":"file2"},{"photo_id":"1329499695","filename":"file4"},{"photo_id":"1329499684","filename":"file1"},{"photo_id":"1329499680","filename":"file0"},{"photo_id":"1329499692","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329499687":["hashtag1","hashtag2"]},{"1329499684":["hashtag1","hashtag2"]},{"1329499698":["hashtag1","hashtag2"]},{"1329499692":["hashtag1","hashtag2"]},{"1329499695":["hashtag1","hashtag2"]},{"1329499680":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329499687, 1329499684, 1329499698, 1329499692, 1329499695, 1329499680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.78977870941162 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:31:03.017130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/15/10/image_17012025_15_10_34_5351.jpg', '/media/data/images/17012025/15/10/image_17012025_15_10_10_5290.jpg', '/media/data/images/17012025/15/08/image_17012025_15_08_58_6548.jpg', '/media/data/images/17012025/15/08/image_17012025_15_08_46_6523.jpg', '/media/data/images/17012025/15/08/image_17012025_15_08_35_6521.jpg', '/media/data/images/17012025/15/08/image_17012025_15_08_28_5310.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/15/10/image_17012025_15_10_34_5351.jpg
/media/data/images/17012025/15/10/image_17012025_15_10_10_5290.jpg
/media/data/images/17012025/15/08/image_17012025_15_08_58_6548.jpg
/media/data/images/17012025/15/08/image_17012025_15_08_46_6523.jpg
/media/data/images/17012025/15/08/image_17012025_15_08_35_6521.jpg
/media/data/images/17012025/15/08/image_17012025_15_08_28_5310.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329499763","1329499772","1329499769","1329499744","1329499753","1329499749"],"photo_ids_order":["1329499744","1329499749","1329499753","1329499763","1329499769","1329499772"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d15495b4610987a0cbb11e112e854764.jpg","text":"TemporaryFile(/tmp/multipartBody2439381433648876913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124339984,"filename":"image_17012025_15_08_46_6523.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3414560ce5d130b7a131f8ebe74ccb80.jpg","text":"TemporaryFile(/tmp/multipartBody1258954205740510894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124339984,"filename":"image_17012025_15_08_28_5310.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/30469dbc7a8610a74b01409f5f3e3f15.jpg","text":"TemporaryFile(/tmp/multipartBody265056231318541071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124339984,"filename":"image_17012025_15_08_35_6521.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/18b15c43b02293f776012401eb42ec77.jpg","text":"TemporaryFile(/tmp/multipartBody5319256931690256232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124339984,"filename":"image_17012025_15_10_34_5351.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a4690c4ec8b80f7ade8371a2258d0e22.jpg","text":"TemporaryFile(/tmp/multipartBody8017064639292027929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124339984,"filename":"image_17012025_15_08_58_6548.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4f44ddc7c475c347e8d98d624825a81f.jpg","text":"TemporaryFile(/tmp/multipartBody3350593873342762347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124339984,"filename":"image_17012025_15_10_10_5290.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329499753","file1":"1329499749","file0":"1329499744","file4":"1329499769","file5":"1329499772","file3":"1329499763"},"map_files_photo_id_array":[{"photo_id":"1329499772","filename":"file5"},{"photo_id":"1329499753","filename":"file2"},{"photo_id":"1329499769","filename":"file4"},{"photo_id":"1329499749","filename":"file1"},{"photo_id":"1329499744","filename":"file0"},{"photo_id":"1329499763","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329499763":["hashtag1","hashtag2"]},{"1329499772":["hashtag1","hashtag2"]},{"1329499769":["hashtag1","hashtag2"]},{"1329499744":["hashtag1","hashtag2"]},{"1329499753":["hashtag1","hashtag2"]},{"1329499749":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329499763, 1329499772, 1329499769, 1329499744, 1329499753, 1329499749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.99607491493225 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:32:01.941783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/15/08/image_17012025_15_08_16_5300.jpg', '/media/data/images/17012025/15/08/image_17012025_15_08_11_6602.jpg', '/media/data/images/17012025/15/08/image_17012025_15_08_04_5479.jpg', '/media/data/images/17012025/15/07/image_17012025_15_07_52_6553.jpg', '/media/data/images/17012025/15/07/image_17012025_15_07_29_6520.jpg', '/media/data/images/17012025/15/07/image_17012025_15_07_22_5283.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/15/08/image_17012025_15_08_16_5300.jpg
/media/data/images/17012025/15/08/image_17012025_15_08_11_6602.jpg
/media/data/images/17012025/15/08/image_17012025_15_08_04_5479.jpg
/media/data/images/17012025/15/07/image_17012025_15_07_52_6553.jpg
/media/data/images/17012025/15/07/image_17012025_15_07_29_6520.jpg
/media/data/images/17012025/15/07/image_17012025_15_07_22_5283.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329499914","1329499830","1329499853","1329499867","1329499876","1329499872"],"photo_ids_order":["1329499830","1329499853","1329499867","1329499872","1329499876","1329499914"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/98eb760756b26983a8d531a289887846.jpg","text":"TemporaryFile(/tmp/multipartBody764868623788974885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124392279,"filename":"image_17012025_15_07_22_5283.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f9b20b0fa39392f7db1c4e3d341c4c62.jpg","text":"TemporaryFile(/tmp/multipartBody3811848519365649710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124392279,"filename":"image_17012025_15_08_16_5300.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dab22f9c1b126b8465060c931679ce0a.jpg","text":"TemporaryFile(/tmp/multipartBody5752869814887488034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124392279,"filename":"image_17012025_15_08_11_6602.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/17a79648f9d4955e58a8da7b9e93e4c4.jpg","text":"TemporaryFile(/tmp/multipartBody4481579670148832287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124392279,"filename":"image_17012025_15_08_04_5479.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6a546fe2f868f6aba64bc9868568adcc.jpg","text":"TemporaryFile(/tmp/multipartBody559795993532540467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124392279,"filename":"image_17012025_15_07_29_6520.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8a6a1fb93a4ceb8f44cdd784255fd344.jpg","text":"TemporaryFile(/tmp/multipartBody9219196509147753945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124392279,"filename":"image_17012025_15_07_52_6553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329499867","file1":"1329499853","file0":"1329499830","file4":"1329499876","file5":"1329499914","file3":"1329499872"},"map_files_photo_id_array":[{"photo_id":"1329499914","filename":"file5"},{"photo_id":"1329499867","filename":"file2"},{"photo_id":"1329499876","filename":"file4"},{"photo_id":"1329499853","filename":"file1"},{"photo_id":"1329499830","filename":"file0"},{"photo_id":"1329499872","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329499914":["hashtag1","hashtag2"]},{"1329499830":["hashtag1","hashtag2"]},{"1329499853":["hashtag1","hashtag2"]},{"1329499867":["hashtag1","hashtag2"]},{"1329499876":["hashtag1","hashtag2"]},{"1329499872":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329499914, 1329499830, 1329499853, 1329499867, 1329499876, 1329499872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.031160831451416 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:33:02.188250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/15/07/image_17012025_15_07_17_6544.jpg', '/media/data/images/17012025/15/06/image_17012025_15_06_59_6524.jpg', '/media/data/images/17012025/15/06/image_17012025_15_06_52_5312.jpg', '/media/data/images/17012025/15/06/image_17012025_15_06_47_6519.jpg', '/media/data/images/17012025/15/06/image_17012025_15_06_40_5287.jpg', '/media/data/images/17012025/15/06/image_17012025_15_06_35_6519.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/15/07/image_17012025_15_07_17_6544.jpg
/media/data/images/17012025/15/06/image_17012025_15_06_59_6524.jpg
/media/data/images/17012025/15/06/image_17012025_15_06_52_5312.jpg
/media/data/images/17012025/15/06/image_17012025_15_06_47_6519.jpg
/media/data/images/17012025/15/06/image_17012025_15_06_40_5287.jpg
/media/data/images/17012025/15/06/image_17012025_15_06_35_6519.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329499991","1329500012","1329500025","1329500019","1329500028","1329500022"],"photo_ids_order":["1329499991","1329500012","1329500019","1329500022","1329500025","1329500028"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/76350586a4373c6bfe99b000e437c502.jpg","text":"TemporaryFile(/tmp/multipartBody7145807046671806050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124450288,"filename":"image_17012025_15_07_17_6544.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e353e0a8823fb08c2c7baddf9b0a59d9.jpg","text":"TemporaryFile(/tmp/multipartBody8870632823951554001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124450288,"filename":"image_17012025_15_06_59_6524.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3e56f86f55e29657c2cfa81984de1228.jpg","text":"TemporaryFile(/tmp/multipartBody5476958531323534329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124450288,"filename":"image_17012025_15_06_40_5287.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e4ce6fd01471905b2c4c7c31dd8a9642.jpg","text":"TemporaryFile(/tmp/multipartBody8992753201043513383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124450288,"filename":"image_17012025_15_06_52_5312.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f49dca2d4667d1b89a27c0c045b51e72.jpg","text":"TemporaryFile(/tmp/multipartBody44586619291002493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124450288,"filename":"image_17012025_15_06_35_6519.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/96ffc9c0eb60751c0c3b6ed713188fb1.jpg","text":"TemporaryFile(/tmp/multipartBody4759488683796800328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124450288,"filename":"image_17012025_15_06_47_6519.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329500019","file1":"1329500012","file0":"1329499991","file4":"1329500025","file5":"1329500028","file3":"1329500022"},"map_files_photo_id_array":[{"photo_id":"1329500028","filename":"file5"},{"photo_id":"1329500019","filename":"file2"},{"photo_id":"1329500025","filename":"file4"},{"photo_id":"1329500012","filename":"file1"},{"photo_id":"1329499991","filename":"file0"},{"photo_id":"1329500022","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329499991":["hashtag1","hashtag2"]},{"1329500012":["hashtag1","hashtag2"]},{"1329500025":["hashtag1","hashtag2"]},{"1329500019":["hashtag1","hashtag2"]},{"1329500028":["hashtag1","hashtag2"]},{"1329500022":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329499991, 1329500012, 1329500025, 1329500019, 1329500028, 1329500022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.06082201004028 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:34:02.217592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/15/06/image_17012025_15_06_28_6509.jpg', '/media/data/images/17012025/15/06/image_17012025_15_06_17_6532.jpg', '/media/data/images/17012025/15/06/image_17012025_15_06_05_6339.jpg', '/media/data/images/17012025/15/05/image_17012025_15_05_52_5283.jpg', '/media/data/images/17012025/15/05/image_17012025_15_05_35_6511.jpg', '/media/data/images/17012025/15/05/image_17012025_15_05_22_5282.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/15/06/image_17012025_15_06_28_6509.jpg
/media/data/images/17012025/15/06/image_17012025_15_06_17_6532.jpg
/media/data/images/17012025/15/06/image_17012025_15_06_05_6339.jpg
/media/data/images/17012025/15/05/image_17012025_15_05_52_5283.jpg
/media/data/images/17012025/15/05/image_17012025_15_05_35_6511.jpg
/media/data/images/17012025/15/05/image_17012025_15_05_22_5282.jpg
2025-01-17 15:34:02.254994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/15/06/image_17012025_15_06_28_6509.jpg', '/media/data/images/17012025/15/06/image_17012025_15_06_17_6532.jpg', '/media/data/images/17012025/15/06/image_17012025_15_06_05_6339.jpg', '/media/data/images/17012025/15/05/image_17012025_15_05_52_5283.jpg', '/media/data/images/17012025/15/05/image_17012025_15_05_35_6511.jpg', '/media/data/images/17012025/15/05/image_17012025_15_05_22_5282.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/15/06/image_17012025_15_06_28_6509.jpg
/media/data/images/17012025/15/06/image_17012025_15_06_17_6532.jpg
/media/data/images/17012025/15/06/image_17012025_15_06_05_6339.jpg
/media/data/images/17012025/15/05/image_17012025_15_05_52_5283.jpg
/media/data/images/17012025/15/05/image_17012025_15_05_35_6511.jpg
/media/data/images/17012025/15/05/image_17012025_15_05_22_5282.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329500156","1329500154","1329500163","1329500151","1329500159","1329500103"],"photo_ids_order":["1329500103","1329500151","1329500154","1329500156","1329500159","1329500163"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/69d58d9385c2abf8913fe6d0cf3ef9ff.jpg","text":"TemporaryFile(/tmp/multipartBody691581486663300012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124517066,"filename":"image_17012025_15_05_52_5283.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/761376584a4fb7936b31ac80fef5a010.jpg","text":"TemporaryFile(/tmp/multipartBody6664967206619453211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124517066,"filename":"image_17012025_15_06_05_6339.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0638d15755c58e2c66340dae6b1ffb2a.jpg","text":"TemporaryFile(/tmp/multipartBody7107683296797055638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124517066,"filename":"image_17012025_15_05_22_5282.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5b1fd82afcc4df0fe055097ad01c9f4d.jpg","text":"TemporaryFile(/tmp/multipartBody7694590985434518545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124517066,"filename":"image_17012025_15_06_17_6532.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b2abd5c6272b950027d5a96eeffb8cea.jpg","text":"TemporaryFile(/tmp/multipartBody6284639647542762291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124517066,"filename":"image_17012025_15_05_35_6511.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e3f3ee2f8769279921650eaf23c988b1.jpg","text":"TemporaryFile(/tmp/multipartBody7107979641072160307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124517066,"filename":"image_17012025_15_06_28_6509.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329500154","file1":"1329500151","file0":"1329500103","file4":"1329500159","file5":"1329500163","file3":"1329500156"},"map_files_photo_id_array":[{"photo_id":"1329500163","filename":"file5"},{"photo_id":"1329500154","filename":"file2"},{"photo_id":"1329500159","filename":"file4"},{"photo_id":"1329500151","filename":"file1"},{"photo_id":"1329500103","filename":"file0"},{"photo_id":"1329500156","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329500156":["hashtag1","hashtag2"]},{"1329500154":["hashtag1","hashtag2"]},{"1329500163":["hashtag1","hashtag2"]},{"1329500151":["hashtag1","hashtag2"]},{"1329500159":["hashtag1","hashtag2"]},{"1329500103":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329500156, 1329500154, 1329500163, 1329500151, 1329500159, 1329500103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.97909879684448 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329500153","1329500161","1329500104","1329500157","1329500166","1329500150"],"photo_ids_order":["1329500104","1329500150","1329500153","1329500157","1329500161","1329500166"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bc947858535d3722ea9b240f6da805ef.jpg","text":"TemporaryFile(/tmp/multipartBody2363549176453058730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124517065,"filename":"image_17012025_15_06_05_6339.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d4923544be5abdcc896c17749b96a5f0.jpg","text":"TemporaryFile(/tmp/multipartBody8485727126090261416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124517065,"filename":"image_17012025_15_05_35_6511.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3b797a48739808e8ec7af16e7a6be333.jpg","text":"TemporaryFile(/tmp/multipartBody7178489551833671754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124517065,"filename":"image_17012025_15_06_28_6509.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c4b3ddb5736bd9537512965c42c946ff.jpg","text":"TemporaryFile(/tmp/multipartBody4483957205253680842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124517065,"filename":"image_17012025_15_05_52_5283.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5ca3e708318545bad53edaf2f455bd04.jpg","text":"TemporaryFile(/tmp/multipartBody6621630104556987493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124517065,"filename":"image_17012025_15_05_22_5282.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e9a370a40a725508a6321d4ceb43f7ab.jpg","text":"TemporaryFile(/tmp/multipartBody806563639942459421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124517065,"filename":"image_17012025_15_06_17_6532.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329500153","file1":"1329500150","file0":"1329500104","file4":"1329500161","file5":"1329500166","file3":"1329500157"},"map_files_photo_id_array":[{"photo_id":"1329500166","filename":"file5"},{"photo_id":"1329500153","filename":"file2"},{"photo_id":"1329500161","filename":"file4"},{"photo_id":"1329500150","filename":"file1"},{"photo_id":"1329500104","filename":"file0"},{"photo_id":"1329500157","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329500153":["hashtag1","hashtag2"]},{"1329500161":["hashtag1","hashtag2"]},{"1329500104":["hashtag1","hashtag2"]},{"1329500157":["hashtag1","hashtag2"]},{"1329500166":["hashtag1","hashtag2"]},{"1329500150":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329500153, 1329500161, 1329500104, 1329500157, 1329500166, 1329500150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.71747350692749 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:35:02.322605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/15/05/image_17012025_15_05_10_5287.jpg', '/media/data/images/17012025/15/04/image_17012025_15_04_35_6513.jpg', '/media/data/images/17012025/15/04/image_17012025_15_04_28_5281.jpg', '/media/data/images/17012025/15/04/image_17012025_15_04_23_6507.jpg', '/media/data/images/17012025/15/03/image_17012025_15_03_58_5285.jpg', '/media/data/images/17012025/15/03/image_17012025_15_03_52_6526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/15/05/image_17012025_15_05_10_5287.jpg
/media/data/images/17012025/15/04/image_17012025_15_04_35_6513.jpg
/media/data/images/17012025/15/04/image_17012025_15_04_28_5281.jpg
/media/data/images/17012025/15/04/image_17012025_15_04_23_6507.jpg
/media/data/images/17012025/15/03/image_17012025_15_03_58_5285.jpg
/media/data/images/17012025/15/03/image_17012025_15_03_52_6526.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329500200","1329500199","1329500196","1329500211","1329500208","1329500202"],"photo_ids_order":["1329500196","1329500199","1329500200","1329500202","1329500208","1329500211"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5b7abfcc26f732b6eb9cb8ff34c6c765.jpg","text":"TemporaryFile(/tmp/multipartBody9190269406785142478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124570889,"filename":"image_17012025_15_04_28_5281.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/afa78dff7c5159a627002a540a554a0d.jpg","text":"TemporaryFile(/tmp/multipartBody2965800084603606892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124570889,"filename":"image_17012025_15_04_35_6513.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/16643623d42a19e932780fc8e99c8c26.jpg","text":"TemporaryFile(/tmp/multipartBody6208935484082585649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124570889,"filename":"image_17012025_15_05_10_5287.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0388b86d5f0574cf80bc1548ccf66089.jpg","text":"TemporaryFile(/tmp/multipartBody9185206913966512809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124570889,"filename":"image_17012025_15_03_52_6526.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/72372e57799bb79a57d4bd95afaa0653.jpg","text":"TemporaryFile(/tmp/multipartBody1909759913211832955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124570889,"filename":"image_17012025_15_03_58_5285.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5aa48607e4481d459a1db86f4582e206.jpg","text":"TemporaryFile(/tmp/multipartBody8143740570438446823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124570889,"filename":"image_17012025_15_04_23_6507.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329500200","file1":"1329500199","file0":"1329500196","file4":"1329500208","file5":"1329500211","file3":"1329500202"},"map_files_photo_id_array":[{"photo_id":"1329500211","filename":"file5"},{"photo_id":"1329500200","filename":"file2"},{"photo_id":"1329500208","filename":"file4"},{"photo_id":"1329500199","filename":"file1"},{"photo_id":"1329500196","filename":"file0"},{"photo_id":"1329500202","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329500200":["hashtag1","hashtag2"]},{"1329500199":["hashtag1","hashtag2"]},{"1329500196":["hashtag1","hashtag2"]},{"1329500211":["hashtag1","hashtag2"]},{"1329500208":["hashtag1","hashtag2"]},{"1329500202":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329500200, 1329500199, 1329500196, 1329500211, 1329500208, 1329500202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.14552593231201 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:36:02.310946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/15/03/image_17012025_15_03_46_5314.jpg', '/media/data/images/17012025/15/03/image_17012025_15_03_41_6546.jpg', '/media/data/images/17012025/15/03/image_17012025_15_03_34_5310.jpg', '/media/data/images/17012025/15/03/image_17012025_15_03_29_6541.jpg', '/media/data/images/17012025/15/03/image_17012025_15_03_17_6526.jpg', '/media/data/images/17012025/15/03/image_17012025_15_03_10_6526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/15/03/image_17012025_15_03_46_5314.jpg
/media/data/images/17012025/15/03/image_17012025_15_03_41_6546.jpg
/media/data/images/17012025/15/03/image_17012025_15_03_34_5310.jpg
/media/data/images/17012025/15/03/image_17012025_15_03_29_6541.jpg
/media/data/images/17012025/15/03/image_17012025_15_03_17_6526.jpg
/media/data/images/17012025/15/03/image_17012025_15_03_10_6526.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329500252","1329500240","1329500245","1329500248","1329500265","1329500256"],"photo_ids_order":["1329500240","1329500245","1329500248","1329500252","1329500256","1329500265"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1f1c4d544f41e7185297a05125abddfe.jpg","text":"TemporaryFile(/tmp/multipartBody7855099163527907813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124630509,"filename":"image_17012025_15_03_29_6541.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5450f71203f3c5040b05b5197ebfcf80.jpg","text":"TemporaryFile(/tmp/multipartBody6991003693792509834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124630509,"filename":"image_17012025_15_03_46_5314.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d126e4e9fe264482bfc4ff2b692b3aac.jpg","text":"TemporaryFile(/tmp/multipartBody6546478087885782474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124630509,"filename":"image_17012025_15_03_41_6546.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8d63355f2d9e89ca7fd2247446eaf3ac.jpg","text":"TemporaryFile(/tmp/multipartBody4579442336910965732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124630509,"filename":"image_17012025_15_03_34_5310.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6833077bcddbd5f506cf908a1d7f728a.jpg","text":"TemporaryFile(/tmp/multipartBody3229321378845204723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124630509,"filename":"image_17012025_15_03_10_6526.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c0c009311863800128dd6327afa32cff.jpg","text":"TemporaryFile(/tmp/multipartBody848936492402327979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124630509,"filename":"image_17012025_15_03_17_6526.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329500248","file1":"1329500245","file0":"1329500240","file4":"1329500256","file5":"1329500265","file3":"1329500252"},"map_files_photo_id_array":[{"photo_id":"1329500265","filename":"file5"},{"photo_id":"1329500248","filename":"file2"},{"photo_id":"1329500256","filename":"file4"},{"photo_id":"1329500245","filename":"file1"},{"photo_id":"1329500240","filename":"file0"},{"photo_id":"1329500252","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329500252":["hashtag1","hashtag2"]},{"1329500240":["hashtag1","hashtag2"]},{"1329500245":["hashtag1","hashtag2"]},{"1329500248":["hashtag1","hashtag2"]},{"1329500265":["hashtag1","hashtag2"]},{"1329500256":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329500252, 1329500240, 1329500245, 1329500248, 1329500265, 1329500256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.61479330062866 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:37:02.531819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/15/03/image_17012025_15_03_04_5153.jpg', '/media/data/images/17012025/15/02/image_17012025_15_02_59_6516.jpg', '/media/data/images/17012025/15/02/image_17012025_15_02_52_5284.jpg', '/media/data/images/17012025/15/02/image_17012025_15_02_40_6515.jpg', '/media/data/images/17012025/15/02/image_17012025_15_02_29_6511.jpg', '/media/data/images/17012025/15/02/image_17012025_15_02_22_5283.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/15/03/image_17012025_15_03_04_5153.jpg
/media/data/images/17012025/15/02/image_17012025_15_02_59_6516.jpg
/media/data/images/17012025/15/02/image_17012025_15_02_52_5284.jpg
/media/data/images/17012025/15/02/image_17012025_15_02_40_6515.jpg
/media/data/images/17012025/15/02/image_17012025_15_02_29_6511.jpg
/media/data/images/17012025/15/02/image_17012025_15_02_22_5283.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329500336","1329500293","1329500389","1329500701","1329500508","1329500616"],"photo_ids_order":["1329500293","1329500336","1329500389","1329500508","1329500616","1329500701"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b16986f2dd64d8cf6da95f65df873623.jpg","text":"TemporaryFile(/tmp/multipartBody3596569621883086593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124692046,"filename":"image_17012025_15_02_59_6516.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8535ec82ba5f43451a74a3f2680b08fa.jpg","text":"TemporaryFile(/tmp/multipartBody5484176131926812355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124692046,"filename":"image_17012025_15_03_04_5153.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5e5ac43e3244b008437c9e66e1b794d1.jpg","text":"TemporaryFile(/tmp/multipartBody7309371738197430676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124692046,"filename":"image_17012025_15_02_52_5284.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/566e723030edb0dd9a5a0546f3421af6.jpg","text":"TemporaryFile(/tmp/multipartBody4395959887898665557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124692046,"filename":"image_17012025_15_02_22_5283.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/37385fe0e51516eaef3298d253a174f7.jpg","text":"TemporaryFile(/tmp/multipartBody1581753303560054888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124692046,"filename":"image_17012025_15_02_40_6515.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8ccbd43df9e1811582bf0fcdf67f8e9f.jpg","text":"TemporaryFile(/tmp/multipartBody877768143234834560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124692046,"filename":"image_17012025_15_02_29_6511.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329500389","file1":"1329500336","file0":"1329500293","file4":"1329500616","file5":"1329500701","file3":"1329500508"},"map_files_photo_id_array":[{"photo_id":"1329500701","filename":"file5"},{"photo_id":"1329500389","filename":"file2"},{"photo_id":"1329500616","filename":"file4"},{"photo_id":"1329500336","filename":"file1"},{"photo_id":"1329500293","filename":"file0"},{"photo_id":"1329500508","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329500336":["hashtag1","hashtag2"]},{"1329500293":["hashtag1","hashtag2"]},{"1329500389":["hashtag1","hashtag2"]},{"1329500701":["hashtag1","hashtag2"]},{"1329500508":["hashtag1","hashtag2"]},{"1329500616":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329500336, 1329500293, 1329500389, 1329500701, 1329500508, 1329500616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.76052665710449 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:38:02.540928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/15/00/image_17012025_15_00_46_5314.jpg', '/media/data/images/17012025/15/00/image_17012025_15_00_41_6547.jpg', '/media/data/images/17012025/15/00/image_17012025_15_00_34_6532.jpg', '/media/data/images/17012025/15/00/image_17012025_15_00_22_6571.jpg', '/media/data/images/17012025/15/00/image_17012025_15_00_04_5146.jpg', '/media/data/images/17012025/14/59/image_17012025_14_59_40_6517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/15/00/image_17012025_15_00_46_5314.jpg
/media/data/images/17012025/15/00/image_17012025_15_00_41_6547.jpg
/media/data/images/17012025/15/00/image_17012025_15_00_34_6532.jpg
/media/data/images/17012025/15/00/image_17012025_15_00_22_6571.jpg
/media/data/images/17012025/15/00/image_17012025_15_00_04_5146.jpg
/media/data/images/17012025/14/59/image_17012025_14_59_40_6517.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329501379","1329501376","1329501369","1329501372","1329501354","1329501365"],"photo_ids_order":["1329501354","1329501365","1329501369","1329501372","1329501376","1329501379"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fd5be2459b7bc7d253ded3de3ccbacbd.jpg","text":"TemporaryFile(/tmp/multipartBody7253427967690985350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124750134,"filename":"image_17012025_14_59_40_6517.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9f35b2beb7ebeb4c640c1838140fe633.jpg","text":"TemporaryFile(/tmp/multipartBody8872393299481266847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124750134,"filename":"image_17012025_15_00_04_5146.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/05ff1497aaebe7dab62bb96459b4497d.jpg","text":"TemporaryFile(/tmp/multipartBody4775143518113696056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124750134,"filename":"image_17012025_15_00_34_6532.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/990bf8092eec33d3626a5099df6df267.jpg","text":"TemporaryFile(/tmp/multipartBody4697560579787623649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124750134,"filename":"image_17012025_15_00_22_6571.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bc98563934422d4df9a088fcd1bac343.jpg","text":"TemporaryFile(/tmp/multipartBody4601178401665913200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124750134,"filename":"image_17012025_15_00_46_5314.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/30283571eb4280a9351c4697c23417ff.jpg","text":"TemporaryFile(/tmp/multipartBody8218273330374479775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124750134,"filename":"image_17012025_15_00_41_6547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329501369","file1":"1329501365","file0":"1329501354","file4":"1329501376","file5":"1329501379","file3":"1329501372"},"map_files_photo_id_array":[{"photo_id":"1329501379","filename":"file5"},{"photo_id":"1329501369","filename":"file2"},{"photo_id":"1329501376","filename":"file4"},{"photo_id":"1329501365","filename":"file1"},{"photo_id":"1329501354","filename":"file0"},{"photo_id":"1329501372","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329501379":["hashtag1","hashtag2"]},{"1329501376":["hashtag1","hashtag2"]},{"1329501369":["hashtag1","hashtag2"]},{"1329501372":["hashtag1","hashtag2"]},{"1329501354":["hashtag1","hashtag2"]},{"1329501365":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329501379, 1329501376, 1329501369, 1329501372, 1329501354, 1329501365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.624690771102905 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
 val : 1 : upload photos already in processing! 
2025-01-17 15:39:02.717007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/59/image_17012025_14_59_34_5281.jpg', '/media/data/images/17012025/14/59/image_17012025_14_59_22_5283.jpg', '/media/data/images/17012025/14/59/image_17012025_14_59_10_6525.jpg', '/media/data/images/17012025/14/59/image_17012025_14_59_04_5083.jpg', '/media/data/images/17012025/14/58/image_17012025_14_58_40_6515.jpg', '/media/data/images/17012025/14/58/image_17012025_14_58_34_5282.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/59/image_17012025_14_59_34_5281.jpg
/media/data/images/17012025/14/59/image_17012025_14_59_22_5283.jpg
/media/data/images/17012025/14/59/image_17012025_14_59_10_6525.jpg
/media/data/images/17012025/14/59/image_17012025_14_59_04_5083.jpg
/media/data/images/17012025/14/58/image_17012025_14_58_40_6515.jpg
/media/data/images/17012025/14/58/image_17012025_14_58_34_5282.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329501710","1329501409","1329501412","1329501406","1329501576","1329501404"],"photo_ids_order":["1329501404","1329501406","1329501409","1329501412","1329501576","1329501710"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1e84874973ea24cfd77e70a2637060a5.jpg","text":"TemporaryFile(/tmp/multipartBody3275602190987515329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124815583,"filename":"image_17012025_14_58_34_5282.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/977e9977568e5f3bb48fe6449008d61e.jpg","text":"TemporaryFile(/tmp/multipartBody2510038687904126310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124815583,"filename":"image_17012025_14_59_10_6525.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fea1228d7cca4db6ffce4b58f0297571.jpg","text":"TemporaryFile(/tmp/multipartBody1740086659737784150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124815583,"filename":"image_17012025_14_59_04_5083.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ad06269d46c7dd92ee056296418014a6.jpg","text":"TemporaryFile(/tmp/multipartBody1480053385870798901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124815583,"filename":"image_17012025_14_59_22_5283.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/971535438011dbdc488ee2cf5c65f48d.jpg","text":"TemporaryFile(/tmp/multipartBody6798093009367071477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124815583,"filename":"image_17012025_14_58_40_6515.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b62c8aac0ccd9c74bca1f5d617916aa9.jpg","text":"TemporaryFile(/tmp/multipartBody2830292921284722399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124815583,"filename":"image_17012025_14_59_34_5281.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329501409","file1":"1329501406","file0":"1329501404","file4":"1329501576","file5":"1329501710","file3":"1329501412"},"map_files_photo_id_array":[{"photo_id":"1329501710","filename":"file5"},{"photo_id":"1329501409","filename":"file2"},{"photo_id":"1329501576","filename":"file4"},{"photo_id":"1329501406","filename":"file1"},{"photo_id":"1329501404","filename":"file0"},{"photo_id":"1329501412","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329501710":["hashtag1","hashtag2"]},{"1329501409":["hashtag1","hashtag2"]},{"1329501412":["hashtag1","hashtag2"]},{"1329501406":["hashtag1","hashtag2"]},{"1329501576":["hashtag1","hashtag2"]},{"1329501404":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329501710, 1329501409, 1329501412, 1329501406, 1329501576, 1329501404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.64807629585266 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:40:02.700759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/58/image_17012025_14_58_17_6523.jpg', '/media/data/images/17012025/14/56/image_17012025_14_56_47_6564.jpg', '/media/data/images/17012025/14/56/image_17012025_14_56_40_5319.jpg', '/media/data/images/17012025/14/56/image_17012025_14_56_35_6514.jpg', '/media/data/images/17012025/14/56/image_17012025_14_56_10_5342.jpg', '/media/data/images/17012025/14/56/image_17012025_14_56_04_6313.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/58/image_17012025_14_58_17_6523.jpg
/media/data/images/17012025/14/56/image_17012025_14_56_47_6564.jpg
/media/data/images/17012025/14/56/image_17012025_14_56_40_5319.jpg
/media/data/images/17012025/14/56/image_17012025_14_56_35_6514.jpg
/media/data/images/17012025/14/56/image_17012025_14_56_10_5342.jpg
/media/data/images/17012025/14/56/image_17012025_14_56_04_6313.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329501961","1329501877","1329501996","1329501879","1329501894","1329501875"],"photo_ids_order":["1329501875","1329501877","1329501879","1329501894","1329501961","1329501996"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/96a1ae4d3193cc0bf87422cbfd2aef6c.jpg","text":"TemporaryFile(/tmp/multipartBody376500294169096671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124872665,"filename":"image_17012025_14_56_10_5342.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3a7c5258af342222abf383fcfe6277c3.jpg","text":"TemporaryFile(/tmp/multipartBody3926342689399597849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124872665,"filename":"image_17012025_14_56_47_6564.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a5362df5cdb2cbde392d5182de68627b.jpg","text":"TemporaryFile(/tmp/multipartBody526791409897923431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124872665,"filename":"image_17012025_14_56_04_6313.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5cc8c4a0d8b5bc7fac309947273bd0dc.jpg","text":"TemporaryFile(/tmp/multipartBody7672433788720396772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124872665,"filename":"image_17012025_14_56_40_5319.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5b4c07efbf6f20537e82228880580b8e.jpg","text":"TemporaryFile(/tmp/multipartBody7899816780258001437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124872665,"filename":"image_17012025_14_56_35_6514.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5c08f6cc57b137ef820880cc5077e274.jpg","text":"TemporaryFile(/tmp/multipartBody1733263963262325408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124872665,"filename":"image_17012025_14_58_17_6523.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329501879","file1":"1329501877","file0":"1329501875","file4":"1329501961","file5":"1329501996","file3":"1329501894"},"map_files_photo_id_array":[{"photo_id":"1329501996","filename":"file5"},{"photo_id":"1329501879","filename":"file2"},{"photo_id":"1329501961","filename":"file4"},{"photo_id":"1329501877","filename":"file1"},{"photo_id":"1329501875","filename":"file0"},{"photo_id":"1329501894","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329501961":["hashtag1","hashtag2"]},{"1329501877":["hashtag1","hashtag2"]},{"1329501996":["hashtag1","hashtag2"]},{"1329501879":["hashtag1","hashtag2"]},{"1329501894":["hashtag1","hashtag2"]},{"1329501875":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329501961, 1329501877, 1329501996, 1329501879, 1329501894, 1329501875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.01605558395386 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:41:02.890167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/55/image_17012025_14_55_53_6516.jpg', '/media/data/images/17012025/14/55/image_17012025_14_55_46_6515.jpg', '/media/data/images/17012025/14/55/image_17012025_14_55_40_5284.jpg', '/media/data/images/17012025/14/55/image_17012025_14_55_35_6520.jpg', '/media/data/images/17012025/14/55/image_17012025_14_55_28_5284.jpg', '/media/data/images/17012025/14/55/image_17012025_14_55_23_6521.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/55/image_17012025_14_55_53_6516.jpg
/media/data/images/17012025/14/55/image_17012025_14_55_46_6515.jpg
/media/data/images/17012025/14/55/image_17012025_14_55_40_5284.jpg
/media/data/images/17012025/14/55/image_17012025_14_55_35_6520.jpg
/media/data/images/17012025/14/55/image_17012025_14_55_28_5284.jpg
/media/data/images/17012025/14/55/image_17012025_14_55_23_6521.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329502126","1329502113","1329502110","1329502130","1329502127","1329502106"],"photo_ids_order":["1329502106","1329502110","1329502113","1329502126","1329502127","1329502130"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5a6ee8f9100c77eb3af9e76d7640d43d.jpg","text":"TemporaryFile(/tmp/multipartBody9207033368281404414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124937287,"filename":"image_17012025_14_55_35_6520.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2028694a3c29e623dfa30cd969d6cf13.jpg","text":"TemporaryFile(/tmp/multipartBody5054575791516805799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124937287,"filename":"image_17012025_14_55_40_5284.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4e0ddb03a734dd53b0cc17a5ac8a6645.jpg","text":"TemporaryFile(/tmp/multipartBody8058206427110788713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124937287,"filename":"image_17012025_14_55_46_6515.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/25754f4f1c079d7be470fd9ebe5dc769.jpg","text":"TemporaryFile(/tmp/multipartBody7623681485825631721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124937287,"filename":"image_17012025_14_55_23_6521.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/05b1125246ab05ed9aca702aca63f29d.jpg","text":"TemporaryFile(/tmp/multipartBody1846523653306402906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124937287,"filename":"image_17012025_14_55_28_5284.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2bb85e86bd0d0a8d812f633e2a8f1db0.jpg","text":"TemporaryFile(/tmp/multipartBody2055123269029260351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124937287,"filename":"image_17012025_14_55_53_6516.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329502113","file1":"1329502110","file0":"1329502106","file4":"1329502127","file5":"1329502130","file3":"1329502126"},"map_files_photo_id_array":[{"photo_id":"1329502130","filename":"file5"},{"photo_id":"1329502113","filename":"file2"},{"photo_id":"1329502127","filename":"file4"},{"photo_id":"1329502110","filename":"file1"},{"photo_id":"1329502106","filename":"file0"},{"photo_id":"1329502126","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329502126":["hashtag1","hashtag2"]},{"1329502113":["hashtag1","hashtag2"]},{"1329502110":["hashtag1","hashtag2"]},{"1329502130":["hashtag1","hashtag2"]},{"1329502127":["hashtag1","hashtag2"]},{"1329502106":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329502126, 1329502113, 1329502110, 1329502130, 1329502127, 1329502106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.89492082595825 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:42:02.828065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/55/image_17012025_14_55_16_6524.jpg', '/media/data/images/17012025/14/55/image_17012025_14_55_10_5287.jpg', '/media/data/images/17012025/14/54/image_17012025_14_55_04_6740.jpg', '/media/data/images/17012025/14/54/image_17012025_14_54_58_5315.jpg', '/media/data/images/17012025/14/54/image_17012025_14_54_52_6545.jpg', '/media/data/images/17012025/14/54/image_17012025_14_54_41_6584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/55/image_17012025_14_55_16_6524.jpg
/media/data/images/17012025/14/55/image_17012025_14_55_10_5287.jpg
/media/data/images/17012025/14/54/image_17012025_14_55_04_6740.jpg
/media/data/images/17012025/14/54/image_17012025_14_54_58_5315.jpg
/media/data/images/17012025/14/54/image_17012025_14_54_52_6545.jpg
/media/data/images/17012025/14/54/image_17012025_14_54_41_6584.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329502174","1329502162","1329502166","1329502177","1329502171","1329502159"],"photo_ids_order":["1329502159","1329502162","1329502166","1329502171","1329502174","1329502177"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0b08e564ddeb9054269a539682f8e5c1.jpg","text":"TemporaryFile(/tmp/multipartBody4051140202655168741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124991142,"filename":"image_17012025_14_54_52_6545.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c8cce4bf3072a607a8765911dbbe092e.jpg","text":"TemporaryFile(/tmp/multipartBody3615654045609235515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124991142,"filename":"image_17012025_14_55_10_5287.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/10ad7ffaeb15c90e70648eaf12658d96.jpg","text":"TemporaryFile(/tmp/multipartBody994676583452416827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124991142,"filename":"image_17012025_14_55_04_6740.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9a4b4bc56d5bcaedac1970b4a924cede.jpg","text":"TemporaryFile(/tmp/multipartBody8983011406719068193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124991142,"filename":"image_17012025_14_54_41_6584.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/13834a49a1acb15e4f784016fef82536.jpg","text":"TemporaryFile(/tmp/multipartBody882672182246654932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124991142,"filename":"image_17012025_14_54_58_5315.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f6dfded6a3adff7927c3b5133aeb6bf1.jpg","text":"TemporaryFile(/tmp/multipartBody4557537090686426913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737124991142,"filename":"image_17012025_14_55_16_6524.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329502166","file1":"1329502162","file0":"1329502159","file4":"1329502174","file5":"1329502177","file3":"1329502171"},"map_files_photo_id_array":[{"photo_id":"1329502177","filename":"file5"},{"photo_id":"1329502166","filename":"file2"},{"photo_id":"1329502174","filename":"file4"},{"photo_id":"1329502162","filename":"file1"},{"photo_id":"1329502159","filename":"file0"},{"photo_id":"1329502171","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329502174":["hashtag1","hashtag2"]},{"1329502162":["hashtag1","hashtag2"]},{"1329502166":["hashtag1","hashtag2"]},{"1329502177":["hashtag1","hashtag2"]},{"1329502171":["hashtag1","hashtag2"]},{"1329502159":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329502174, 1329502162, 1329502166, 1329502177, 1329502171, 1329502159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.348511934280396 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:43:02.139131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/54/image_17012025_14_54_22_5316.jpg', '/media/data/images/17012025/14/53/image_17012025_14_53_16_6549.jpg', '/media/data/images/17012025/14/53/image_17012025_14_53_10_5271.jpg', '/media/data/images/17012025/14/53/image_17012025_14_53_05_6312.jpg', '/media/data/images/17012025/14/52/image_17012025_14_52_58_6505.jpg', '/media/data/images/17012025/14/52/image_17012025_14_52_52_5294.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/54/image_17012025_14_54_22_5316.jpg
/media/data/images/17012025/14/53/image_17012025_14_53_16_6549.jpg
/media/data/images/17012025/14/53/image_17012025_14_53_10_5271.jpg
/media/data/images/17012025/14/53/image_17012025_14_53_05_6312.jpg
/media/data/images/17012025/14/52/image_17012025_14_52_58_6505.jpg
/media/data/images/17012025/14/52/image_17012025_14_52_52_5294.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329502321","1329502296","1329502284","1329502302","1329502292","1329502310"],"photo_ids_order":["1329502284","1329502292","1329502296","1329502302","1329502310","1329502321"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/25f726e1cd0f17b581fe78ca7fa294c1.jpg","text":"TemporaryFile(/tmp/multipartBody8908805453638851035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125050164,"filename":"image_17012025_14_52_52_5294.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4d96e9e0c8d3d3d4a841a67d8920b0cf.jpg","text":"TemporaryFile(/tmp/multipartBody4642989074978795740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125050164,"filename":"image_17012025_14_53_10_5271.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9c7542307828af9ea9f8f55e77d470af.jpg","text":"TemporaryFile(/tmp/multipartBody4051254002342515698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125050164,"filename":"image_17012025_14_54_22_5316.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2905f353b70168a2454199d306afd2ef.jpg","text":"TemporaryFile(/tmp/multipartBody5069105388508340613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125050164,"filename":"image_17012025_14_53_05_6312.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b68927bfda137549ecf43c79aeacf49b.jpg","text":"TemporaryFile(/tmp/multipartBody1050811898387304492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125050164,"filename":"image_17012025_14_53_16_6549.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d4509ea319003597b93c914f38bfcdb0.jpg","text":"TemporaryFile(/tmp/multipartBody6718416508246706365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125050164,"filename":"image_17012025_14_52_58_6505.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329502296","file1":"1329502292","file0":"1329502284","file4":"1329502310","file5":"1329502321","file3":"1329502302"},"map_files_photo_id_array":[{"photo_id":"1329502321","filename":"file5"},{"photo_id":"1329502296","filename":"file2"},{"photo_id":"1329502310","filename":"file4"},{"photo_id":"1329502292","filename":"file1"},{"photo_id":"1329502284","filename":"file0"},{"photo_id":"1329502302","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329502321":["hashtag1","hashtag2"]},{"1329502296":["hashtag1","hashtag2"]},{"1329502284":["hashtag1","hashtag2"]},{"1329502302":["hashtag1","hashtag2"]},{"1329502292":["hashtag1","hashtag2"]},{"1329502310":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329502321, 1329502296, 1329502284, 1329502302, 1329502292, 1329502310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.634233236312866 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:44:02.239872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/52/image_17012025_14_52_46_6525.jpg', '/media/data/images/17012025/14/52/image_17012025_14_52_40_5296.jpg', '/media/data/images/17012025/14/52/image_17012025_14_52_35_6506.jpg', '/media/data/images/17012025/14/52/image_17012025_14_52_28_5288.jpg', '/media/data/images/17012025/14/52/image_17012025_14_52_23_6503.jpg', '/media/data/images/17012025/14/52/image_17012025_14_52_16_6501.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/52/image_17012025_14_52_46_6525.jpg
/media/data/images/17012025/14/52/image_17012025_14_52_40_5296.jpg
/media/data/images/17012025/14/52/image_17012025_14_52_35_6506.jpg
/media/data/images/17012025/14/52/image_17012025_14_52_28_5288.jpg
/media/data/images/17012025/14/52/image_17012025_14_52_23_6503.jpg
/media/data/images/17012025/14/52/image_17012025_14_52_16_6501.jpg
2025-01-17 15:44:02.268302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/52/image_17012025_14_52_46_6525.jpg', '/media/data/images/17012025/14/52/image_17012025_14_52_40_5296.jpg', '/media/data/images/17012025/14/52/image_17012025_14_52_35_6506.jpg', '/media/data/images/17012025/14/52/image_17012025_14_52_28_5288.jpg', '/media/data/images/17012025/14/52/image_17012025_14_52_23_6503.jpg', '/media/data/images/17012025/14/52/image_17012025_14_52_16_6501.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/52/image_17012025_14_52_46_6525.jpg
/media/data/images/17012025/14/52/image_17012025_14_52_40_5296.jpg
/media/data/images/17012025/14/52/image_17012025_14_52_35_6506.jpg
/media/data/images/17012025/14/52/image_17012025_14_52_28_5288.jpg
/media/data/images/17012025/14/52/image_17012025_14_52_23_6503.jpg
/media/data/images/17012025/14/52/image_17012025_14_52_16_6501.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329502546","1329502531","1329502488","1329502539","1329502500","1329502492"],"photo_ids_order":["1329502488","1329502492","1329502500","1329502531","1329502539","1329502546"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b6094019798ab47925f0e8c3c1e19050.jpg","text":"TemporaryFile(/tmp/multipartBody1164557367265756478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125114297,"filename":"image_17012025_14_52_16_6501.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e7bcc8345146e6229adff27b1afa29d0.jpg","text":"TemporaryFile(/tmp/multipartBody5713146926900067494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125114297,"filename":"image_17012025_14_52_28_5288.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ec5ca68537e71b77073b3c112919cd61.jpg","text":"TemporaryFile(/tmp/multipartBody5800420403844000288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125114297,"filename":"image_17012025_14_52_46_6525.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5d9054679780286f2dfe58b84603c099.jpg","text":"TemporaryFile(/tmp/multipartBody1483075126996840292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125114297,"filename":"image_17012025_14_52_23_6503.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/951042388b4ea74ae37ac7dc6177f181.jpg","text":"TemporaryFile(/tmp/multipartBody5582532359836206839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125114297,"filename":"image_17012025_14_52_35_6506.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/664211f6aeda78d045a81fe8b7e79c37.jpg","text":"TemporaryFile(/tmp/multipartBody3044058063220587531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125114297,"filename":"image_17012025_14_52_40_5296.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329502500","file1":"1329502492","file0":"1329502488","file4":"1329502539","file5":"1329502546","file3":"1329502531"},"map_files_photo_id_array":[{"photo_id":"1329502546","filename":"file5"},{"photo_id":"1329502500","filename":"file2"},{"photo_id":"1329502539","filename":"file4"},{"photo_id":"1329502492","filename":"file1"},{"photo_id":"1329502488","filename":"file0"},{"photo_id":"1329502531","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329502546":["hashtag1","hashtag2"]},{"1329502531":["hashtag1","hashtag2"]},{"1329502488":["hashtag1","hashtag2"]},{"1329502539":["hashtag1","hashtag2"]},{"1329502500":["hashtag1","hashtag2"]},{"1329502492":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329502546, 1329502531, 1329502488, 1329502539, 1329502500, 1329502492)","result":[],"list_datou_current":[]}'
Result OK !
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329502497","1329502491","1329502533","1329502545","1329502487","1329502540"],"photo_ids_order":["1329502487","1329502491","1329502497","1329502533","1329502540","1329502545"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ed99b75e13a2d0e9388493ced48ea301.jpg","text":"TemporaryFile(/tmp/multipartBody5390229394048410589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125113978,"filename":"image_17012025_14_52_35_6506.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1b1be97f73c99ad4c58637a4f0585fc1.jpg","text":"TemporaryFile(/tmp/multipartBody2294783730847911366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125113978,"filename":"image_17012025_14_52_40_5296.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0150b2c613bc93aaa8364779152b8bbf.jpg","text":"TemporaryFile(/tmp/multipartBody7315572831197957577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125113978,"filename":"image_17012025_14_52_28_5288.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4879117b2c2ece6846017132762ddc34.jpg","text":"TemporaryFile(/tmp/multipartBody6676528883737035099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125113978,"filename":"image_17012025_14_52_16_6501.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/62e123d4ea2d79b0a6156c8e8571cdc1.jpg","text":"TemporaryFile(/tmp/multipartBody4353472627423080404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125113978,"filename":"image_17012025_14_52_46_6525.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0d16e9d92f17a6751d20c3bb6d8513e1.jpg","text":"TemporaryFile(/tmp/multipartBody7765000835292514139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125113978,"filename":"image_17012025_14_52_23_6503.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329502497","file1":"1329502491","file0":"1329502487","file4":"1329502540","file5":"1329502545","file3":"1329502533"},"map_files_photo_id_array":[{"photo_id":"1329502545","filename":"file5"},{"photo_id":"1329502497","filename":"file2"},{"photo_id":"1329502540","filename":"file4"},{"photo_id":"1329502491","filename":"file1"},{"photo_id":"1329502487","filename":"file0"},{"photo_id":"1329502533","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329502497":["hashtag1","hashtag2"]},{"1329502491":["hashtag1","hashtag2"]},{"1329502533":["hashtag1","hashtag2"]},{"1329502545":["hashtag1","hashtag2"]},{"1329502487":["hashtag1","hashtag2"]},{"1329502540":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329502497, 1329502491, 1329502533, 1329502545, 1329502487, 1329502540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.63755536079407 secondes ---
uploaded 6 photos
time to upload: 68.62825965881348 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:45:21.998631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/52/image_17012025_14_52_10_5240.jpg', '/media/data/images/17012025/14/51/image_17012025_14_52_05_6483.jpg', '/media/data/images/17012025/14/51/image_17012025_14_51_58_5265.jpg', '/media/data/images/17012025/14/51/image_17012025_14_51_53_6539.jpg', '/media/data/images/17012025/14/51/image_17012025_14_51_46_6538.jpg', '/media/data/images/17012025/14/51/image_17012025_14_51_40_5277.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/52/image_17012025_14_52_10_5240.jpg
/media/data/images/17012025/14/51/image_17012025_14_52_05_6483.jpg
/media/data/images/17012025/14/51/image_17012025_14_51_58_5265.jpg
/media/data/images/17012025/14/51/image_17012025_14_51_53_6539.jpg
/media/data/images/17012025/14/51/image_17012025_14_51_46_6538.jpg
/media/data/images/17012025/14/51/image_17012025_14_51_40_5277.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329502579","1329502603","1329502732","1329502677","1329502590","1329502751"],"photo_ids_order":["1329502579","1329502590","1329502603","1329502677","1329502732","1329502751"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/adad6358e09d859d7b71eeeebc33e9e9.jpg","text":"TemporaryFile(/tmp/multipartBody800118477061807411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125188436,"filename":"image_17012025_14_52_10_5240.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/90c46945922156de844b706bbd6b1640.jpg","text":"TemporaryFile(/tmp/multipartBody6368534913516785689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125188436,"filename":"image_17012025_14_51_58_5265.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8b5c2c993e208ac49d1497e099763ead.jpg","text":"TemporaryFile(/tmp/multipartBody5177912557637867753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125188436,"filename":"image_17012025_14_51_46_6538.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9dd8acace5b310e15f116924bbe44274.jpg","text":"TemporaryFile(/tmp/multipartBody1422299971507900415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125188436,"filename":"image_17012025_14_51_53_6539.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/eb9ba571cc70c528fb3092184bbafce6.jpg","text":"TemporaryFile(/tmp/multipartBody1876335133594521808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125188436,"filename":"image_17012025_14_52_05_6483.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ef422423635054390b1511e2f394f547.jpg","text":"TemporaryFile(/tmp/multipartBody3822514922582186340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125188436,"filename":"image_17012025_14_51_40_5277.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329502603","file1":"1329502590","file0":"1329502579","file4":"1329502732","file5":"1329502751","file3":"1329502677"},"map_files_photo_id_array":[{"photo_id":"1329502751","filename":"file5"},{"photo_id":"1329502603","filename":"file2"},{"photo_id":"1329502732","filename":"file4"},{"photo_id":"1329502590","filename":"file1"},{"photo_id":"1329502579","filename":"file0"},{"photo_id":"1329502677","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329502579":["hashtag1","hashtag2"]},{"1329502603":["hashtag1","hashtag2"]},{"1329502732":["hashtag1","hashtag2"]},{"1329502677":["hashtag1","hashtag2"]},{"1329502590":["hashtag1","hashtag2"]},{"1329502751":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329502579, 1329502603, 1329502732, 1329502677, 1329502590, 1329502751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.19373297691345 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:46:02.229782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/51/image_17012025_14_51_28_5267.jpg', '/media/data/images/17012025/14/51/image_17012025_14_51_23_6466.jpg', '/media/data/images/17012025/14/51/image_17012025_14_51_16_6456.jpg', '/media/data/images/17012025/14/51/image_17012025_14_51_10_5280.jpg', '/media/data/images/17012025/14/50/image_17012025_14_50_58_6502.jpg', '/media/data/images/17012025/14/50/image_17012025_14_50_47_6486.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/51/image_17012025_14_51_28_5267.jpg
/media/data/images/17012025/14/51/image_17012025_14_51_23_6466.jpg
/media/data/images/17012025/14/51/image_17012025_14_51_16_6456.jpg
/media/data/images/17012025/14/51/image_17012025_14_51_10_5280.jpg
/media/data/images/17012025/14/50/image_17012025_14_50_58_6502.jpg
/media/data/images/17012025/14/50/image_17012025_14_50_47_6486.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329502831","1329502860","1329502812","1329502856","1329502844","1329502817"],"photo_ids_order":["1329502812","1329502817","1329502831","1329502844","1329502856","1329502860"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9c1dcb8bb3e594d19a26332e61dd9e8b.jpg","text":"TemporaryFile(/tmp/multipartBody6691173210086689421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125229984,"filename":"image_17012025_14_51_16_6456.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bc8434ca6d40573eb5759d354fd2b852.jpg","text":"TemporaryFile(/tmp/multipartBody2403422866218593074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125229984,"filename":"image_17012025_14_50_47_6486.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1c1807f416aabd91dd534da958741b5c.jpg","text":"TemporaryFile(/tmp/multipartBody6927802903850919879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125229984,"filename":"image_17012025_14_51_28_5267.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8be854191714f2e99c241a5622a2cf57.jpg","text":"TemporaryFile(/tmp/multipartBody9084142555355041677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125229984,"filename":"image_17012025_14_50_58_6502.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e8648162d9feafac315a2530a1156f3c.jpg","text":"TemporaryFile(/tmp/multipartBody6006831022082007668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125229984,"filename":"image_17012025_14_51_10_5280.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e48af474150adae72d3d226c83d3ef49.jpg","text":"TemporaryFile(/tmp/multipartBody30726138501579595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125229984,"filename":"image_17012025_14_51_23_6466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329502831","file1":"1329502817","file0":"1329502812","file4":"1329502856","file5":"1329502860","file3":"1329502844"},"map_files_photo_id_array":[{"photo_id":"1329502860","filename":"file5"},{"photo_id":"1329502831","filename":"file2"},{"photo_id":"1329502856","filename":"file4"},{"photo_id":"1329502817","filename":"file1"},{"photo_id":"1329502812","filename":"file0"},{"photo_id":"1329502844","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329502831":["hashtag1","hashtag2"]},{"1329502860":["hashtag1","hashtag2"]},{"1329502812":["hashtag1","hashtag2"]},{"1329502856":["hashtag1","hashtag2"]},{"1329502844":["hashtag1","hashtag2"]},{"1329502817":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329502831, 1329502860, 1329502812, 1329502856, 1329502844, 1329502817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.68483591079712 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:47:02.437076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/50/image_17012025_14_50_35_6499.jpg', '/media/data/images/17012025/14/49/image_17012025_14_49_52_6395.jpg', '/media/data/images/17012025/14/49/image_17012025_14_49_46_5175.jpg', '/media/data/images/17012025/14/49/image_17012025_14_49_41_6416.jpg', '/media/data/images/17012025/14/49/image_17012025_14_49_34_6430.jpg', '/media/data/images/17012025/14/49/image_17012025_14_49_28_5181.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/50/image_17012025_14_50_35_6499.jpg
/media/data/images/17012025/14/49/image_17012025_14_49_52_6395.jpg
/media/data/images/17012025/14/49/image_17012025_14_49_46_5175.jpg
/media/data/images/17012025/14/49/image_17012025_14_49_41_6416.jpg
/media/data/images/17012025/14/49/image_17012025_14_49_34_6430.jpg
/media/data/images/17012025/14/49/image_17012025_14_49_28_5181.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329502921","1329502900","1329502911","1329502908","1329502892","1329502889"],"photo_ids_order":["1329502889","1329502892","1329502900","1329502908","1329502911","1329502921"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e197a9d603828dbc3e1b51b4c7c5f454.jpg","text":"TemporaryFile(/tmp/multipartBody4860975986981395976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125294181,"filename":"image_17012025_14_49_28_5181.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e4f4b7754e37ab41ee6086f4eab4245b.jpg","text":"TemporaryFile(/tmp/multipartBody938707773102651950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125294181,"filename":"image_17012025_14_49_46_5175.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5a43a9df7848153a2b278d50da9536f2.jpg","text":"TemporaryFile(/tmp/multipartBody687943229784055337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125294181,"filename":"image_17012025_14_49_34_6430.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/298eb5ed0e28853518157723a0e89260.jpg","text":"TemporaryFile(/tmp/multipartBody7021411757640901441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125294181,"filename":"image_17012025_14_49_41_6416.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/51b7f87907974bc893c6c35a43835ac5.jpg","text":"TemporaryFile(/tmp/multipartBody2553538751965082271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125294181,"filename":"image_17012025_14_49_52_6395.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/35de7be23ccf7f9e2e5ffb9e61b9adcd.jpg","text":"TemporaryFile(/tmp/multipartBody4373399561966028672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125294181,"filename":"image_17012025_14_50_35_6499.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329502900","file1":"1329502892","file0":"1329502889","file4":"1329502911","file5":"1329502921","file3":"1329502908"},"map_files_photo_id_array":[{"photo_id":"1329502921","filename":"file5"},{"photo_id":"1329502900","filename":"file2"},{"photo_id":"1329502911","filename":"file4"},{"photo_id":"1329502892","filename":"file1"},{"photo_id":"1329502889","filename":"file0"},{"photo_id":"1329502908","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329502921":["hashtag1","hashtag2"]},{"1329502900":["hashtag1","hashtag2"]},{"1329502911":["hashtag1","hashtag2"]},{"1329502908":["hashtag1","hashtag2"]},{"1329502892":["hashtag1","hashtag2"]},{"1329502889":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329502921, 1329502900, 1329502911, 1329502908, 1329502892, 1329502889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.319416999816895 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:48:02.357292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/49/image_17012025_14_49_23_6380.jpg', '/media/data/images/17012025/14/49/image_17012025_14_49_16_6399.jpg', '/media/data/images/17012025/14/49/image_17012025_14_49_10_6233.jpg', '/media/data/images/17012025/14/49/image_17012025_14_49_04_5023.jpg', '/media/data/images/17012025/14/48/image_17012025_14_48_59_6449.jpg', '/media/data/images/17012025/14/48/image_17012025_14_48_52_6457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/49/image_17012025_14_49_23_6380.jpg
/media/data/images/17012025/14/49/image_17012025_14_49_16_6399.jpg
/media/data/images/17012025/14/49/image_17012025_14_49_10_6233.jpg
/media/data/images/17012025/14/49/image_17012025_14_49_04_5023.jpg
/media/data/images/17012025/14/48/image_17012025_14_48_59_6449.jpg
/media/data/images/17012025/14/48/image_17012025_14_48_52_6457.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329503004","1329502971","1329503016","1329503012","1329502963","1329502966"],"photo_ids_order":["1329502963","1329502966","1329502971","1329503004","1329503012","1329503016"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5a281c0228100d5c6a6eb9678b8b83f2.jpg","text":"TemporaryFile(/tmp/multipartBody5498654676094188659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125349156,"filename":"image_17012025_14_49_04_5023.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9fe6fde25d7bef0a1a819459fbe6b9ff.jpg","text":"TemporaryFile(/tmp/multipartBody8691458320410548203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125349156,"filename":"image_17012025_14_49_10_6233.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/678d7b9531e0896c6199f9ff23d33a7e.jpg","text":"TemporaryFile(/tmp/multipartBody4940716682473314067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125349156,"filename":"image_17012025_14_48_52_6457.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8570ef87fc01d8d8a3b57a1124f3e3ea.jpg","text":"TemporaryFile(/tmp/multipartBody5377270474679222719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125349156,"filename":"image_17012025_14_48_59_6449.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/06cca5153e1ac64ad624f14094985b38.jpg","text":"TemporaryFile(/tmp/multipartBody5339636870685057813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125349156,"filename":"image_17012025_14_49_23_6380.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/169ffa4f9a3c241aa5c2a2710affeaba.jpg","text":"TemporaryFile(/tmp/multipartBody7880165447512546560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125349156,"filename":"image_17012025_14_49_16_6399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329502971","file1":"1329502966","file0":"1329502963","file4":"1329503012","file5":"1329503016","file3":"1329503004"},"map_files_photo_id_array":[{"photo_id":"1329503016","filename":"file5"},{"photo_id":"1329502971","filename":"file2"},{"photo_id":"1329503012","filename":"file4"},{"photo_id":"1329502966","filename":"file1"},{"photo_id":"1329502963","filename":"file0"},{"photo_id":"1329503004","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329503004":["hashtag1","hashtag2"]},{"1329502971":["hashtag1","hashtag2"]},{"1329503016":["hashtag1","hashtag2"]},{"1329503012":["hashtag1","hashtag2"]},{"1329502963":["hashtag1","hashtag2"]},{"1329502966":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329503004, 1329502971, 1329503016, 1329503012, 1329502963, 1329502966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.329901933670044 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:49:02.826213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/48/image_17012025_14_48_46_5191.jpg', '/media/data/images/17012025/14/48/image_17012025_14_48_41_6419.jpg', '/media/data/images/17012025/14/48/image_17012025_14_48_34_6412.jpg', '/media/data/images/17012025/14/48/image_17012025_14_48_28_5176.jpg', '/media/data/images/17012025/14/48/image_17012025_14_48_23_6397.jpg', '/media/data/images/17012025/14/48/image_17012025_14_48_16_6386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/48/image_17012025_14_48_46_5191.jpg
/media/data/images/17012025/14/48/image_17012025_14_48_41_6419.jpg
/media/data/images/17012025/14/48/image_17012025_14_48_34_6412.jpg
/media/data/images/17012025/14/48/image_17012025_14_48_28_5176.jpg
/media/data/images/17012025/14/48/image_17012025_14_48_23_6397.jpg
/media/data/images/17012025/14/48/image_17012025_14_48_16_6386.jpg
2025-01-17 15:49:02.944332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/48/image_17012025_14_48_46_5191.jpg', '/media/data/images/17012025/14/48/image_17012025_14_48_41_6419.jpg', '/media/data/images/17012025/14/48/image_17012025_14_48_34_6412.jpg', '/media/data/images/17012025/14/48/image_17012025_14_48_28_5176.jpg', '/media/data/images/17012025/14/48/image_17012025_14_48_23_6397.jpg', '/media/data/images/17012025/14/48/image_17012025_14_48_16_6386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/48/image_17012025_14_48_46_5191.jpg
/media/data/images/17012025/14/48/image_17012025_14_48_41_6419.jpg
/media/data/images/17012025/14/48/image_17012025_14_48_34_6412.jpg
/media/data/images/17012025/14/48/image_17012025_14_48_28_5176.jpg
/media/data/images/17012025/14/48/image_17012025_14_48_23_6397.jpg
/media/data/images/17012025/14/48/image_17012025_14_48_16_6386.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329503124","1329503133","1329503112","1329503115","1329503119","1329503128"],"photo_ids_order":["1329503112","1329503115","1329503119","1329503124","1329503128","1329503133"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bc77b747a8e40e5204399eab7100610c.jpg","text":"TemporaryFile(/tmp/multipartBody3065740429066863935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125414061,"filename":"image_17012025_14_48_28_5176.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a91090e538a7e0ae3d164a3e08f1286b.jpg","text":"TemporaryFile(/tmp/multipartBody6602922512749318591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125414061,"filename":"image_17012025_14_48_16_6386.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/262765000052a539977d25744ca21bf8.jpg","text":"TemporaryFile(/tmp/multipartBody7553335220501043912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125414061,"filename":"image_17012025_14_48_46_5191.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fc1d4d52cd21efe93f6232ef9f37e3af.jpg","text":"TemporaryFile(/tmp/multipartBody6231656923513228091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125414061,"filename":"image_17012025_14_48_41_6419.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c9aaa0b00885edbddef524f2d9425ac0.jpg","text":"TemporaryFile(/tmp/multipartBody3930245709143337463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125414061,"filename":"image_17012025_14_48_34_6412.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bef636296fb11d7931970cb4c534b625.jpg","text":"TemporaryFile(/tmp/multipartBody3602929093074055764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125414061,"filename":"image_17012025_14_48_23_6397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329503119","file1":"1329503115","file0":"1329503112","file4":"1329503128","file5":"1329503133","file3":"1329503124"},"map_files_photo_id_array":[{"photo_id":"1329503133","filename":"file5"},{"photo_id":"1329503119","filename":"file2"},{"photo_id":"1329503128","filename":"file4"},{"photo_id":"1329503115","filename":"file1"},{"photo_id":"1329503112","filename":"file0"},{"photo_id":"1329503124","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329503124":["hashtag1","hashtag2"]},{"1329503133":["hashtag1","hashtag2"]},{"1329503112":["hashtag1","hashtag2"]},{"1329503115":["hashtag1","hashtag2"]},{"1329503119":["hashtag1","hashtag2"]},{"1329503128":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329503124, 1329503133, 1329503112, 1329503115, 1329503119, 1329503128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.47728633880615 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329503116","1329503129","1329503120","1329503114","1329503123","1329503134"],"photo_ids_order":["1329503114","1329503116","1329503120","1329503123","1329503129","1329503134"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/555f15456306f67b22cbaa7d949046fa.jpg","text":"TemporaryFile(/tmp/multipartBody837887385703931169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125413944,"filename":"image_17012025_14_48_41_6419.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ca1871197dcbcfb470a5134a337d577b.jpg","text":"TemporaryFile(/tmp/multipartBody4585070459718284156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125413944,"filename":"image_17012025_14_48_23_6397.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2b8cd890544637b5cac21c982be53a8a.jpg","text":"TemporaryFile(/tmp/multipartBody6124631237456548551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125413944,"filename":"image_17012025_14_48_34_6412.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e98eea1090010d4ae522b9394c57c7c8.jpg","text":"TemporaryFile(/tmp/multipartBody8319771973011483559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125413944,"filename":"image_17012025_14_48_46_5191.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1939de18817e5638bf3fa097bf903b1d.jpg","text":"TemporaryFile(/tmp/multipartBody4727711816564115853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125413944,"filename":"image_17012025_14_48_28_5176.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0dd977b565c0ef7bb68cc1391b0c77ce.jpg","text":"TemporaryFile(/tmp/multipartBody6568896138155464610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125413944,"filename":"image_17012025_14_48_16_6386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329503120","file1":"1329503116","file0":"1329503114","file4":"1329503129","file5":"1329503134","file3":"1329503123"},"map_files_photo_id_array":[{"photo_id":"1329503134","filename":"file5"},{"photo_id":"1329503120","filename":"file2"},{"photo_id":"1329503129","filename":"file4"},{"photo_id":"1329503116","filename":"file1"},{"photo_id":"1329503114","filename":"file0"},{"photo_id":"1329503123","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329503116":["hashtag1","hashtag2"]},{"1329503129":["hashtag1","hashtag2"]},{"1329503120":["hashtag1","hashtag2"]},{"1329503114":["hashtag1","hashtag2"]},{"1329503123":["hashtag1","hashtag2"]},{"1329503134":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329503116, 1329503129, 1329503120, 1329503114, 1329503123, 1329503134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.84374475479126 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:50:02.560394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/48/image_17012025_14_48_10_5154.jpg', '/media/data/images/17012025/14/48/image_17012025_14_48_05_6178.jpg', '/media/data/images/17012025/14/47/image_17012025_14_47_59_6382.jpg', '/media/data/images/17012025/14/47/image_17012025_14_47_52_6390.jpg', '/media/data/images/17012025/14/47/image_17012025_14_47_46_5167.jpg', '/media/data/images/17012025/14/47/image_17012025_14_47_41_6385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/48/image_17012025_14_48_10_5154.jpg
/media/data/images/17012025/14/48/image_17012025_14_48_05_6178.jpg
/media/data/images/17012025/14/47/image_17012025_14_47_59_6382.jpg
/media/data/images/17012025/14/47/image_17012025_14_47_52_6390.jpg
/media/data/images/17012025/14/47/image_17012025_14_47_46_5167.jpg
/media/data/images/17012025/14/47/image_17012025_14_47_41_6385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329503360","1329503444","1329503432","1329503416","1329503230","1329503311"],"photo_ids_order":["1329503230","1329503311","1329503360","1329503416","1329503432","1329503444"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c85c22ffd1d3bb4e04c4f1bf26eb6f69.jpg","text":"TemporaryFile(/tmp/multipartBody6981928406167261284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125467789,"filename":"image_17012025_14_47_59_6382.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2a57285cc6943993d8067b68416e9527.jpg","text":"TemporaryFile(/tmp/multipartBody5756700322910778713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125467789,"filename":"image_17012025_14_47_41_6385.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1dcdcbd8c42e897764424fb94f35e5b0.jpg","text":"TemporaryFile(/tmp/multipartBody6361908600636043162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125467789,"filename":"image_17012025_14_47_46_5167.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e1c359967fd096022adf6933106ac6e7.jpg","text":"TemporaryFile(/tmp/multipartBody3302311695994447260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125467789,"filename":"image_17012025_14_47_52_6390.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a3e39aee8011e975ee265eab15bfd650.jpg","text":"TemporaryFile(/tmp/multipartBody3972556539910817953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125467789,"filename":"image_17012025_14_48_10_5154.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7456c873823f84695ee970aaf8935f4e.jpg","text":"TemporaryFile(/tmp/multipartBody3384246946459981976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125467789,"filename":"image_17012025_14_48_05_6178.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329503360","file1":"1329503311","file0":"1329503230","file4":"1329503432","file5":"1329503444","file3":"1329503416"},"map_files_photo_id_array":[{"photo_id":"1329503444","filename":"file5"},{"photo_id":"1329503360","filename":"file2"},{"photo_id":"1329503432","filename":"file4"},{"photo_id":"1329503311","filename":"file1"},{"photo_id":"1329503230","filename":"file0"},{"photo_id":"1329503416","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329503360":["hashtag1","hashtag2"]},{"1329503444":["hashtag1","hashtag2"]},{"1329503432":["hashtag1","hashtag2"]},{"1329503416":["hashtag1","hashtag2"]},{"1329503230":["hashtag1","hashtag2"]},{"1329503311":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329503360, 1329503444, 1329503432, 1329503416, 1329503230, 1329503311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.29905033111572 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:51:02.829616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/47/image_17012025_14_47_34_6399.jpg', '/media/data/images/17012025/14/47/image_17012025_14_47_28_5186.jpg', '/media/data/images/17012025/14/47/image_17012025_14_47_23_6344.jpg', '/media/data/images/17012025/14/47/image_17012025_14_47_16_6350.jpg', '/media/data/images/17012025/14/47/image_17012025_14_47_10_5172.jpg', '/media/data/images/17012025/14/47/image_17012025_14_47_05_6192.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/47/image_17012025_14_47_34_6399.jpg
/media/data/images/17012025/14/47/image_17012025_14_47_28_5186.jpg
/media/data/images/17012025/14/47/image_17012025_14_47_23_6344.jpg
/media/data/images/17012025/14/47/image_17012025_14_47_16_6350.jpg
/media/data/images/17012025/14/47/image_17012025_14_47_10_5172.jpg
/media/data/images/17012025/14/47/image_17012025_14_47_05_6192.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329503512","1329503508","1329503502","1329503505","1329503534","1329503528"],"photo_ids_order":["1329503502","1329503505","1329503508","1329503512","1329503528","1329503534"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4e1169fb5514d0e39a22e33eccaf3b98.jpg","text":"TemporaryFile(/tmp/multipartBody4743307683332260531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125527348,"filename":"image_17012025_14_47_16_6350.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/10f802178615640647f8c3a22fc242e1.jpg","text":"TemporaryFile(/tmp/multipartBody332912268151963062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125527348,"filename":"image_17012025_14_47_23_6344.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3a54a55da01dbe5208b80d361ab46a29.jpg","text":"TemporaryFile(/tmp/multipartBody7025777221783030545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125527348,"filename":"image_17012025_14_47_34_6399.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/26be722186a9c5d8cd60d2da07bc7d1f.jpg","text":"TemporaryFile(/tmp/multipartBody7771448647673854451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125527348,"filename":"image_17012025_14_47_28_5186.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a484d1fb8eafae779043400aa01da73a.jpg","text":"TemporaryFile(/tmp/multipartBody2744990478433237325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125527348,"filename":"image_17012025_14_47_05_6192.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7b458cc6ad81ad6cf468603153545b33.jpg","text":"TemporaryFile(/tmp/multipartBody7060536869512901283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125527348,"filename":"image_17012025_14_47_10_5172.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329503508","file1":"1329503505","file0":"1329503502","file4":"1329503528","file5":"1329503534","file3":"1329503512"},"map_files_photo_id_array":[{"photo_id":"1329503534","filename":"file5"},{"photo_id":"1329503508","filename":"file2"},{"photo_id":"1329503528","filename":"file4"},{"photo_id":"1329503505","filename":"file1"},{"photo_id":"1329503502","filename":"file0"},{"photo_id":"1329503512","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329503512":["hashtag1","hashtag2"]},{"1329503508":["hashtag1","hashtag2"]},{"1329503502":["hashtag1","hashtag2"]},{"1329503505":["hashtag1","hashtag2"]},{"1329503534":["hashtag1","hashtag2"]},{"1329503528":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329503512, 1329503508, 1329503502, 1329503505, 1329503534, 1329503528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.63879680633545 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:52:02.720652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/46/image_17012025_14_46_59_6407.jpg', '/media/data/images/17012025/14/46/image_17012025_14_46_52_6470.jpg', '/media/data/images/17012025/14/46/image_17012025_14_46_46_5181.jpg', '/media/data/images/17012025/14/46/image_17012025_14_46_05_6185.jpg', '/media/data/images/17012025/14/45/image_17012025_14_45_58_6391.jpg', '/media/data/images/17012025/14/45/image_17012025_14_45_52_5181.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/46/image_17012025_14_46_59_6407.jpg
/media/data/images/17012025/14/46/image_17012025_14_46_52_6470.jpg
/media/data/images/17012025/14/46/image_17012025_14_46_46_5181.jpg
/media/data/images/17012025/14/46/image_17012025_14_46_05_6185.jpg
/media/data/images/17012025/14/45/image_17012025_14_45_58_6391.jpg
/media/data/images/17012025/14/45/image_17012025_14_45_52_5181.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329503574","1329503565","1329503616","1329503576","1329503570","1329503572"],"photo_ids_order":["1329503565","1329503570","1329503572","1329503574","1329503576","1329503616"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/46b9fb5793d5324c7856135df536a099.jpg","text":"TemporaryFile(/tmp/multipartBody2484806852642663518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125586657,"filename":"image_17012025_14_46_05_6185.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d5391eaae4da01ec5e1ce57d4859cb23.jpg","text":"TemporaryFile(/tmp/multipartBody3465987265706004356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125586657,"filename":"image_17012025_14_46_59_6407.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3d814835dd647bc411b24b9f57cfe730.jpg","text":"TemporaryFile(/tmp/multipartBody7956664303337190536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125586657,"filename":"image_17012025_14_45_52_5181.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8228baff42aeb6045394f987df8ab335.jpg","text":"TemporaryFile(/tmp/multipartBody7279409368013348046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125586657,"filename":"image_17012025_14_45_58_6391.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a5bd21d8b70457b971d788348a4c135b.jpg","text":"TemporaryFile(/tmp/multipartBody4588047053830238839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125586657,"filename":"image_17012025_14_46_52_6470.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2aaa9fe47dec9022875f739a9902b296.jpg","text":"TemporaryFile(/tmp/multipartBody7059397259775358035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125586657,"filename":"image_17012025_14_46_46_5181.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329503572","file1":"1329503570","file0":"1329503565","file4":"1329503576","file5":"1329503616","file3":"1329503574"},"map_files_photo_id_array":[{"photo_id":"1329503616","filename":"file5"},{"photo_id":"1329503572","filename":"file2"},{"photo_id":"1329503576","filename":"file4"},{"photo_id":"1329503570","filename":"file1"},{"photo_id":"1329503565","filename":"file0"},{"photo_id":"1329503574","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329503574":["hashtag1","hashtag2"]},{"1329503565":["hashtag1","hashtag2"]},{"1329503616":["hashtag1","hashtag2"]},{"1329503576":["hashtag1","hashtag2"]},{"1329503570":["hashtag1","hashtag2"]},{"1329503572":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329503574, 1329503565, 1329503616, 1329503576, 1329503570, 1329503572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.24850296974182 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:52:42.600064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/45/image_17012025_14_45_47_6379.jpg', '/media/data/images/17012025/14/45/image_17012025_14_45_40_6383.jpg', '/media/data/images/17012025/14/45/image_17012025_14_45_34_6389.jpg', '/media/data/images/17012025/14/45/image_17012025_14_45_28_5183.jpg', '/media/data/images/17012025/14/45/image_17012025_14_45_23_6385.jpg', '/media/data/images/17012025/14/45/image_17012025_14_45_16_6380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/45/image_17012025_14_45_47_6379.jpg
/media/data/images/17012025/14/45/image_17012025_14_45_40_6383.jpg
/media/data/images/17012025/14/45/image_17012025_14_45_34_6389.jpg
/media/data/images/17012025/14/45/image_17012025_14_45_28_5183.jpg
/media/data/images/17012025/14/45/image_17012025_14_45_23_6385.jpg
/media/data/images/17012025/14/45/image_17012025_14_45_16_6380.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329503704","1329503694","1329503697","1329503675","1329503723","1329503665"],"photo_ids_order":["1329503665","1329503675","1329503694","1329503697","1329503704","1329503723"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cc33571abd46c58772698bafb6645769.jpg","text":"TemporaryFile(/tmp/multipartBody1806320745957521220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125626859,"filename":"image_17012025_14_45_23_6385.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b47d92dcdb46bac576a49cdab1d5825c.jpg","text":"TemporaryFile(/tmp/multipartBody7021632110283515929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125626859,"filename":"image_17012025_14_45_34_6389.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d307385648bcddc65d9994fe74aca798.jpg","text":"TemporaryFile(/tmp/multipartBody8099889972112476294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125626859,"filename":"image_17012025_14_45_28_5183.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fb37e9c5b5bb026d29d50ea6e75574cc.jpg","text":"TemporaryFile(/tmp/multipartBody3824050393505380798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125626859,"filename":"image_17012025_14_45_40_6383.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/273ef00f7183927114230d49cae5d11d.jpg","text":"TemporaryFile(/tmp/multipartBody5697293004291926743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125626859,"filename":"image_17012025_14_45_16_6380.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/81dfa50bd9ced7984fe3eaeb3766e8c6.jpg","text":"TemporaryFile(/tmp/multipartBody7079369553492739449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125626859,"filename":"image_17012025_14_45_47_6379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329503694","file1":"1329503675","file0":"1329503665","file4":"1329503704","file5":"1329503723","file3":"1329503697"},"map_files_photo_id_array":[{"photo_id":"1329503723","filename":"file5"},{"photo_id":"1329503694","filename":"file2"},{"photo_id":"1329503704","filename":"file4"},{"photo_id":"1329503675","filename":"file1"},{"photo_id":"1329503665","filename":"file0"},{"photo_id":"1329503697","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329503704":["hashtag1","hashtag2"]},{"1329503694":["hashtag1","hashtag2"]},{"1329503697":["hashtag1","hashtag2"]},{"1329503675":["hashtag1","hashtag2"]},{"1329503723":["hashtag1","hashtag2"]},{"1329503665":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329503704, 1329503694, 1329503697, 1329503675, 1329503723, 1329503665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.230042457580566 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:53:22.694553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/45/image_17012025_14_45_10_5187.jpg', '/media/data/images/17012025/14/44/image_17012025_14_45_05_6407.jpg', '/media/data/images/17012025/14/44/image_17012025_14_44_58_6401.jpg', '/media/data/images/17012025/14/44/image_17012025_14_44_52_5170.jpg', '/media/data/images/17012025/14/44/image_17012025_14_44_47_6404.jpg', '/media/data/images/17012025/14/44/image_17012025_14_44_40_6428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/45/image_17012025_14_45_10_5187.jpg
/media/data/images/17012025/14/44/image_17012025_14_45_05_6407.jpg
/media/data/images/17012025/14/44/image_17012025_14_44_58_6401.jpg
/media/data/images/17012025/14/44/image_17012025_14_44_52_5170.jpg
/media/data/images/17012025/14/44/image_17012025_14_44_47_6404.jpg
/media/data/images/17012025/14/44/image_17012025_14_44_40_6428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329503787","1329503748","1329503792","1329503776","1329503761","1329503752"],"photo_ids_order":["1329503748","1329503752","1329503761","1329503776","1329503787","1329503792"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/18a0b8ea9527109fe13a43e006dd3a0c.jpg","text":"TemporaryFile(/tmp/multipartBody7957233451408099983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125667135,"filename":"image_17012025_14_44_47_6404.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4bdbf3c5bbe052e9b72167e2b65e6967.jpg","text":"TemporaryFile(/tmp/multipartBody5993572059622163917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125667135,"filename":"image_17012025_14_45_10_5187.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f3b59b24d4ec77436d3278d3747c9d65.jpg","text":"TemporaryFile(/tmp/multipartBody4558867794480046999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125667135,"filename":"image_17012025_14_44_40_6428.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/764c910fdb854017f215e99e5209e102.jpg","text":"TemporaryFile(/tmp/multipartBody156569925760103165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125667135,"filename":"image_17012025_14_44_52_5170.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/20c4715fdbf2f542bdce7b3b2019d142.jpg","text":"TemporaryFile(/tmp/multipartBody6900439556218243666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125667135,"filename":"image_17012025_14_44_58_6401.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/407d8353836787047c36c7e1bffdae15.jpg","text":"TemporaryFile(/tmp/multipartBody7090774188632652124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125667135,"filename":"image_17012025_14_45_05_6407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329503761","file1":"1329503752","file0":"1329503748","file4":"1329503787","file5":"1329503792","file3":"1329503776"},"map_files_photo_id_array":[{"photo_id":"1329503792","filename":"file5"},{"photo_id":"1329503761","filename":"file2"},{"photo_id":"1329503787","filename":"file4"},{"photo_id":"1329503752","filename":"file1"},{"photo_id":"1329503748","filename":"file0"},{"photo_id":"1329503776","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329503787":["hashtag1","hashtag2"]},{"1329503748":["hashtag1","hashtag2"]},{"1329503792":["hashtag1","hashtag2"]},{"1329503776":["hashtag1","hashtag2"]},{"1329503761":["hashtag1","hashtag2"]},{"1329503752":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329503787, 1329503748, 1329503792, 1329503776, 1329503761, 1329503752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.8225531578064 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:54:21.780304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/44/image_17012025_14_44_34_5192.jpg', '/media/data/images/17012025/14/44/image_17012025_14_44_29_6422.jpg', '/media/data/images/17012025/14/44/image_17012025_14_44_22_6441.jpg', '/media/data/images/17012025/14/44/image_17012025_14_44_16_5185.jpg', '/media/data/images/17012025/14/44/image_17012025_14_44_11_6395.jpg', '/media/data/images/17012025/14/43/image_17012025_14_44_04_6419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/44/image_17012025_14_44_34_5192.jpg
/media/data/images/17012025/14/44/image_17012025_14_44_29_6422.jpg
/media/data/images/17012025/14/44/image_17012025_14_44_22_6441.jpg
/media/data/images/17012025/14/44/image_17012025_14_44_16_5185.jpg
/media/data/images/17012025/14/44/image_17012025_14_44_11_6395.jpg
/media/data/images/17012025/14/43/image_17012025_14_44_04_6419.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329503902","1329503894","1329503907","1329503891","1329503887","1329503898"],"photo_ids_order":["1329503887","1329503891","1329503894","1329503898","1329503902","1329503907"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/88f2b0e9dd838be138a2467e2150fe17.jpg","text":"TemporaryFile(/tmp/multipartBody4819446754860033645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125727007,"filename":"image_17012025_14_44_11_6395.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/da83f5064746a54d7da2dd3943a82010.jpg","text":"TemporaryFile(/tmp/multipartBody3764133190478252057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125727007,"filename":"image_17012025_14_44_22_6441.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7e1e44983787fb2550a354057b0e33bc.jpg","text":"TemporaryFile(/tmp/multipartBody2959493203389124794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125727007,"filename":"image_17012025_14_44_04_6419.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/769b0d1595a9aed626136e88612884ab.jpg","text":"TemporaryFile(/tmp/multipartBody4996889132335658030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125727007,"filename":"image_17012025_14_44_29_6422.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d19d68cffbe2e5ae304e3bed49ef0060.jpg","text":"TemporaryFile(/tmp/multipartBody1998299523171360984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125727007,"filename":"image_17012025_14_44_34_5192.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2c4d67944667757ece16113ece6e62ff.jpg","text":"TemporaryFile(/tmp/multipartBody1281009752368118499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125727007,"filename":"image_17012025_14_44_16_5185.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329503894","file1":"1329503891","file0":"1329503887","file4":"1329503902","file5":"1329503907","file3":"1329503898"},"map_files_photo_id_array":[{"photo_id":"1329503907","filename":"file5"},{"photo_id":"1329503894","filename":"file2"},{"photo_id":"1329503902","filename":"file4"},{"photo_id":"1329503891","filename":"file1"},{"photo_id":"1329503887","filename":"file0"},{"photo_id":"1329503898","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329503902":["hashtag1","hashtag2"]},{"1329503894":["hashtag1","hashtag2"]},{"1329503907":["hashtag1","hashtag2"]},{"1329503891":["hashtag1","hashtag2"]},{"1329503887":["hashtag1","hashtag2"]},{"1329503898":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329503902, 1329503894, 1329503907, 1329503891, 1329503887, 1329503898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.55090665817261 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:55:02.169848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/43/image_17012025_14_43_58_5194.jpg', '/media/data/images/17012025/14/43/image_17012025_14_43_52_6414.jpg', '/media/data/images/17012025/14/43/image_17012025_14_43_46_6417.jpg', '/media/data/images/17012025/14/43/image_17012025_14_43_40_5188.jpg', '/media/data/images/17012025/14/43/image_17012025_14_43_34_6412.jpg', '/media/data/images/17012025/14/43/image_17012025_14_43_28_6407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/43/image_17012025_14_43_58_5194.jpg
/media/data/images/17012025/14/43/image_17012025_14_43_52_6414.jpg
/media/data/images/17012025/14/43/image_17012025_14_43_46_6417.jpg
/media/data/images/17012025/14/43/image_17012025_14_43_40_5188.jpg
/media/data/images/17012025/14/43/image_17012025_14_43_34_6412.jpg
/media/data/images/17012025/14/43/image_17012025_14_43_28_6407.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329503939","1329503927","1329503923","1329503932","1329503935","1329503929"],"photo_ids_order":["1329503923","1329503927","1329503929","1329503932","1329503935","1329503939"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a80f52584df0538592ba504984ca0e36.jpg","text":"TemporaryFile(/tmp/multipartBody3383625415682994665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125769423,"filename":"image_17012025_14_43_28_6407.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/562146c2a7ba6bf7909ce22504bc00d4.jpg","text":"TemporaryFile(/tmp/multipartBody530012195417546382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125769423,"filename":"image_17012025_14_43_52_6414.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/251866033d0595a461e05091faf82d35.jpg","text":"TemporaryFile(/tmp/multipartBody859419384383354787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125769423,"filename":"image_17012025_14_43_58_5194.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f0861a7db39a6a8d46bfbe6cce23a6c8.jpg","text":"TemporaryFile(/tmp/multipartBody143530311292143186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125769423,"filename":"image_17012025_14_43_40_5188.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/75e0054758c95f72b8995e8e34ac9eb7.jpg","text":"TemporaryFile(/tmp/multipartBody1573777796033201948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125769423,"filename":"image_17012025_14_43_34_6412.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e314250829010f11dce1e76358c3df75.jpg","text":"TemporaryFile(/tmp/multipartBody7929726648866198773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125769423,"filename":"image_17012025_14_43_46_6417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329503929","file1":"1329503927","file0":"1329503923","file4":"1329503935","file5":"1329503939","file3":"1329503932"},"map_files_photo_id_array":[{"photo_id":"1329503939","filename":"file5"},{"photo_id":"1329503929","filename":"file2"},{"photo_id":"1329503935","filename":"file4"},{"photo_id":"1329503927","filename":"file1"},{"photo_id":"1329503923","filename":"file0"},{"photo_id":"1329503932","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329503939":["hashtag1","hashtag2"]},{"1329503927":["hashtag1","hashtag2"]},{"1329503923":["hashtag1","hashtag2"]},{"1329503932":["hashtag1","hashtag2"]},{"1329503935":["hashtag1","hashtag2"]},{"1329503929":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329503939, 1329503927, 1329503923, 1329503932, 1329503935, 1329503929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.23442482948303 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:56:02.105675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/43/image_17012025_14_43_22_5202.jpg', '/media/data/images/17012025/14/43/image_17012025_14_43_16_6454.jpg', '/media/data/images/17012025/14/43/image_17012025_14_43_10_5253.jpg', '/media/data/images/17012025/14/43/image_17012025_14_43_05_6247.jpg', '/media/data/images/17012025/14/42/image_17012025_14_42_58_6366.jpg', '/media/data/images/17012025/14/42/image_17012025_14_42_52_6403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/43/image_17012025_14_43_22_5202.jpg
/media/data/images/17012025/14/43/image_17012025_14_43_16_6454.jpg
/media/data/images/17012025/14/43/image_17012025_14_43_10_5253.jpg
/media/data/images/17012025/14/43/image_17012025_14_43_05_6247.jpg
/media/data/images/17012025/14/42/image_17012025_14_42_58_6366.jpg
/media/data/images/17012025/14/42/image_17012025_14_42_52_6403.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329504111","1329504121","1329504124","1329504118","1329504127","1329504115"],"photo_ids_order":["1329504111","1329504115","1329504118","1329504121","1329504124","1329504127"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/12a9424de637e71572129fc337dcc9ac.jpg","text":"TemporaryFile(/tmp/multipartBody17424176123402234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125826712,"filename":"image_17012025_14_43_22_5202.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c469651050eaa4530b67e0dc37e6067e.jpg","text":"TemporaryFile(/tmp/multipartBody3406290086568180922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125826712,"filename":"image_17012025_14_43_05_6247.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bfb77ae890650162f560c9e32db236d2.jpg","text":"TemporaryFile(/tmp/multipartBody4663067581366058905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125826712,"filename":"image_17012025_14_42_58_6366.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5a65e8810d6a8bdd20d4948f69f92527.jpg","text":"TemporaryFile(/tmp/multipartBody8969492441296337377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125826712,"filename":"image_17012025_14_43_10_5253.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/084c485f59201519305d781b35cf081b.jpg","text":"TemporaryFile(/tmp/multipartBody761026482569718790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125826712,"filename":"image_17012025_14_42_52_6403.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1a496c8efd8d68f30034f1fd3bdb4bc9.jpg","text":"TemporaryFile(/tmp/multipartBody3624855310095535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125826712,"filename":"image_17012025_14_43_16_6454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329504118","file1":"1329504115","file0":"1329504111","file4":"1329504124","file5":"1329504127","file3":"1329504121"},"map_files_photo_id_array":[{"photo_id":"1329504127","filename":"file5"},{"photo_id":"1329504118","filename":"file2"},{"photo_id":"1329504124","filename":"file4"},{"photo_id":"1329504115","filename":"file1"},{"photo_id":"1329504111","filename":"file0"},{"photo_id":"1329504121","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329504111":["hashtag1","hashtag2"]},{"1329504121":["hashtag1","hashtag2"]},{"1329504124":["hashtag1","hashtag2"]},{"1329504118":["hashtag1","hashtag2"]},{"1329504127":["hashtag1","hashtag2"]},{"1329504115":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329504111, 1329504121, 1329504124, 1329504118, 1329504127, 1329504115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.13678455352783 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:57:02.284006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/14/42/image_17012025_14_42_10_5159.jpg', '/media/data/images/17012025/14/42/image_17012025_14_42_05_6267.jpg', '/media/data/images/17012025/14/41/image_17012025_14_41_58_6346.jpg', '/media/data/images/17012025/14/41/image_17012025_14_41_52_6427.jpg', '/media/data/images/17012025/14/41/image_17012025_14_41_46_5191.jpg', '/media/data/images/17012025/14/41/image_17012025_14_41_40_6388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/14/42/image_17012025_14_42_10_5159.jpg
/media/data/images/17012025/14/42/image_17012025_14_42_05_6267.jpg
/media/data/images/17012025/14/41/image_17012025_14_41_58_6346.jpg
/media/data/images/17012025/14/41/image_17012025_14_41_52_6427.jpg
/media/data/images/17012025/14/41/image_17012025_14_41_46_5191.jpg
/media/data/images/17012025/14/41/image_17012025_14_41_40_6388.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329504231","1329504213","1329504158","1329504221","1329504183","1329504192"],"photo_ids_order":["1329504158","1329504183","1329504192","1329504213","1329504221","1329504231"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2fba55ff523892f8235e5db5cd40b3aa.jpg","text":"TemporaryFile(/tmp/multipartBody7566177576962973656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125887485,"filename":"image_17012025_14_41_40_6388.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f389e90b66a3324e5b7095b0b5d567a3.jpg","text":"TemporaryFile(/tmp/multipartBody6861038265433565590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125887485,"filename":"image_17012025_14_41_52_6427.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e257db8f208eff906b4eefdfd0c6f4f4.jpg","text":"TemporaryFile(/tmp/multipartBody1747957668627832653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125887485,"filename":"image_17012025_14_42_10_5159.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7d38f645847605d6b5a03dcf63da1d71.jpg","text":"TemporaryFile(/tmp/multipartBody4978152997873553778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125887485,"filename":"image_17012025_14_41_46_5191.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e6d50630c54fdfa90fa62fc87b7253db.jpg","text":"TemporaryFile(/tmp/multipartBody2078955011412003129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125887485,"filename":"image_17012025_14_42_05_6267.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1bf0c2e2b55b896da167d3c4f147584a.jpg","text":"TemporaryFile(/tmp/multipartBody7441614701179856695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737125887485,"filename":"image_17012025_14_41_58_6346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329504192","file1":"1329504183","file0":"1329504158","file4":"1329504221","file5":"1329504231","file3":"1329504213"},"map_files_photo_id_array":[{"photo_id":"1329504231","filename":"file5"},{"photo_id":"1329504192","filename":"file2"},{"photo_id":"1329504221","filename":"file4"},{"photo_id":"1329504183","filename":"file1"},{"photo_id":"1329504158","filename":"file0"},{"photo_id":"1329504213","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329504231":["hashtag1","hashtag2"]},{"1329504213":["hashtag1","hashtag2"]},{"1329504158":["hashtag1","hashtag2"]},{"1329504221":["hashtag1","hashtag2"]},{"1329504183":["hashtag1","hashtag2"]},{"1329504192":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329504231, 1329504213, 1329504158, 1329504221, 1329504183, 1329504192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.71176218986511 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 15:59:03.079525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/15/39/image_17012025_15_39_53_6383.jpg', '/media/data/images/17012025/15/34/image_17012025_15_34_52_5213.jpg', '/media/data/images/17012025/15/29/image_17012025_15_29_47_6538.jpg', '/media/data/images/17012025/15/24/image_17012025_15_24_41_6398.jpg', '/media/data/images/17012025/14/41/image_17012025_14_41_34_6399.jpg', '/media/data/images/17012025/14/41/image_17012025_14_41_28_5186.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/15/39/image_17012025_15_39_53_6383.jpg
/media/data/images/17012025/15/34/image_17012025_15_34_52_5213.jpg
/media/data/images/17012025/15/29/image_17012025_15_29_47_6538.jpg
/media/data/images/17012025/15/24/image_17012025_15_24_41_6398.jpg
/media/data/images/17012025/14/41/image_17012025_14_41_34_6399.jpg
/media/data/images/17012025/14/41/image_17012025_14_41_28_5186.jpg
2025-01-17 15:59:03.198326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/15/39/image_17012025_15_39_53_6383.jpg', '/media/data/images/17012025/15/34/image_17012025_15_34_52_5213.jpg', '/media/data/images/17012025/15/29/image_17012025_15_29_47_6538.jpg', '/media/data/images/17012025/15/24/image_17012025_15_24_41_6398.jpg', '/media/data/images/17012025/14/41/image_17012025_14_41_34_6399.jpg', '/media/data/images/17012025/14/41/image_17012025_14_41_28_5186.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/15/39/image_17012025_15_39_53_6383.jpg
/media/data/images/17012025/15/34/image_17012025_15_34_52_5213.jpg
/media/data/images/17012025/15/29/image_17012025_15_29_47_6538.jpg
/media/data/images/17012025/15/24/image_17012025_15_24_41_6398.jpg
/media/data/images/17012025/14/41/image_17012025_14_41_34_6399.jpg
/media/data/images/17012025/14/41/image_17012025_14_41_28_5186.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329504546","1329504612","1329504593","1329504602","1329504562","1329504555"],"photo_ids_order":["1329504546","1329504555","1329504562","1329504593","1329504602","1329504612"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/00ed5749fe21b6eaebd0862545c8a250.jpg","text":"TemporaryFile(/tmp/multipartBody1437211970607915510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126012207,"filename":"image_17012025_15_39_53_6383.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7580489f8c2ce5e1ed84344409b518e1.jpg","text":"TemporaryFile(/tmp/multipartBody3639756936575523146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126012207,"filename":"image_17012025_14_41_28_5186.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/76586ab536ae3dd5f395637d979ecf93.jpg","text":"TemporaryFile(/tmp/multipartBody3636362271204774085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126012207,"filename":"image_17012025_15_24_41_6398.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6818263fe639f9515f60c71227921972.jpg","text":"TemporaryFile(/tmp/multipartBody6194980455449287198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126012207,"filename":"image_17012025_14_41_34_6399.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8af63f17e90ffe9aadb0477974916e30.jpg","text":"TemporaryFile(/tmp/multipartBody8087298538522460656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126012207,"filename":"image_17012025_15_29_47_6538.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2f2007ac78f565fea778292ed72d150e.jpg","text":"TemporaryFile(/tmp/multipartBody7953155719645774541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126012207,"filename":"image_17012025_15_34_52_5213.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329504562","file1":"1329504555","file0":"1329504546","file4":"1329504602","file5":"1329504612","file3":"1329504593"},"map_files_photo_id_array":[{"photo_id":"1329504612","filename":"file5"},{"photo_id":"1329504562","filename":"file2"},{"photo_id":"1329504602","filename":"file4"},{"photo_id":"1329504555","filename":"file1"},{"photo_id":"1329504546","filename":"file0"},{"photo_id":"1329504593","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329504546":["hashtag1","hashtag2"]},{"1329504612":["hashtag1","hashtag2"]},{"1329504593":["hashtag1","hashtag2"]},{"1329504602":["hashtag1","hashtag2"]},{"1329504562":["hashtag1","hashtag2"]},{"1329504555":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329504546, 1329504612, 1329504593, 1329504602, 1329504562, 1329504555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.22913098335266 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329504608","1329504557","1329504595","1329504547","1329504613","1329504567"],"photo_ids_order":["1329504547","1329504557","1329504567","1329504595","1329504608","1329504613"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/144ece4c81af338e445b90cda9c0fae7.jpg","text":"TemporaryFile(/tmp/multipartBody7338855269505010095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126013308,"filename":"image_17012025_14_41_34_6399.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2430a8e587ac5e731ffa080e9c45d484.jpg","text":"TemporaryFile(/tmp/multipartBody4185889785031278363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126013308,"filename":"image_17012025_15_34_52_5213.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/46fa126af12df2ba0c034b5051be9e58.jpg","text":"TemporaryFile(/tmp/multipartBody7430786536287203064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126013308,"filename":"image_17012025_15_24_41_6398.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/41910ac3c4ea8fc621249e5f9ac33c03.jpg","text":"TemporaryFile(/tmp/multipartBody2050961119304982050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126013308,"filename":"image_17012025_15_39_53_6383.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/32b469cb40f5c2d514dcc311bde6e98e.jpg","text":"TemporaryFile(/tmp/multipartBody5383438259617867084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126013308,"filename":"image_17012025_14_41_28_5186.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cd4fc6351df2a10184a68a723a112f6f.jpg","text":"TemporaryFile(/tmp/multipartBody9205080624762097295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126013308,"filename":"image_17012025_15_29_47_6538.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329504567","file1":"1329504557","file0":"1329504547","file4":"1329504608","file5":"1329504613","file3":"1329504595"},"map_files_photo_id_array":[{"photo_id":"1329504613","filename":"file5"},{"photo_id":"1329504567","filename":"file2"},{"photo_id":"1329504608","filename":"file4"},{"photo_id":"1329504557","filename":"file1"},{"photo_id":"1329504547","filename":"file0"},{"photo_id":"1329504595","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329504608":["hashtag1","hashtag2"]},{"1329504557":["hashtag1","hashtag2"]},{"1329504595":["hashtag1","hashtag2"]},{"1329504547":["hashtag1","hashtag2"]},{"1329504613":["hashtag1","hashtag2"]},{"1329504567":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329504608, 1329504557, 1329504595, 1329504547, 1329504613, 1329504567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.20567584037781 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:00:02.646761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/15/26/image_17012025_15_26_52_5198.jpg', '/media/data/images/17012025/15/26/image_17012025_15_26_47_6403.jpg', '/media/data/images/17012025/15/26/image_17012025_15_26_40_6402.jpg', '/media/data/images/17012025/15/26/image_17012025_15_26_34_5180.jpg', '/media/data/images/17012025/15/26/image_17012025_15_26_29_6389.jpg', '/media/data/images/17012025/15/26/image_17012025_15_26_22_6441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/15/26/image_17012025_15_26_52_5198.jpg
/media/data/images/17012025/15/26/image_17012025_15_26_47_6403.jpg
/media/data/images/17012025/15/26/image_17012025_15_26_40_6402.jpg
/media/data/images/17012025/15/26/image_17012025_15_26_34_5180.jpg
/media/data/images/17012025/15/26/image_17012025_15_26_29_6389.jpg
/media/data/images/17012025/15/26/image_17012025_15_26_22_6441.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329504645","1329504650","1329504653","1329504632","1329504635","1329504640"],"photo_ids_order":["1329504632","1329504635","1329504640","1329504645","1329504650","1329504653"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a8579f20b55cac62603ec3b3f0093143.jpg","text":"TemporaryFile(/tmp/multipartBody6467954522678069206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126074266,"filename":"image_17012025_15_26_34_5180.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cadc527aed02baeed7761d021422c89f.jpg","text":"TemporaryFile(/tmp/multipartBody73221113724774433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126074266,"filename":"image_17012025_15_26_29_6389.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d12539d9f829122cf168618c870554dc.jpg","text":"TemporaryFile(/tmp/multipartBody4621457064385444702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126074266,"filename":"image_17012025_15_26_22_6441.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/79d9acbe45e9e8425f1d79788dc14c32.jpg","text":"TemporaryFile(/tmp/multipartBody8880053549319009513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126074266,"filename":"image_17012025_15_26_52_5198.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6eb9d45bd077efa254f7c07519b3e41e.jpg","text":"TemporaryFile(/tmp/multipartBody1373838413067877802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126074266,"filename":"image_17012025_15_26_47_6403.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/301e09af10474f1bcd65abc2aa84ad58.jpg","text":"TemporaryFile(/tmp/multipartBody8043777575131439889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126074266,"filename":"image_17012025_15_26_40_6402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329504640","file1":"1329504635","file0":"1329504632","file4":"1329504650","file5":"1329504653","file3":"1329504645"},"map_files_photo_id_array":[{"photo_id":"1329504653","filename":"file5"},{"photo_id":"1329504640","filename":"file2"},{"photo_id":"1329504650","filename":"file4"},{"photo_id":"1329504635","filename":"file1"},{"photo_id":"1329504632","filename":"file0"},{"photo_id":"1329504645","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329504645":["hashtag1","hashtag2"]},{"1329504650":["hashtag1","hashtag2"]},{"1329504653":["hashtag1","hashtag2"]},{"1329504632":["hashtag1","hashtag2"]},{"1329504635":["hashtag1","hashtag2"]},{"1329504640":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329504645, 1329504650, 1329504653, 1329504632, 1329504635, 1329504640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.1842086315155 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:01:03.062340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/15/30/image_17012025_15_30_52_5292.jpg', '/media/data/images/17012025/15/30/image_17012025_15_30_47_6528.jpg', '/media/data/images/17012025/15/30/image_17012025_15_30_40_6543.jpg', '/media/data/images/17012025/15/30/image_17012025_15_30_34_5304.jpg', '/media/data/images/17012025/15/30/image_17012025_15_30_28_6600.jpg', '/media/data/images/17012025/15/30/image_17012025_15_30_22_5318.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/15/30/image_17012025_15_30_52_5292.jpg
/media/data/images/17012025/15/30/image_17012025_15_30_47_6528.jpg
/media/data/images/17012025/15/30/image_17012025_15_30_40_6543.jpg
/media/data/images/17012025/15/30/image_17012025_15_30_34_5304.jpg
/media/data/images/17012025/15/30/image_17012025_15_30_28_6600.jpg
/media/data/images/17012025/15/30/image_17012025_15_30_22_5318.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329504695","1329504677","1329504692","1329504688","1329504684","1329504681"],"photo_ids_order":["1329504677","1329504681","1329504684","1329504688","1329504692","1329504695"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/675d52661ba4d42165b28a8c385a332a.jpg","text":"TemporaryFile(/tmp/multipartBody7109292793955252130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126131017,"filename":"image_17012025_15_30_22_5318.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/eca8cbad2edd744bd1054aeefa54bd4a.jpg","text":"TemporaryFile(/tmp/multipartBody5639308394811552671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126131017,"filename":"image_17012025_15_30_52_5292.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/750f95d4d2100f14ac83a4b2cd2bff4f.jpg","text":"TemporaryFile(/tmp/multipartBody2739512483443627328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126131017,"filename":"image_17012025_15_30_28_6600.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7b920255390e507c90b18bc4ef1ce46c.jpg","text":"TemporaryFile(/tmp/multipartBody4430801552291221545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126131017,"filename":"image_17012025_15_30_34_5304.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a561293c8301fd6c941acde0d386c744.jpg","text":"TemporaryFile(/tmp/multipartBody2618680295053354563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126131017,"filename":"image_17012025_15_30_40_6543.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/87f2ac1f121fc96f763410a54f25b630.jpg","text":"TemporaryFile(/tmp/multipartBody2372216790903604052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126131017,"filename":"image_17012025_15_30_47_6528.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329504684","file1":"1329504681","file0":"1329504677","file4":"1329504692","file5":"1329504695","file3":"1329504688"},"map_files_photo_id_array":[{"photo_id":"1329504695","filename":"file5"},{"photo_id":"1329504684","filename":"file2"},{"photo_id":"1329504692","filename":"file4"},{"photo_id":"1329504681","filename":"file1"},{"photo_id":"1329504677","filename":"file0"},{"photo_id":"1329504688","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329504695":["hashtag1","hashtag2"]},{"1329504677":["hashtag1","hashtag2"]},{"1329504692":["hashtag1","hashtag2"]},{"1329504688":["hashtag1","hashtag2"]},{"1329504684":["hashtag1","hashtag2"]},{"1329504681":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329504695, 1329504677, 1329504692, 1329504688, 1329504684, 1329504681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.20750617980957 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:02:02.837896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/15/34/image_17012025_15_34_47_6398.jpg', '/media/data/images/17012025/15/34/image_17012025_15_34_40_6442.jpg', '/media/data/images/17012025/15/34/image_17012025_15_34_34_5211.jpg', '/media/data/images/17012025/15/34/image_17012025_15_34_28_6452.jpg', '/media/data/images/17012025/15/34/image_17012025_15_34_22_5200.jpg', '/media/data/images/17012025/15/34/image_17012025_15_34_17_6497.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/15/34/image_17012025_15_34_47_6398.jpg
/media/data/images/17012025/15/34/image_17012025_15_34_40_6442.jpg
/media/data/images/17012025/15/34/image_17012025_15_34_34_5211.jpg
/media/data/images/17012025/15/34/image_17012025_15_34_28_6452.jpg
/media/data/images/17012025/15/34/image_17012025_15_34_22_5200.jpg
/media/data/images/17012025/15/34/image_17012025_15_34_17_6497.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329504731","1329504734","1329504796","1329504777","1329504786","1329504759"],"photo_ids_order":["1329504731","1329504734","1329504759","1329504777","1329504786","1329504796"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a37858850f50ea2a6073337d6823d75f.jpg","text":"TemporaryFile(/tmp/multipartBody4355442713474088271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126188416,"filename":"image_17012025_15_34_47_6398.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/93ec0020cb32f68655056a36c0b7a9a2.jpg","text":"TemporaryFile(/tmp/multipartBody9011920847013254366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126188416,"filename":"image_17012025_15_34_40_6442.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2b46edfe0d99a320833dc0d19a638664.jpg","text":"TemporaryFile(/tmp/multipartBody8800892075527331195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126188416,"filename":"image_17012025_15_34_17_6497.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c2944c7031c14ccbde69dfb6ffac59bc.jpg","text":"TemporaryFile(/tmp/multipartBody4547085220181915142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126188416,"filename":"image_17012025_15_34_28_6452.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c3628dc34d372111826794e155a933cb.jpg","text":"TemporaryFile(/tmp/multipartBody5272414609274385480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126188416,"filename":"image_17012025_15_34_22_5200.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/06369be11363e96edaef7f2b2393f829.jpg","text":"TemporaryFile(/tmp/multipartBody550083748419095135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126188416,"filename":"image_17012025_15_34_34_5211.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329504759","file1":"1329504734","file0":"1329504731","file4":"1329504786","file5":"1329504796","file3":"1329504777"},"map_files_photo_id_array":[{"photo_id":"1329504796","filename":"file5"},{"photo_id":"1329504759","filename":"file2"},{"photo_id":"1329504786","filename":"file4"},{"photo_id":"1329504734","filename":"file1"},{"photo_id":"1329504731","filename":"file0"},{"photo_id":"1329504777","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329504731":["hashtag1","hashtag2"]},{"1329504734":["hashtag1","hashtag2"]},{"1329504796":["hashtag1","hashtag2"]},{"1329504777":["hashtag1","hashtag2"]},{"1329504786":["hashtag1","hashtag2"]},{"1329504759":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329504731, 1329504734, 1329504796, 1329504777, 1329504786, 1329504759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.373311281204224 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:03:02.395562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/15/38/image_17012025_15_38_46_5173.jpg', '/media/data/images/17012025/15/38/image_17012025_15_38_41_6352.jpg', '/media/data/images/17012025/15/38/image_17012025_15_38_34_6368.jpg', '/media/data/images/17012025/15/38/image_17012025_15_38_28_6383.jpg', '/media/data/images/17012025/15/38/image_17012025_15_38_22_5157.jpg', '/media/data/images/17012025/15/38/image_17012025_15_38_17_6537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/15/38/image_17012025_15_38_46_5173.jpg
/media/data/images/17012025/15/38/image_17012025_15_38_41_6352.jpg
/media/data/images/17012025/15/38/image_17012025_15_38_34_6368.jpg
/media/data/images/17012025/15/38/image_17012025_15_38_28_6383.jpg
/media/data/images/17012025/15/38/image_17012025_15_38_22_5157.jpg
/media/data/images/17012025/15/38/image_17012025_15_38_17_6537.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329504899","1329504903","1329504883","1329504894","1329504891","1329504888"],"photo_ids_order":["1329504883","1329504888","1329504891","1329504894","1329504899","1329504903"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c7c7b25d44e191b1c4c2eb880c3279a7.jpg","text":"TemporaryFile(/tmp/multipartBody1590359621421783472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126248963,"filename":"image_17012025_15_38_22_5157.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c22bc04d4b4a3a6c46b8e28af0a579f5.jpg","text":"TemporaryFile(/tmp/multipartBody8628973724274741434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126248963,"filename":"image_17012025_15_38_17_6537.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fa0ea68c002154a257e8103de14be71d.jpg","text":"TemporaryFile(/tmp/multipartBody2116858197073537680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126248963,"filename":"image_17012025_15_38_46_5173.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a2ee1ab2d82e7c0b86c8d53949bb9b29.jpg","text":"TemporaryFile(/tmp/multipartBody292019631932852766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126248963,"filename":"image_17012025_15_38_28_6383.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ccb5ed01859946465e9503e7d254bf88.jpg","text":"TemporaryFile(/tmp/multipartBody8932456026839812701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126248963,"filename":"image_17012025_15_38_34_6368.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8a111a724738acc14458bdc4f86f53e9.jpg","text":"TemporaryFile(/tmp/multipartBody9093764715418547703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126248963,"filename":"image_17012025_15_38_41_6352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329504891","file1":"1329504888","file0":"1329504883","file4":"1329504899","file5":"1329504903","file3":"1329504894"},"map_files_photo_id_array":[{"photo_id":"1329504903","filename":"file5"},{"photo_id":"1329504891","filename":"file2"},{"photo_id":"1329504899","filename":"file4"},{"photo_id":"1329504888","filename":"file1"},{"photo_id":"1329504883","filename":"file0"},{"photo_id":"1329504894","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329504899":["hashtag1","hashtag2"]},{"1329504903":["hashtag1","hashtag2"]},{"1329504883":["hashtag1","hashtag2"]},{"1329504894":["hashtag1","hashtag2"]},{"1329504891":["hashtag1","hashtag2"]},{"1329504888":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329504899, 1329504903, 1329504883, 1329504894, 1329504891, 1329504888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.68785285949707 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:04:02.454869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/15/42/image_17012025_15_42_47_6373.jpg', '/media/data/images/17012025/15/42/image_17012025_15_42_40_6384.jpg', '/media/data/images/17012025/15/42/image_17012025_15_42_34_6364.jpg', '/media/data/images/17012025/15/42/image_17012025_15_42_28_5145.jpg', '/media/data/images/17012025/15/42/image_17012025_15_42_23_6358.jpg', '/media/data/images/17012025/15/42/image_17012025_15_42_16_6404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/15/42/image_17012025_15_42_47_6373.jpg
/media/data/images/17012025/15/42/image_17012025_15_42_40_6384.jpg
/media/data/images/17012025/15/42/image_17012025_15_42_34_6364.jpg
/media/data/images/17012025/15/42/image_17012025_15_42_28_5145.jpg
/media/data/images/17012025/15/42/image_17012025_15_42_23_6358.jpg
/media/data/images/17012025/15/42/image_17012025_15_42_16_6404.jpg
2025-01-17 16:04:02.529244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/15/42/image_17012025_15_42_47_6373.jpg', '/media/data/images/17012025/15/42/image_17012025_15_42_40_6384.jpg', '/media/data/images/17012025/15/42/image_17012025_15_42_34_6364.jpg', '/media/data/images/17012025/15/42/image_17012025_15_42_28_5145.jpg', '/media/data/images/17012025/15/42/image_17012025_15_42_23_6358.jpg', '/media/data/images/17012025/15/42/image_17012025_15_42_16_6404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/15/42/image_17012025_15_42_47_6373.jpg
/media/data/images/17012025/15/42/image_17012025_15_42_40_6384.jpg
/media/data/images/17012025/15/42/image_17012025_15_42_34_6364.jpg
/media/data/images/17012025/15/42/image_17012025_15_42_28_5145.jpg
/media/data/images/17012025/15/42/image_17012025_15_42_23_6358.jpg
/media/data/images/17012025/15/42/image_17012025_15_42_16_6404.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: 13.37838101387024 secondes ---
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329504960","1329504948","1329504983","1329504938","1329504926","1329504952"],"photo_ids_order":["1329504926","1329504938","1329504948","1329504952","1329504960","1329504983"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7c3d1075d59217106f74fab3ed15d374.jpg","text":"TemporaryFile(/tmp/multipartBody3358367914667757416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126315611,"filename":"image_17012025_15_42_23_6358.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/24fd368e528b7581da868d6a1f06d3a8.jpg","text":"TemporaryFile(/tmp/multipartBody1156619028410357894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126315611,"filename":"image_17012025_15_42_34_6364.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ffbab86db2a18e238eaaddd157b02381.jpg","text":"TemporaryFile(/tmp/multipartBody586528486499833947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126315611,"filename":"image_17012025_15_42_16_6404.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7ea4bcca52f3547b3714f95871708759.jpg","text":"TemporaryFile(/tmp/multipartBody4490939282012221531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126315611,"filename":"image_17012025_15_42_40_6384.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0613e7860b20072f22c9cfac5321c38c.jpg","text":"TemporaryFile(/tmp/multipartBody5907577164073892963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126315611,"filename":"image_17012025_15_42_47_6373.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f0b0c912107af5ad46d7a9f14c3c5717.jpg","text":"TemporaryFile(/tmp/multipartBody4523139128481467573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126315611,"filename":"image_17012025_15_42_28_5145.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329504948","file1":"1329504938","file0":"1329504926","file4":"1329504960","file5":"1329504983","file3":"1329504952"},"map_files_photo_id_array":[{"photo_id":"1329504983","filename":"file5"},{"photo_id":"1329504948","filename":"file2"},{"photo_id":"1329504960","filename":"file4"},{"photo_id":"1329504938","filename":"file1"},{"photo_id":"1329504926","filename":"file0"},{"photo_id":"1329504952","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329504960":["hashtag1","hashtag2"]},{"1329504948":["hashtag1","hashtag2"]},{"1329504983":["hashtag1","hashtag2"]},{"1329504938":["hashtag1","hashtag2"]},{"1329504926":["hashtag1","hashtag2"]},{"1329504952":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329504960, 1329504948, 1329504983, 1329504938, 1329504926, 1329504952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.81527328491211 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:05:02.504450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/15/46/image_17012025_15_46_40_6362.jpg', '/media/data/images/17012025/15/46/image_17012025_15_46_34_6347.jpg', '/media/data/images/17012025/15/46/image_17012025_15_46_28_5183.jpg', '/media/data/images/17012025/15/46/image_17012025_15_46_23_6372.jpg', '/media/data/images/17012025/15/46/image_17012025_15_46_16_6374.jpg', '/media/data/images/17012025/15/46/image_17012025_15_46_10_5124.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/15/46/image_17012025_15_46_40_6362.jpg
/media/data/images/17012025/15/46/image_17012025_15_46_34_6347.jpg
/media/data/images/17012025/15/46/image_17012025_15_46_28_5183.jpg
/media/data/images/17012025/15/46/image_17012025_15_46_23_6372.jpg
/media/data/images/17012025/15/46/image_17012025_15_46_16_6374.jpg
/media/data/images/17012025/15/46/image_17012025_15_46_10_5124.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329505088","1329505109","1329505039","1329505074","1329505068","1329505097"],"photo_ids_order":["1329505039","1329505068","1329505074","1329505088","1329505097","1329505109"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f5dd890df0bd388194c052b79f95a643.jpg","text":"TemporaryFile(/tmp/multipartBody6130895615545675720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126366626,"filename":"image_17012025_15_46_23_6372.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1c7720266a6e12b25c761e102f7dcb60.jpg","text":"TemporaryFile(/tmp/multipartBody32162147944910453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126366626,"filename":"image_17012025_15_46_10_5124.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bfd3c5bf8cc5fcc6ed40a1c8be85aa22.jpg","text":"TemporaryFile(/tmp/multipartBody6979910824527611376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126366626,"filename":"image_17012025_15_46_40_6362.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/00e542422623cedd2c0832ec307f83a9.jpg","text":"TemporaryFile(/tmp/multipartBody6052695984029219156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126366626,"filename":"image_17012025_15_46_28_5183.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cd9be4d76f4db716b915298a307c5e20.jpg","text":"TemporaryFile(/tmp/multipartBody1642653707975860191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126366626,"filename":"image_17012025_15_46_34_6347.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4e8e2efb58c405f00016b67dc7c3035d.jpg","text":"TemporaryFile(/tmp/multipartBody2410843297063523085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126366626,"filename":"image_17012025_15_46_16_6374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329505074","file1":"1329505068","file0":"1329505039","file4":"1329505097","file5":"1329505109","file3":"1329505088"},"map_files_photo_id_array":[{"photo_id":"1329505109","filename":"file5"},{"photo_id":"1329505074","filename":"file2"},{"photo_id":"1329505097","filename":"file4"},{"photo_id":"1329505068","filename":"file1"},{"photo_id":"1329505039","filename":"file0"},{"photo_id":"1329505088","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329505088":["hashtag1","hashtag2"]},{"1329505109":["hashtag1","hashtag2"]},{"1329505039":["hashtag1","hashtag2"]},{"1329505074":["hashtag1","hashtag2"]},{"1329505068":["hashtag1","hashtag2"]},{"1329505097":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329505088, 1329505109, 1329505039, 1329505074, 1329505068, 1329505097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.70433759689331 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:06:02.270064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/15/50/image_17012025_15_50_34_5172.jpg', '/media/data/images/17012025/15/50/image_17012025_15_50_29_6375.jpg', '/media/data/images/17012025/15/50/image_17012025_15_50_22_6351.jpg', '/media/data/images/17012025/15/50/image_17012025_15_50_16_5156.jpg', '/media/data/images/17012025/15/50/image_17012025_15_50_11_6358.jpg', '/media/data/images/17012025/15/49/image_17012025_15_50_04_6432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/15/50/image_17012025_15_50_34_5172.jpg
/media/data/images/17012025/15/50/image_17012025_15_50_29_6375.jpg
/media/data/images/17012025/15/50/image_17012025_15_50_22_6351.jpg
/media/data/images/17012025/15/50/image_17012025_15_50_16_5156.jpg
/media/data/images/17012025/15/50/image_17012025_15_50_11_6358.jpg
/media/data/images/17012025/15/49/image_17012025_15_50_04_6432.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329505889","1329505882","1329505885","1329505900","1329505875","1329505878"],"photo_ids_order":["1329505875","1329505878","1329505882","1329505885","1329505889","1329505900"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dc938d9ee8db0d465752d4b6de8e9ed7.jpg","text":"TemporaryFile(/tmp/multipartBody1416958598888316614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126426965,"filename":"image_17012025_15_50_11_6358.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/49b6ed40c35009340c459cf040f35894.jpg","text":"TemporaryFile(/tmp/multipartBody8948972935444567042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126426965,"filename":"image_17012025_15_50_22_6351.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/48f2f2e59ea8e692fed1933c0b77e039.jpg","text":"TemporaryFile(/tmp/multipartBody3329503703798865714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126426965,"filename":"image_17012025_15_50_16_5156.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2a38bc97dab1950db72b283da6351ffb.jpg","text":"TemporaryFile(/tmp/multipartBody2598553583371397712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126426965,"filename":"image_17012025_15_50_04_6432.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/63d9136c6e72eaf0fc9d9a59ce2b833d.jpg","text":"TemporaryFile(/tmp/multipartBody2057735908467939113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126426965,"filename":"image_17012025_15_50_34_5172.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/816777ab16932ae8b8a8ff5d2d9f9b99.jpg","text":"TemporaryFile(/tmp/multipartBody4444914330606314258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126426965,"filename":"image_17012025_15_50_29_6375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329505882","file1":"1329505878","file0":"1329505875","file4":"1329505889","file5":"1329505900","file3":"1329505885"},"map_files_photo_id_array":[{"photo_id":"1329505900","filename":"file5"},{"photo_id":"1329505882","filename":"file2"},{"photo_id":"1329505889","filename":"file4"},{"photo_id":"1329505878","filename":"file1"},{"photo_id":"1329505875","filename":"file0"},{"photo_id":"1329505885","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329505889":["hashtag1","hashtag2"]},{"1329505882":["hashtag1","hashtag2"]},{"1329505885":["hashtag1","hashtag2"]},{"1329505900":["hashtag1","hashtag2"]},{"1329505875":["hashtag1","hashtag2"]},{"1329505878":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329505889, 1329505882, 1329505885, 1329505900, 1329505875, 1329505878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.48937749862671 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:07:02.639010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/15/54/image_17012025_15_54_29_6368.jpg', '/media/data/images/17012025/15/54/image_17012025_15_54_22_6356.jpg', '/media/data/images/17012025/15/54/image_17012025_15_54_16_5154.jpg', '/media/data/images/17012025/15/54/image_17012025_15_54_11_6347.jpg', '/media/data/images/17012025/15/54/image_17012025_15_54_04_6169.jpg', '/media/data/images/17012025/15/53/image_17012025_15_53_58_6377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/15/54/image_17012025_15_54_29_6368.jpg
/media/data/images/17012025/15/54/image_17012025_15_54_22_6356.jpg
/media/data/images/17012025/15/54/image_17012025_15_54_16_5154.jpg
/media/data/images/17012025/15/54/image_17012025_15_54_11_6347.jpg
/media/data/images/17012025/15/54/image_17012025_15_54_04_6169.jpg
/media/data/images/17012025/15/53/image_17012025_15_53_58_6377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329506320","1329506218","1329506308","1329506259","1329506313","1329506262"],"photo_ids_order":["1329506218","1329506259","1329506262","1329506308","1329506313","1329506320"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a0fd84756b5886dd2d9cc56521917dff.jpg","text":"TemporaryFile(/tmp/multipartBody413497749590064794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126486910,"filename":"image_17012025_15_53_58_6377.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2ce6e65b5b90508cb4170b0641942c3b.jpg","text":"TemporaryFile(/tmp/multipartBody6711633183080389207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126486910,"filename":"image_17012025_15_54_29_6368.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7f556c89e682e53dc472594ac47fff49.jpg","text":"TemporaryFile(/tmp/multipartBody830922373515062864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126486910,"filename":"image_17012025_15_54_11_6347.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2c840a756d92b24f88ae763472c6768d.jpg","text":"TemporaryFile(/tmp/multipartBody3057311875780831349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126486910,"filename":"image_17012025_15_54_22_6356.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dad83ecb489c8c6cc346c366aed7157f.jpg","text":"TemporaryFile(/tmp/multipartBody6856545271022691192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126486910,"filename":"image_17012025_15_54_04_6169.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e84c0f582fc86c8df9688f7b8b30ddd2.jpg","text":"TemporaryFile(/tmp/multipartBody1602096711416259391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126486910,"filename":"image_17012025_15_54_16_5154.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329506262","file1":"1329506259","file0":"1329506218","file4":"1329506313","file5":"1329506320","file3":"1329506308"},"map_files_photo_id_array":[{"photo_id":"1329506320","filename":"file5"},{"photo_id":"1329506262","filename":"file2"},{"photo_id":"1329506313","filename":"file4"},{"photo_id":"1329506259","filename":"file1"},{"photo_id":"1329506218","filename":"file0"},{"photo_id":"1329506308","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329506320":["hashtag1","hashtag2"]},{"1329506218":["hashtag1","hashtag2"]},{"1329506308":["hashtag1","hashtag2"]},{"1329506259":["hashtag1","hashtag2"]},{"1329506313":["hashtag1","hashtag2"]},{"1329506262":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329506320, 1329506218, 1329506308, 1329506259, 1329506313, 1329506262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.613030195236206 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:08:02.542047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/15/58/image_17012025_15_58_22_6407.jpg', '/media/data/images/17012025/15/58/image_17012025_15_58_16_5186.jpg', '/media/data/images/17012025/15/58/image_17012025_15_58_11_6454.jpg', '/media/data/images/17012025/15/57/image_17012025_15_58_04_6434.jpg', '/media/data/images/17012025/15/57/image_17012025_15_57_58_5189.jpg', '/media/data/images/17012025/15/57/image_17012025_15_57_53_6417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/15/58/image_17012025_15_58_22_6407.jpg
/media/data/images/17012025/15/58/image_17012025_15_58_16_5186.jpg
/media/data/images/17012025/15/58/image_17012025_15_58_11_6454.jpg
/media/data/images/17012025/15/57/image_17012025_15_58_04_6434.jpg
/media/data/images/17012025/15/57/image_17012025_15_57_58_5189.jpg
/media/data/images/17012025/15/57/image_17012025_15_57_53_6417.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329506423","1329506420","1329506430","1329506427","1329506436","1329506421"],"photo_ids_order":["1329506420","1329506421","1329506423","1329506427","1329506430","1329506436"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/413acfbf2593468d64187e71d4d7b571.jpg","text":"TemporaryFile(/tmp/multipartBody1489487696903411881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126551204,"filename":"image_17012025_15_58_11_6454.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/39de6b814e193e2c2f8a9bf40be19501.jpg","text":"TemporaryFile(/tmp/multipartBody4818366609568433353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126551204,"filename":"image_17012025_15_58_22_6407.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9823de297cc68533d0ad1c68c02fb1cb.jpg","text":"TemporaryFile(/tmp/multipartBody5060314267645479891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126551204,"filename":"image_17012025_15_57_58_5189.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c5274c9879131cf844d418f0e48dcfd8.jpg","text":"TemporaryFile(/tmp/multipartBody1046266405985062679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126551204,"filename":"image_17012025_15_58_04_6434.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e277345b0f144499c7fd46ebe88c3dba.jpg","text":"TemporaryFile(/tmp/multipartBody8677679531747486318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126551204,"filename":"image_17012025_15_57_53_6417.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/241ec3b770c5bfcdcf912eeea731fb1d.jpg","text":"TemporaryFile(/tmp/multipartBody2703378122657715277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126551204,"filename":"image_17012025_15_58_16_5186.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329506423","file1":"1329506421","file0":"1329506420","file4":"1329506430","file5":"1329506436","file3":"1329506427"},"map_files_photo_id_array":[{"photo_id":"1329506436","filename":"file5"},{"photo_id":"1329506423","filename":"file2"},{"photo_id":"1329506430","filename":"file4"},{"photo_id":"1329506421","filename":"file1"},{"photo_id":"1329506420","filename":"file0"},{"photo_id":"1329506427","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329506423":["hashtag1","hashtag2"]},{"1329506420":["hashtag1","hashtag2"]},{"1329506430":["hashtag1","hashtag2"]},{"1329506427":["hashtag1","hashtag2"]},{"1329506436":["hashtag1","hashtag2"]},{"1329506421":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329506423, 1329506420, 1329506430, 1329506427, 1329506436, 1329506421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.29144501686096 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 16:09:03.022495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/02/image_17012025_16_02_16_6400.jpg', '/media/data/images/17012025/16/02/image_17012025_16_02_10_5154.jpg', '/media/data/images/17012025/16/02/image_17012025_16_02_05_6260.jpg', '/media/data/images/17012025/16/01/image_17012025_16_01_59_6414.jpg', '/media/data/images/17012025/16/01/image_17012025_16_01_52_6413.jpg', '/media/data/images/17012025/16/01/image_17012025_16_01_46_5146.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/02/image_17012025_16_02_16_6400.jpg
/media/data/images/17012025/16/02/image_17012025_16_02_10_5154.jpg
/media/data/images/17012025/16/02/image_17012025_16_02_05_6260.jpg
/media/data/images/17012025/16/01/image_17012025_16_01_59_6414.jpg
/media/data/images/17012025/16/01/image_17012025_16_01_52_6413.jpg
/media/data/images/17012025/16/01/image_17012025_16_01_46_5146.jpg
2025-01-17 16:09:03.053826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/02/image_17012025_16_02_16_6400.jpg', '/media/data/images/17012025/16/02/image_17012025_16_02_10_5154.jpg', '/media/data/images/17012025/16/02/image_17012025_16_02_05_6260.jpg', '/media/data/images/17012025/16/01/image_17012025_16_01_59_6414.jpg', '/media/data/images/17012025/16/01/image_17012025_16_01_52_6413.jpg', '/media/data/images/17012025/16/01/image_17012025_16_01_46_5146.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/02/image_17012025_16_02_16_6400.jpg
/media/data/images/17012025/16/02/image_17012025_16_02_10_5154.jpg
/media/data/images/17012025/16/02/image_17012025_16_02_05_6260.jpg
/media/data/images/17012025/16/01/image_17012025_16_01_59_6414.jpg
/media/data/images/17012025/16/01/image_17012025_16_01_52_6413.jpg
/media/data/images/17012025/16/01/image_17012025_16_01_46_5146.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329506464","1329506476","1329506458","1329506469","1329506495","1329506462"],"photo_ids_order":["1329506458","1329506462","1329506464","1329506469","1329506476","1329506495"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ea4a9ba1b4fc0f407ad2d316bf51b3a6.jpg","text":"TemporaryFile(/tmp/multipartBody145236057223295253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126612965,"filename":"image_17012025_16_02_05_6260.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1867272a863cbe9c2bd529d1c7e11e1c.jpg","text":"TemporaryFile(/tmp/multipartBody4076317540190134683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126612965,"filename":"image_17012025_16_01_52_6413.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d17868cb0d157d35c3fc847ca10409a0.jpg","text":"TemporaryFile(/tmp/multipartBody6622059739271508040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126612965,"filename":"image_17012025_16_02_16_6400.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/acc76dff472cef0deebefb0a73c0e895.jpg","text":"TemporaryFile(/tmp/multipartBody7373976564616727350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126612965,"filename":"image_17012025_16_01_59_6414.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/deaa979fda99c113d18af639f4130bf8.jpg","text":"TemporaryFile(/tmp/multipartBody451128961776445935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126612965,"filename":"image_17012025_16_01_46_5146.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fecb3dbc5aaefd5df6da6461ebe9a154.jpg","text":"TemporaryFile(/tmp/multipartBody1503312120648077937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126612965,"filename":"image_17012025_16_02_10_5154.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329506464","file1":"1329506462","file0":"1329506458","file4":"1329506476","file5":"1329506495","file3":"1329506469"},"map_files_photo_id_array":[{"photo_id":"1329506495","filename":"file5"},{"photo_id":"1329506464","filename":"file2"},{"photo_id":"1329506476","filename":"file4"},{"photo_id":"1329506462","filename":"file1"},{"photo_id":"1329506458","filename":"file0"},{"photo_id":"1329506469","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329506464":["hashtag1","hashtag2"]},{"1329506476":["hashtag1","hashtag2"]},{"1329506458":["hashtag1","hashtag2"]},{"1329506469":["hashtag1","hashtag2"]},{"1329506495":["hashtag1","hashtag2"]},{"1329506462":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329506464, 1329506476, 1329506458, 1329506469, 1329506495, 1329506462)","result":[],"list_datou_current":[]}'
Result OK !
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329506465","1329506470","1329506461","1329506496","1329506457","1329506477"],"photo_ids_order":["1329506457","1329506461","1329506465","1329506470","1329506477","1329506496"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/44f3f6dd1bd99020355ce9f66eae1d37.jpg","text":"TemporaryFile(/tmp/multipartBody2124647657516973977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126612692,"filename":"image_17012025_16_02_05_6260.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/641bf637f7cdda7ada7d985c3ab22c61.jpg","text":"TemporaryFile(/tmp/multipartBody9077711993018820800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126612692,"filename":"image_17012025_16_01_59_6414.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e9a529e20f4386ec475c57c28b5bd8d3.jpg","text":"TemporaryFile(/tmp/multipartBody214501000469128085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126612692,"filename":"image_17012025_16_02_10_5154.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/69109c9e06b8aa26c8854b9ce2418730.jpg","text":"TemporaryFile(/tmp/multipartBody8105236379190870671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126612692,"filename":"image_17012025_16_01_46_5146.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8b63ffcf1362881184ff9772c2f9ba07.jpg","text":"TemporaryFile(/tmp/multipartBody2735099673396372255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126612692,"filename":"image_17012025_16_02_16_6400.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7b643fad6c242673846526a0d1614c27.jpg","text":"TemporaryFile(/tmp/multipartBody2292386712029805917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126612692,"filename":"image_17012025_16_01_52_6413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329506465","file1":"1329506461","file0":"1329506457","file4":"1329506477","file5":"1329506496","file3":"1329506470"},"map_files_photo_id_array":[{"photo_id":"1329506496","filename":"file5"},{"photo_id":"1329506465","filename":"file2"},{"photo_id":"1329506477","filename":"file4"},{"photo_id":"1329506461","filename":"file1"},{"photo_id":"1329506457","filename":"file0"},{"photo_id":"1329506470","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329506465":["hashtag1","hashtag2"]},{"1329506470":["hashtag1","hashtag2"]},{"1329506461":["hashtag1","hashtag2"]},{"1329506496":["hashtag1","hashtag2"]},{"1329506457":["hashtag1","hashtag2"]},{"1329506477":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329506465, 1329506470, 1329506461, 1329506496, 1329506457, 1329506477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.22596073150635 secondes ---
uploaded 6 photos
time to upload: 49.27590775489807 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:10:02.701773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/06/image_17012025_16_06_11_6477.jpg', '/media/data/images/17012025/16/06/image_17012025_16_06_04_6160.jpg', '/media/data/images/17012025/16/05/image_17012025_16_05_58_6372.jpg', '/media/data/images/17012025/16/05/image_17012025_16_05_52_5131.jpg', '/media/data/images/17012025/16/05/image_17012025_16_05_47_6379.jpg', '/media/data/images/17012025/16/05/image_17012025_16_05_40_6379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/06/image_17012025_16_06_11_6477.jpg
/media/data/images/17012025/16/06/image_17012025_16_06_04_6160.jpg
/media/data/images/17012025/16/05/image_17012025_16_05_58_6372.jpg
/media/data/images/17012025/16/05/image_17012025_16_05_52_5131.jpg
/media/data/images/17012025/16/05/image_17012025_16_05_47_6379.jpg
/media/data/images/17012025/16/05/image_17012025_16_05_40_6379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329506558","1329506599","1329506545","1329506580","1329506601","1329506561"],"photo_ids_order":["1329506545","1329506558","1329506561","1329506580","1329506599","1329506601"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6046536ae715cf057e7a7e3640c564d4.jpg","text":"TemporaryFile(/tmp/multipartBody5862664507060264835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126669559,"filename":"image_17012025_16_06_04_6160.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/37734c2a18a0f6d231a57119ba110141.jpg","text":"TemporaryFile(/tmp/multipartBody5129086041820471052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126669559,"filename":"image_17012025_16_05_47_6379.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e528346205eb2cc7fa119e3f569f135c.jpg","text":"TemporaryFile(/tmp/multipartBody7180149525035828625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126669559,"filename":"image_17012025_16_06_11_6477.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8d568eb5b25b1e901c01d378644c210f.jpg","text":"TemporaryFile(/tmp/multipartBody9045825079188285780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126669559,"filename":"image_17012025_16_05_52_5131.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9a935a4be7aa056e9bb3a8c4552ff202.jpg","text":"TemporaryFile(/tmp/multipartBody6780768248768827064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126669559,"filename":"image_17012025_16_05_40_6379.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9f3dcb85da83597f08d8dad8a7fe6c35.jpg","text":"TemporaryFile(/tmp/multipartBody1259443886467346847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126669559,"filename":"image_17012025_16_05_58_6372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329506561","file1":"1329506558","file0":"1329506545","file4":"1329506599","file5":"1329506601","file3":"1329506580"},"map_files_photo_id_array":[{"photo_id":"1329506601","filename":"file5"},{"photo_id":"1329506561","filename":"file2"},{"photo_id":"1329506599","filename":"file4"},{"photo_id":"1329506558","filename":"file1"},{"photo_id":"1329506545","filename":"file0"},{"photo_id":"1329506580","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329506558":["hashtag1","hashtag2"]},{"1329506599":["hashtag1","hashtag2"]},{"1329506545":["hashtag1","hashtag2"]},{"1329506580":["hashtag1","hashtag2"]},{"1329506601":["hashtag1","hashtag2"]},{"1329506561":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329506558, 1329506599, 1329506545, 1329506580, 1329506601, 1329506561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.62572407722473 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:11:03.011179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/10/image_17012025_16_10_05_6399.jpg', '/media/data/images/17012025/16/09/image_17012025_16_09_58_6392.jpg', '/media/data/images/17012025/16/09/image_17012025_16_09_52_5122.jpg', '/media/data/images/17012025/16/09/image_17012025_16_09_47_6352.jpg', '/media/data/images/17012025/16/09/image_17012025_16_09_40_6375.jpg', '/media/data/images/17012025/16/09/image_17012025_16_09_34_5179.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/10/image_17012025_16_10_05_6399.jpg
/media/data/images/17012025/16/09/image_17012025_16_09_58_6392.jpg
/media/data/images/17012025/16/09/image_17012025_16_09_52_5122.jpg
/media/data/images/17012025/16/09/image_17012025_16_09_47_6352.jpg
/media/data/images/17012025/16/09/image_17012025_16_09_40_6375.jpg
/media/data/images/17012025/16/09/image_17012025_16_09_34_5179.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329506662","1329506647","1329506656","1329506672","1329506666","1329506651"],"photo_ids_order":["1329506647","1329506651","1329506656","1329506662","1329506666","1329506672"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a433d5c5418522e2e33b32e8e42503ec.jpg","text":"TemporaryFile(/tmp/multipartBody6119759101270178453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126728335,"filename":"image_17012025_16_09_47_6352.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9b648647495152727332588483ae1c57.jpg","text":"TemporaryFile(/tmp/multipartBody1408442892112233493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126728335,"filename":"image_17012025_16_10_05_6399.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/48775f0a750f8bece38cab6637dd6b40.jpg","text":"TemporaryFile(/tmp/multipartBody7119701696854007399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126728335,"filename":"image_17012025_16_09_52_5122.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/967d6e037c9b2f471c2aeb28bb6ad744.jpg","text":"TemporaryFile(/tmp/multipartBody8327921455289670106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126728335,"filename":"image_17012025_16_09_34_5179.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a55d6a691fb8e831583a24197b81f71f.jpg","text":"TemporaryFile(/tmp/multipartBody164051081646549585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126728335,"filename":"image_17012025_16_09_40_6375.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f8426b36e1eaebf8b53470236124fb18.jpg","text":"TemporaryFile(/tmp/multipartBody7238059233898633845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126728335,"filename":"image_17012025_16_09_58_6392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329506656","file1":"1329506651","file0":"1329506647","file4":"1329506666","file5":"1329506672","file3":"1329506662"},"map_files_photo_id_array":[{"photo_id":"1329506672","filename":"file5"},{"photo_id":"1329506656","filename":"file2"},{"photo_id":"1329506666","filename":"file4"},{"photo_id":"1329506651","filename":"file1"},{"photo_id":"1329506647","filename":"file0"},{"photo_id":"1329506662","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329506662":["hashtag1","hashtag2"]},{"1329506647":["hashtag1","hashtag2"]},{"1329506656":["hashtag1","hashtag2"]},{"1329506672":["hashtag1","hashtag2"]},{"1329506666":["hashtag1","hashtag2"]},{"1329506651":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329506662, 1329506647, 1329506656, 1329506672, 1329506666, 1329506651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.49163866043091 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:12:03.035088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/11/image_17012025_16_11_52_6418.jpg', '/media/data/images/17012025/16/11/image_17012025_16_11_46_5168.jpg', '/media/data/images/17012025/16/11/image_17012025_16_11_41_6417.jpg', '/media/data/images/17012025/16/11/image_17012025_16_11_34_6410.jpg', '/media/data/images/17012025/16/11/image_17012025_16_11_28_5187.jpg', '/media/data/images/17012025/16/11/image_17012025_16_11_23_6395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/11/image_17012025_16_11_52_6418.jpg
/media/data/images/17012025/16/11/image_17012025_16_11_46_5168.jpg
/media/data/images/17012025/16/11/image_17012025_16_11_41_6417.jpg
/media/data/images/17012025/16/11/image_17012025_16_11_34_6410.jpg
/media/data/images/17012025/16/11/image_17012025_16_11_28_5187.jpg
/media/data/images/17012025/16/11/image_17012025_16_11_23_6395.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329506720","1329506714","1329506708","1329506686","1329506725","1329506694"],"photo_ids_order":["1329506686","1329506694","1329506708","1329506714","1329506720","1329506725"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/64b7cc16351c32644d6b942ecd098df1.jpg","text":"TemporaryFile(/tmp/multipartBody8871460633631993459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126788800,"filename":"image_17012025_16_11_28_5187.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/56845bf6095cec0b45d745c702d81191.jpg","text":"TemporaryFile(/tmp/multipartBody8064483368470830813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126788800,"filename":"image_17012025_16_11_34_6410.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/83f05425702b747bde1d701a505d1dec.jpg","text":"TemporaryFile(/tmp/multipartBody5171937514712381610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126788800,"filename":"image_17012025_16_11_41_6417.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/be8bf829664d987844c00a6d93dd4ebc.jpg","text":"TemporaryFile(/tmp/multipartBody990786576456910164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126788800,"filename":"image_17012025_16_11_52_6418.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ff61897fa47bbfe816217d9f55d0323e.jpg","text":"TemporaryFile(/tmp/multipartBody9127065149584144507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126788800,"filename":"image_17012025_16_11_23_6395.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cb17552334819022849e8c69af34b5b2.jpg","text":"TemporaryFile(/tmp/multipartBody4754963986328227624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126788800,"filename":"image_17012025_16_11_46_5168.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329506708","file1":"1329506694","file0":"1329506686","file4":"1329506720","file5":"1329506725","file3":"1329506714"},"map_files_photo_id_array":[{"photo_id":"1329506725","filename":"file5"},{"photo_id":"1329506708","filename":"file2"},{"photo_id":"1329506720","filename":"file4"},{"photo_id":"1329506694","filename":"file1"},{"photo_id":"1329506686","filename":"file0"},{"photo_id":"1329506714","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329506720":["hashtag1","hashtag2"]},{"1329506714":["hashtag1","hashtag2"]},{"1329506708":["hashtag1","hashtag2"]},{"1329506686":["hashtag1","hashtag2"]},{"1329506725":["hashtag1","hashtag2"]},{"1329506694":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329506720, 1329506714, 1329506708, 1329506686, 1329506725, 1329506694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3323974609375 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:12:42.730698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/12/image_17012025_16_12_52_6416.jpg', '/media/data/images/17012025/16/12/image_17012025_16_12_46_6411.jpg', '/media/data/images/17012025/16/12/image_17012025_16_12_40_5168.jpg', '/media/data/images/17012025/16/12/image_17012025_16_12_35_6394.jpg', '/media/data/images/17012025/16/12/image_17012025_16_12_28_6362.jpg', '/media/data/images/17012025/16/12/image_17012025_16_12_22_5167.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/12/image_17012025_16_12_52_6416.jpg
/media/data/images/17012025/16/12/image_17012025_16_12_46_6411.jpg
/media/data/images/17012025/16/12/image_17012025_16_12_40_5168.jpg
/media/data/images/17012025/16/12/image_17012025_16_12_35_6394.jpg
/media/data/images/17012025/16/12/image_17012025_16_12_28_6362.jpg
/media/data/images/17012025/16/12/image_17012025_16_12_22_5167.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: 4.891906499862671 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:13:02.275380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/12/image_17012025_16_12_52_6416.jpg', '/media/data/images/17012025/16/12/image_17012025_16_12_46_6411.jpg', '/media/data/images/17012025/16/12/image_17012025_16_12_40_5168.jpg', '/media/data/images/17012025/16/12/image_17012025_16_12_35_6394.jpg', '/media/data/images/17012025/16/12/image_17012025_16_12_28_6362.jpg', '/media/data/images/17012025/16/12/image_17012025_16_12_22_5167.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/12/image_17012025_16_12_52_6416.jpg
/media/data/images/17012025/16/12/image_17012025_16_12_46_6411.jpg
/media/data/images/17012025/16/12/image_17012025_16_12_40_5168.jpg
/media/data/images/17012025/16/12/image_17012025_16_12_35_6394.jpg
/media/data/images/17012025/16/12/image_17012025_16_12_28_6362.jpg
/media/data/images/17012025/16/12/image_17012025_16_12_22_5167.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329506784","1329506793","1329506802","1329506805","1329506789","1329506798"],"photo_ids_order":["1329506784","1329506789","1329506793","1329506798","1329506802","1329506805"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b9d2f8010b0c549dbab24178fe1e9a6e.jpg","text":"TemporaryFile(/tmp/multipartBody4890513036836553676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126850131,"filename":"image_17012025_16_12_52_6416.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/251bc65e17b10bdd4f6839276c8deacf.jpg","text":"TemporaryFile(/tmp/multipartBody7793592832221537305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126850131,"filename":"image_17012025_16_12_40_5168.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/83a07d729ecc704aa54b99653e804926.jpg","text":"TemporaryFile(/tmp/multipartBody4637349550172360509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126850131,"filename":"image_17012025_16_12_28_6362.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fad135e19de56e58f3d408065eaa3e4f.jpg","text":"TemporaryFile(/tmp/multipartBody3136137063897743854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126850131,"filename":"image_17012025_16_12_22_5167.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/66bfbf7c71e7c6c8bcba2341a62d6234.jpg","text":"TemporaryFile(/tmp/multipartBody4298322793777458647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126850131,"filename":"image_17012025_16_12_46_6411.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/565a4a17e095d05a22d329ab944f864d.jpg","text":"TemporaryFile(/tmp/multipartBody2146653396107540463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126850131,"filename":"image_17012025_16_12_35_6394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329506793","file1":"1329506789","file0":"1329506784","file4":"1329506802","file5":"1329506805","file3":"1329506798"},"map_files_photo_id_array":[{"photo_id":"1329506805","filename":"file5"},{"photo_id":"1329506793","filename":"file2"},{"photo_id":"1329506802","filename":"file4"},{"photo_id":"1329506789","filename":"file1"},{"photo_id":"1329506784","filename":"file0"},{"photo_id":"1329506798","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329506784":["hashtag1","hashtag2"]},{"1329506793":["hashtag1","hashtag2"]},{"1329506802":["hashtag1","hashtag2"]},{"1329506805":["hashtag1","hashtag2"]},{"1329506789":["hashtag1","hashtag2"]},{"1329506798":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329506784, 1329506793, 1329506802, 1329506805, 1329506789, 1329506798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.31859993934631 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 16:14:02.445352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/13/image_17012025_16_13_52_5172.jpg', '/media/data/images/17012025/16/13/image_17012025_16_13_47_6392.jpg', '/media/data/images/17012025/16/13/image_17012025_16_13_40_6407.jpg', '/media/data/images/17012025/16/13/image_17012025_16_13_34_5199.jpg', '/media/data/images/17012025/16/13/image_17012025_16_13_29_6403.jpg', '/media/data/images/17012025/16/13/image_17012025_16_13_22_6409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/13/image_17012025_16_13_52_5172.jpg
/media/data/images/17012025/16/13/image_17012025_16_13_47_6392.jpg
/media/data/images/17012025/16/13/image_17012025_16_13_40_6407.jpg
/media/data/images/17012025/16/13/image_17012025_16_13_34_5199.jpg
/media/data/images/17012025/16/13/image_17012025_16_13_29_6403.jpg
/media/data/images/17012025/16/13/image_17012025_16_13_22_6409.jpg
2025-01-17 16:14:02.525225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/13/image_17012025_16_13_52_5172.jpg', '/media/data/images/17012025/16/13/image_17012025_16_13_47_6392.jpg', '/media/data/images/17012025/16/13/image_17012025_16_13_40_6407.jpg', '/media/data/images/17012025/16/13/image_17012025_16_13_34_5199.jpg', '/media/data/images/17012025/16/13/image_17012025_16_13_29_6403.jpg', '/media/data/images/17012025/16/13/image_17012025_16_13_22_6409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/13/image_17012025_16_13_52_5172.jpg
/media/data/images/17012025/16/13/image_17012025_16_13_47_6392.jpg
/media/data/images/17012025/16/13/image_17012025_16_13_40_6407.jpg
/media/data/images/17012025/16/13/image_17012025_16_13_34_5199.jpg
/media/data/images/17012025/16/13/image_17012025_16_13_29_6403.jpg
/media/data/images/17012025/16/13/image_17012025_16_13_22_6409.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: 14.21736741065979 secondes ---
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329506872","1329506860","1329506877","1329506850","1329506888","1329506882"],"photo_ids_order":["1329506850","1329506860","1329506872","1329506877","1329506882","1329506888"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2063968aa0c8b498d1e949f287fd178f.jpg","text":"TemporaryFile(/tmp/multipartBody763009788619000903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126917240,"filename":"image_17012025_16_13_40_6407.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1912240f2d2491d895f2a25fe4ef2ceb.jpg","text":"TemporaryFile(/tmp/multipartBody2660409696348859696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126917240,"filename":"image_17012025_16_13_47_6392.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a5c92f8dbc1df2c60f22b33d6a258c07.jpg","text":"TemporaryFile(/tmp/multipartBody6830529855985693955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126917240,"filename":"image_17012025_16_13_34_5199.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e09fb0a586adf10347f5fd97087b329d.jpg","text":"TemporaryFile(/tmp/multipartBody8780684385784000293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126917240,"filename":"image_17012025_16_13_52_5172.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2f58e647def0e87333f4fa335f93aa7c.jpg","text":"TemporaryFile(/tmp/multipartBody5437030692099636389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126917240,"filename":"image_17012025_16_13_22_6409.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bf4b18d6da1db425484b2cbe22df9631.jpg","text":"TemporaryFile(/tmp/multipartBody8775510983004949221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126917240,"filename":"image_17012025_16_13_29_6403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329506872","file1":"1329506860","file0":"1329506850","file4":"1329506882","file5":"1329506888","file3":"1329506877"},"map_files_photo_id_array":[{"photo_id":"1329506888","filename":"file5"},{"photo_id":"1329506872","filename":"file2"},{"photo_id":"1329506882","filename":"file4"},{"photo_id":"1329506860","filename":"file1"},{"photo_id":"1329506850","filename":"file0"},{"photo_id":"1329506877","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329506872":["hashtag1","hashtag2"]},{"1329506860":["hashtag1","hashtag2"]},{"1329506877":["hashtag1","hashtag2"]},{"1329506850":["hashtag1","hashtag2"]},{"1329506888":["hashtag1","hashtag2"]},{"1329506882":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329506872, 1329506860, 1329506877, 1329506850, 1329506888, 1329506882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.60856795310974 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:15:02.446911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/14/image_17012025_16_14_52_6388.jpg', '/media/data/images/17012025/16/14/image_17012025_16_14_46_6392.jpg', '/media/data/images/17012025/16/14/image_17012025_16_14_40_5196.jpg', '/media/data/images/17012025/16/14/image_17012025_16_14_34_6413.jpg', '/media/data/images/17012025/16/14/image_17012025_16_14_28_6421.jpg', '/media/data/images/17012025/16/14/image_17012025_16_14_22_5206.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/14/image_17012025_16_14_52_6388.jpg
/media/data/images/17012025/16/14/image_17012025_16_14_46_6392.jpg
/media/data/images/17012025/16/14/image_17012025_16_14_40_5196.jpg
/media/data/images/17012025/16/14/image_17012025_16_14_34_6413.jpg
/media/data/images/17012025/16/14/image_17012025_16_14_28_6421.jpg
/media/data/images/17012025/16/14/image_17012025_16_14_22_5206.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329507016","1329507010","1329507004","1329506991","1329506985","1329506973"],"photo_ids_order":["1329506973","1329506985","1329506991","1329507004","1329507010","1329507016"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/49fe266f2d7735e5e97d60930d5691b9.jpg","text":"TemporaryFile(/tmp/multipartBody5109714922547114377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126967773,"filename":"image_17012025_16_14_22_5206.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2468d87de2e81dc3a131e6f6bee0bd15.jpg","text":"TemporaryFile(/tmp/multipartBody2212607160941818785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126967773,"filename":"image_17012025_16_14_28_6421.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e24d7a58b54f042d7b402b5bf62284ef.jpg","text":"TemporaryFile(/tmp/multipartBody1227240873062489000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126967773,"filename":"image_17012025_16_14_34_6413.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f958c8de08b1aa168008a1643cc308cc.jpg","text":"TemporaryFile(/tmp/multipartBody6357018277034206748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126967773,"filename":"image_17012025_16_14_40_5196.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0af7a72aef09f0887beeef10e334456f.jpg","text":"TemporaryFile(/tmp/multipartBody4995202311390802573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126967773,"filename":"image_17012025_16_14_46_6392.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e71c25f2e248d83b9a5c9d3d16c8d782.jpg","text":"TemporaryFile(/tmp/multipartBody18905407422161658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737126967773,"filename":"image_17012025_16_14_52_6388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329506991","file1":"1329506985","file0":"1329506973","file4":"1329507010","file5":"1329507016","file3":"1329507004"},"map_files_photo_id_array":[{"photo_id":"1329507016","filename":"file5"},{"photo_id":"1329506991","filename":"file2"},{"photo_id":"1329507010","filename":"file4"},{"photo_id":"1329506985","filename":"file1"},{"photo_id":"1329506973","filename":"file0"},{"photo_id":"1329507004","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329507016":["hashtag1","hashtag2"]},{"1329507010":["hashtag1","hashtag2"]},{"1329507004":["hashtag1","hashtag2"]},{"1329506991":["hashtag1","hashtag2"]},{"1329506985":["hashtag1","hashtag2"]},{"1329506973":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329507016, 1329507010, 1329507004, 1329506991, 1329506985, 1329506973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.1596257686615 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:16:02.300494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/15/image_17012025_16_15_52_5198.jpg', '/media/data/images/17012025/16/15/image_17012025_16_15_47_6440.jpg', '/media/data/images/17012025/16/15/image_17012025_16_15_40_6439.jpg', '/media/data/images/17012025/16/15/image_17012025_16_15_34_5179.jpg', '/media/data/images/17012025/16/15/image_17012025_16_15_29_6393.jpg', '/media/data/images/17012025/16/15/image_17012025_16_15_22_6442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/15/image_17012025_16_15_52_5198.jpg
/media/data/images/17012025/16/15/image_17012025_16_15_47_6440.jpg
/media/data/images/17012025/16/15/image_17012025_16_15_40_6439.jpg
/media/data/images/17012025/16/15/image_17012025_16_15_34_5179.jpg
/media/data/images/17012025/16/15/image_17012025_16_15_29_6393.jpg
/media/data/images/17012025/16/15/image_17012025_16_15_22_6442.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329507052","1329507061","1329507049","1329507084","1329507056","1329507071"],"photo_ids_order":["1329507049","1329507052","1329507056","1329507061","1329507071","1329507084"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d956ce85d2d6347f44ccb7b9d573fbdf.jpg","text":"TemporaryFile(/tmp/multipartBody6048328135427008116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127030225,"filename":"image_17012025_16_15_47_6440.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d9ea01b03ef2542ddcad74239f3b9f70.jpg","text":"TemporaryFile(/tmp/multipartBody1602179440075696559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127030225,"filename":"image_17012025_16_15_34_5179.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d0848c22e85f041d95225ac912eff4df.jpg","text":"TemporaryFile(/tmp/multipartBody5681847942617462928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127030225,"filename":"image_17012025_16_15_52_5198.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e892c51cd2ea157dcc62404d7dae3b64.jpg","text":"TemporaryFile(/tmp/multipartBody7384999773472104439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127030225,"filename":"image_17012025_16_15_22_6442.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/be8ec6b1385c7949447d411291a5aa16.jpg","text":"TemporaryFile(/tmp/multipartBody2922091699453761182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127030225,"filename":"image_17012025_16_15_40_6439.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f724576a75952f898202ce9e86ec6e06.jpg","text":"TemporaryFile(/tmp/multipartBody2814976671756202824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127030225,"filename":"image_17012025_16_15_29_6393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329507056","file1":"1329507052","file0":"1329507049","file4":"1329507071","file5":"1329507084","file3":"1329507061"},"map_files_photo_id_array":[{"photo_id":"1329507084","filename":"file5"},{"photo_id":"1329507056","filename":"file2"},{"photo_id":"1329507071","filename":"file4"},{"photo_id":"1329507052","filename":"file1"},{"photo_id":"1329507049","filename":"file0"},{"photo_id":"1329507061","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329507052":["hashtag1","hashtag2"]},{"1329507061":["hashtag1","hashtag2"]},{"1329507049":["hashtag1","hashtag2"]},{"1329507084":["hashtag1","hashtag2"]},{"1329507056":["hashtag1","hashtag2"]},{"1329507071":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329507052, 1329507061, 1329507049, 1329507084, 1329507056, 1329507071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.76169490814209 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:17:02.593273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/16/image_17012025_16_16_52_6573.jpg', '/media/data/images/17012025/16/16/image_17012025_16_16_46_5316.jpg', '/media/data/images/17012025/16/16/image_17012025_16_16_40_6489.jpg', '/media/data/images/17012025/16/16/image_17012025_16_16_34_5163.jpg', '/media/data/images/17012025/16/16/image_17012025_16_16_29_6467.jpg', '/media/data/images/17012025/16/16/image_17012025_16_16_10_6587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/16/image_17012025_16_16_52_6573.jpg
/media/data/images/17012025/16/16/image_17012025_16_16_46_5316.jpg
/media/data/images/17012025/16/16/image_17012025_16_16_40_6489.jpg
/media/data/images/17012025/16/16/image_17012025_16_16_34_5163.jpg
/media/data/images/17012025/16/16/image_17012025_16_16_29_6467.jpg
/media/data/images/17012025/16/16/image_17012025_16_16_10_6587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329507277","1329507271","1329507274","1329507291","1329507281","1329507295"],"photo_ids_order":["1329507271","1329507274","1329507277","1329507281","1329507291","1329507295"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7b048c9dd2a603e8654d66c514a79acb.jpg","text":"TemporaryFile(/tmp/multipartBody1865121326753379953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127090674,"filename":"image_17012025_16_16_40_6489.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/818579dd40b7d7dc26a08fa3b3dd6623.jpg","text":"TemporaryFile(/tmp/multipartBody8893854836502006317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127090674,"filename":"image_17012025_16_16_52_6573.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7e4c55452ab5116850562de3374e3651.jpg","text":"TemporaryFile(/tmp/multipartBody6739668171713086988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127090674,"filename":"image_17012025_16_16_46_5316.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fcd68296b3cceeffed5913c0799563bc.jpg","text":"TemporaryFile(/tmp/multipartBody1723989213275782377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127090674,"filename":"image_17012025_16_16_29_6467.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b8177752d86bdca656e678f582ef7095.jpg","text":"TemporaryFile(/tmp/multipartBody6367742035713995494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127090674,"filename":"image_17012025_16_16_34_5163.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/59479cb994f3928bebb20a154947826e.jpg","text":"TemporaryFile(/tmp/multipartBody7506422301819697242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127090674,"filename":"image_17012025_16_16_10_6587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329507277","file1":"1329507274","file0":"1329507271","file4":"1329507291","file5":"1329507295","file3":"1329507281"},"map_files_photo_id_array":[{"photo_id":"1329507295","filename":"file5"},{"photo_id":"1329507277","filename":"file2"},{"photo_id":"1329507291","filename":"file4"},{"photo_id":"1329507274","filename":"file1"},{"photo_id":"1329507271","filename":"file0"},{"photo_id":"1329507281","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329507277":["hashtag1","hashtag2"]},{"1329507271":["hashtag1","hashtag2"]},{"1329507274":["hashtag1","hashtag2"]},{"1329507291":["hashtag1","hashtag2"]},{"1329507281":["hashtag1","hashtag2"]},{"1329507295":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329507277, 1329507271, 1329507274, 1329507291, 1329507281, 1329507295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.31925678253174 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:18:02.599304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/17/image_17012025_16_17_53_6432.jpg', '/media/data/images/17012025/16/17/image_17012025_16_17_46_6430.jpg', '/media/data/images/17012025/16/17/image_17012025_16_17_40_5177.jpg', '/media/data/images/17012025/16/17/image_17012025_16_17_35_6387.jpg', '/media/data/images/17012025/16/17/image_17012025_16_17_28_6398.jpg', '/media/data/images/17012025/16/17/image_17012025_16_17_22_5201.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/17/image_17012025_16_17_53_6432.jpg
/media/data/images/17012025/16/17/image_17012025_16_17_46_6430.jpg
/media/data/images/17012025/16/17/image_17012025_16_17_40_5177.jpg
/media/data/images/17012025/16/17/image_17012025_16_17_35_6387.jpg
/media/data/images/17012025/16/17/image_17012025_16_17_28_6398.jpg
/media/data/images/17012025/16/17/image_17012025_16_17_22_5201.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329507337","1329507375","1329507380","1329507362","1329507356","1329507359"],"photo_ids_order":["1329507337","1329507356","1329507359","1329507362","1329507375","1329507380"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/56e62fea465210f065e2b53d4a4c1de9.jpg","text":"TemporaryFile(/tmp/multipartBody8983445724358483820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127148180,"filename":"image_17012025_16_17_53_6432.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5fed9e8939f43920b6417ead67733ed2.jpg","text":"TemporaryFile(/tmp/multipartBody251958509802812815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127148180,"filename":"image_17012025_16_17_28_6398.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/24191b3cbf517e9e6c090b0e82eeb32f.jpg","text":"TemporaryFile(/tmp/multipartBody1076171152078941877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127148180,"filename":"image_17012025_16_17_22_5201.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ca415fdeed6a1f19293583a9cfb82d9b.jpg","text":"TemporaryFile(/tmp/multipartBody1785751373521345227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127148180,"filename":"image_17012025_16_17_35_6387.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fedd6bb6f9ce6fa25e99d2b475dae2d1.jpg","text":"TemporaryFile(/tmp/multipartBody6714031361183973304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127148180,"filename":"image_17012025_16_17_46_6430.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4720a854806c55bc010b673522090922.jpg","text":"TemporaryFile(/tmp/multipartBody4539904877939704095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127148180,"filename":"image_17012025_16_17_40_5177.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329507359","file1":"1329507356","file0":"1329507337","file4":"1329507375","file5":"1329507380","file3":"1329507362"},"map_files_photo_id_array":[{"photo_id":"1329507380","filename":"file5"},{"photo_id":"1329507359","filename":"file2"},{"photo_id":"1329507375","filename":"file4"},{"photo_id":"1329507356","filename":"file1"},{"photo_id":"1329507337","filename":"file0"},{"photo_id":"1329507362","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329507337":["hashtag1","hashtag2"]},{"1329507375":["hashtag1","hashtag2"]},{"1329507380":["hashtag1","hashtag2"]},{"1329507362":["hashtag1","hashtag2"]},{"1329507356":["hashtag1","hashtag2"]},{"1329507359":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329507337, 1329507375, 1329507380, 1329507362, 1329507356, 1329507359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.45697546005249 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:19:03.063095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/18/image_17012025_16_18_52_6403.jpg', '/media/data/images/17012025/16/18/image_17012025_16_18_46_5201.jpg', '/media/data/images/17012025/16/18/image_17012025_16_18_41_6424.jpg', '/media/data/images/17012025/16/18/image_17012025_16_18_34_6426.jpg', '/media/data/images/17012025/16/18/image_17012025_16_18_28_5203.jpg', '/media/data/images/17012025/16/18/image_17012025_16_18_23_6414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/18/image_17012025_16_18_52_6403.jpg
/media/data/images/17012025/16/18/image_17012025_16_18_46_5201.jpg
/media/data/images/17012025/16/18/image_17012025_16_18_41_6424.jpg
/media/data/images/17012025/16/18/image_17012025_16_18_34_6426.jpg
/media/data/images/17012025/16/18/image_17012025_16_18_28_5203.jpg
/media/data/images/17012025/16/18/image_17012025_16_18_23_6414.jpg
2025-01-17 16:19:03.070060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/18/image_17012025_16_18_52_6403.jpg', '/media/data/images/17012025/16/18/image_17012025_16_18_46_5201.jpg', '/media/data/images/17012025/16/18/image_17012025_16_18_41_6424.jpg', '/media/data/images/17012025/16/18/image_17012025_16_18_34_6426.jpg', '/media/data/images/17012025/16/18/image_17012025_16_18_28_5203.jpg', '/media/data/images/17012025/16/18/image_17012025_16_18_23_6414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/18/image_17012025_16_18_52_6403.jpg
/media/data/images/17012025/16/18/image_17012025_16_18_46_5201.jpg
/media/data/images/17012025/16/18/image_17012025_16_18_41_6424.jpg
/media/data/images/17012025/16/18/image_17012025_16_18_34_6426.jpg
/media/data/images/17012025/16/18/image_17012025_16_18_28_5203.jpg
/media/data/images/17012025/16/18/image_17012025_16_18_23_6414.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329507442","1329507430","1329507453","1329507465","1329507449","1329507458"],"photo_ids_order":["1329507430","1329507442","1329507449","1329507453","1329507458","1329507465"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fbfb8afecb69bca87f1142ec04a4db2a.jpg","text":"TemporaryFile(/tmp/multipartBody5355530980619990131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127212795,"filename":"image_17012025_16_18_46_5201.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d31fcd84df3c8922c3733a741c6c59d6.jpg","text":"TemporaryFile(/tmp/multipartBody8621496239932987204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127212795,"filename":"image_17012025_16_18_52_6403.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/67e3b2409dfb6b4bdd35cb2855213903.jpg","text":"TemporaryFile(/tmp/multipartBody2362052091167045706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127212795,"filename":"image_17012025_16_18_34_6426.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/17f1fd2191bfe0e386c024311b8beea8.jpg","text":"TemporaryFile(/tmp/multipartBody7185281340382544724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127212795,"filename":"image_17012025_16_18_23_6414.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fa4c68c308ef5e4dce31a893cef2ea14.jpg","text":"TemporaryFile(/tmp/multipartBody5567312301169615668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127212795,"filename":"image_17012025_16_18_41_6424.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/687a8a38e0da941035e139ff14396a89.jpg","text":"TemporaryFile(/tmp/multipartBody7235126589112061972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127212795,"filename":"image_17012025_16_18_28_5203.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329507449","file1":"1329507442","file0":"1329507430","file4":"1329507458","file5":"1329507465","file3":"1329507453"},"map_files_photo_id_array":[{"photo_id":"1329507465","filename":"file5"},{"photo_id":"1329507449","filename":"file2"},{"photo_id":"1329507458","filename":"file4"},{"photo_id":"1329507442","filename":"file1"},{"photo_id":"1329507430","filename":"file0"},{"photo_id":"1329507453","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329507442":["hashtag1","hashtag2"]},{"1329507430":["hashtag1","hashtag2"]},{"1329507453":["hashtag1","hashtag2"]},{"1329507465":["hashtag1","hashtag2"]},{"1329507449":["hashtag1","hashtag2"]},{"1329507458":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329507442, 1329507430, 1329507453, 1329507465, 1329507449, 1329507458)","result":[],"list_datou_current":[]}'
Result OK !
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329507463","1329507457","1329507454","1329507448","1329507441","1329507431"],"photo_ids_order":["1329507431","1329507441","1329507448","1329507454","1329507457","1329507463"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c71da6d3bdcb3fd8c503a18092ca0cc9.jpg","text":"TemporaryFile(/tmp/multipartBody3786233444705652499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127213091,"filename":"image_17012025_16_18_23_6414.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/faa644f2153c1b5d83a8e6bebf825aac.jpg","text":"TemporaryFile(/tmp/multipartBody6521274015297948359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127213091,"filename":"image_17012025_16_18_28_5203.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/365a0c5956050fdc8d866ad78ad2241a.jpg","text":"TemporaryFile(/tmp/multipartBody3571805367916831613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127213091,"filename":"image_17012025_16_18_34_6426.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c64e09026dd4d6d29fed46fb543b1110.jpg","text":"TemporaryFile(/tmp/multipartBody1731663303592316284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127213091,"filename":"image_17012025_16_18_41_6424.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1f9a3149200028f81c94c52425f582cf.jpg","text":"TemporaryFile(/tmp/multipartBody2064711572859561136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127213091,"filename":"image_17012025_16_18_46_5201.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fcc66c32d8ed771c4f392d7c59330876.jpg","text":"TemporaryFile(/tmp/multipartBody5888456088108558153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127213091,"filename":"image_17012025_16_18_52_6403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329507448","file1":"1329507441","file0":"1329507431","file4":"1329507457","file5":"1329507463","file3":"1329507454"},"map_files_photo_id_array":[{"photo_id":"1329507463","filename":"file5"},{"photo_id":"1329507448","filename":"file2"},{"photo_id":"1329507457","filename":"file4"},{"photo_id":"1329507441","filename":"file1"},{"photo_id":"1329507431","filename":"file0"},{"photo_id":"1329507454","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329507463":["hashtag1","hashtag2"]},{"1329507457":["hashtag1","hashtag2"]},{"1329507454":["hashtag1","hashtag2"]},{"1329507448":["hashtag1","hashtag2"]},{"1329507441":["hashtag1","hashtag2"]},{"1329507431":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329507463, 1329507457, 1329507454, 1329507448, 1329507441, 1329507431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.533894538879395 secondes ---
uploaded 6 photos
time to upload: 44.54889988899231 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:20:02.767100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/20/image_17012025_16_20_16_5176.jpg', '/media/data/images/17012025/16/19/image_17012025_16_19_53_6391.jpg', '/media/data/images/17012025/16/19/image_17012025_16_19_46_6395.jpg', '/media/data/images/17012025/16/19/image_17012025_16_19_40_5183.jpg', '/media/data/images/17012025/16/19/image_17012025_16_19_35_6402.jpg', '/media/data/images/17012025/16/19/image_17012025_16_19_28_6429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/20/image_17012025_16_20_16_5176.jpg
/media/data/images/17012025/16/19/image_17012025_16_19_53_6391.jpg
/media/data/images/17012025/16/19/image_17012025_16_19_46_6395.jpg
/media/data/images/17012025/16/19/image_17012025_16_19_40_5183.jpg
/media/data/images/17012025/16/19/image_17012025_16_19_35_6402.jpg
/media/data/images/17012025/16/19/image_17012025_16_19_28_6429.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329507496","1329507499","1329507491","1329507494","1329507515","1329507509"],"photo_ids_order":["1329507491","1329507494","1329507496","1329507499","1329507509","1329507515"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/35de364fc332b69a6342d322e0a6f110.jpg","text":"TemporaryFile(/tmp/multipartBody714519912644348316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127270308,"filename":"image_17012025_16_19_46_6395.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/155b326bf249b84f5d454cf0a22a633b.jpg","text":"TemporaryFile(/tmp/multipartBody1320545299824649289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127270308,"filename":"image_17012025_16_19_40_5183.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/02eb9a418cbed6112338645fba0e6bcf.jpg","text":"TemporaryFile(/tmp/multipartBody3847173548494138451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127270308,"filename":"image_17012025_16_20_16_5176.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/67860e1d88325aea5db2f9cfb6d1cd70.jpg","text":"TemporaryFile(/tmp/multipartBody5551349450091363959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127270308,"filename":"image_17012025_16_19_53_6391.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d5d98fba2765a8a75da60523d87e9974.jpg","text":"TemporaryFile(/tmp/multipartBody4357725654218783738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127270308,"filename":"image_17012025_16_19_28_6429.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e47ebff8cad0a75ffd87975c52ca1adb.jpg","text":"TemporaryFile(/tmp/multipartBody1242735846168700417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127270308,"filename":"image_17012025_16_19_35_6402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329507496","file1":"1329507494","file0":"1329507491","file4":"1329507509","file5":"1329507515","file3":"1329507499"},"map_files_photo_id_array":[{"photo_id":"1329507515","filename":"file5"},{"photo_id":"1329507496","filename":"file2"},{"photo_id":"1329507509","filename":"file4"},{"photo_id":"1329507494","filename":"file1"},{"photo_id":"1329507491","filename":"file0"},{"photo_id":"1329507499","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329507496":["hashtag1","hashtag2"]},{"1329507499":["hashtag1","hashtag2"]},{"1329507491":["hashtag1","hashtag2"]},{"1329507494":["hashtag1","hashtag2"]},{"1329507515":["hashtag1","hashtag2"]},{"1329507509":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329507496, 1329507499, 1329507491, 1329507494, 1329507515, 1329507509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.791865825653076 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:21:02.855340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/20/image_17012025_16_20_52_5186.jpg', '/media/data/images/17012025/16/20/image_17012025_16_20_47_6401.jpg', '/media/data/images/17012025/16/20/image_17012025_16_20_40_6396.jpg', '/media/data/images/17012025/16/20/image_17012025_16_20_34_5176.jpg', '/media/data/images/17012025/16/20/image_17012025_16_20_29_6388.jpg', '/media/data/images/17012025/16/20/image_17012025_16_20_22_6393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/20/image_17012025_16_20_52_5186.jpg
/media/data/images/17012025/16/20/image_17012025_16_20_47_6401.jpg
/media/data/images/17012025/16/20/image_17012025_16_20_40_6396.jpg
/media/data/images/17012025/16/20/image_17012025_16_20_34_5176.jpg
/media/data/images/17012025/16/20/image_17012025_16_20_29_6388.jpg
/media/data/images/17012025/16/20/image_17012025_16_20_22_6393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329507595","1329507589","1329507585","1329507588","1329507593","1329507600"],"photo_ids_order":["1329507585","1329507588","1329507589","1329507593","1329507595","1329507600"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8c069991f48f2cbe2fa4f5ced8c71925.jpg","text":"TemporaryFile(/tmp/multipartBody5353285684382041023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127333931,"filename":"image_17012025_16_20_29_6388.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bdce0ace7f0ad2ae919ad685ba11ceb7.jpg","text":"TemporaryFile(/tmp/multipartBody8360293035819340607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127333931,"filename":"image_17012025_16_20_40_6396.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0acca9a6ca566db0584c3095f44b9082.jpg","text":"TemporaryFile(/tmp/multipartBody8130879583155064306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127333931,"filename":"image_17012025_16_20_52_5186.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/58bdd1f1f26889dfebc882f6225063fa.jpg","text":"TemporaryFile(/tmp/multipartBody3770392048164945742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127333931,"filename":"image_17012025_16_20_47_6401.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fb503468c449a4a9255e0ba8b6dc8e01.jpg","text":"TemporaryFile(/tmp/multipartBody1684422214275911622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127333931,"filename":"image_17012025_16_20_34_5176.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/410f12e97cb1ab3a1cbd6f285ff2de28.jpg","text":"TemporaryFile(/tmp/multipartBody810281065631619731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127333931,"filename":"image_17012025_16_20_22_6393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329507589","file1":"1329507588","file0":"1329507585","file4":"1329507595","file5":"1329507600","file3":"1329507593"},"map_files_photo_id_array":[{"photo_id":"1329507600","filename":"file5"},{"photo_id":"1329507589","filename":"file2"},{"photo_id":"1329507595","filename":"file4"},{"photo_id":"1329507588","filename":"file1"},{"photo_id":"1329507585","filename":"file0"},{"photo_id":"1329507593","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329507595":["hashtag1","hashtag2"]},{"1329507589":["hashtag1","hashtag2"]},{"1329507585":["hashtag1","hashtag2"]},{"1329507588":["hashtag1","hashtag2"]},{"1329507593":["hashtag1","hashtag2"]},{"1329507600":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329507595, 1329507589, 1329507585, 1329507588, 1329507593, 1329507600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.908504009246826 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:22:02.988125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/21/image_17012025_16_21_52_6387.jpg', '/media/data/images/17012025/16/21/image_17012025_16_21_46_5187.jpg', '/media/data/images/17012025/16/21/image_17012025_16_21_41_6388.jpg', '/media/data/images/17012025/16/21/image_17012025_16_21_34_6402.jpg', '/media/data/images/17012025/16/21/image_17012025_16_21_28_5202.jpg', '/media/data/images/17012025/16/21/image_17012025_16_21_23_6421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/21/image_17012025_16_21_52_6387.jpg
/media/data/images/17012025/16/21/image_17012025_16_21_46_5187.jpg
/media/data/images/17012025/16/21/image_17012025_16_21_41_6388.jpg
/media/data/images/17012025/16/21/image_17012025_16_21_34_6402.jpg
/media/data/images/17012025/16/21/image_17012025_16_21_28_5202.jpg
/media/data/images/17012025/16/21/image_17012025_16_21_23_6421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329507958","1329507769","1329507655","1329507658","1329507650","1329507653"],"photo_ids_order":["1329507650","1329507653","1329507655","1329507658","1329507769","1329507958"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ad668265f08f640254bc238382f72367.jpg","text":"TemporaryFile(/tmp/multipartBody1226969088402228418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127388494,"filename":"image_17012025_16_21_23_6421.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0ea929172053da9f2a27931a6f2fa0e1.jpg","text":"TemporaryFile(/tmp/multipartBody5601953889213574677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127388494,"filename":"image_17012025_16_21_28_5202.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cc530e113127ec67c03ae72c0ab0acfd.jpg","text":"TemporaryFile(/tmp/multipartBody3679060788780228611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127388494,"filename":"image_17012025_16_21_41_6388.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/12beb11f158ee254e37092bf0566a902.jpg","text":"TemporaryFile(/tmp/multipartBody5613242716937403985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127388494,"filename":"image_17012025_16_21_34_6402.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/685d5e1908efa8ebf41517f46812138b.jpg","text":"TemporaryFile(/tmp/multipartBody3966474223607826032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127388494,"filename":"image_17012025_16_21_52_6387.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9c09172975111ddc0f3fae14c129ee47.jpg","text":"TemporaryFile(/tmp/multipartBody5800890077718930128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127388494,"filename":"image_17012025_16_21_46_5187.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329507655","file1":"1329507653","file0":"1329507650","file4":"1329507769","file5":"1329507958","file3":"1329507658"},"map_files_photo_id_array":[{"photo_id":"1329507958","filename":"file5"},{"photo_id":"1329507655","filename":"file2"},{"photo_id":"1329507769","filename":"file4"},{"photo_id":"1329507653","filename":"file1"},{"photo_id":"1329507650","filename":"file0"},{"photo_id":"1329507658","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329507958":["hashtag1","hashtag2"]},{"1329507769":["hashtag1","hashtag2"]},{"1329507655":["hashtag1","hashtag2"]},{"1329507658":["hashtag1","hashtag2"]},{"1329507650":["hashtag1","hashtag2"]},{"1329507653":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329507958, 1329507769, 1329507655, 1329507658, 1329507650, 1329507653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.77214550971985 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:23:02.239260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/22/image_17012025_16_22_53_6395.jpg', '/media/data/images/17012025/16/22/image_17012025_16_22_46_6426.jpg', '/media/data/images/17012025/16/22/image_17012025_16_22_40_5214.jpg', '/media/data/images/17012025/16/22/image_17012025_16_22_35_6436.jpg', '/media/data/images/17012025/16/22/image_17012025_16_22_28_6423.jpg', '/media/data/images/17012025/16/22/image_17012025_16_22_22_5211.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/22/image_17012025_16_22_53_6395.jpg
/media/data/images/17012025/16/22/image_17012025_16_22_46_6426.jpg
/media/data/images/17012025/16/22/image_17012025_16_22_40_5214.jpg
/media/data/images/17012025/16/22/image_17012025_16_22_35_6436.jpg
/media/data/images/17012025/16/22/image_17012025_16_22_28_6423.jpg
/media/data/images/17012025/16/22/image_17012025_16_22_22_5211.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329508596","1329508602","1329508586","1329508580","1329508637","1329508571"],"photo_ids_order":["1329508571","1329508580","1329508586","1329508596","1329508602","1329508637"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/524a4916d1680fe4f24908c6dacb13b8.jpg","text":"TemporaryFile(/tmp/multipartBody516431138024372410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127449182,"filename":"image_17012025_16_22_35_6436.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7de3e5e6865c6db1dfed74728a521ec1.jpg","text":"TemporaryFile(/tmp/multipartBody7557313329105659485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127449182,"filename":"image_17012025_16_22_28_6423.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/64c1c31a07cc2f4f077b1df94c82e94f.jpg","text":"TemporaryFile(/tmp/multipartBody1966477407426799173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127449182,"filename":"image_17012025_16_22_40_5214.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8a8cb91f3e8504c57328d64ae864f9c3.jpg","text":"TemporaryFile(/tmp/multipartBody5329118282573769707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127449182,"filename":"image_17012025_16_22_46_6426.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1d3d3a686004228704db1e36ea0269ca.jpg","text":"TemporaryFile(/tmp/multipartBody7650657567973100821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127449182,"filename":"image_17012025_16_22_22_5211.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e347c54d1ee0e10c47362d5b8136fe05.jpg","text":"TemporaryFile(/tmp/multipartBody5040533236236621831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127449182,"filename":"image_17012025_16_22_53_6395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329508586","file1":"1329508580","file0":"1329508571","file4":"1329508602","file5":"1329508637","file3":"1329508596"},"map_files_photo_id_array":[{"photo_id":"1329508637","filename":"file5"},{"photo_id":"1329508586","filename":"file2"},{"photo_id":"1329508602","filename":"file4"},{"photo_id":"1329508580","filename":"file1"},{"photo_id":"1329508571","filename":"file0"},{"photo_id":"1329508596","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329508596":["hashtag1","hashtag2"]},{"1329508602":["hashtag1","hashtag2"]},{"1329508586":["hashtag1","hashtag2"]},{"1329508580":["hashtag1","hashtag2"]},{"1329508637":["hashtag1","hashtag2"]},{"1329508571":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329508596, 1329508602, 1329508586, 1329508580, 1329508637, 1329508571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.82274842262268 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:24:02.308707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/23/image_17012025_16_23_52_5183.jpg', '/media/data/images/17012025/16/23/image_17012025_16_23_47_6393.jpg', '/media/data/images/17012025/16/23/image_17012025_16_23_40_6401.jpg', '/media/data/images/17012025/16/23/image_17012025_16_23_34_5186.jpg', '/media/data/images/17012025/16/23/image_17012025_16_23_29_6387.jpg', '/media/data/images/17012025/16/23/image_17012025_16_23_22_6383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/23/image_17012025_16_23_52_5183.jpg
/media/data/images/17012025/16/23/image_17012025_16_23_47_6393.jpg
/media/data/images/17012025/16/23/image_17012025_16_23_40_6401.jpg
/media/data/images/17012025/16/23/image_17012025_16_23_34_5186.jpg
/media/data/images/17012025/16/23/image_17012025_16_23_29_6387.jpg
/media/data/images/17012025/16/23/image_17012025_16_23_22_6383.jpg
2025-01-17 16:24:02.326695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/23/image_17012025_16_23_52_5183.jpg', '/media/data/images/17012025/16/23/image_17012025_16_23_47_6393.jpg', '/media/data/images/17012025/16/23/image_17012025_16_23_40_6401.jpg', '/media/data/images/17012025/16/23/image_17012025_16_23_34_5186.jpg', '/media/data/images/17012025/16/23/image_17012025_16_23_29_6387.jpg', '/media/data/images/17012025/16/23/image_17012025_16_23_22_6383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/23/image_17012025_16_23_52_5183.jpg
/media/data/images/17012025/16/23/image_17012025_16_23_47_6393.jpg
/media/data/images/17012025/16/23/image_17012025_16_23_40_6401.jpg
/media/data/images/17012025/16/23/image_17012025_16_23_34_5186.jpg
/media/data/images/17012025/16/23/image_17012025_16_23_29_6387.jpg
/media/data/images/17012025/16/23/image_17012025_16_23_22_6383.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329508711","1329508698","1329509031","1329508700","1329508870","1329508693"],"photo_ids_order":["1329508693","1329508698","1329508700","1329508711","1329508870","1329509031"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ea08ccbb9c3fe1b30c05c2fc9d67f0fe.jpg","text":"TemporaryFile(/tmp/multipartBody1467527692732022818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127511608,"filename":"image_17012025_16_23_34_5186.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5cc31dd250a8f8c688f0ff52a47a2eca.jpg","text":"TemporaryFile(/tmp/multipartBody2764952915010365954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127511608,"filename":"image_17012025_16_23_47_6393.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7c3e5ed35bed3b5792f890423631a10e.jpg","text":"TemporaryFile(/tmp/multipartBody4689765773315099031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127511608,"filename":"image_17012025_16_23_22_6383.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b367675f7640a55a78c8a8b3bc3dfd30.jpg","text":"TemporaryFile(/tmp/multipartBody6780743971987272697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127511608,"filename":"image_17012025_16_23_40_6401.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5a0285b3ef0adbdb5fa01cc9931ba5dd.jpg","text":"TemporaryFile(/tmp/multipartBody5086484319525724525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127511608,"filename":"image_17012025_16_23_29_6387.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a5a307e5664be2aad1937fc9167731a5.jpg","text":"TemporaryFile(/tmp/multipartBody6481534375948487093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127511608,"filename":"image_17012025_16_23_52_5183.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329508700","file1":"1329508698","file0":"1329508693","file4":"1329508870","file5":"1329509031","file3":"1329508711"},"map_files_photo_id_array":[{"photo_id":"1329509031","filename":"file5"},{"photo_id":"1329508700","filename":"file2"},{"photo_id":"1329508870","filename":"file4"},{"photo_id":"1329508698","filename":"file1"},{"photo_id":"1329508693","filename":"file0"},{"photo_id":"1329508711","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329508711":["hashtag1","hashtag2"]},{"1329508698":["hashtag1","hashtag2"]},{"1329509031":["hashtag1","hashtag2"]},{"1329508700":["hashtag1","hashtag2"]},{"1329508870":["hashtag1","hashtag2"]},{"1329508693":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329508711, 1329508698, 1329509031, 1329508700, 1329508870, 1329508693)","result":[],"list_datou_current":[]}'
Result OK !
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329508701","1329508694","1329508697","1329509032","1329508867","1329508732"],"photo_ids_order":["1329508694","1329508697","1329508701","1329508732","1329508867","1329509032"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/90890d0b513e6f53e282f5ae2ed6ffc1.jpg","text":"TemporaryFile(/tmp/multipartBody7032730954674226853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127511970,"filename":"image_17012025_16_23_40_6401.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/49bf7de51d9854390e3679fd2262d645.jpg","text":"TemporaryFile(/tmp/multipartBody4476762866826761810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127511970,"filename":"image_17012025_16_23_52_5183.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/58c3643604655076bfcb9e62b39a939e.jpg","text":"TemporaryFile(/tmp/multipartBody1959747190629834540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127511970,"filename":"image_17012025_16_23_47_6393.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c1940f08c57d6ef1b772e55873466422.jpg","text":"TemporaryFile(/tmp/multipartBody2562826605217475216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127511970,"filename":"image_17012025_16_23_22_6383.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7d61401f1544ad0c39510de8711c1bad.jpg","text":"TemporaryFile(/tmp/multipartBody3393592875195317362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127511970,"filename":"image_17012025_16_23_29_6387.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6f11ca4f4f0a020c6ae96459962d451d.jpg","text":"TemporaryFile(/tmp/multipartBody4434458486241426619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127511970,"filename":"image_17012025_16_23_34_5186.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329508701","file1":"1329508697","file0":"1329508694","file4":"1329508867","file5":"1329509032","file3":"1329508732"},"map_files_photo_id_array":[{"photo_id":"1329509032","filename":"file5"},{"photo_id":"1329508701","filename":"file2"},{"photo_id":"1329508867","filename":"file4"},{"photo_id":"1329508697","filename":"file1"},{"photo_id":"1329508694","filename":"file0"},{"photo_id":"1329508732","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329508701":["hashtag1","hashtag2"]},{"1329508694":["hashtag1","hashtag2"]},{"1329508697":["hashtag1","hashtag2"]},{"1329509032":["hashtag1","hashtag2"]},{"1329508867":["hashtag1","hashtag2"]},{"1329508732":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329508701, 1329508694, 1329508697, 1329509032, 1329508867, 1329508732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.351975202560425 secondes ---
uploaded 6 photos
time to upload: 43.34986591339111 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:25:02.367831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/25/image_17012025_16_25_29_6401.jpg', '/media/data/images/17012025/16/24/image_17012025_16_24_52_6422.jpg', '/media/data/images/17012025/16/24/image_17012025_16_24_46_6421.jpg', '/media/data/images/17012025/16/24/image_17012025_16_24_40_5200.jpg', '/media/data/images/17012025/16/24/image_17012025_16_24_34_6411.jpg', '/media/data/images/17012025/16/24/image_17012025_16_24_28_5188.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/25/image_17012025_16_25_29_6401.jpg
/media/data/images/17012025/16/24/image_17012025_16_24_52_6422.jpg
/media/data/images/17012025/16/24/image_17012025_16_24_46_6421.jpg
/media/data/images/17012025/16/24/image_17012025_16_24_40_5200.jpg
/media/data/images/17012025/16/24/image_17012025_16_24_34_6411.jpg
/media/data/images/17012025/16/24/image_17012025_16_24_28_5188.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329509298","1329509288","1329509293","1329509287","1329509260","1329509289"],"photo_ids_order":["1329509260","1329509287","1329509288","1329509289","1329509293","1329509298"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/67d9576735125abd8662c8b797fdb2dc.jpg","text":"TemporaryFile(/tmp/multipartBody3590844615519585352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127568630,"filename":"image_17012025_16_24_28_5188.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0b01c1dacd67ce0ab2c36fbb9944c6ee.jpg","text":"TemporaryFile(/tmp/multipartBody5623563957263880388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127568630,"filename":"image_17012025_16_24_46_6421.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a8e77189c98edeff3325ef2c4665b846.jpg","text":"TemporaryFile(/tmp/multipartBody8764194205326746229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127568630,"filename":"image_17012025_16_24_34_6411.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7de9d98626b71d5fb5adf90f7ddecad0.jpg","text":"TemporaryFile(/tmp/multipartBody7940886767897360477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127568630,"filename":"image_17012025_16_24_52_6422.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c449131568a17086d7568ad904d46690.jpg","text":"TemporaryFile(/tmp/multipartBody6754141136192168609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127568630,"filename":"image_17012025_16_25_29_6401.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/40fe675ce32fc9080e5b1673ea528342.jpg","text":"TemporaryFile(/tmp/multipartBody6699340658839245408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127568630,"filename":"image_17012025_16_24_40_5200.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329509288","file1":"1329509287","file0":"1329509260","file4":"1329509293","file5":"1329509298","file3":"1329509289"},"map_files_photo_id_array":[{"photo_id":"1329509298","filename":"file5"},{"photo_id":"1329509288","filename":"file2"},{"photo_id":"1329509293","filename":"file4"},{"photo_id":"1329509287","filename":"file1"},{"photo_id":"1329509260","filename":"file0"},{"photo_id":"1329509289","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329509298":["hashtag1","hashtag2"]},{"1329509288":["hashtag1","hashtag2"]},{"1329509293":["hashtag1","hashtag2"]},{"1329509287":["hashtag1","hashtag2"]},{"1329509260":["hashtag1","hashtag2"]},{"1329509289":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329509298, 1329509288, 1329509293, 1329509287, 1329509260, 1329509289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.86121726036072 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:26:02.405195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/25/image_17012025_16_25_52_5205.jpg', '/media/data/images/17012025/16/25/image_17012025_16_25_47_6417.jpg', '/media/data/images/17012025/16/25/image_17012025_16_25_40_6416.jpg', '/media/data/images/17012025/16/25/image_17012025_16_25_34_5186.jpg', '/media/data/images/17012025/16/25/image_17012025_16_25_22_6393.jpg', '/media/data/images/17012025/16/25/image_17012025_16_25_16_5180.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/25/image_17012025_16_25_52_5205.jpg
/media/data/images/17012025/16/25/image_17012025_16_25_47_6417.jpg
/media/data/images/17012025/16/25/image_17012025_16_25_40_6416.jpg
/media/data/images/17012025/16/25/image_17012025_16_25_34_5186.jpg
/media/data/images/17012025/16/25/image_17012025_16_25_22_6393.jpg
/media/data/images/17012025/16/25/image_17012025_16_25_16_5180.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329509391","1329509409","1329509399","1329509387","1329509384","1329509405"],"photo_ids_order":["1329509384","1329509387","1329509391","1329509399","1329509405","1329509409"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7630e8271da28821aee93e5b62852d8e.jpg","text":"TemporaryFile(/tmp/multipartBody9133865748374254621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127634486,"filename":"image_17012025_16_25_40_6416.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f9047a3ff050ca1f597ce007d4bd896f.jpg","text":"TemporaryFile(/tmp/multipartBody6352561887317240727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127634486,"filename":"image_17012025_16_25_16_5180.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/359db9fd31a6ab42dc059661c9017fd1.jpg","text":"TemporaryFile(/tmp/multipartBody166552616611825974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127634486,"filename":"image_17012025_16_25_34_5186.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b7c7ec05c5060c9faa87051ceed383d9.jpg","text":"TemporaryFile(/tmp/multipartBody27754941105940228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127634486,"filename":"image_17012025_16_25_47_6417.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4b0e0c67df76a4df257fd0302c90e527.jpg","text":"TemporaryFile(/tmp/multipartBody8457151192555897052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127634486,"filename":"image_17012025_16_25_52_5205.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4c6029dcc0ba320b07ef6d8b59dbc9f7.jpg","text":"TemporaryFile(/tmp/multipartBody1049184201938230607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127634486,"filename":"image_17012025_16_25_22_6393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329509391","file1":"1329509387","file0":"1329509384","file4":"1329509405","file5":"1329509409","file3":"1329509399"},"map_files_photo_id_array":[{"photo_id":"1329509409","filename":"file5"},{"photo_id":"1329509391","filename":"file2"},{"photo_id":"1329509405","filename":"file4"},{"photo_id":"1329509387","filename":"file1"},{"photo_id":"1329509384","filename":"file0"},{"photo_id":"1329509399","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329509391":["hashtag1","hashtag2"]},{"1329509409":["hashtag1","hashtag2"]},{"1329509399":["hashtag1","hashtag2"]},{"1329509387":["hashtag1","hashtag2"]},{"1329509384":["hashtag1","hashtag2"]},{"1329509405":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329509391, 1329509409, 1329509399, 1329509387, 1329509384, 1329509405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.96235513687134 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:27:02.407632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/26/image_17012025_16_26_52_6427.jpg', '/media/data/images/17012025/16/26/image_17012025_16_26_46_5212.jpg', '/media/data/images/17012025/16/26/image_17012025_16_26_41_6426.jpg', '/media/data/images/17012025/16/26/image_17012025_16_26_34_6438.jpg', '/media/data/images/17012025/16/26/image_17012025_16_26_28_5188.jpg', '/media/data/images/17012025/16/26/image_17012025_16_26_23_6410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/26/image_17012025_16_26_52_6427.jpg
/media/data/images/17012025/16/26/image_17012025_16_26_46_5212.jpg
/media/data/images/17012025/16/26/image_17012025_16_26_41_6426.jpg
/media/data/images/17012025/16/26/image_17012025_16_26_34_6438.jpg
/media/data/images/17012025/16/26/image_17012025_16_26_28_5188.jpg
/media/data/images/17012025/16/26/image_17012025_16_26_23_6410.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329509481","1329509478","1329509474","1329509456","1329509429","1329509432"],"photo_ids_order":["1329509429","1329509432","1329509456","1329509474","1329509478","1329509481"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7605f924329a3a24b92555c6c7ecb3ce.jpg","text":"TemporaryFile(/tmp/multipartBody9171921168708518060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127688108,"filename":"image_17012025_16_26_23_6410.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bdfc3a1bd548a666ee1edb689196a92a.jpg","text":"TemporaryFile(/tmp/multipartBody7632709832578947011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127688108,"filename":"image_17012025_16_26_28_5188.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e933a154aaa4298ba3e962349ac05779.jpg","text":"TemporaryFile(/tmp/multipartBody1465458241372163558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127688108,"filename":"image_17012025_16_26_34_6438.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6e0ec1449876646032e570c3ca6de031.jpg","text":"TemporaryFile(/tmp/multipartBody1037713380359203771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127688108,"filename":"image_17012025_16_26_41_6426.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3bc06c778f7889d59bc1e15158f183bd.jpg","text":"TemporaryFile(/tmp/multipartBody5314370312797982935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127688108,"filename":"image_17012025_16_26_52_6427.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cfe51e3e949b3779d0e1cb82d69164a0.jpg","text":"TemporaryFile(/tmp/multipartBody5156722768995641087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127688108,"filename":"image_17012025_16_26_46_5212.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329509456","file1":"1329509432","file0":"1329509429","file4":"1329509478","file5":"1329509481","file3":"1329509474"},"map_files_photo_id_array":[{"photo_id":"1329509481","filename":"file5"},{"photo_id":"1329509456","filename":"file2"},{"photo_id":"1329509478","filename":"file4"},{"photo_id":"1329509432","filename":"file1"},{"photo_id":"1329509429","filename":"file0"},{"photo_id":"1329509474","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329509481":["hashtag1","hashtag2"]},{"1329509478":["hashtag1","hashtag2"]},{"1329509474":["hashtag1","hashtag2"]},{"1329509456":["hashtag1","hashtag2"]},{"1329509429":["hashtag1","hashtag2"]},{"1329509432":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329509481, 1329509478, 1329509474, 1329509456, 1329509429, 1329509432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.559293031692505 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:28:02.404163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/27/image_17012025_16_27_53_6415.jpg', '/media/data/images/17012025/16/27/image_17012025_16_27_46_6410.jpg', '/media/data/images/17012025/16/27/image_17012025_16_27_40_5184.jpg', '/media/data/images/17012025/16/27/image_17012025_16_27_35_6383.jpg', '/media/data/images/17012025/16/27/image_17012025_16_27_28_6417.jpg', '/media/data/images/17012025/16/27/image_17012025_16_27_22_5188.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/27/image_17012025_16_27_53_6415.jpg
/media/data/images/17012025/16/27/image_17012025_16_27_46_6410.jpg
/media/data/images/17012025/16/27/image_17012025_16_27_40_5184.jpg
/media/data/images/17012025/16/27/image_17012025_16_27_35_6383.jpg
/media/data/images/17012025/16/27/image_17012025_16_27_28_6417.jpg
/media/data/images/17012025/16/27/image_17012025_16_27_22_5188.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: 5.909934997558594 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:28:22.238104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/28/image_17012025_16_28_52_5213.jpg', '/media/data/images/17012025/16/28/image_17012025_16_28_47_6369.jpg', '/media/data/images/17012025/16/28/image_17012025_16_28_40_6381.jpg', '/media/data/images/17012025/16/28/image_17012025_16_28_34_6332.jpg', '/media/data/images/17012025/16/28/image_17012025_16_28_28_5169.jpg', '/media/data/images/17012025/16/28/image_17012025_16_28_22_6414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/28/image_17012025_16_28_52_5213.jpg
/media/data/images/17012025/16/28/image_17012025_16_28_47_6369.jpg
/media/data/images/17012025/16/28/image_17012025_16_28_40_6381.jpg
/media/data/images/17012025/16/28/image_17012025_16_28_34_6332.jpg
/media/data/images/17012025/16/28/image_17012025_16_28_28_5169.jpg
/media/data/images/17012025/16/28/image_17012025_16_28_22_6414.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329509640","1329509670","1329509664","1329509678","1329509675","1329509662"],"photo_ids_order":["1329509640","1329509662","1329509664","1329509670","1329509675","1329509678"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/02287cacd22cab7ead302b37f3e4fc1b.jpg","text":"TemporaryFile(/tmp/multipartBody8709283139676732057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127769142,"filename":"image_17012025_16_28_52_5213.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/05c91ecb66702de6e9a73df20217a56e.jpg","text":"TemporaryFile(/tmp/multipartBody1210281055973034221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127769142,"filename":"image_17012025_16_28_34_6332.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5807dcdf88f3ee9e4fbb28e576a8442a.jpg","text":"TemporaryFile(/tmp/multipartBody2325199114573727046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127769142,"filename":"image_17012025_16_28_40_6381.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/592a72bd227d43327a7f9e1f0355bace.jpg","text":"TemporaryFile(/tmp/multipartBody4100674385721974842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127769142,"filename":"image_17012025_16_28_22_6414.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/67f80626f8315f0672e4e8227a942670.jpg","text":"TemporaryFile(/tmp/multipartBody2658898540972243699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127769142,"filename":"image_17012025_16_28_28_5169.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b4657a31b668f7e9875ae0af6f956ed6.jpg","text":"TemporaryFile(/tmp/multipartBody5688326982257299073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127769142,"filename":"image_17012025_16_28_47_6369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329509664","file1":"1329509662","file0":"1329509640","file4":"1329509675","file5":"1329509678","file3":"1329509670"},"map_files_photo_id_array":[{"photo_id":"1329509678","filename":"file5"},{"photo_id":"1329509664","filename":"file2"},{"photo_id":"1329509675","filename":"file4"},{"photo_id":"1329509662","filename":"file1"},{"photo_id":"1329509640","filename":"file0"},{"photo_id":"1329509670","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329509640":["hashtag1","hashtag2"]},{"1329509670":["hashtag1","hashtag2"]},{"1329509664":["hashtag1","hashtag2"]},{"1329509678":["hashtag1","hashtag2"]},{"1329509675":["hashtag1","hashtag2"]},{"1329509662":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329509640, 1329509670, 1329509664, 1329509678, 1329509675, 1329509662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.44506525993347 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:29:22.320700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/29/image_17012025_16_29_52_5214.jpg', '/media/data/images/17012025/16/29/image_17012025_16_29_47_6424.jpg', '/media/data/images/17012025/16/29/image_17012025_16_29_40_6424.jpg', '/media/data/images/17012025/16/29/image_17012025_16_29_34_5203.jpg', '/media/data/images/17012025/16/29/image_17012025_16_29_29_6404.jpg', '/media/data/images/17012025/16/29/image_17012025_16_29_22_5235.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/29/image_17012025_16_29_52_5214.jpg
/media/data/images/17012025/16/29/image_17012025_16_29_47_6424.jpg
/media/data/images/17012025/16/29/image_17012025_16_29_40_6424.jpg
/media/data/images/17012025/16/29/image_17012025_16_29_34_5203.jpg
/media/data/images/17012025/16/29/image_17012025_16_29_29_6404.jpg
/media/data/images/17012025/16/29/image_17012025_16_29_22_5235.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329509718","1329509709","1329509726","1329509723","1329509705","1329509713"],"photo_ids_order":["1329509705","1329509709","1329509713","1329509718","1329509723","1329509726"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/15ffff666efade982d146078ae8a2d48.jpg","text":"TemporaryFile(/tmp/multipartBody7605488504171151244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127832208,"filename":"image_17012025_16_29_34_5203.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3765d14a61b5ff725ba8b0c5f25c1b48.jpg","text":"TemporaryFile(/tmp/multipartBody4097948619035447341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127832208,"filename":"image_17012025_16_29_47_6424.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a19e31d2a7a905bc8942439a35b8378b.jpg","text":"TemporaryFile(/tmp/multipartBody4939222215646630260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127832208,"filename":"image_17012025_16_29_22_5235.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6b19bccd939c819bec7c3ffcb4fd143e.jpg","text":"TemporaryFile(/tmp/multipartBody5006525477290089262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127832208,"filename":"image_17012025_16_29_29_6404.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/07b4a4be91f7ce7ffa3a2ae3e05d274a.jpg","text":"TemporaryFile(/tmp/multipartBody6342603081863637948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127832208,"filename":"image_17012025_16_29_52_5214.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/65b793357456a5caf618af95a57771d3.jpg","text":"TemporaryFile(/tmp/multipartBody4379338262297521094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127832208,"filename":"image_17012025_16_29_40_6424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329509713","file1":"1329509709","file0":"1329509705","file4":"1329509723","file5":"1329509726","file3":"1329509718"},"map_files_photo_id_array":[{"photo_id":"1329509726","filename":"file5"},{"photo_id":"1329509713","filename":"file2"},{"photo_id":"1329509723","filename":"file4"},{"photo_id":"1329509709","filename":"file1"},{"photo_id":"1329509705","filename":"file0"},{"photo_id":"1329509718","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329509718":["hashtag1","hashtag2"]},{"1329509709":["hashtag1","hashtag2"]},{"1329509726":["hashtag1","hashtag2"]},{"1329509723":["hashtag1","hashtag2"]},{"1329509705":["hashtag1","hashtag2"]},{"1329509713":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329509718, 1329509709, 1329509726, 1329509723, 1329509705, 1329509713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.096431016922 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:30:22.384361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/30/image_17012025_16_30_52_5179.jpg', '/media/data/images/17012025/16/30/image_17012025_16_30_47_6410.jpg', '/media/data/images/17012025/16/30/image_17012025_16_30_40_6415.jpg', '/media/data/images/17012025/16/30/image_17012025_16_30_34_5152.jpg', '/media/data/images/17012025/16/30/image_17012025_16_30_29_6379.jpg', '/media/data/images/17012025/16/30/image_17012025_16_30_22_6416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/30/image_17012025_16_30_52_5179.jpg
/media/data/images/17012025/16/30/image_17012025_16_30_47_6410.jpg
/media/data/images/17012025/16/30/image_17012025_16_30_40_6415.jpg
/media/data/images/17012025/16/30/image_17012025_16_30_34_5152.jpg
/media/data/images/17012025/16/30/image_17012025_16_30_29_6379.jpg
/media/data/images/17012025/16/30/image_17012025_16_30_22_6416.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329509744","1329509755","1329509758","1329509752","1329509746","1329509749"],"photo_ids_order":["1329509744","1329509746","1329509749","1329509752","1329509755","1329509758"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c196ef4e398710efe0f2a573399f6704.jpg","text":"TemporaryFile(/tmp/multipartBody6845102122684657347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127886470,"filename":"image_17012025_16_30_52_5179.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f3e7807e98f9fb6253374761af084df0.jpg","text":"TemporaryFile(/tmp/multipartBody4457185512467286384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127886470,"filename":"image_17012025_16_30_29_6379.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7d88f2454ded13024bc3805914dc1a8d.jpg","text":"TemporaryFile(/tmp/multipartBody7421170548498333680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127886470,"filename":"image_17012025_16_30_22_6416.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/db0bf8d12406076929d949085e72ac11.jpg","text":"TemporaryFile(/tmp/multipartBody6140307873073764776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127886470,"filename":"image_17012025_16_30_34_5152.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/470947a7b89d46f6ff03f9b68c6b7564.jpg","text":"TemporaryFile(/tmp/multipartBody6579994149017116632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127886470,"filename":"image_17012025_16_30_47_6410.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5b4477a58e23d876b40305ef2911ce80.jpg","text":"TemporaryFile(/tmp/multipartBody7862832110129504861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127886470,"filename":"image_17012025_16_30_40_6415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329509749","file1":"1329509746","file0":"1329509744","file4":"1329509755","file5":"1329509758","file3":"1329509752"},"map_files_photo_id_array":[{"photo_id":"1329509758","filename":"file5"},{"photo_id":"1329509749","filename":"file2"},{"photo_id":"1329509755","filename":"file4"},{"photo_id":"1329509746","filename":"file1"},{"photo_id":"1329509744","filename":"file0"},{"photo_id":"1329509752","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329509744":["hashtag1","hashtag2"]},{"1329509755":["hashtag1","hashtag2"]},{"1329509758":["hashtag1","hashtag2"]},{"1329509752":["hashtag1","hashtag2"]},{"1329509746":["hashtag1","hashtag2"]},{"1329509749":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329509744, 1329509755, 1329509758, 1329509752, 1329509746, 1329509749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.894601345062256 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:31:02.761207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/30/image_17012025_16_30_16_5206.jpg', '/media/data/images/17012025/16/30/image_17012025_16_30_11_6397.jpg', '/media/data/images/17012025/16/30/image_17012025_16_30_04_6205.jpg', '/media/data/images/17012025/16/29/image_17012025_16_29_58_6406.jpg', '/media/data/images/17012025/16/29/image_17012025_16_29_17_6568.jpg', '/media/data/images/17012025/16/29/image_17012025_16_29_10_5424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/30/image_17012025_16_30_16_5206.jpg
/media/data/images/17012025/16/30/image_17012025_16_30_11_6397.jpg
/media/data/images/17012025/16/30/image_17012025_16_30_04_6205.jpg
/media/data/images/17012025/16/29/image_17012025_16_29_58_6406.jpg
/media/data/images/17012025/16/29/image_17012025_16_29_17_6568.jpg
/media/data/images/17012025/16/29/image_17012025_16_29_10_5424.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329509787","1329509798","1329509792","1329509779","1329509796","1329509784"],"photo_ids_order":["1329509779","1329509784","1329509787","1329509792","1329509796","1329509798"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5f824549b7ba1a6a0d817ceeb4c61173.jpg","text":"TemporaryFile(/tmp/multipartBody2578548629434243560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127930874,"filename":"image_17012025_16_30_04_6205.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/795290cecb8d1e84766e5eaf300ccdf0.jpg","text":"TemporaryFile(/tmp/multipartBody1173959361327645548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127930874,"filename":"image_17012025_16_29_10_5424.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5415630187b32ab90e5c2909eb7e9158.jpg","text":"TemporaryFile(/tmp/multipartBody7307895453781671734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127930874,"filename":"image_17012025_16_29_58_6406.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3d902cd64327275e6c390ff28b438b92.jpg","text":"TemporaryFile(/tmp/multipartBody8052495815240273329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127930874,"filename":"image_17012025_16_30_16_5206.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ed12fc6a3d2589629d5f12e0a0694505.jpg","text":"TemporaryFile(/tmp/multipartBody2778660365749188561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127930874,"filename":"image_17012025_16_29_17_6568.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9321df84c07bb399d06c1404b6e6f7bb.jpg","text":"TemporaryFile(/tmp/multipartBody4205543013182953908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127930874,"filename":"image_17012025_16_30_11_6397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329509787","file1":"1329509784","file0":"1329509779","file4":"1329509796","file5":"1329509798","file3":"1329509792"},"map_files_photo_id_array":[{"photo_id":"1329509798","filename":"file5"},{"photo_id":"1329509787","filename":"file2"},{"photo_id":"1329509796","filename":"file4"},{"photo_id":"1329509784","filename":"file1"},{"photo_id":"1329509779","filename":"file0"},{"photo_id":"1329509792","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329509787":["hashtag1","hashtag2"]},{"1329509798":["hashtag1","hashtag2"]},{"1329509792":["hashtag1","hashtag2"]},{"1329509779":["hashtag1","hashtag2"]},{"1329509796":["hashtag1","hashtag2"]},{"1329509784":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329509787, 1329509798, 1329509792, 1329509779, 1329509796, 1329509784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.38863945007324 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:32:02.775987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/31/image_17012025_16_31_52_6418.jpg', '/media/data/images/17012025/16/31/image_17012025_16_31_46_5186.jpg', '/media/data/images/17012025/16/31/image_17012025_16_31_40_6358.jpg', '/media/data/images/17012025/16/31/image_17012025_16_31_34_6374.jpg', '/media/data/images/17012025/16/31/image_17012025_16_31_28_5159.jpg', '/media/data/images/17012025/16/31/image_17012025_16_31_23_6384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/31/image_17012025_16_31_52_6418.jpg
/media/data/images/17012025/16/31/image_17012025_16_31_46_5186.jpg
/media/data/images/17012025/16/31/image_17012025_16_31_40_6358.jpg
/media/data/images/17012025/16/31/image_17012025_16_31_34_6374.jpg
/media/data/images/17012025/16/31/image_17012025_16_31_28_5159.jpg
/media/data/images/17012025/16/31/image_17012025_16_31_23_6384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329509832","1329509862","1329509835","1329509829","1329509864","1329509857"],"photo_ids_order":["1329509829","1329509832","1329509835","1329509857","1329509862","1329509864"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c60c8560328afd11ee878a7cc752d7e6.jpg","text":"TemporaryFile(/tmp/multipartBody458384091920397684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127988141,"filename":"image_17012025_16_31_46_5186.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9203dcef76645e9507f93595f3672f4d.jpg","text":"TemporaryFile(/tmp/multipartBody1865484649586997849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127988141,"filename":"image_17012025_16_31_28_5159.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6b23c83539039368aded90593f6bd7a6.jpg","text":"TemporaryFile(/tmp/multipartBody8399492124150345308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127988141,"filename":"image_17012025_16_31_40_6358.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5fb5242dfbfec2d314e31d60a032ba86.jpg","text":"TemporaryFile(/tmp/multipartBody5690129549129491757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127988141,"filename":"image_17012025_16_31_52_6418.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/12a81971d2a5c1495dec87b042849fdb.jpg","text":"TemporaryFile(/tmp/multipartBody1112202031449395051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127988141,"filename":"image_17012025_16_31_23_6384.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4fcb8f5ba3e1587b31f45938be0fd44f.jpg","text":"TemporaryFile(/tmp/multipartBody6028641716794402605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737127988141,"filename":"image_17012025_16_31_34_6374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329509835","file1":"1329509832","file0":"1329509829","file4":"1329509862","file5":"1329509864","file3":"1329509857"},"map_files_photo_id_array":[{"photo_id":"1329509864","filename":"file5"},{"photo_id":"1329509835","filename":"file2"},{"photo_id":"1329509862","filename":"file4"},{"photo_id":"1329509832","filename":"file1"},{"photo_id":"1329509829","filename":"file0"},{"photo_id":"1329509857","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329509832":["hashtag1","hashtag2"]},{"1329509862":["hashtag1","hashtag2"]},{"1329509835":["hashtag1","hashtag2"]},{"1329509829":["hashtag1","hashtag2"]},{"1329509864":["hashtag1","hashtag2"]},{"1329509857":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329509832, 1329509862, 1329509835, 1329509829, 1329509864, 1329509857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.380544900894165 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:33:02.908750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/32/image_17012025_16_32_52_6362.jpg', '/media/data/images/17012025/16/32/image_17012025_16_32_46_5176.jpg', '/media/data/images/17012025/16/32/image_17012025_16_32_41_6383.jpg', '/media/data/images/17012025/16/32/image_17012025_16_32_34_6391.jpg', '/media/data/images/17012025/16/32/image_17012025_16_32_28_5168.jpg', '/media/data/images/17012025/16/32/image_17012025_16_32_23_6381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/32/image_17012025_16_32_52_6362.jpg
/media/data/images/17012025/16/32/image_17012025_16_32_46_5176.jpg
/media/data/images/17012025/16/32/image_17012025_16_32_41_6383.jpg
/media/data/images/17012025/16/32/image_17012025_16_32_34_6391.jpg
/media/data/images/17012025/16/32/image_17012025_16_32_28_5168.jpg
/media/data/images/17012025/16/32/image_17012025_16_32_23_6381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329510363","1329510359","1329510302","1329510326","1329510308","1329510352"],"photo_ids_order":["1329510302","1329510308","1329510326","1329510352","1329510359","1329510363"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/15db14a0d80c0126f9f72552a15c755c.jpg","text":"TemporaryFile(/tmp/multipartBody8077350705410090620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128048506,"filename":"image_17012025_16_32_23_6381.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/919441fe51fe42aff84de2b7807c9a21.jpg","text":"TemporaryFile(/tmp/multipartBody8917536849617940582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128048506,"filename":"image_17012025_16_32_28_5168.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f89f64c9d6932d68833772210ad905a8.jpg","text":"TemporaryFile(/tmp/multipartBody380945315178320841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128048506,"filename":"image_17012025_16_32_52_6362.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8f773853607cc9a8f256384781ba84a7.jpg","text":"TemporaryFile(/tmp/multipartBody2932051038667359844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128048506,"filename":"image_17012025_16_32_41_6383.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a87b76c389e682f4e4b9af2b1e9a52eb.jpg","text":"TemporaryFile(/tmp/multipartBody7994429033489364584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128048506,"filename":"image_17012025_16_32_46_5176.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/37fee504918429cf9ae4a85425c2dcd8.jpg","text":"TemporaryFile(/tmp/multipartBody6573524620950653798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128048506,"filename":"image_17012025_16_32_34_6391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329510326","file1":"1329510308","file0":"1329510302","file4":"1329510359","file5":"1329510363","file3":"1329510352"},"map_files_photo_id_array":[{"photo_id":"1329510363","filename":"file5"},{"photo_id":"1329510326","filename":"file2"},{"photo_id":"1329510359","filename":"file4"},{"photo_id":"1329510308","filename":"file1"},{"photo_id":"1329510302","filename":"file0"},{"photo_id":"1329510352","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329510363":["hashtag1","hashtag2"]},{"1329510359":["hashtag1","hashtag2"]},{"1329510302":["hashtag1","hashtag2"]},{"1329510326":["hashtag1","hashtag2"]},{"1329510308":["hashtag1","hashtag2"]},{"1329510352":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329510363, 1329510359, 1329510302, 1329510326, 1329510308, 1329510352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.453466176986694 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:34:03.181248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/33/image_17012025_16_33_40_6560.jpg', '/media/data/images/17012025/16/33/image_17012025_16_33_34_5352.jpg', '/media/data/images/17012025/16/33/image_17012025_16_33_28_6484.jpg', '/media/data/images/17012025/16/33/image_17012025_16_33_22_5267.jpg', '/media/data/images/17012025/16/33/image_17012025_16_33_17_6416.jpg', '/media/data/images/17012025/16/33/image_17012025_16_33_10_6531.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/33/image_17012025_16_33_40_6560.jpg
/media/data/images/17012025/16/33/image_17012025_16_33_34_5352.jpg
/media/data/images/17012025/16/33/image_17012025_16_33_28_6484.jpg
/media/data/images/17012025/16/33/image_17012025_16_33_22_5267.jpg
/media/data/images/17012025/16/33/image_17012025_16_33_17_6416.jpg
/media/data/images/17012025/16/33/image_17012025_16_33_10_6531.jpg
2025-01-17 16:34:03.205589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/33/image_17012025_16_33_40_6560.jpg', '/media/data/images/17012025/16/33/image_17012025_16_33_34_5352.jpg', '/media/data/images/17012025/16/33/image_17012025_16_33_28_6484.jpg', '/media/data/images/17012025/16/33/image_17012025_16_33_22_5267.jpg', '/media/data/images/17012025/16/33/image_17012025_16_33_17_6416.jpg', '/media/data/images/17012025/16/33/image_17012025_16_33_10_6531.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/33/image_17012025_16_33_40_6560.jpg
/media/data/images/17012025/16/33/image_17012025_16_33_34_5352.jpg
/media/data/images/17012025/16/33/image_17012025_16_33_28_6484.jpg
/media/data/images/17012025/16/33/image_17012025_16_33_22_5267.jpg
/media/data/images/17012025/16/33/image_17012025_16_33_17_6416.jpg
/media/data/images/17012025/16/33/image_17012025_16_33_10_6531.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329510709","1329510699","1329510750","1329510687","1329510692","1329510682"],"photo_ids_order":["1329510682","1329510687","1329510692","1329510699","1329510709","1329510750"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/eb440a4277a7e83381c34cceb371ef1b.jpg","text":"TemporaryFile(/tmp/multipartBody4138230609836689167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128125952,"filename":"image_17012025_16_33_17_6416.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4e19624f3eb49d8d6472eef3ae9ba9bc.jpg","text":"TemporaryFile(/tmp/multipartBody6126518764996711341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128125952,"filename":"image_17012025_16_33_22_5267.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6c45f147f0b3a856af3b85b5f653c5e1.jpg","text":"TemporaryFile(/tmp/multipartBody7771099372508788166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128125952,"filename":"image_17012025_16_33_10_6531.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7abc2574af0c85e825d8405545a6027f.jpg","text":"TemporaryFile(/tmp/multipartBody7842825859142124086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128125952,"filename":"image_17012025_16_33_34_5352.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3756c91d27fd76e9e3be0c9236243f3e.jpg","text":"TemporaryFile(/tmp/multipartBody8588190440690502991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128125952,"filename":"image_17012025_16_33_28_6484.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a3470637cedd0a1ff5e8b3b10a548b8f.jpg","text":"TemporaryFile(/tmp/multipartBody8565663217036739087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128125952,"filename":"image_17012025_16_33_40_6560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329510692","file1":"1329510687","file0":"1329510682","file4":"1329510709","file5":"1329510750","file3":"1329510699"},"map_files_photo_id_array":[{"photo_id":"1329510750","filename":"file5"},{"photo_id":"1329510692","filename":"file2"},{"photo_id":"1329510709","filename":"file4"},{"photo_id":"1329510687","filename":"file1"},{"photo_id":"1329510682","filename":"file0"},{"photo_id":"1329510699","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329510709":["hashtag1","hashtag2"]},{"1329510699":["hashtag1","hashtag2"]},{"1329510750":["hashtag1","hashtag2"]},{"1329510687":["hashtag1","hashtag2"]},{"1329510692":["hashtag1","hashtag2"]},{"1329510682":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329510709, 1329510699, 1329510750, 1329510687, 1329510692, 1329510682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.18037128448486 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329510690","1329510759","1329510711","1329510695","1329510701","1329510754"],"photo_ids_order":["1329510690","1329510695","1329510701","1329510711","1329510754","1329510759"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/391fedc7c3f32e2a8146fa6a46f5541b.jpg","text":"TemporaryFile(/tmp/multipartBody7589712347816924265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128132495,"filename":"image_17012025_16_33_40_6560.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ca04da80d696ace033c6529f696daa61.jpg","text":"TemporaryFile(/tmp/multipartBody1979233451623170569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128132495,"filename":"image_17012025_16_33_10_6531.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a5c9b5067b3390799b4a35200d39112b.jpg","text":"TemporaryFile(/tmp/multipartBody2130541479612165137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128132495,"filename":"image_17012025_16_33_22_5267.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3211ffd3a61b38891d5f5b60e2c1267d.jpg","text":"TemporaryFile(/tmp/multipartBody9142278860546687714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128132495,"filename":"image_17012025_16_33_34_5352.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/97618ac9d3a0f26dc43646252b3c1b42.jpg","text":"TemporaryFile(/tmp/multipartBody6322453326087888876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128132495,"filename":"image_17012025_16_33_28_6484.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/64d351eca9acbc15d1d354f93166b3b9.jpg","text":"TemporaryFile(/tmp/multipartBody5299058464366471540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128132495,"filename":"image_17012025_16_33_17_6416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329510701","file1":"1329510695","file0":"1329510690","file4":"1329510754","file5":"1329510759","file3":"1329510711"},"map_files_photo_id_array":[{"photo_id":"1329510759","filename":"file5"},{"photo_id":"1329510701","filename":"file2"},{"photo_id":"1329510754","filename":"file4"},{"photo_id":"1329510695","filename":"file1"},{"photo_id":"1329510690","filename":"file0"},{"photo_id":"1329510711","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329510690":["hashtag1","hashtag2"]},{"1329510759":["hashtag1","hashtag2"]},{"1329510711":["hashtag1","hashtag2"]},{"1329510695":["hashtag1","hashtag2"]},{"1329510701":["hashtag1","hashtag2"]},{"1329510754":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329510690, 1329510759, 1329510711, 1329510695, 1329510701, 1329510754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.87105083465576 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:35:21.809321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/35/image_17012025_16_35_40_5304.jpg', '/media/data/images/17012025/16/35/image_17012025_16_35_35_6542.jpg', '/media/data/images/17012025/16/35/image_17012025_16_35_28_5385.jpg', '/media/data/images/17012025/16/35/image_17012025_16_35_23_6609.jpg', '/media/data/images/17012025/16/35/image_17012025_16_35_16_5354.jpg', '/media/data/images/17012025/16/35/image_17012025_16_35_11_6699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/35/image_17012025_16_35_40_5304.jpg
/media/data/images/17012025/16/35/image_17012025_16_35_35_6542.jpg
/media/data/images/17012025/16/35/image_17012025_16_35_28_5385.jpg
/media/data/images/17012025/16/35/image_17012025_16_35_23_6609.jpg
/media/data/images/17012025/16/35/image_17012025_16_35_16_5354.jpg
/media/data/images/17012025/16/35/image_17012025_16_35_11_6699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329510798","1329510816","1329510807","1329510812","1329510799","1329510803"],"photo_ids_order":["1329510798","1329510799","1329510803","1329510807","1329510812","1329510816"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6437acad547bdd074ad82adc67112919.jpg","text":"TemporaryFile(/tmp/multipartBody3355292651215755442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128190887,"filename":"image_17012025_16_35_40_5304.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7b9a8e19cc7e5f977ae52478fd0ddd71.jpg","text":"TemporaryFile(/tmp/multipartBody2986894153899154704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128190887,"filename":"image_17012025_16_35_11_6699.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d9e9c2e2e4fbaba97f355af375f42ece.jpg","text":"TemporaryFile(/tmp/multipartBody5478804375325847081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128190887,"filename":"image_17012025_16_35_23_6609.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/95f7e77b45b21fc0b560c20e3504f41f.jpg","text":"TemporaryFile(/tmp/multipartBody3350891331742314844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128190887,"filename":"image_17012025_16_35_16_5354.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8c745d1cb9ce34b899c87bdb6d6b98dd.jpg","text":"TemporaryFile(/tmp/multipartBody8908459219384153724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128190887,"filename":"image_17012025_16_35_35_6542.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/666fc6dfd4a98088c857703307914bbb.jpg","text":"TemporaryFile(/tmp/multipartBody5961945563726505996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128190887,"filename":"image_17012025_16_35_28_5385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329510803","file1":"1329510799","file0":"1329510798","file4":"1329510812","file5":"1329510816","file3":"1329510807"},"map_files_photo_id_array":[{"photo_id":"1329510816","filename":"file5"},{"photo_id":"1329510803","filename":"file2"},{"photo_id":"1329510812","filename":"file4"},{"photo_id":"1329510799","filename":"file1"},{"photo_id":"1329510798","filename":"file0"},{"photo_id":"1329510807","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329510798":["hashtag1","hashtag2"]},{"1329510816":["hashtag1","hashtag2"]},{"1329510807":["hashtag1","hashtag2"]},{"1329510812":["hashtag1","hashtag2"]},{"1329510799":["hashtag1","hashtag2"]},{"1329510803":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329510798, 1329510816, 1329510807, 1329510812, 1329510799, 1329510803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.85368752479553 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:36:21.901388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/36/image_17012025_16_36_53_6584.jpg', '/media/data/images/17012025/16/36/image_17012025_16_36_46_5355.jpg', '/media/data/images/17012025/16/36/image_17012025_16_36_41_6627.jpg', '/media/data/images/17012025/16/36/image_17012025_16_36_34_5386.jpg', '/media/data/images/17012025/16/36/image_17012025_16_36_29_6675.jpg', '/media/data/images/17012025/16/36/image_17012025_16_36_22_5306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/36/image_17012025_16_36_53_6584.jpg
/media/data/images/17012025/16/36/image_17012025_16_36_46_5355.jpg
/media/data/images/17012025/16/36/image_17012025_16_36_41_6627.jpg
/media/data/images/17012025/16/36/image_17012025_16_36_34_5386.jpg
/media/data/images/17012025/16/36/image_17012025_16_36_29_6675.jpg
/media/data/images/17012025/16/36/image_17012025_16_36_22_5306.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329511155","1329511151","1329511145","1329511130","1329511159","1329511132"],"photo_ids_order":["1329511130","1329511132","1329511145","1329511151","1329511155","1329511159"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/42b47476231738cde2d15499c3bf79d3.jpg","text":"TemporaryFile(/tmp/multipartBody2791820616370538104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128252043,"filename":"image_17012025_16_36_29_6675.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/948ae0393da8cc40fc97032aee1adfc4.jpg","text":"TemporaryFile(/tmp/multipartBody8786791484024874929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128252043,"filename":"image_17012025_16_36_34_5386.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8331e560093410a991ef8621ab4951c4.jpg","text":"TemporaryFile(/tmp/multipartBody7118778551001655406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128252043,"filename":"image_17012025_16_36_41_6627.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5f99c946e6c948e940993ebdeaf9eae3.jpg","text":"TemporaryFile(/tmp/multipartBody8272540473193183338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128252043,"filename":"image_17012025_16_36_53_6584.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e9973c6b9844f2f808dadb30c3de6db9.jpg","text":"TemporaryFile(/tmp/multipartBody7064699318120646775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128252043,"filename":"image_17012025_16_36_22_5306.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ff43a14050b14c14e589631f361ad507.jpg","text":"TemporaryFile(/tmp/multipartBody8610117811787642225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128252043,"filename":"image_17012025_16_36_46_5355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329511145","file1":"1329511132","file0":"1329511130","file4":"1329511155","file5":"1329511159","file3":"1329511151"},"map_files_photo_id_array":[{"photo_id":"1329511159","filename":"file5"},{"photo_id":"1329511145","filename":"file2"},{"photo_id":"1329511155","filename":"file4"},{"photo_id":"1329511132","filename":"file1"},{"photo_id":"1329511130","filename":"file0"},{"photo_id":"1329511151","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329511155":["hashtag1","hashtag2"]},{"1329511151":["hashtag1","hashtag2"]},{"1329511145":["hashtag1","hashtag2"]},{"1329511130":["hashtag1","hashtag2"]},{"1329511159":["hashtag1","hashtag2"]},{"1329511132":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329511155, 1329511151, 1329511145, 1329511130, 1329511159, 1329511132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.66685652732849 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:37:21.983582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/37/image_17012025_16_37_52_6619.jpg', '/media/data/images/17012025/16/37/image_17012025_16_37_40_6558.jpg', '/media/data/images/17012025/16/37/image_17012025_16_37_34_5337.jpg', '/media/data/images/17012025/16/37/image_17012025_16_37_29_6641.jpg', '/media/data/images/17012025/16/37/image_17012025_16_37_22_5378.jpg', '/media/data/images/17012025/16/37/image_17012025_16_37_17_6554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/37/image_17012025_16_37_52_6619.jpg
/media/data/images/17012025/16/37/image_17012025_16_37_40_6558.jpg
/media/data/images/17012025/16/37/image_17012025_16_37_34_5337.jpg
/media/data/images/17012025/16/37/image_17012025_16_37_29_6641.jpg
/media/data/images/17012025/16/37/image_17012025_16_37_22_5378.jpg
/media/data/images/17012025/16/37/image_17012025_16_37_17_6554.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329511203","1329511199","1329511184","1329511193","1329511189","1329511180"],"photo_ids_order":["1329511180","1329511184","1329511189","1329511193","1329511199","1329511203"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fff3de662322573fff9412dfe683ad1d.jpg","text":"TemporaryFile(/tmp/multipartBody7228992647846302466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128314202,"filename":"image_17012025_16_37_17_6554.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1db76ba01f73ea5c9bad7e501b613b01.jpg","text":"TemporaryFile(/tmp/multipartBody6151185965674712411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128314202,"filename":"image_17012025_16_37_22_5378.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d87f1f75dde04b14972655719cf60f65.jpg","text":"TemporaryFile(/tmp/multipartBody5293373653313258194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128314202,"filename":"image_17012025_16_37_40_6558.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5504215001264288d68fd0eac265bf00.jpg","text":"TemporaryFile(/tmp/multipartBody3711751709784939965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128314202,"filename":"image_17012025_16_37_29_6641.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/448ee0b16c9384c7297bc79e9dca4eb2.jpg","text":"TemporaryFile(/tmp/multipartBody1351364988683331126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128314202,"filename":"image_17012025_16_37_34_5337.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ee46a57b85d36adb5da23d12c028f97a.jpg","text":"TemporaryFile(/tmp/multipartBody399665768497084767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128314202,"filename":"image_17012025_16_37_52_6619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329511189","file1":"1329511184","file0":"1329511180","file4":"1329511199","file5":"1329511203","file3":"1329511193"},"map_files_photo_id_array":[{"photo_id":"1329511203","filename":"file5"},{"photo_id":"1329511189","filename":"file2"},{"photo_id":"1329511199","filename":"file4"},{"photo_id":"1329511184","filename":"file1"},{"photo_id":"1329511180","filename":"file0"},{"photo_id":"1329511193","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329511203":["hashtag1","hashtag2"]},{"1329511199":["hashtag1","hashtag2"]},{"1329511184":["hashtag1","hashtag2"]},{"1329511193":["hashtag1","hashtag2"]},{"1329511189":["hashtag1","hashtag2"]},{"1329511180":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329511203, 1329511199, 1329511184, 1329511193, 1329511189, 1329511180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.41355633735657 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:38:22.095325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/38/image_17012025_16_38_52_5290.jpg', '/media/data/images/17012025/16/38/image_17012025_16_38_47_6521.jpg', '/media/data/images/17012025/16/38/image_17012025_16_38_40_6597.jpg', '/media/data/images/17012025/16/38/image_17012025_16_38_28_5426.jpg', '/media/data/images/17012025/16/38/image_17012025_16_38_23_6612.jpg', '/media/data/images/17012025/16/38/image_17012025_16_38_16_6566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/38/image_17012025_16_38_52_5290.jpg
/media/data/images/17012025/16/38/image_17012025_16_38_47_6521.jpg
/media/data/images/17012025/16/38/image_17012025_16_38_40_6597.jpg
/media/data/images/17012025/16/38/image_17012025_16_38_28_5426.jpg
/media/data/images/17012025/16/38/image_17012025_16_38_23_6612.jpg
/media/data/images/17012025/16/38/image_17012025_16_38_16_6566.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: 10.997802495956421 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:38:42.096219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/38/image_17012025_16_38_52_5290.jpg', '/media/data/images/17012025/16/38/image_17012025_16_38_47_6521.jpg', '/media/data/images/17012025/16/38/image_17012025_16_38_40_6597.jpg', '/media/data/images/17012025/16/38/image_17012025_16_38_28_5426.jpg', '/media/data/images/17012025/16/38/image_17012025_16_38_23_6612.jpg', '/media/data/images/17012025/16/38/image_17012025_16_38_16_6566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/38/image_17012025_16_38_52_5290.jpg
/media/data/images/17012025/16/38/image_17012025_16_38_47_6521.jpg
/media/data/images/17012025/16/38/image_17012025_16_38_40_6597.jpg
/media/data/images/17012025/16/38/image_17012025_16_38_28_5426.jpg
/media/data/images/17012025/16/38/image_17012025_16_38_23_6612.jpg
/media/data/images/17012025/16/38/image_17012025_16_38_16_6566.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329511275","1329511291","1329511288","1329511282","1329511279","1329511284"],"photo_ids_order":["1329511275","1329511279","1329511282","1329511284","1329511288","1329511291"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0a2afb3bb9c0aa054b7e1bd6eb485ffa.jpg","text":"TemporaryFile(/tmp/multipartBody9207015920575441412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128402186,"filename":"image_17012025_16_38_52_5290.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/13c7da457bc45f1b4764b8bdda342d14.jpg","text":"TemporaryFile(/tmp/multipartBody266402388560327533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128402186,"filename":"image_17012025_16_38_16_6566.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/170aa1993099b50f0b1de44e5f513e97.jpg","text":"TemporaryFile(/tmp/multipartBody6976626150643707504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128402186,"filename":"image_17012025_16_38_23_6612.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/16882bf665707122561074e6e2de4c71.jpg","text":"TemporaryFile(/tmp/multipartBody8947904877300237784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128402186,"filename":"image_17012025_16_38_40_6597.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4c52078947e0d5333c7233da2951390c.jpg","text":"TemporaryFile(/tmp/multipartBody2716231679967817436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128402186,"filename":"image_17012025_16_38_47_6521.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/581a0620c7c12d369c1751e16e9e7ec6.jpg","text":"TemporaryFile(/tmp/multipartBody4143230942576845490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128402186,"filename":"image_17012025_16_38_28_5426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329511282","file1":"1329511279","file0":"1329511275","file4":"1329511288","file5":"1329511291","file3":"1329511284"},"map_files_photo_id_array":[{"photo_id":"1329511291","filename":"file5"},{"photo_id":"1329511282","filename":"file2"},{"photo_id":"1329511288","filename":"file4"},{"photo_id":"1329511279","filename":"file1"},{"photo_id":"1329511275","filename":"file0"},{"photo_id":"1329511284","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329511275":["hashtag1","hashtag2"]},{"1329511291":["hashtag1","hashtag2"]},{"1329511288":["hashtag1","hashtag2"]},{"1329511282":["hashtag1","hashtag2"]},{"1329511279":["hashtag1","hashtag2"]},{"1329511284":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329511275, 1329511291, 1329511288, 1329511282, 1329511279, 1329511284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.25246977806091 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:39:42.223225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/39/image_17012025_16_39_53_6559.jpg', '/media/data/images/17012025/16/39/image_17012025_16_39_46_5342.jpg', '/media/data/images/17012025/16/39/image_17012025_16_39_41_6575.jpg', '/media/data/images/17012025/16/39/image_17012025_16_39_34_6544.jpg', '/media/data/images/17012025/16/39/image_17012025_16_39_28_5347.jpg', '/media/data/images/17012025/16/39/image_17012025_16_39_22_6591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/39/image_17012025_16_39_53_6559.jpg
/media/data/images/17012025/16/39/image_17012025_16_39_46_5342.jpg
/media/data/images/17012025/16/39/image_17012025_16_39_41_6575.jpg
/media/data/images/17012025/16/39/image_17012025_16_39_34_6544.jpg
/media/data/images/17012025/16/39/image_17012025_16_39_28_5347.jpg
/media/data/images/17012025/16/39/image_17012025_16_39_22_6591.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329511329","1329511320","1329511332","1329511334","1329511336","1329511324"],"photo_ids_order":["1329511320","1329511324","1329511329","1329511332","1329511334","1329511336"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/48ad8aedd4da89ba4dc623472d85560a.jpg","text":"TemporaryFile(/tmp/multipartBody1929715185408959876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128455942,"filename":"image_17012025_16_39_41_6575.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d3d84594919f02b161bff9c54dfee293.jpg","text":"TemporaryFile(/tmp/multipartBody3949820226753950087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128455942,"filename":"image_17012025_16_39_53_6559.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/99e57adaaa8c108000cb204cc635de83.jpg","text":"TemporaryFile(/tmp/multipartBody95058515668611372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128455942,"filename":"image_17012025_16_39_34_6544.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b34b8b29028daf12111baacc9603b6da.jpg","text":"TemporaryFile(/tmp/multipartBody4899777600284115211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128455942,"filename":"image_17012025_16_39_28_5347.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3f15c7543ad715e2071cf5326f197cd8.jpg","text":"TemporaryFile(/tmp/multipartBody4301064397630553472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128455942,"filename":"image_17012025_16_39_22_6591.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/93ea6f239fcd59f8a6ccf870f29ce650.jpg","text":"TemporaryFile(/tmp/multipartBody6063075079069769036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128455942,"filename":"image_17012025_16_39_46_5342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329511329","file1":"1329511324","file0":"1329511320","file4":"1329511334","file5":"1329511336","file3":"1329511332"},"map_files_photo_id_array":[{"photo_id":"1329511336","filename":"file5"},{"photo_id":"1329511329","filename":"file2"},{"photo_id":"1329511334","filename":"file4"},{"photo_id":"1329511324","filename":"file1"},{"photo_id":"1329511320","filename":"file0"},{"photo_id":"1329511332","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329511329":["hashtag1","hashtag2"]},{"1329511320":["hashtag1","hashtag2"]},{"1329511332":["hashtag1","hashtag2"]},{"1329511334":["hashtag1","hashtag2"]},{"1329511336":["hashtag1","hashtag2"]},{"1329511324":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329511329, 1329511320, 1329511332, 1329511334, 1329511336, 1329511324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.93373417854309 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:40:42.317437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/40/image_17012025_16_40_46_5378.jpg', '/media/data/images/17012025/16/40/image_17012025_16_40_22_5325.jpg', '/media/data/images/17012025/16/40/image_17012025_16_40_17_6570.jpg', '/media/data/images/17012025/16/40/image_17012025_16_40_10_5373.jpg', '/media/data/images/17012025/16/39/image_17012025_16_40_05_6589.jpg', '/media/data/images/17012025/16/39/image_17012025_16_39_58_5308.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/40/image_17012025_16_40_46_5378.jpg
/media/data/images/17012025/16/40/image_17012025_16_40_22_5325.jpg
/media/data/images/17012025/16/40/image_17012025_16_40_17_6570.jpg
/media/data/images/17012025/16/40/image_17012025_16_40_10_5373.jpg
/media/data/images/17012025/16/39/image_17012025_16_40_05_6589.jpg
/media/data/images/17012025/16/39/image_17012025_16_39_58_5308.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329511368","1329511388","1329511379","1329511358","1329511403","1329511363"],"photo_ids_order":["1329511358","1329511363","1329511368","1329511379","1329511388","1329511403"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c6f8363f053f8e1f3335f15ca351fde5.jpg","text":"TemporaryFile(/tmp/multipartBody4163929092273393344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128516916,"filename":"image_17012025_16_40_17_6570.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3a990adb9ef62921148fe4dbd1593683.jpg","text":"TemporaryFile(/tmp/multipartBody2773708559954466229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128516916,"filename":"image_17012025_16_40_05_6589.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cb445ebb7b6fb78a10af0347bf49825c.jpg","text":"TemporaryFile(/tmp/multipartBody5580928483056211267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128516916,"filename":"image_17012025_16_40_10_5373.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6dea09e6b85be38fe8c19484dec5d446.jpg","text":"TemporaryFile(/tmp/multipartBody5684653484389443722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128516916,"filename":"image_17012025_16_40_46_5378.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fe9bc0d2ceaa7c80c40cdb2a698a3e6f.jpg","text":"TemporaryFile(/tmp/multipartBody5897773612514888591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128516916,"filename":"image_17012025_16_39_58_5308.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e8b3ea431984d8a9a1d45f9b7f0c2743.jpg","text":"TemporaryFile(/tmp/multipartBody126554832976692423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128516916,"filename":"image_17012025_16_40_22_5325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329511368","file1":"1329511363","file0":"1329511358","file4":"1329511388","file5":"1329511403","file3":"1329511379"},"map_files_photo_id_array":[{"photo_id":"1329511403","filename":"file5"},{"photo_id":"1329511368","filename":"file2"},{"photo_id":"1329511388","filename":"file4"},{"photo_id":"1329511363","filename":"file1"},{"photo_id":"1329511358","filename":"file0"},{"photo_id":"1329511379","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329511368":["hashtag1","hashtag2"]},{"1329511388":["hashtag1","hashtag2"]},{"1329511379":["hashtag1","hashtag2"]},{"1329511358":["hashtag1","hashtag2"]},{"1329511403":["hashtag1","hashtag2"]},{"1329511363":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329511368, 1329511388, 1329511379, 1329511358, 1329511403, 1329511363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.09105062484741 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:41:42.413035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/41/image_17012025_16_41_46_6540.jpg', '/media/data/images/17012025/16/41/image_17012025_16_41_40_5287.jpg', '/media/data/images/17012025/16/41/image_17012025_16_41_35_6533.jpg', '/media/data/images/17012025/16/41/image_17012025_16_41_28_5296.jpg', '/media/data/images/17012025/16/41/image_17012025_16_41_23_6545.jpg', '/media/data/images/17012025/16/41/image_17012025_16_41_16_6550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/41/image_17012025_16_41_46_6540.jpg
/media/data/images/17012025/16/41/image_17012025_16_41_40_5287.jpg
/media/data/images/17012025/16/41/image_17012025_16_41_35_6533.jpg
/media/data/images/17012025/16/41/image_17012025_16_41_28_5296.jpg
/media/data/images/17012025/16/41/image_17012025_16_41_23_6545.jpg
/media/data/images/17012025/16/41/image_17012025_16_41_16_6550.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329511539","1329511524","1329511518","1329511493","1329511546","1329511497"],"photo_ids_order":["1329511493","1329511497","1329511518","1329511524","1329511539","1329511546"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/21680afed9eb28f92d6b3d488b6a51bf.jpg","text":"TemporaryFile(/tmp/multipartBody2037621454812678538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128569694,"filename":"image_17012025_16_41_23_6545.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3272043699ebc6c84d791035df1b45e3.jpg","text":"TemporaryFile(/tmp/multipartBody2494560422473189673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128569694,"filename":"image_17012025_16_41_28_5296.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/47c5ed9793738aad931d1befb824f3bf.jpg","text":"TemporaryFile(/tmp/multipartBody2400712643762390767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128569694,"filename":"image_17012025_16_41_35_6533.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/90e23fcaf080b60f03c5e14f51e22e24.jpg","text":"TemporaryFile(/tmp/multipartBody8656651695157598193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128569694,"filename":"image_17012025_16_41_46_6540.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e0a3e9d6b5f178b900d8fcc23a3ad93a.jpg","text":"TemporaryFile(/tmp/multipartBody4942035700092461379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128569694,"filename":"image_17012025_16_41_16_6550.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ff3adec96d1a8164a186d302eb8b1671.jpg","text":"TemporaryFile(/tmp/multipartBody5693179863290351307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128569694,"filename":"image_17012025_16_41_40_5287.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329511518","file1":"1329511497","file0":"1329511493","file4":"1329511539","file5":"1329511546","file3":"1329511524"},"map_files_photo_id_array":[{"photo_id":"1329511546","filename":"file5"},{"photo_id":"1329511518","filename":"file2"},{"photo_id":"1329511539","filename":"file4"},{"photo_id":"1329511497","filename":"file1"},{"photo_id":"1329511493","filename":"file0"},{"photo_id":"1329511524","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329511539":["hashtag1","hashtag2"]},{"1329511524":["hashtag1","hashtag2"]},{"1329511518":["hashtag1","hashtag2"]},{"1329511493":["hashtag1","hashtag2"]},{"1329511546":["hashtag1","hashtag2"]},{"1329511497":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329511539, 1329511524, 1329511518, 1329511493, 1329511546, 1329511497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.363248109817505 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:42:42.511200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/42/image_17012025_16_42_53_6418.jpg', '/media/data/images/17012025/16/42/image_17012025_16_42_46_6587.jpg', '/media/data/images/17012025/16/42/image_17012025_16_42_40_5326.jpg', '/media/data/images/17012025/16/42/image_17012025_16_42_34_6471.jpg', '/media/data/images/17012025/16/42/image_17012025_16_42_28_5252.jpg', '/media/data/images/17012025/16/42/image_17012025_16_42_10_5134.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/42/image_17012025_16_42_53_6418.jpg
/media/data/images/17012025/16/42/image_17012025_16_42_46_6587.jpg
/media/data/images/17012025/16/42/image_17012025_16_42_40_5326.jpg
/media/data/images/17012025/16/42/image_17012025_16_42_34_6471.jpg
/media/data/images/17012025/16/42/image_17012025_16_42_28_5252.jpg
/media/data/images/17012025/16/42/image_17012025_16_42_10_5134.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329511590","1329511626","1329511635","1329511630","1329511593","1329511612"],"photo_ids_order":["1329511590","1329511593","1329511612","1329511626","1329511630","1329511635"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/292d44ad2b1dcaa4da6526d7c8a32ac1.jpg","text":"TemporaryFile(/tmp/multipartBody8888312229730817418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128630831,"filename":"image_17012025_16_42_53_6418.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/994a0671b1d8411836b50b211ac7267d.jpg","text":"TemporaryFile(/tmp/multipartBody6280546626450596815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128630831,"filename":"image_17012025_16_42_34_6471.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e49b0e842a2437b73e30a5a97b46cd3c.jpg","text":"TemporaryFile(/tmp/multipartBody1006977444265160778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128630831,"filename":"image_17012025_16_42_10_5134.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8416dbac119b4a352ceafad830af9b6f.jpg","text":"TemporaryFile(/tmp/multipartBody6226351147492584113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128630831,"filename":"image_17012025_16_42_28_5252.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/279d6afb4a4c786af3d26f37458fb69b.jpg","text":"TemporaryFile(/tmp/multipartBody3875199302470678082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128630831,"filename":"image_17012025_16_42_46_6587.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5d39d381e8ab9663a6d64365b2fcf459.jpg","text":"TemporaryFile(/tmp/multipartBody8182876529567807909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128630831,"filename":"image_17012025_16_42_40_5326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329511612","file1":"1329511593","file0":"1329511590","file4":"1329511630","file5":"1329511635","file3":"1329511626"},"map_files_photo_id_array":[{"photo_id":"1329511635","filename":"file5"},{"photo_id":"1329511612","filename":"file2"},{"photo_id":"1329511630","filename":"file4"},{"photo_id":"1329511593","filename":"file1"},{"photo_id":"1329511590","filename":"file0"},{"photo_id":"1329511626","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329511590":["hashtag1","hashtag2"]},{"1329511626":["hashtag1","hashtag2"]},{"1329511635":["hashtag1","hashtag2"]},{"1329511630":["hashtag1","hashtag2"]},{"1329511593":["hashtag1","hashtag2"]},{"1329511612":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329511590, 1329511626, 1329511635, 1329511630, 1329511593, 1329511612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.50157880783081 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:43:42.606517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/43/image_17012025_16_43_53_6534.jpg', '/media/data/images/17012025/16/43/image_17012025_16_43_46_6575.jpg', '/media/data/images/17012025/16/43/image_17012025_16_43_40_5206.jpg', '/media/data/images/17012025/16/43/image_17012025_16_43_34_6398.jpg', '/media/data/images/17012025/16/43/image_17012025_16_43_28_5203.jpg', '/media/data/images/17012025/16/43/image_17012025_16_43_23_6467.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/43/image_17012025_16_43_53_6534.jpg
/media/data/images/17012025/16/43/image_17012025_16_43_46_6575.jpg
/media/data/images/17012025/16/43/image_17012025_16_43_40_5206.jpg
/media/data/images/17012025/16/43/image_17012025_16_43_34_6398.jpg
/media/data/images/17012025/16/43/image_17012025_16_43_28_5203.jpg
/media/data/images/17012025/16/43/image_17012025_16_43_23_6467.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329511698","1329511710","1329511707","1329511704","1329511703","1329511692"],"photo_ids_order":["1329511692","1329511698","1329511703","1329511704","1329511707","1329511710"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ba4dd584e36decd04914ab807ade5461.jpg","text":"TemporaryFile(/tmp/multipartBody7333328215289035117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128697038,"filename":"image_17012025_16_43_46_6575.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/18512bfd1e42347fe7a4060ab6362137.jpg","text":"TemporaryFile(/tmp/multipartBody4036735671633386211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128697038,"filename":"image_17012025_16_43_23_6467.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/61d685fee3fa3d3dfbaabe33c2d24786.jpg","text":"TemporaryFile(/tmp/multipartBody6175594056498436750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128697038,"filename":"image_17012025_16_43_28_5203.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9cff3566ee69335df41bac1652448395.jpg","text":"TemporaryFile(/tmp/multipartBody95558950487995274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128697038,"filename":"image_17012025_16_43_34_6398.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/03cb7e659c9e6001d520538fcb3338c5.jpg","text":"TemporaryFile(/tmp/multipartBody5017438870076354249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128697038,"filename":"image_17012025_16_43_40_5206.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/47c3171fe144e7d7c642fa01bce474f8.jpg","text":"TemporaryFile(/tmp/multipartBody5316731983446222087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128697038,"filename":"image_17012025_16_43_53_6534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329511703","file1":"1329511698","file0":"1329511692","file4":"1329511707","file5":"1329511710","file3":"1329511704"},"map_files_photo_id_array":[{"photo_id":"1329511710","filename":"file5"},{"photo_id":"1329511703","filename":"file2"},{"photo_id":"1329511707","filename":"file4"},{"photo_id":"1329511698","filename":"file1"},{"photo_id":"1329511692","filename":"file0"},{"photo_id":"1329511704","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329511698":["hashtag1","hashtag2"]},{"1329511710":["hashtag1","hashtag2"]},{"1329511707":["hashtag1","hashtag2"]},{"1329511704":["hashtag1","hashtag2"]},{"1329511703":["hashtag1","hashtag2"]},{"1329511692":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329511698, 1329511710, 1329511707, 1329511704, 1329511703, 1329511692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.38035321235657 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:44:42.708672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/44/image_17012025_16_44_52_5193.jpg', '/media/data/images/17012025/16/44/image_17012025_16_44_47_6401.jpg', '/media/data/images/17012025/16/44/image_17012025_16_44_40_6425.jpg', '/media/data/images/17012025/16/44/image_17012025_16_44_34_5190.jpg', '/media/data/images/17012025/16/44/image_17012025_16_44_29_6393.jpg', '/media/data/images/17012025/16/44/image_17012025_16_44_22_6380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/44/image_17012025_16_44_52_5193.jpg
/media/data/images/17012025/16/44/image_17012025_16_44_47_6401.jpg
/media/data/images/17012025/16/44/image_17012025_16_44_40_6425.jpg
/media/data/images/17012025/16/44/image_17012025_16_44_34_5190.jpg
/media/data/images/17012025/16/44/image_17012025_16_44_29_6393.jpg
/media/data/images/17012025/16/44/image_17012025_16_44_22_6380.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: 6.266884088516235 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:45:02.240945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/44/image_17012025_16_44_52_5193.jpg', '/media/data/images/17012025/16/44/image_17012025_16_44_47_6401.jpg', '/media/data/images/17012025/16/44/image_17012025_16_44_40_6425.jpg', '/media/data/images/17012025/16/44/image_17012025_16_44_34_5190.jpg', '/media/data/images/17012025/16/44/image_17012025_16_44_29_6393.jpg', '/media/data/images/17012025/16/44/image_17012025_16_44_22_6380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/44/image_17012025_16_44_52_5193.jpg
/media/data/images/17012025/16/44/image_17012025_16_44_47_6401.jpg
/media/data/images/17012025/16/44/image_17012025_16_44_40_6425.jpg
/media/data/images/17012025/16/44/image_17012025_16_44_34_5190.jpg
/media/data/images/17012025/16/44/image_17012025_16_44_29_6393.jpg
/media/data/images/17012025/16/44/image_17012025_16_44_22_6380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329511782","1329511784","1329511775","1329511763","1329511789","1329511792"],"photo_ids_order":["1329511763","1329511775","1329511782","1329511784","1329511789","1329511792"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4246a0882c2fa27397955f5874b35f36.jpg","text":"TemporaryFile(/tmp/multipartBody4964415839656164921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128773282,"filename":"image_17012025_16_44_40_6425.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8f9035e9f792652a93f8632efec2549e.jpg","text":"TemporaryFile(/tmp/multipartBody2452775990714904367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128773282,"filename":"image_17012025_16_44_34_5190.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/89061cc5135151525dc6f52abb18886b.jpg","text":"TemporaryFile(/tmp/multipartBody4204623949549770244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128773282,"filename":"image_17012025_16_44_47_6401.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/57b14ea7a63ddfabbd003c44022a17e7.jpg","text":"TemporaryFile(/tmp/multipartBody9067025259161611339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128773282,"filename":"image_17012025_16_44_52_5193.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a7b4371e1d7e969887415b7cd9cfefe4.jpg","text":"TemporaryFile(/tmp/multipartBody7945702237809981943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128773282,"filename":"image_17012025_16_44_29_6393.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/986a6a2d857aadf741c48226dab19bfd.jpg","text":"TemporaryFile(/tmp/multipartBody988742359819425291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128773282,"filename":"image_17012025_16_44_22_6380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329511782","file1":"1329511775","file0":"1329511763","file4":"1329511789","file5":"1329511792","file3":"1329511784"},"map_files_photo_id_array":[{"photo_id":"1329511792","filename":"file5"},{"photo_id":"1329511782","filename":"file2"},{"photo_id":"1329511789","filename":"file4"},{"photo_id":"1329511775","filename":"file1"},{"photo_id":"1329511763","filename":"file0"},{"photo_id":"1329511784","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329511782":["hashtag1","hashtag2"]},{"1329511784":["hashtag1","hashtag2"]},{"1329511775":["hashtag1","hashtag2"]},{"1329511763":["hashtag1","hashtag2"]},{"1329511789":["hashtag1","hashtag2"]},{"1329511792":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329511782, 1329511784, 1329511775, 1329511763, 1329511789, 1329511792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.360992193222046 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:46:02.058343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/45/image_17012025_16_45_52_6414.jpg', '/media/data/images/17012025/16/45/image_17012025_16_45_46_5212.jpg', '/media/data/images/17012025/16/45/image_17012025_16_45_41_6439.jpg', '/media/data/images/17012025/16/45/image_17012025_16_45_34_6436.jpg', '/media/data/images/17012025/16/45/image_17012025_16_45_28_5207.jpg', '/media/data/images/17012025/16/45/image_17012025_16_45_23_6426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/45/image_17012025_16_45_52_6414.jpg
/media/data/images/17012025/16/45/image_17012025_16_45_46_5212.jpg
/media/data/images/17012025/16/45/image_17012025_16_45_41_6439.jpg
/media/data/images/17012025/16/45/image_17012025_16_45_34_6436.jpg
/media/data/images/17012025/16/45/image_17012025_16_45_28_5207.jpg
/media/data/images/17012025/16/45/image_17012025_16_45_23_6426.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329511839","1329511848","1329511841","1329511835","1329511844","1329511837"],"photo_ids_order":["1329511835","1329511837","1329511839","1329511841","1329511844","1329511848"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9b3110ade90d45a5f266ae83d934679a.jpg","text":"TemporaryFile(/tmp/multipartBody2939207937517832853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128833250,"filename":"image_17012025_16_45_41_6439.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5874f53818d5deec04951519e585bb2e.jpg","text":"TemporaryFile(/tmp/multipartBody1353733778218252249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128833250,"filename":"image_17012025_16_45_23_6426.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d593f69fc9d3ac3e04543983da08efa2.jpg","text":"TemporaryFile(/tmp/multipartBody405631410477106939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128833250,"filename":"image_17012025_16_45_34_6436.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a701f809da368340976ec9996c20d05d.jpg","text":"TemporaryFile(/tmp/multipartBody7499745128984874979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128833250,"filename":"image_17012025_16_45_52_6414.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5d7e0a7d312d6c7e184656a1ffa6deba.jpg","text":"TemporaryFile(/tmp/multipartBody5962389936990595604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128833250,"filename":"image_17012025_16_45_28_5207.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/613d665e0c28277cc293ce831537750f.jpg","text":"TemporaryFile(/tmp/multipartBody7238686855391978615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128833250,"filename":"image_17012025_16_45_46_5212.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329511839","file1":"1329511837","file0":"1329511835","file4":"1329511844","file5":"1329511848","file3":"1329511841"},"map_files_photo_id_array":[{"photo_id":"1329511848","filename":"file5"},{"photo_id":"1329511839","filename":"file2"},{"photo_id":"1329511844","filename":"file4"},{"photo_id":"1329511837","filename":"file1"},{"photo_id":"1329511835","filename":"file0"},{"photo_id":"1329511841","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329511839":["hashtag1","hashtag2"]},{"1329511848":["hashtag1","hashtag2"]},{"1329511841":["hashtag1","hashtag2"]},{"1329511835":["hashtag1","hashtag2"]},{"1329511844":["hashtag1","hashtag2"]},{"1329511837":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329511839, 1329511848, 1329511841, 1329511835, 1329511844, 1329511837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.91520643234253 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:47:02.403784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/46/image_17012025_16_46_58_5199.jpg', '/media/data/images/17012025/16/46/image_17012025_16_46_46_6426.jpg', '/media/data/images/17012025/16/46/image_17012025_16_46_40_4990.jpg', '/media/data/images/17012025/16/46/image_17012025_16_46_35_6397.jpg', '/media/data/images/17012025/16/46/image_17012025_16_46_28_6410.jpg', '/media/data/images/17012025/16/46/image_17012025_16_46_22_5189.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/46/image_17012025_16_46_58_5199.jpg
/media/data/images/17012025/16/46/image_17012025_16_46_46_6426.jpg
/media/data/images/17012025/16/46/image_17012025_16_46_40_4990.jpg
/media/data/images/17012025/16/46/image_17012025_16_46_35_6397.jpg
/media/data/images/17012025/16/46/image_17012025_16_46_28_6410.jpg
/media/data/images/17012025/16/46/image_17012025_16_46_22_5189.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329512177","1329512246","1329512221","1329512137","1329512134","1329512262"],"photo_ids_order":["1329512134","1329512137","1329512177","1329512221","1329512246","1329512262"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e3e765f37021f130fc52ac5f15f9f10e.jpg","text":"TemporaryFile(/tmp/multipartBody2299512776418791331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128886825,"filename":"image_17012025_16_46_40_4990.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1411f346a31d5734e850e1f5d810e4a8.jpg","text":"TemporaryFile(/tmp/multipartBody2690553538348534405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128886825,"filename":"image_17012025_16_46_28_6410.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/04e89da41a8e015416ab7cd6e163dd41.jpg","text":"TemporaryFile(/tmp/multipartBody6716468453510257459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128886825,"filename":"image_17012025_16_46_35_6397.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bde9eabd8bcb5ace5736b14f82389f2a.jpg","text":"TemporaryFile(/tmp/multipartBody4888634802398960087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128886825,"filename":"image_17012025_16_46_46_6426.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/afc86a3554e90bdcd2847e56bcd59d3d.jpg","text":"TemporaryFile(/tmp/multipartBody8901740297841056269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128886825,"filename":"image_17012025_16_46_58_5199.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/35cb68b6c26d283727322f573defd05d.jpg","text":"TemporaryFile(/tmp/multipartBody7340959239143009305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128886825,"filename":"image_17012025_16_46_22_5189.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329512177","file1":"1329512137","file0":"1329512134","file4":"1329512246","file5":"1329512262","file3":"1329512221"},"map_files_photo_id_array":[{"photo_id":"1329512262","filename":"file5"},{"photo_id":"1329512177","filename":"file2"},{"photo_id":"1329512246","filename":"file4"},{"photo_id":"1329512137","filename":"file1"},{"photo_id":"1329512134","filename":"file0"},{"photo_id":"1329512221","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329512177":["hashtag1","hashtag2"]},{"1329512246":["hashtag1","hashtag2"]},{"1329512221":["hashtag1","hashtag2"]},{"1329512137":["hashtag1","hashtag2"]},{"1329512134":["hashtag1","hashtag2"]},{"1329512262":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329512177, 1329512246, 1329512221, 1329512137, 1329512134, 1329512262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.13977575302124 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:48:02.361471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/47/image_17012025_16_47_52_5209.jpg', '/media/data/images/17012025/16/47/image_17012025_16_47_47_6386.jpg', '/media/data/images/17012025/16/47/image_17012025_16_47_40_6420.jpg', '/media/data/images/17012025/16/47/image_17012025_16_47_34_5177.jpg', '/media/data/images/17012025/16/47/image_17012025_16_47_29_6371.jpg', '/media/data/images/17012025/16/47/image_17012025_16_47_22_6387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/47/image_17012025_16_47_52_5209.jpg
/media/data/images/17012025/16/47/image_17012025_16_47_47_6386.jpg
/media/data/images/17012025/16/47/image_17012025_16_47_40_6420.jpg
/media/data/images/17012025/16/47/image_17012025_16_47_34_5177.jpg
/media/data/images/17012025/16/47/image_17012025_16_47_29_6371.jpg
/media/data/images/17012025/16/47/image_17012025_16_47_22_6387.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329512436","1329512663","1329512660","1329512504","1329512653","1329512614"],"photo_ids_order":["1329512436","1329512504","1329512614","1329512653","1329512660","1329512663"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e5b52eeb8f314705da08e892a209e625.jpg","text":"TemporaryFile(/tmp/multipartBody7610581170079920013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128946879,"filename":"image_17012025_16_47_52_5209.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1359197be6737afdf386a8c56ccc7b45.jpg","text":"TemporaryFile(/tmp/multipartBody4720034392646571844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128946879,"filename":"image_17012025_16_47_22_6387.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5350e0bfc3785db7b83213979e04e478.jpg","text":"TemporaryFile(/tmp/multipartBody5427031333835100650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128946879,"filename":"image_17012025_16_47_29_6371.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/60c4487072dbf56dd28120c165b4a1ad.jpg","text":"TemporaryFile(/tmp/multipartBody1570133739856088829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128946879,"filename":"image_17012025_16_47_47_6386.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cc4c6a85602808ea41511211ab15be84.jpg","text":"TemporaryFile(/tmp/multipartBody5599213402431484138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128946879,"filename":"image_17012025_16_47_34_5177.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cf1c4c7e6dac71824041e4d480fa5761.jpg","text":"TemporaryFile(/tmp/multipartBody8349138514191674709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128946879,"filename":"image_17012025_16_47_40_6420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329512614","file1":"1329512504","file0":"1329512436","file4":"1329512660","file5":"1329512663","file3":"1329512653"},"map_files_photo_id_array":[{"photo_id":"1329512663","filename":"file5"},{"photo_id":"1329512614","filename":"file2"},{"photo_id":"1329512660","filename":"file4"},{"photo_id":"1329512504","filename":"file1"},{"photo_id":"1329512436","filename":"file0"},{"photo_id":"1329512653","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329512436":["hashtag1","hashtag2"]},{"1329512663":["hashtag1","hashtag2"]},{"1329512660":["hashtag1","hashtag2"]},{"1329512504":["hashtag1","hashtag2"]},{"1329512653":["hashtag1","hashtag2"]},{"1329512614":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329512436, 1329512663, 1329512660, 1329512504, 1329512653, 1329512614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.17665719985962 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:48:42.116211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/48/image_17012025_16_48_52_6401.jpg', '/media/data/images/17012025/16/48/image_17012025_16_48_46_5194.jpg', '/media/data/images/17012025/16/48/image_17012025_16_48_41_6409.jpg', '/media/data/images/17012025/16/48/image_17012025_16_48_34_6436.jpg', '/media/data/images/17012025/16/48/image_17012025_16_48_28_5207.jpg', '/media/data/images/17012025/16/48/image_17012025_16_48_23_6436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/48/image_17012025_16_48_52_6401.jpg
/media/data/images/17012025/16/48/image_17012025_16_48_46_5194.jpg
/media/data/images/17012025/16/48/image_17012025_16_48_41_6409.jpg
/media/data/images/17012025/16/48/image_17012025_16_48_34_6436.jpg
/media/data/images/17012025/16/48/image_17012025_16_48_28_5207.jpg
/media/data/images/17012025/16/48/image_17012025_16_48_23_6436.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329512687","1329512708","1329512677","1329512707","1329512701","1329512682"],"photo_ids_order":["1329512677","1329512682","1329512687","1329512701","1329512707","1329512708"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e7a4752232e99624a5325ef045369318.jpg","text":"TemporaryFile(/tmp/multipartBody1415386449750271662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128987773,"filename":"image_17012025_16_48_41_6409.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e9c0ada19ca451c763e7527c11c32055.jpg","text":"TemporaryFile(/tmp/multipartBody1813785934817829721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128987773,"filename":"image_17012025_16_48_23_6436.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/64468b155697ec204112f08798b5e970.jpg","text":"TemporaryFile(/tmp/multipartBody627335474903682836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128987773,"filename":"image_17012025_16_48_52_6401.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6d8bcd09c580e3d01e807493d99b0542.jpg","text":"TemporaryFile(/tmp/multipartBody1688261210378500837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128987773,"filename":"image_17012025_16_48_28_5207.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9e349a7c541efb48f2631dab4f428f45.jpg","text":"TemporaryFile(/tmp/multipartBody6322855068396598269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128987773,"filename":"image_17012025_16_48_34_6436.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/86316ed66d697967660694b4cefae4fd.jpg","text":"TemporaryFile(/tmp/multipartBody4822155562705840510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737128987773,"filename":"image_17012025_16_48_46_5194.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329512687","file1":"1329512682","file0":"1329512677","file4":"1329512707","file5":"1329512708","file3":"1329512701"},"map_files_photo_id_array":[{"photo_id":"1329512708","filename":"file5"},{"photo_id":"1329512687","filename":"file2"},{"photo_id":"1329512707","filename":"file4"},{"photo_id":"1329512682","filename":"file1"},{"photo_id":"1329512677","filename":"file0"},{"photo_id":"1329512701","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329512687":["hashtag1","hashtag2"]},{"1329512708":["hashtag1","hashtag2"]},{"1329512677":["hashtag1","hashtag2"]},{"1329512707":["hashtag1","hashtag2"]},{"1329512701":["hashtag1","hashtag2"]},{"1329512682":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329512687, 1329512708, 1329512677, 1329512707, 1329512701, 1329512682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.73591160774231 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:49:42.209301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/49/image_17012025_16_49_53_6428.jpg', '/media/data/images/17012025/16/49/image_17012025_16_49_46_6443.jpg', '/media/data/images/17012025/16/49/image_17012025_16_49_40_5187.jpg', '/media/data/images/17012025/16/49/image_17012025_16_49_35_6397.jpg', '/media/data/images/17012025/16/49/image_17012025_16_49_28_6405.jpg', '/media/data/images/17012025/16/49/image_17012025_16_49_22_5232.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/49/image_17012025_16_49_53_6428.jpg
/media/data/images/17012025/16/49/image_17012025_16_49_46_6443.jpg
/media/data/images/17012025/16/49/image_17012025_16_49_40_5187.jpg
/media/data/images/17012025/16/49/image_17012025_16_49_35_6397.jpg
/media/data/images/17012025/16/49/image_17012025_16_49_28_6405.jpg
/media/data/images/17012025/16/49/image_17012025_16_49_22_5232.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329512745","1329512739","1329512727","1329512725","1329512734","1329512742"],"photo_ids_order":["1329512725","1329512727","1329512734","1329512739","1329512742","1329512745"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/41e95adeed11f6ae9c842bb09d7fe090.jpg","text":"TemporaryFile(/tmp/multipartBody4488323086949064036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129053319,"filename":"image_17012025_16_49_22_5232.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ec2712df336d14b014d28f91935be1f6.jpg","text":"TemporaryFile(/tmp/multipartBody1675397472406564909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129053319,"filename":"image_17012025_16_49_35_6397.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b05f93563a4e1d236bc145de7dd358fd.jpg","text":"TemporaryFile(/tmp/multipartBody1292883383690684447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129053319,"filename":"image_17012025_16_49_46_6443.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fd5dfe688fec9eedd4e738f4fb738b2b.jpg","text":"TemporaryFile(/tmp/multipartBody5072823310367857100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129053319,"filename":"image_17012025_16_49_53_6428.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dd4fac47973be4b08edfd7b28f481ad4.jpg","text":"TemporaryFile(/tmp/multipartBody5414018933767400658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129053319,"filename":"image_17012025_16_49_40_5187.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7bf5cf753a1f38445682c79217252c3d.jpg","text":"TemporaryFile(/tmp/multipartBody8492233254558274852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129053319,"filename":"image_17012025_16_49_28_6405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329512734","file1":"1329512727","file0":"1329512725","file4":"1329512742","file5":"1329512745","file3":"1329512739"},"map_files_photo_id_array":[{"photo_id":"1329512745","filename":"file5"},{"photo_id":"1329512734","filename":"file2"},{"photo_id":"1329512742","filename":"file4"},{"photo_id":"1329512727","filename":"file1"},{"photo_id":"1329512725","filename":"file0"},{"photo_id":"1329512739","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329512745":["hashtag1","hashtag2"]},{"1329512739":["hashtag1","hashtag2"]},{"1329512727":["hashtag1","hashtag2"]},{"1329512725":["hashtag1","hashtag2"]},{"1329512734":["hashtag1","hashtag2"]},{"1329512742":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329512745, 1329512739, 1329512727, 1329512725, 1329512734, 1329512742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.19232630729675 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:50:42.333492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/50/image_17012025_16_50_52_6417.jpg', '/media/data/images/17012025/16/50/image_17012025_16_50_46_5198.jpg', '/media/data/images/17012025/16/50/image_17012025_16_50_41_6418.jpg', '/media/data/images/17012025/16/50/image_17012025_16_50_34_6432.jpg', '/media/data/images/17012025/16/50/image_17012025_16_50_28_5211.jpg', '/media/data/images/17012025/16/50/image_17012025_16_50_22_6430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/50/image_17012025_16_50_52_6417.jpg
/media/data/images/17012025/16/50/image_17012025_16_50_46_5198.jpg
/media/data/images/17012025/16/50/image_17012025_16_50_41_6418.jpg
/media/data/images/17012025/16/50/image_17012025_16_50_34_6432.jpg
/media/data/images/17012025/16/50/image_17012025_16_50_28_5211.jpg
/media/data/images/17012025/16/50/image_17012025_16_50_22_6430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329512771","1329512788","1329512785","1329512790","1329512778","1329512781"],"photo_ids_order":["1329512771","1329512778","1329512781","1329512785","1329512788","1329512790"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/26cbba56b128a6279379b88d7b274d88.jpg","text":"TemporaryFile(/tmp/multipartBody936414599427999367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129108577,"filename":"image_17012025_16_50_52_6417.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4065311ce4f13a5d7f7fbfade8da59f3.jpg","text":"TemporaryFile(/tmp/multipartBody6382805488055230389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129108577,"filename":"image_17012025_16_50_28_5211.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bc98d7dfca1389277fa84ba4276d529f.jpg","text":"TemporaryFile(/tmp/multipartBody6556467914679844889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129108577,"filename":"image_17012025_16_50_34_6432.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ad7d0e644c666f5706ab602139acff38.jpg","text":"TemporaryFile(/tmp/multipartBody700448152958008114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129108577,"filename":"image_17012025_16_50_22_6430.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/67104d0e6648a8644f229b3e69f2281a.jpg","text":"TemporaryFile(/tmp/multipartBody6764802064861942475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129108577,"filename":"image_17012025_16_50_46_5198.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/063fde8dd84bfd49258bfeef17205eae.jpg","text":"TemporaryFile(/tmp/multipartBody8502785539359041657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129108577,"filename":"image_17012025_16_50_41_6418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329512781","file1":"1329512778","file0":"1329512771","file4":"1329512788","file5":"1329512790","file3":"1329512785"},"map_files_photo_id_array":[{"photo_id":"1329512790","filename":"file5"},{"photo_id":"1329512781","filename":"file2"},{"photo_id":"1329512788","filename":"file4"},{"photo_id":"1329512778","filename":"file1"},{"photo_id":"1329512771","filename":"file0"},{"photo_id":"1329512785","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329512771":["hashtag1","hashtag2"]},{"1329512788":["hashtag1","hashtag2"]},{"1329512785":["hashtag1","hashtag2"]},{"1329512790":["hashtag1","hashtag2"]},{"1329512778":["hashtag1","hashtag2"]},{"1329512781":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329512771, 1329512788, 1329512785, 1329512790, 1329512778, 1329512781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.558143854141235 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:51:42.427943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/51/image_17012025_16_51_52_6441.jpg', '/media/data/images/17012025/16/51/image_17012025_16_51_46_5184.jpg', '/media/data/images/17012025/16/51/image_17012025_16_51_41_6387.jpg', '/media/data/images/17012025/16/51/image_17012025_16_51_34_6368.jpg', '/media/data/images/17012025/16/51/image_17012025_16_51_28_5183.jpg', '/media/data/images/17012025/16/51/image_17012025_16_51_23_6395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/51/image_17012025_16_51_52_6441.jpg
/media/data/images/17012025/16/51/image_17012025_16_51_46_5184.jpg
/media/data/images/17012025/16/51/image_17012025_16_51_41_6387.jpg
/media/data/images/17012025/16/51/image_17012025_16_51_34_6368.jpg
/media/data/images/17012025/16/51/image_17012025_16_51_28_5183.jpg
/media/data/images/17012025/16/51/image_17012025_16_51_23_6395.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329512981","1329513203","1329512912","1329513526","1329513048","1329513383"],"photo_ids_order":["1329512912","1329512981","1329513048","1329513203","1329513383","1329513526"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bc528b435f2a5f415c4eefc3e4a17901.jpg","text":"TemporaryFile(/tmp/multipartBody8888857059711775195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129173543,"filename":"image_17012025_16_51_46_5184.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6ed3ad5791f897ceb1df7a4d464105d6.jpg","text":"TemporaryFile(/tmp/multipartBody3131267314755811360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129173543,"filename":"image_17012025_16_51_34_6368.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dd61001162819590d58bc2ebd1bdfdf0.jpg","text":"TemporaryFile(/tmp/multipartBody6957936145554678574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129173543,"filename":"image_17012025_16_51_52_6441.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f7ddf7084a331384e691bcbd1887793a.jpg","text":"TemporaryFile(/tmp/multipartBody1046370597577184233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129173543,"filename":"image_17012025_16_51_23_6395.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8beec67b9c0997a032379bb22d7db76a.jpg","text":"TemporaryFile(/tmp/multipartBody415484160258558194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129173543,"filename":"image_17012025_16_51_41_6387.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3f32845678d90a6d836844e58a4c7aaf.jpg","text":"TemporaryFile(/tmp/multipartBody7686222563965349429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129173543,"filename":"image_17012025_16_51_28_5183.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329513048","file1":"1329512981","file0":"1329512912","file4":"1329513383","file5":"1329513526","file3":"1329513203"},"map_files_photo_id_array":[{"photo_id":"1329513526","filename":"file5"},{"photo_id":"1329513048","filename":"file2"},{"photo_id":"1329513383","filename":"file4"},{"photo_id":"1329512981","filename":"file1"},{"photo_id":"1329512912","filename":"file0"},{"photo_id":"1329513203","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329512981":["hashtag1","hashtag2"]},{"1329513203":["hashtag1","hashtag2"]},{"1329512912":["hashtag1","hashtag2"]},{"1329513526":["hashtag1","hashtag2"]},{"1329513048":["hashtag1","hashtag2"]},{"1329513383":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329512981, 1329513203, 1329512912, 1329513526, 1329513048, 1329513383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.70141410827637 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:52:42.528568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/52/image_17012025_16_52_52_6389.jpg', '/media/data/images/17012025/16/52/image_17012025_16_52_46_6395.jpg', '/media/data/images/17012025/16/52/image_17012025_16_52_40_5184.jpg', '/media/data/images/17012025/16/52/image_17012025_16_52_35_6400.jpg', '/media/data/images/17012025/16/52/image_17012025_16_52_28_6395.jpg', '/media/data/images/17012025/16/52/image_17012025_16_52_22_5164.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/52/image_17012025_16_52_52_6389.jpg
/media/data/images/17012025/16/52/image_17012025_16_52_46_6395.jpg
/media/data/images/17012025/16/52/image_17012025_16_52_40_5184.jpg
/media/data/images/17012025/16/52/image_17012025_16_52_35_6400.jpg
/media/data/images/17012025/16/52/image_17012025_16_52_28_6395.jpg
/media/data/images/17012025/16/52/image_17012025_16_52_22_5164.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: 4.739601135253906 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:53:03.021191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/52/image_17012025_16_52_52_6389.jpg', '/media/data/images/17012025/16/52/image_17012025_16_52_46_6395.jpg', '/media/data/images/17012025/16/52/image_17012025_16_52_40_5184.jpg', '/media/data/images/17012025/16/52/image_17012025_16_52_35_6400.jpg', '/media/data/images/17012025/16/52/image_17012025_16_52_28_6395.jpg', '/media/data/images/17012025/16/52/image_17012025_16_52_22_5164.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/52/image_17012025_16_52_52_6389.jpg
/media/data/images/17012025/16/52/image_17012025_16_52_46_6395.jpg
/media/data/images/17012025/16/52/image_17012025_16_52_40_5184.jpg
/media/data/images/17012025/16/52/image_17012025_16_52_35_6400.jpg
/media/data/images/17012025/16/52/image_17012025_16_52_28_6395.jpg
/media/data/images/17012025/16/52/image_17012025_16_52_22_5164.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329514511","1329514504","1329514507","1329514515","1329514469","1329514517"],"photo_ids_order":["1329514469","1329514504","1329514507","1329514511","1329514515","1329514517"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0689811c69c4888c9108f1f53bd219ed.jpg","text":"TemporaryFile(/tmp/multipartBody6887426051071635892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129249142,"filename":"image_17012025_16_52_35_6400.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/de7fec2462b918dad7ce4af76c0a01c1.jpg","text":"TemporaryFile(/tmp/multipartBody4296657344784092934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129249142,"filename":"image_17012025_16_52_46_6395.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/05e7d289503f193533d351c61b2d6e27.jpg","text":"TemporaryFile(/tmp/multipartBody1571703172651511064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129249142,"filename":"image_17012025_16_52_40_5184.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d988b6af0d8a79d4280a2fccbb0836ea.jpg","text":"TemporaryFile(/tmp/multipartBody9073733063395941052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129249142,"filename":"image_17012025_16_52_28_6395.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3bf19d469287a032bc795a8d16a5c51b.jpg","text":"TemporaryFile(/tmp/multipartBody3493425062740812242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129249142,"filename":"image_17012025_16_52_52_6389.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1478f735928db8b2247d5204b9d017a1.jpg","text":"TemporaryFile(/tmp/multipartBody629466062254844140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129249142,"filename":"image_17012025_16_52_22_5164.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329514507","file1":"1329514504","file0":"1329514469","file4":"1329514515","file5":"1329514517","file3":"1329514511"},"map_files_photo_id_array":[{"photo_id":"1329514517","filename":"file5"},{"photo_id":"1329514507","filename":"file2"},{"photo_id":"1329514515","filename":"file4"},{"photo_id":"1329514504","filename":"file1"},{"photo_id":"1329514469","filename":"file0"},{"photo_id":"1329514511","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329514511":["hashtag1","hashtag2"]},{"1329514504":["hashtag1","hashtag2"]},{"1329514507":["hashtag1","hashtag2"]},{"1329514515":["hashtag1","hashtag2"]},{"1329514469":["hashtag1","hashtag2"]},{"1329514517":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329514511, 1329514504, 1329514507, 1329514515, 1329514469, 1329514517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.92519021034241 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 16:54:02.176575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/53/image_17012025_16_53_53_6381.jpg', '/media/data/images/17012025/16/53/image_17012025_16_53_46_6394.jpg', '/media/data/images/17012025/16/53/image_17012025_16_53_40_5185.jpg', '/media/data/images/17012025/16/53/image_17012025_16_53_35_6392.jpg', '/media/data/images/17012025/16/53/image_17012025_16_53_28_6358.jpg', '/media/data/images/17012025/16/53/image_17012025_16_53_22_5187.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/53/image_17012025_16_53_53_6381.jpg
/media/data/images/17012025/16/53/image_17012025_16_53_46_6394.jpg
/media/data/images/17012025/16/53/image_17012025_16_53_40_5185.jpg
/media/data/images/17012025/16/53/image_17012025_16_53_35_6392.jpg
/media/data/images/17012025/16/53/image_17012025_16_53_28_6358.jpg
/media/data/images/17012025/16/53/image_17012025_16_53_22_5187.jpg
2025-01-17 16:54:02.420843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/53/image_17012025_16_53_53_6381.jpg', '/media/data/images/17012025/16/53/image_17012025_16_53_46_6394.jpg', '/media/data/images/17012025/16/53/image_17012025_16_53_40_5185.jpg', '/media/data/images/17012025/16/53/image_17012025_16_53_35_6392.jpg', '/media/data/images/17012025/16/53/image_17012025_16_53_28_6358.jpg', '/media/data/images/17012025/16/53/image_17012025_16_53_22_5187.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/53/image_17012025_16_53_53_6381.jpg
/media/data/images/17012025/16/53/image_17012025_16_53_46_6394.jpg
/media/data/images/17012025/16/53/image_17012025_16_53_40_5185.jpg
/media/data/images/17012025/16/53/image_17012025_16_53_35_6392.jpg
/media/data/images/17012025/16/53/image_17012025_16_53_28_6358.jpg
/media/data/images/17012025/16/53/image_17012025_16_53_22_5187.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: 8.797535181045532 secondes ---
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329514831","1329514828","1329514816","1329514824","1329514748","1329514661"],"photo_ids_order":["1329514661","1329514748","1329514816","1329514824","1329514828","1329514831"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1c3059a92c9f08ddb9ee75345e830b6f.jpg","text":"TemporaryFile(/tmp/multipartBody6743174315932529346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129311305,"filename":"image_17012025_16_53_22_5187.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/50cc14365f847e4c0bea124647bb1469.jpg","text":"TemporaryFile(/tmp/multipartBody7539780886359613901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129311305,"filename":"image_17012025_16_53_28_6358.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7075c745c4c1f4272a4a0521206aa5ad.jpg","text":"TemporaryFile(/tmp/multipartBody4757186128598216740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129311305,"filename":"image_17012025_16_53_40_5185.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f7540814b6b807338c1fe53bfe6f198e.jpg","text":"TemporaryFile(/tmp/multipartBody1715828248842065664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129311305,"filename":"image_17012025_16_53_35_6392.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c6ca82682ee47b71483c7568fa811e80.jpg","text":"TemporaryFile(/tmp/multipartBody8818120792416614075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129311305,"filename":"image_17012025_16_53_46_6394.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/13c2fe1f9249115bd5548ca01a8f02db.jpg","text":"TemporaryFile(/tmp/multipartBody6919321068436642735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129311305,"filename":"image_17012025_16_53_53_6381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329514816","file1":"1329514748","file0":"1329514661","file4":"1329514828","file5":"1329514831","file3":"1329514824"},"map_files_photo_id_array":[{"photo_id":"1329514831","filename":"file5"},{"photo_id":"1329514816","filename":"file2"},{"photo_id":"1329514828","filename":"file4"},{"photo_id":"1329514748","filename":"file1"},{"photo_id":"1329514661","filename":"file0"},{"photo_id":"1329514824","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329514831":["hashtag1","hashtag2"]},{"1329514828":["hashtag1","hashtag2"]},{"1329514816":["hashtag1","hashtag2"]},{"1329514824":["hashtag1","hashtag2"]},{"1329514748":["hashtag1","hashtag2"]},{"1329514661":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329514831, 1329514828, 1329514816, 1329514824, 1329514748, 1329514661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.54417085647583 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:55:02.287576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/54/image_17012025_16_54_52_5191.jpg', '/media/data/images/17012025/16/54/image_17012025_16_54_47_6383.jpg', '/media/data/images/17012025/16/54/image_17012025_16_54_40_6380.jpg', '/media/data/images/17012025/16/54/image_17012025_16_54_34_6353.jpg', '/media/data/images/17012025/16/54/image_17012025_16_54_28_5179.jpg', '/media/data/images/17012025/16/54/image_17012025_16_54_22_6384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/54/image_17012025_16_54_52_5191.jpg
/media/data/images/17012025/16/54/image_17012025_16_54_47_6383.jpg
/media/data/images/17012025/16/54/image_17012025_16_54_40_6380.jpg
/media/data/images/17012025/16/54/image_17012025_16_54_34_6353.jpg
/media/data/images/17012025/16/54/image_17012025_16_54_28_5179.jpg
/media/data/images/17012025/16/54/image_17012025_16_54_22_6384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329514858","1329514884","1329514881","1329514854","1329514877","1329514865"],"photo_ids_order":["1329514854","1329514858","1329514865","1329514877","1329514881","1329514884"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d79681fd517043fab936750c9f868419.jpg","text":"TemporaryFile(/tmp/multipartBody5624293005237629821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129369416,"filename":"image_17012025_16_54_47_6383.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7832747800384a83fd6276ee677f8902.jpg","text":"TemporaryFile(/tmp/multipartBody6283760832916195852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129369416,"filename":"image_17012025_16_54_22_6384.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b99f3ecd4f3483f4a46637bd3458b50c.jpg","text":"TemporaryFile(/tmp/multipartBody8962694650174894041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129369416,"filename":"image_17012025_16_54_28_5179.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1e140726cbefa83c6564455e8b258f85.jpg","text":"TemporaryFile(/tmp/multipartBody8091517138648232039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129369416,"filename":"image_17012025_16_54_52_5191.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a0af103ebf972fe7b2b23bd3ebb56d49.jpg","text":"TemporaryFile(/tmp/multipartBody3577297324335830975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129369416,"filename":"image_17012025_16_54_34_6353.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/aa3300be762cb4239cae496c5a77e45c.jpg","text":"TemporaryFile(/tmp/multipartBody7008862451698369619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129369416,"filename":"image_17012025_16_54_40_6380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329514865","file1":"1329514858","file0":"1329514854","file4":"1329514881","file5":"1329514884","file3":"1329514877"},"map_files_photo_id_array":[{"photo_id":"1329514884","filename":"file5"},{"photo_id":"1329514865","filename":"file2"},{"photo_id":"1329514881","filename":"file4"},{"photo_id":"1329514858","filename":"file1"},{"photo_id":"1329514854","filename":"file0"},{"photo_id":"1329514877","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329514858":["hashtag1","hashtag2"]},{"1329514884":["hashtag1","hashtag2"]},{"1329514881":["hashtag1","hashtag2"]},{"1329514854":["hashtag1","hashtag2"]},{"1329514877":["hashtag1","hashtag2"]},{"1329514865":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329514858, 1329514884, 1329514881, 1329514854, 1329514877, 1329514865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.06582713127136 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:56:02.112384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/55/image_17012025_16_55_52_6394.jpg', '/media/data/images/17012025/16/55/image_17012025_16_55_46_5171.jpg', '/media/data/images/17012025/16/55/image_17012025_16_55_41_6397.jpg', '/media/data/images/17012025/16/55/image_17012025_16_55_34_6412.jpg', '/media/data/images/17012025/16/55/image_17012025_16_55_28_5194.jpg', '/media/data/images/17012025/16/55/image_17012025_16_55_23_6377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/55/image_17012025_16_55_52_6394.jpg
/media/data/images/17012025/16/55/image_17012025_16_55_46_5171.jpg
/media/data/images/17012025/16/55/image_17012025_16_55_41_6397.jpg
/media/data/images/17012025/16/55/image_17012025_16_55_34_6412.jpg
/media/data/images/17012025/16/55/image_17012025_16_55_28_5194.jpg
/media/data/images/17012025/16/55/image_17012025_16_55_23_6377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329514927","1329514923","1329514931","1329514940","1329514934","1329514913"],"photo_ids_order":["1329514913","1329514923","1329514927","1329514931","1329514934","1329514940"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/083e803004b306b5a57e605ee13b3504.jpg","text":"TemporaryFile(/tmp/multipartBody3580121723210763804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129426676,"filename":"image_17012025_16_55_41_6397.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/82ae37350ec32e8bd1b34387477c6d14.jpg","text":"TemporaryFile(/tmp/multipartBody1877729884757902095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129426676,"filename":"image_17012025_16_55_46_5171.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0f6599cd5035d6176835b8d6c9a9bcc9.jpg","text":"TemporaryFile(/tmp/multipartBody7366657427831926896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129426676,"filename":"image_17012025_16_55_34_6412.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d7e0b32b3efb18a41ac897dec5e9c32b.jpg","text":"TemporaryFile(/tmp/multipartBody9023640586572466712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129426676,"filename":"image_17012025_16_55_23_6377.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1605c03b09ae62c449938b82a0bf230f.jpg","text":"TemporaryFile(/tmp/multipartBody3839842837129316571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129426676,"filename":"image_17012025_16_55_28_5194.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9de7f60a405caab887c4907e38996550.jpg","text":"TemporaryFile(/tmp/multipartBody2252937921261407086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129426676,"filename":"image_17012025_16_55_52_6394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329514927","file1":"1329514923","file0":"1329514913","file4":"1329514934","file5":"1329514940","file3":"1329514931"},"map_files_photo_id_array":[{"photo_id":"1329514940","filename":"file5"},{"photo_id":"1329514927","filename":"file2"},{"photo_id":"1329514934","filename":"file4"},{"photo_id":"1329514923","filename":"file1"},{"photo_id":"1329514913","filename":"file0"},{"photo_id":"1329514931","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329514927":["hashtag1","hashtag2"]},{"1329514923":["hashtag1","hashtag2"]},{"1329514931":["hashtag1","hashtag2"]},{"1329514940":["hashtag1","hashtag2"]},{"1329514934":["hashtag1","hashtag2"]},{"1329514913":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329514927, 1329514923, 1329514931, 1329514940, 1329514934, 1329514913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.949302196502686 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 16:57:02.414213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/56/image_17012025_16_56_53_6438.jpg', '/media/data/images/17012025/16/56/image_17012025_16_56_46_6420.jpg', '/media/data/images/17012025/16/56/image_17012025_16_56_40_5148.jpg', '/media/data/images/17012025/16/56/image_17012025_16_56_35_6356.jpg', '/media/data/images/17012025/16/56/image_17012025_16_56_28_6382.jpg', '/media/data/images/17012025/16/56/image_17012025_16_56_22_5157.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/56/image_17012025_16_56_53_6438.jpg
/media/data/images/17012025/16/56/image_17012025_16_56_46_6420.jpg
/media/data/images/17012025/16/56/image_17012025_16_56_40_5148.jpg
/media/data/images/17012025/16/56/image_17012025_16_56_35_6356.jpg
/media/data/images/17012025/16/56/image_17012025_16_56_28_6382.jpg
/media/data/images/17012025/16/56/image_17012025_16_56_22_5157.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329514986","1329514971","1329514977","1329514982","1329514976","1329514979"],"photo_ids_order":["1329514971","1329514976","1329514977","1329514979","1329514982","1329514986"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4f8f84be520e160e88848a4b1b0f3653.jpg","text":"TemporaryFile(/tmp/multipartBody7087474660236862574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129488161,"filename":"image_17012025_16_56_22_5157.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1ad3cd107210e855268e8d9849fa8e40.jpg","text":"TemporaryFile(/tmp/multipartBody6595113702240061962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129488161,"filename":"image_17012025_16_56_53_6438.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e393306d8c585e442fe32733d24bd8a4.jpg","text":"TemporaryFile(/tmp/multipartBody6623556163950889876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129488161,"filename":"image_17012025_16_56_40_5148.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5bc2f4901b5d988d14a9d5e175825e41.jpg","text":"TemporaryFile(/tmp/multipartBody6687989120708175775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129488161,"filename":"image_17012025_16_56_28_6382.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/880ba931862f88712f5394304acf0d10.jpg","text":"TemporaryFile(/tmp/multipartBody5494745784895377808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129488161,"filename":"image_17012025_16_56_46_6420.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b4324808ed9553e64d2ddc918dad6685.jpg","text":"TemporaryFile(/tmp/multipartBody5399133720589012017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129488161,"filename":"image_17012025_16_56_35_6356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329514977","file1":"1329514976","file0":"1329514971","file4":"1329514982","file5":"1329514986","file3":"1329514979"},"map_files_photo_id_array":[{"photo_id":"1329514986","filename":"file5"},{"photo_id":"1329514977","filename":"file2"},{"photo_id":"1329514982","filename":"file4"},{"photo_id":"1329514976","filename":"file1"},{"photo_id":"1329514971","filename":"file0"},{"photo_id":"1329514979","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329514986":["hashtag1","hashtag2"]},{"1329514971":["hashtag1","hashtag2"]},{"1329514977":["hashtag1","hashtag2"]},{"1329514982":["hashtag1","hashtag2"]},{"1329514976":["hashtag1","hashtag2"]},{"1329514979":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329514986, 1329514971, 1329514977, 1329514982, 1329514976, 1329514979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.49059510231018 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 16:59:03.049262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/58/image_17012025_16_58_52_6383.jpg', '/media/data/images/17012025/16/58/image_17012025_16_58_46_5189.jpg', '/media/data/images/17012025/16/58/image_17012025_16_58_41_6381.jpg', '/media/data/images/17012025/16/58/image_17012025_16_58_34_6337.jpg', '/media/data/images/17012025/16/58/image_17012025_16_58_28_5155.jpg', '/media/data/images/17012025/16/58/image_17012025_16_58_23_6439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/58/image_17012025_16_58_52_6383.jpg
/media/data/images/17012025/16/58/image_17012025_16_58_46_5189.jpg
/media/data/images/17012025/16/58/image_17012025_16_58_41_6381.jpg
/media/data/images/17012025/16/58/image_17012025_16_58_34_6337.jpg
/media/data/images/17012025/16/58/image_17012025_16_58_28_5155.jpg
/media/data/images/17012025/16/58/image_17012025_16_58_23_6439.jpg
2025-01-17 16:59:03.266215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/58/image_17012025_16_58_52_6383.jpg', '/media/data/images/17012025/16/58/image_17012025_16_58_46_5189.jpg', '/media/data/images/17012025/16/58/image_17012025_16_58_41_6381.jpg', '/media/data/images/17012025/16/58/image_17012025_16_58_34_6337.jpg', '/media/data/images/17012025/16/58/image_17012025_16_58_28_5155.jpg', '/media/data/images/17012025/16/58/image_17012025_16_58_23_6439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/58/image_17012025_16_58_52_6383.jpg
/media/data/images/17012025/16/58/image_17012025_16_58_46_5189.jpg
/media/data/images/17012025/16/58/image_17012025_16_58_41_6381.jpg
/media/data/images/17012025/16/58/image_17012025_16_58_34_6337.jpg
/media/data/images/17012025/16/58/image_17012025_16_58_28_5155.jpg
/media/data/images/17012025/16/58/image_17012025_16_58_23_6439.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329515227","1329515206","1329515200","1329515193","1329515213","1329515222"],"photo_ids_order":["1329515193","1329515200","1329515206","1329515213","1329515222","1329515227"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e09078981e1417e9dde9cbe14f7f1682.jpg","text":"TemporaryFile(/tmp/multipartBody2811131152404410280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129610987,"filename":"image_17012025_16_58_23_6439.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/321236e4be8ee7f210dd4bf21952510f.jpg","text":"TemporaryFile(/tmp/multipartBody2066177232860502093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129610987,"filename":"image_17012025_16_58_41_6381.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/31b299878aa25e5d42240955fbaa694f.jpg","text":"TemporaryFile(/tmp/multipartBody8296697820106874227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129610987,"filename":"image_17012025_16_58_46_5189.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0f19ffb404cc9a4cc5f5e0abe0c2d2ff.jpg","text":"TemporaryFile(/tmp/multipartBody3568448502946759658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129610987,"filename":"image_17012025_16_58_52_6383.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4c5ec91aa1a7a9d4818d5ec98ca2072c.jpg","text":"TemporaryFile(/tmp/multipartBody646130382780690795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129610987,"filename":"image_17012025_16_58_34_6337.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/55c47977c65d39a0a20d484db01d16ae.jpg","text":"TemporaryFile(/tmp/multipartBody3059462128631792087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129610987,"filename":"image_17012025_16_58_28_5155.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329515206","file1":"1329515200","file0":"1329515193","file4":"1329515222","file5":"1329515227","file3":"1329515213"},"map_files_photo_id_array":[{"photo_id":"1329515227","filename":"file5"},{"photo_id":"1329515206","filename":"file2"},{"photo_id":"1329515222","filename":"file4"},{"photo_id":"1329515200","filename":"file1"},{"photo_id":"1329515193","filename":"file0"},{"photo_id":"1329515213","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329515227":["hashtag1","hashtag2"]},{"1329515206":["hashtag1","hashtag2"]},{"1329515200":["hashtag1","hashtag2"]},{"1329515193":["hashtag1","hashtag2"]},{"1329515213":["hashtag1","hashtag2"]},{"1329515222":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329515227, 1329515206, 1329515200, 1329515193, 1329515213, 1329515222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.67538380622864 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329515196","1329515208","1329515217","1329515202","1329515231","1329515225"],"photo_ids_order":["1329515196","1329515202","1329515208","1329515217","1329515225","1329515231"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b7b0b5683f0467687a1507bf08877350.jpg","text":"TemporaryFile(/tmp/multipartBody4490005729537307585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129611604,"filename":"image_17012025_16_58_52_6383.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9bb7500b828ccad8265de150b7228ede.jpg","text":"TemporaryFile(/tmp/multipartBody7199289270380113110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129611604,"filename":"image_17012025_16_58_41_6381.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/21953271446e49600029217acefed516.jpg","text":"TemporaryFile(/tmp/multipartBody8411583277889364358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129611604,"filename":"image_17012025_16_58_34_6337.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ec879d2fddf43e593edd92542a624bea.jpg","text":"TemporaryFile(/tmp/multipartBody1545775476103952071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129611604,"filename":"image_17012025_16_58_46_5189.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bb79cc1be3d02c9378f65341d6760301.jpg","text":"TemporaryFile(/tmp/multipartBody4770180374180534569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129611604,"filename":"image_17012025_16_58_23_6439.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/89ded8081b4f36e4373d6c1a1a118006.jpg","text":"TemporaryFile(/tmp/multipartBody9214130343250183663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129611604,"filename":"image_17012025_16_58_28_5155.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329515208","file1":"1329515202","file0":"1329515196","file4":"1329515225","file5":"1329515231","file3":"1329515217"},"map_files_photo_id_array":[{"photo_id":"1329515231","filename":"file5"},{"photo_id":"1329515208","filename":"file2"},{"photo_id":"1329515225","filename":"file4"},{"photo_id":"1329515202","filename":"file1"},{"photo_id":"1329515196","filename":"file0"},{"photo_id":"1329515217","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329515196":["hashtag1","hashtag2"]},{"1329515208":["hashtag1","hashtag2"]},{"1329515217":["hashtag1","hashtag2"]},{"1329515202":["hashtag1","hashtag2"]},{"1329515231":["hashtag1","hashtag2"]},{"1329515225":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329515196, 1329515208, 1329515217, 1329515202, 1329515231, 1329515225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.13156819343567 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:00:02.922041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/59/image_17012025_16_59_52_6395.jpg', '/media/data/images/17012025/16/59/image_17012025_16_59_46_5176.jpg', '/media/data/images/17012025/16/59/image_17012025_16_59_41_6379.jpg', '/media/data/images/17012025/16/59/image_17012025_16_59_34_6445.jpg', '/media/data/images/17012025/16/59/image_17012025_16_59_28_5203.jpg', '/media/data/images/17012025/16/59/image_17012025_16_59_23_6398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/59/image_17012025_16_59_52_6395.jpg
/media/data/images/17012025/16/59/image_17012025_16_59_46_5176.jpg
/media/data/images/17012025/16/59/image_17012025_16_59_41_6379.jpg
/media/data/images/17012025/16/59/image_17012025_16_59_34_6445.jpg
/media/data/images/17012025/16/59/image_17012025_16_59_28_5203.jpg
/media/data/images/17012025/16/59/image_17012025_16_59_23_6398.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329515341","1329515335","1329515314","1329515338","1329515318","1329515333"],"photo_ids_order":["1329515314","1329515318","1329515333","1329515335","1329515338","1329515341"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2fa7c42129ac40f9cd74a421eb46a705.jpg","text":"TemporaryFile(/tmp/multipartBody6311047391942926129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129682474,"filename":"image_17012025_16_59_23_6398.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e12e89781c1bb930fc16a3f3a9e1762e.jpg","text":"TemporaryFile(/tmp/multipartBody6189765002839240544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129682474,"filename":"image_17012025_16_59_34_6445.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5aefe37cd6c76a3472af3d82578bafee.jpg","text":"TemporaryFile(/tmp/multipartBody5413124666180664803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129682474,"filename":"image_17012025_16_59_52_6395.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0a43ab3d80466801d2f6379711a5b861.jpg","text":"TemporaryFile(/tmp/multipartBody9214582579074529445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129682474,"filename":"image_17012025_16_59_28_5203.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a4cff1f0171a74d013be3adb5fbd7066.jpg","text":"TemporaryFile(/tmp/multipartBody6129229016339648407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129682474,"filename":"image_17012025_16_59_46_5176.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e3ec42ecf5b6bdd7757d520609e26f9d.jpg","text":"TemporaryFile(/tmp/multipartBody7885504711390957274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129682474,"filename":"image_17012025_16_59_41_6379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329515333","file1":"1329515318","file0":"1329515314","file4":"1329515338","file5":"1329515341","file3":"1329515335"},"map_files_photo_id_array":[{"photo_id":"1329515341","filename":"file5"},{"photo_id":"1329515333","filename":"file2"},{"photo_id":"1329515338","filename":"file4"},{"photo_id":"1329515318","filename":"file1"},{"photo_id":"1329515314","filename":"file0"},{"photo_id":"1329515335","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329515341":["hashtag1","hashtag2"]},{"1329515335":["hashtag1","hashtag2"]},{"1329515314":["hashtag1","hashtag2"]},{"1329515338":["hashtag1","hashtag2"]},{"1329515318":["hashtag1","hashtag2"]},{"1329515333":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329515341, 1329515335, 1329515314, 1329515338, 1329515318, 1329515333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.8895218372345 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:01:02.169579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/00/image_17012025_17_00_53_6426.jpg', '/media/data/images/17012025/17/00/image_17012025_17_00_46_6434.jpg', '/media/data/images/17012025/17/00/image_17012025_17_00_40_5220.jpg', '/media/data/images/17012025/17/00/image_17012025_17_00_35_6426.jpg', '/media/data/images/17012025/17/00/image_17012025_17_00_28_6418.jpg', '/media/data/images/17012025/17/00/image_17012025_17_00_22_5156.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/00/image_17012025_17_00_53_6426.jpg
/media/data/images/17012025/17/00/image_17012025_17_00_46_6434.jpg
/media/data/images/17012025/17/00/image_17012025_17_00_40_5220.jpg
/media/data/images/17012025/17/00/image_17012025_17_00_35_6426.jpg
/media/data/images/17012025/17/00/image_17012025_17_00_28_6418.jpg
/media/data/images/17012025/17/00/image_17012025_17_00_22_5156.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329515362","1329515356","1329515391","1329515394","1329515388","1329515372"],"photo_ids_order":["1329515356","1329515362","1329515372","1329515388","1329515391","1329515394"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/079061dbf1950ff8b6606a00f2e226a8.jpg","text":"TemporaryFile(/tmp/multipartBody2799671948703492108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129733583,"filename":"image_17012025_17_00_46_6434.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6885e632c11b962ab6613c51ad076dea.jpg","text":"TemporaryFile(/tmp/multipartBody1916583193479817165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129733583,"filename":"image_17012025_17_00_53_6426.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/096506f7315292b411b987d797df2794.jpg","text":"TemporaryFile(/tmp/multipartBody1854778030482093261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129733583,"filename":"image_17012025_17_00_28_6418.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d6916630537ecc354972495c0fb62560.jpg","text":"TemporaryFile(/tmp/multipartBody4621085690768148420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129733583,"filename":"image_17012025_17_00_22_5156.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fa0f9bb4604ff55fcc7d96795a3cace0.jpg","text":"TemporaryFile(/tmp/multipartBody2189414932316204227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129733583,"filename":"image_17012025_17_00_35_6426.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/59f3b6194aafc59d71c440c7b2ff0536.jpg","text":"TemporaryFile(/tmp/multipartBody3872893603468469258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129733583,"filename":"image_17012025_17_00_40_5220.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329515372","file1":"1329515362","file0":"1329515356","file4":"1329515391","file5":"1329515394","file3":"1329515388"},"map_files_photo_id_array":[{"photo_id":"1329515394","filename":"file5"},{"photo_id":"1329515372","filename":"file2"},{"photo_id":"1329515391","filename":"file4"},{"photo_id":"1329515362","filename":"file1"},{"photo_id":"1329515356","filename":"file0"},{"photo_id":"1329515388","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329515362":["hashtag1","hashtag2"]},{"1329515356":["hashtag1","hashtag2"]},{"1329515391":["hashtag1","hashtag2"]},{"1329515394":["hashtag1","hashtag2"]},{"1329515388":["hashtag1","hashtag2"]},{"1329515372":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329515362, 1329515356, 1329515391, 1329515394, 1329515388, 1329515372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.70461368560791 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:02:02.096614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/01/image_17012025_17_01_52_6424.jpg', '/media/data/images/17012025/17/01/image_17012025_17_01_46_5194.jpg', '/media/data/images/17012025/17/01/image_17012025_17_01_41_6431.jpg', '/media/data/images/17012025/17/01/image_17012025_17_01_34_6428.jpg', '/media/data/images/17012025/17/01/image_17012025_17_01_28_5216.jpg', '/media/data/images/17012025/17/01/image_17012025_17_01_22_6426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/01/image_17012025_17_01_52_6424.jpg
/media/data/images/17012025/17/01/image_17012025_17_01_46_5194.jpg
/media/data/images/17012025/17/01/image_17012025_17_01_41_6431.jpg
/media/data/images/17012025/17/01/image_17012025_17_01_34_6428.jpg
/media/data/images/17012025/17/01/image_17012025_17_01_28_5216.jpg
/media/data/images/17012025/17/01/image_17012025_17_01_22_6426.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329515446","1329515536","1329515442","1329515544","1329515439","1329515435"],"photo_ids_order":["1329515435","1329515439","1329515442","1329515446","1329515536","1329515544"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b5db24bd880d3760d19ecedecd4c9b76.jpg","text":"TemporaryFile(/tmp/multipartBody7166636293663819111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129789862,"filename":"image_17012025_17_01_34_6428.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/be49e0c913204ddec82798c952f1c725.jpg","text":"TemporaryFile(/tmp/multipartBody3122727945099855360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129789862,"filename":"image_17012025_17_01_28_5216.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/044b2ccfb217fe82d7ff372a86af95b3.jpg","text":"TemporaryFile(/tmp/multipartBody4246703445225697146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129789862,"filename":"image_17012025_17_01_41_6431.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1650c4ba1150bd584b583e16f010e37a.jpg","text":"TemporaryFile(/tmp/multipartBody4925645876780642821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129789862,"filename":"image_17012025_17_01_22_6426.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cbad12fa0dccb86af68443b62bea05fb.jpg","text":"TemporaryFile(/tmp/multipartBody2650557569111424198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129789862,"filename":"image_17012025_17_01_46_5194.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/222bbd85247551da6355f25fa9e94d45.jpg","text":"TemporaryFile(/tmp/multipartBody7988698218409926035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129789862,"filename":"image_17012025_17_01_52_6424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329515442","file1":"1329515439","file0":"1329515435","file4":"1329515536","file5":"1329515544","file3":"1329515446"},"map_files_photo_id_array":[{"photo_id":"1329515544","filename":"file5"},{"photo_id":"1329515442","filename":"file2"},{"photo_id":"1329515536","filename":"file4"},{"photo_id":"1329515439","filename":"file1"},{"photo_id":"1329515435","filename":"file0"},{"photo_id":"1329515446","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329515446":["hashtag1","hashtag2"]},{"1329515536":["hashtag1","hashtag2"]},{"1329515442":["hashtag1","hashtag2"]},{"1329515544":["hashtag1","hashtag2"]},{"1329515439":["hashtag1","hashtag2"]},{"1329515435":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329515446, 1329515536, 1329515442, 1329515544, 1329515439, 1329515435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.94622039794922 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:03:02.481265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/02/image_17012025_17_02_53_6410.jpg', '/media/data/images/17012025/17/02/image_17012025_17_02_46_6440.jpg', '/media/data/images/17012025/17/02/image_17012025_17_02_40_5214.jpg', '/media/data/images/17012025/17/02/image_17012025_17_02_34_6406.jpg', '/media/data/images/17012025/17/02/image_17012025_17_02_28_5185.jpg', '/media/data/images/17012025/17/02/image_17012025_17_02_23_6393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/02/image_17012025_17_02_53_6410.jpg
/media/data/images/17012025/17/02/image_17012025_17_02_46_6440.jpg
/media/data/images/17012025/17/02/image_17012025_17_02_40_5214.jpg
/media/data/images/17012025/17/02/image_17012025_17_02_34_6406.jpg
/media/data/images/17012025/17/02/image_17012025_17_02_28_5185.jpg
/media/data/images/17012025/17/02/image_17012025_17_02_23_6393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329515662","1329515719","1329515682","1329515649","1329515658","1329515654"],"photo_ids_order":["1329515649","1329515654","1329515658","1329515662","1329515682","1329515719"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7f308bb96b63756e6552726e3a29ea3b.jpg","text":"TemporaryFile(/tmp/multipartBody2489818184048495670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129848464,"filename":"image_17012025_17_02_34_6406.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4ba1c402976e2395a2b74cf129616771.jpg","text":"TemporaryFile(/tmp/multipartBody5070682734520420724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129848464,"filename":"image_17012025_17_02_23_6393.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fae9ced7d370f29d8016b4a8b6dd7755.jpg","text":"TemporaryFile(/tmp/multipartBody5439674234316032577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129848464,"filename":"image_17012025_17_02_28_5185.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/047f7055afaf0115005859d26634dfad.jpg","text":"TemporaryFile(/tmp/multipartBody4834731694187678325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129848464,"filename":"image_17012025_17_02_53_6410.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/afb28d1681c68f52f7a3547538f38eb1.jpg","text":"TemporaryFile(/tmp/multipartBody4942709962702903875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129848464,"filename":"image_17012025_17_02_40_5214.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f9e2751d10e38ef00c82b8dd6db74d3a.jpg","text":"TemporaryFile(/tmp/multipartBody7361583285382942724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129848464,"filename":"image_17012025_17_02_46_6440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329515658","file1":"1329515654","file0":"1329515649","file4":"1329515682","file5":"1329515719","file3":"1329515662"},"map_files_photo_id_array":[{"photo_id":"1329515719","filename":"file5"},{"photo_id":"1329515658","filename":"file2"},{"photo_id":"1329515682","filename":"file4"},{"photo_id":"1329515654","filename":"file1"},{"photo_id":"1329515649","filename":"file0"},{"photo_id":"1329515662","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329515662":["hashtag1","hashtag2"]},{"1329515719":["hashtag1","hashtag2"]},{"1329515682":["hashtag1","hashtag2"]},{"1329515649":["hashtag1","hashtag2"]},{"1329515658":["hashtag1","hashtag2"]},{"1329515654":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329515662, 1329515719, 1329515682, 1329515649, 1329515658, 1329515654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.88672208786011 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:04:02.536892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/03/image_17012025_17_03_53_6370.jpg', '/media/data/images/17012025/17/03/image_17012025_17_03_46_6335.jpg', '/media/data/images/17012025/17/03/image_17012025_17_03_40_6376.jpg', '/media/data/images/17012025/17/03/image_17012025_17_03_34_5190.jpg', '/media/data/images/17012025/17/03/image_17012025_17_03_28_6346.jpg', '/media/data/images/17012025/17/03/image_17012025_17_03_22_6389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/03/image_17012025_17_03_53_6370.jpg
/media/data/images/17012025/17/03/image_17012025_17_03_46_6335.jpg
/media/data/images/17012025/17/03/image_17012025_17_03_40_6376.jpg
/media/data/images/17012025/17/03/image_17012025_17_03_34_5190.jpg
/media/data/images/17012025/17/03/image_17012025_17_03_28_6346.jpg
/media/data/images/17012025/17/03/image_17012025_17_03_22_6389.jpg
2025-01-17 17:04:02.718007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/03/image_17012025_17_03_53_6370.jpg', '/media/data/images/17012025/17/03/image_17012025_17_03_46_6335.jpg', '/media/data/images/17012025/17/03/image_17012025_17_03_40_6376.jpg', '/media/data/images/17012025/17/03/image_17012025_17_03_34_5190.jpg', '/media/data/images/17012025/17/03/image_17012025_17_03_28_6346.jpg', '/media/data/images/17012025/17/03/image_17012025_17_03_22_6389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/03/image_17012025_17_03_53_6370.jpg
/media/data/images/17012025/17/03/image_17012025_17_03_46_6335.jpg
/media/data/images/17012025/17/03/image_17012025_17_03_40_6376.jpg
/media/data/images/17012025/17/03/image_17012025_17_03_34_5190.jpg
/media/data/images/17012025/17/03/image_17012025_17_03_28_6346.jpg
/media/data/images/17012025/17/03/image_17012025_17_03_22_6389.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329515764","1329515760","1329515780","1329515774","1329515756","1329515768"],"photo_ids_order":["1329515756","1329515760","1329515764","1329515768","1329515774","1329515780"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/87d78ee6fc8c86852dd8ed4a554be301.jpg","text":"TemporaryFile(/tmp/multipartBody8706985180971478938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129918832,"filename":"image_17012025_17_03_40_6376.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/52ff6c1892ab54ac63a64e6e8be10d66.jpg","text":"TemporaryFile(/tmp/multipartBody1465637730567729795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129918832,"filename":"image_17012025_17_03_46_6335.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d786a8e358850f8928551a2d3fb80b37.jpg","text":"TemporaryFile(/tmp/multipartBody5890576309196392353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129918832,"filename":"image_17012025_17_03_22_6389.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/64726523f5b7600cbbd448bec39adf09.jpg","text":"TemporaryFile(/tmp/multipartBody1050070713215161006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129918832,"filename":"image_17012025_17_03_28_6346.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/28cecd5beeeb62d1cd527236d6316881.jpg","text":"TemporaryFile(/tmp/multipartBody8139839877952094256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129918832,"filename":"image_17012025_17_03_53_6370.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7febab2acecc5541a333dfa41c8f03ad.jpg","text":"TemporaryFile(/tmp/multipartBody4840026739497482143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129918832,"filename":"image_17012025_17_03_34_5190.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329515764","file1":"1329515760","file0":"1329515756","file4":"1329515774","file5":"1329515780","file3":"1329515768"},"map_files_photo_id_array":[{"photo_id":"1329515780","filename":"file5"},{"photo_id":"1329515764","filename":"file2"},{"photo_id":"1329515774","filename":"file4"},{"photo_id":"1329515760","filename":"file1"},{"photo_id":"1329515756","filename":"file0"},{"photo_id":"1329515768","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329515764":["hashtag1","hashtag2"]},{"1329515760":["hashtag1","hashtag2"]},{"1329515780":["hashtag1","hashtag2"]},{"1329515774":["hashtag1","hashtag2"]},{"1329515756":["hashtag1","hashtag2"]},{"1329515768":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329515764, 1329515760, 1329515780, 1329515774, 1329515756, 1329515768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.77010655403137 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329515776","1329515770","1329515766","1329515781","1329515757","1329515762"],"photo_ids_order":["1329515757","1329515762","1329515766","1329515770","1329515776","1329515781"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/45b2c1a84bfdca83bac47253639c3616.jpg","text":"TemporaryFile(/tmp/multipartBody4870537510316684382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129919278,"filename":"image_17012025_17_03_28_6346.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/214c8b5d401140841e65d218db9fa47f.jpg","text":"TemporaryFile(/tmp/multipartBody5451366782711063031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129919278,"filename":"image_17012025_17_03_34_5190.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d133e72810703ef148f2068a771d8939.jpg","text":"TemporaryFile(/tmp/multipartBody328058913656346680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129919278,"filename":"image_17012025_17_03_40_6376.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/978e1feefbcabb7efdf0557b315a8a25.jpg","text":"TemporaryFile(/tmp/multipartBody7968909049376838025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129919278,"filename":"image_17012025_17_03_22_6389.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c05988b298d7d6c1c707a3e7d21d9c47.jpg","text":"TemporaryFile(/tmp/multipartBody6687372604994829194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129919278,"filename":"image_17012025_17_03_53_6370.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e2de8c41c1170f57ba5bae6f8f40d93c.jpg","text":"TemporaryFile(/tmp/multipartBody7542905990225793284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129919278,"filename":"image_17012025_17_03_46_6335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329515766","file1":"1329515762","file0":"1329515757","file4":"1329515776","file5":"1329515781","file3":"1329515770"},"map_files_photo_id_array":[{"photo_id":"1329515781","filename":"file5"},{"photo_id":"1329515766","filename":"file2"},{"photo_id":"1329515776","filename":"file4"},{"photo_id":"1329515762","filename":"file1"},{"photo_id":"1329515757","filename":"file0"},{"photo_id":"1329515770","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329515776":["hashtag1","hashtag2"]},{"1329515770":["hashtag1","hashtag2"]},{"1329515766":["hashtag1","hashtag2"]},{"1329515781":["hashtag1","hashtag2"]},{"1329515757":["hashtag1","hashtag2"]},{"1329515762":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329515776, 1329515770, 1329515766, 1329515781, 1329515757, 1329515762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.10303616523743 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:05:02.628172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/04/image_17012025_17_04_52_5162.jpg', '/media/data/images/17012025/17/04/image_17012025_17_04_47_6364.jpg', '/media/data/images/17012025/17/04/image_17012025_17_04_40_6396.jpg', '/media/data/images/17012025/17/04/image_17012025_17_04_34_5187.jpg', '/media/data/images/17012025/17/04/image_17012025_17_04_29_6396.jpg', '/media/data/images/17012025/17/04/image_17012025_17_04_22_6401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/04/image_17012025_17_04_52_5162.jpg
/media/data/images/17012025/17/04/image_17012025_17_04_47_6364.jpg
/media/data/images/17012025/17/04/image_17012025_17_04_40_6396.jpg
/media/data/images/17012025/17/04/image_17012025_17_04_34_5187.jpg
/media/data/images/17012025/17/04/image_17012025_17_04_29_6396.jpg
/media/data/images/17012025/17/04/image_17012025_17_04_22_6401.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329515833","1329515838","1329515817","1329515825","1329515816","1329515801"],"photo_ids_order":["1329515801","1329515816","1329515817","1329515825","1329515833","1329515838"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c70652a39fde652ef136142d85631fb5.jpg","text":"TemporaryFile(/tmp/multipartBody5567430890990275728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129969500,"filename":"image_17012025_17_04_29_6396.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8d67cb09d7ef176fdd90db30d5856cf7.jpg","text":"TemporaryFile(/tmp/multipartBody109433002434769267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129969500,"filename":"image_17012025_17_04_22_6401.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ce879820aace2534f2254d21b85b6089.jpg","text":"TemporaryFile(/tmp/multipartBody2837887508201620749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129969500,"filename":"image_17012025_17_04_40_6396.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/16044b8cda87e269fdd5a38288005188.jpg","text":"TemporaryFile(/tmp/multipartBody3045121933254625412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129969500,"filename":"image_17012025_17_04_34_5187.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/67b3405eeb7cbe40d607fa712f8fcbb2.jpg","text":"TemporaryFile(/tmp/multipartBody898445002425467790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129969500,"filename":"image_17012025_17_04_47_6364.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6c96a9a5b6590d545e2ab5e600965e63.jpg","text":"TemporaryFile(/tmp/multipartBody3845468340323578347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737129969500,"filename":"image_17012025_17_04_52_5162.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329515817","file1":"1329515816","file0":"1329515801","file4":"1329515833","file5":"1329515838","file3":"1329515825"},"map_files_photo_id_array":[{"photo_id":"1329515838","filename":"file5"},{"photo_id":"1329515817","filename":"file2"},{"photo_id":"1329515833","filename":"file4"},{"photo_id":"1329515816","filename":"file1"},{"photo_id":"1329515801","filename":"file0"},{"photo_id":"1329515825","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329515833":["hashtag1","hashtag2"]},{"1329515838":["hashtag1","hashtag2"]},{"1329515817":["hashtag1","hashtag2"]},{"1329515825":["hashtag1","hashtag2"]},{"1329515816":["hashtag1","hashtag2"]},{"1329515801":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329515833, 1329515838, 1329515817, 1329515825, 1329515816, 1329515801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.38261342048645 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:06:02.479126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/05/image_17012025_17_05_52_6411.jpg', '/media/data/images/17012025/17/05/image_17012025_17_05_46_5174.jpg', '/media/data/images/17012025/17/05/image_17012025_17_05_41_6410.jpg', '/media/data/images/17012025/17/05/image_17012025_17_05_34_6396.jpg', '/media/data/images/17012025/17/05/image_17012025_17_05_28_5187.jpg', '/media/data/images/17012025/17/05/image_17012025_17_05_23_6398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/05/image_17012025_17_05_52_6411.jpg
/media/data/images/17012025/17/05/image_17012025_17_05_46_5174.jpg
/media/data/images/17012025/17/05/image_17012025_17_05_41_6410.jpg
/media/data/images/17012025/17/05/image_17012025_17_05_34_6396.jpg
/media/data/images/17012025/17/05/image_17012025_17_05_28_5187.jpg
/media/data/images/17012025/17/05/image_17012025_17_05_23_6398.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329515896","1329515892","1329515899","1329516034","1329515903","1329515887"],"photo_ids_order":["1329515887","1329515892","1329515896","1329515899","1329515903","1329516034"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/830056781cba49195ec6f80237b219ab.jpg","text":"TemporaryFile(/tmp/multipartBody1792782848314058584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130027398,"filename":"image_17012025_17_05_41_6410.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/af18303369e07d7d1e7026f8b164390a.jpg","text":"TemporaryFile(/tmp/multipartBody6629702909755207088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130027398,"filename":"image_17012025_17_05_46_5174.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9d156342e827226659651716b9551c4d.jpg","text":"TemporaryFile(/tmp/multipartBody9016147082340342892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130027398,"filename":"image_17012025_17_05_34_6396.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d03b730c363190964391a048ad5a57ee.jpg","text":"TemporaryFile(/tmp/multipartBody6313028797790749500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130027398,"filename":"image_17012025_17_05_23_6398.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6431cd957b7dfd2149a856a0265ba6b2.jpg","text":"TemporaryFile(/tmp/multipartBody3343221348721277603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130027398,"filename":"image_17012025_17_05_28_5187.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0d60d0390be9fe5a36708e61bdd7c9d9.jpg","text":"TemporaryFile(/tmp/multipartBody4354972524797757871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130027398,"filename":"image_17012025_17_05_52_6411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329515896","file1":"1329515892","file0":"1329515887","file4":"1329515903","file5":"1329516034","file3":"1329515899"},"map_files_photo_id_array":[{"photo_id":"1329516034","filename":"file5"},{"photo_id":"1329515896","filename":"file2"},{"photo_id":"1329515903","filename":"file4"},{"photo_id":"1329515892","filename":"file1"},{"photo_id":"1329515887","filename":"file0"},{"photo_id":"1329515899","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329515896":["hashtag1","hashtag2"]},{"1329515892":["hashtag1","hashtag2"]},{"1329515899":["hashtag1","hashtag2"]},{"1329516034":["hashtag1","hashtag2"]},{"1329515903":["hashtag1","hashtag2"]},{"1329515887":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329515896, 1329515892, 1329515899, 1329516034, 1329515903, 1329515887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.141921281814575 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:07:02.672174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/06/image_17012025_17_06_53_6425.jpg', '/media/data/images/17012025/17/06/image_17012025_17_06_46_6431.jpg', '/media/data/images/17012025/17/06/image_17012025_17_06_40_5191.jpg', '/media/data/images/17012025/17/06/image_17012025_17_06_35_6426.jpg', '/media/data/images/17012025/17/06/image_17012025_17_06_28_6426.jpg', '/media/data/images/17012025/17/06/image_17012025_17_06_22_5206.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/06/image_17012025_17_06_53_6425.jpg
/media/data/images/17012025/17/06/image_17012025_17_06_46_6431.jpg
/media/data/images/17012025/17/06/image_17012025_17_06_40_5191.jpg
/media/data/images/17012025/17/06/image_17012025_17_06_35_6426.jpg
/media/data/images/17012025/17/06/image_17012025_17_06_28_6426.jpg
/media/data/images/17012025/17/06/image_17012025_17_06_22_5206.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: 5.3186845779418945 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:07:22.316085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/07/image_17012025_17_07_52_5162.jpg', '/media/data/images/17012025/17/07/image_17012025_17_07_47_6390.jpg', '/media/data/images/17012025/17/07/image_17012025_17_07_40_6387.jpg', '/media/data/images/17012025/17/07/image_17012025_17_07_34_5174.jpg', '/media/data/images/17012025/17/07/image_17012025_17_07_29_6379.jpg', '/media/data/images/17012025/17/07/image_17012025_17_07_22_6396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/07/image_17012025_17_07_52_5162.jpg
/media/data/images/17012025/17/07/image_17012025_17_07_47_6390.jpg
/media/data/images/17012025/17/07/image_17012025_17_07_40_6387.jpg
/media/data/images/17012025/17/07/image_17012025_17_07_34_5174.jpg
/media/data/images/17012025/17/07/image_17012025_17_07_29_6379.jpg
/media/data/images/17012025/17/07/image_17012025_17_07_22_6396.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329516817","1329516795","1329516786","1329516822","1329516800","1329516790"],"photo_ids_order":["1329516786","1329516790","1329516795","1329516800","1329516817","1329516822"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3802413973750e7a7f7374f028b1f4b2.jpg","text":"TemporaryFile(/tmp/multipartBody604039511747613008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130107037,"filename":"image_17012025_17_07_29_6379.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0620978bb3325fbe1b2a699740a41653.jpg","text":"TemporaryFile(/tmp/multipartBody526094629782569987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130107037,"filename":"image_17012025_17_07_40_6387.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b8dc8f748beb8038666d4fb63574e47e.jpg","text":"TemporaryFile(/tmp/multipartBody2387084698097411308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130107037,"filename":"image_17012025_17_07_52_5162.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f0e91483b58f3ec2efbd9ecce3ea24b7.jpg","text":"TemporaryFile(/tmp/multipartBody4149781468806185000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130107037,"filename":"image_17012025_17_07_22_6396.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/43600b742f75799fdfec7d75eb5ba0b3.jpg","text":"TemporaryFile(/tmp/multipartBody8296249372845587694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130107037,"filename":"image_17012025_17_07_34_5174.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0a4ac84ad495fe26107130c782c445a5.jpg","text":"TemporaryFile(/tmp/multipartBody8546918183820632373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130107037,"filename":"image_17012025_17_07_47_6390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329516795","file1":"1329516790","file0":"1329516786","file4":"1329516817","file5":"1329516822","file3":"1329516800"},"map_files_photo_id_array":[{"photo_id":"1329516822","filename":"file5"},{"photo_id":"1329516795","filename":"file2"},{"photo_id":"1329516817","filename":"file4"},{"photo_id":"1329516790","filename":"file1"},{"photo_id":"1329516786","filename":"file0"},{"photo_id":"1329516800","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329516817":["hashtag1","hashtag2"]},{"1329516795":["hashtag1","hashtag2"]},{"1329516786":["hashtag1","hashtag2"]},{"1329516822":["hashtag1","hashtag2"]},{"1329516800":["hashtag1","hashtag2"]},{"1329516790":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329516817, 1329516795, 1329516786, 1329516822, 1329516800, 1329516790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.69926595687866 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:08:22.428490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/08/image_17012025_17_08_52_6424.jpg', '/media/data/images/17012025/17/08/image_17012025_17_08_46_5188.jpg', '/media/data/images/17012025/17/08/image_17012025_17_08_41_6417.jpg', '/media/data/images/17012025/17/08/image_17012025_17_08_28_5185.jpg', '/media/data/images/17012025/17/08/image_17012025_17_08_23_6392.jpg', '/media/data/images/17012025/17/08/image_17012025_17_08_16_6425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/08/image_17012025_17_08_52_6424.jpg
/media/data/images/17012025/17/08/image_17012025_17_08_46_5188.jpg
/media/data/images/17012025/17/08/image_17012025_17_08_41_6417.jpg
/media/data/images/17012025/17/08/image_17012025_17_08_28_5185.jpg
/media/data/images/17012025/17/08/image_17012025_17_08_23_6392.jpg
/media/data/images/17012025/17/08/image_17012025_17_08_16_6425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329516942","1329517316","1329517273","1329517132","1329516973","1329516934"],"photo_ids_order":["1329516934","1329516942","1329516973","1329517132","1329517273","1329517316"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6effdef7d9b28825d642de9c3cfba309.jpg","text":"TemporaryFile(/tmp/multipartBody8010943927052389292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130169097,"filename":"image_17012025_17_08_46_5188.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e481082f2d06f363640201f48a4d7a4b.jpg","text":"TemporaryFile(/tmp/multipartBody2177268193384683176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130169097,"filename":"image_17012025_17_08_16_6425.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2692736c10d1e1591fe39eef3f9058fe.jpg","text":"TemporaryFile(/tmp/multipartBody4957658896757289145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130169097,"filename":"image_17012025_17_08_23_6392.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/40cda47d631ef1bddaf994164f712092.jpg","text":"TemporaryFile(/tmp/multipartBody5601341198706234325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130169097,"filename":"image_17012025_17_08_28_5185.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ca6866bd55bc66ab2b9743b02a3bd3ce.jpg","text":"TemporaryFile(/tmp/multipartBody1633798650173587935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130169097,"filename":"image_17012025_17_08_41_6417.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a8ce14e285ef4baee0fea1b4aca7904d.jpg","text":"TemporaryFile(/tmp/multipartBody5136203490804080382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130169097,"filename":"image_17012025_17_08_52_6424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329516973","file1":"1329516942","file0":"1329516934","file4":"1329517273","file5":"1329517316","file3":"1329517132"},"map_files_photo_id_array":[{"photo_id":"1329517316","filename":"file5"},{"photo_id":"1329516973","filename":"file2"},{"photo_id":"1329517273","filename":"file4"},{"photo_id":"1329516942","filename":"file1"},{"photo_id":"1329516934","filename":"file0"},{"photo_id":"1329517132","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329516942":["hashtag1","hashtag2"]},{"1329517316":["hashtag1","hashtag2"]},{"1329517273":["hashtag1","hashtag2"]},{"1329517132":["hashtag1","hashtag2"]},{"1329516973":["hashtag1","hashtag2"]},{"1329516934":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329516942, 1329517316, 1329517273, 1329517132, 1329516973, 1329516934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.3297975063324 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:09:22.585948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/09/image_17012025_17_09_52_6423.jpg', '/media/data/images/17012025/17/09/image_17012025_17_09_46_5185.jpg', '/media/data/images/17012025/17/09/image_17012025_17_09_41_6394.jpg', '/media/data/images/17012025/17/09/image_17012025_17_09_34_6362.jpg', '/media/data/images/17012025/17/09/image_17012025_17_09_28_6410.jpg', '/media/data/images/17012025/17/09/image_17012025_17_09_22_5158.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/09/image_17012025_17_09_52_6423.jpg
/media/data/images/17012025/17/09/image_17012025_17_09_46_5185.jpg
/media/data/images/17012025/17/09/image_17012025_17_09_41_6394.jpg
/media/data/images/17012025/17/09/image_17012025_17_09_34_6362.jpg
/media/data/images/17012025/17/09/image_17012025_17_09_28_6410.jpg
/media/data/images/17012025/17/09/image_17012025_17_09_22_5158.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329517572","1329517428","1329517521","1329517586","1329517544","1329517581"],"photo_ids_order":["1329517428","1329517521","1329517544","1329517572","1329517581","1329517586"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/84f2b9518066e1c0c1f5da3780e8466b.jpg","text":"TemporaryFile(/tmp/multipartBody1078887510441047498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130228172,"filename":"image_17012025_17_09_34_6362.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/763ee1a5b1ff1f38569df22deb74f14d.jpg","text":"TemporaryFile(/tmp/multipartBody4168329846560123907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130228172,"filename":"image_17012025_17_09_52_6423.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/55efdac43e528e38f8aa9efa12a96ea5.jpg","text":"TemporaryFile(/tmp/multipartBody3223638125265572631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130228172,"filename":"image_17012025_17_09_46_5185.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d9f04a62f004482a9cfe51137beae01d.jpg","text":"TemporaryFile(/tmp/multipartBody8229548846937143548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130228172,"filename":"image_17012025_17_09_22_5158.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/befd75c168efbef9e38f6c220a431bff.jpg","text":"TemporaryFile(/tmp/multipartBody5033126449205049296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130228172,"filename":"image_17012025_17_09_41_6394.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4d26f9b03117ef971eced6bf37ff87ce.jpg","text":"TemporaryFile(/tmp/multipartBody3441849015469170881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130228172,"filename":"image_17012025_17_09_28_6410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329517544","file1":"1329517521","file0":"1329517428","file4":"1329517581","file5":"1329517586","file3":"1329517572"},"map_files_photo_id_array":[{"photo_id":"1329517586","filename":"file5"},{"photo_id":"1329517544","filename":"file2"},{"photo_id":"1329517581","filename":"file4"},{"photo_id":"1329517521","filename":"file1"},{"photo_id":"1329517428","filename":"file0"},{"photo_id":"1329517572","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329517572":["hashtag1","hashtag2"]},{"1329517428":["hashtag1","hashtag2"]},{"1329517521":["hashtag1","hashtag2"]},{"1329517586":["hashtag1","hashtag2"]},{"1329517544":["hashtag1","hashtag2"]},{"1329517581":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329517572, 1329517428, 1329517521, 1329517586, 1329517544, 1329517581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.763269901275635 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:10:22.684143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/10/image_17012025_17_10_53_6383.jpg', '/media/data/images/17012025/17/10/image_17012025_17_10_46_6399.jpg', '/media/data/images/17012025/17/10/image_17012025_17_10_40_5178.jpg', '/media/data/images/17012025/17/10/image_17012025_17_10_35_6360.jpg', '/media/data/images/17012025/17/10/image_17012025_17_10_28_6419.jpg', '/media/data/images/17012025/17/10/image_17012025_17_10_22_5166.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/10/image_17012025_17_10_53_6383.jpg
/media/data/images/17012025/17/10/image_17012025_17_10_46_6399.jpg
/media/data/images/17012025/17/10/image_17012025_17_10_40_5178.jpg
/media/data/images/17012025/17/10/image_17012025_17_10_35_6360.jpg
/media/data/images/17012025/17/10/image_17012025_17_10_28_6419.jpg
/media/data/images/17012025/17/10/image_17012025_17_10_22_5166.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329517647","1329517628","1329517616","1329517613","1329517633","1329517621"],"photo_ids_order":["1329517613","1329517616","1329517621","1329517628","1329517633","1329517647"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/49058397995058b201ee3e120786153c.jpg","text":"TemporaryFile(/tmp/multipartBody5564188962714834488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130289247,"filename":"image_17012025_17_10_22_5166.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/10b1fa4aa64c43b734b55a20d3ca7438.jpg","text":"TemporaryFile(/tmp/multipartBody309123064258287321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130289247,"filename":"image_17012025_17_10_35_6360.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2ad0f8be7936936cb1c6e87e7c6584f4.jpg","text":"TemporaryFile(/tmp/multipartBody2600620556670334645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130289247,"filename":"image_17012025_17_10_46_6399.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f1244a0a1258b4a194181369e5d563bd.jpg","text":"TemporaryFile(/tmp/multipartBody1723595086331383137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130289247,"filename":"image_17012025_17_10_53_6383.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9cb6ba6475310331bd375a600531f9fd.jpg","text":"TemporaryFile(/tmp/multipartBody2465976041170310855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130289247,"filename":"image_17012025_17_10_28_6419.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6386865e0402e9b16742f45be6a84964.jpg","text":"TemporaryFile(/tmp/multipartBody6752973427846802766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130289247,"filename":"image_17012025_17_10_40_5178.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329517621","file1":"1329517616","file0":"1329517613","file4":"1329517633","file5":"1329517647","file3":"1329517628"},"map_files_photo_id_array":[{"photo_id":"1329517647","filename":"file5"},{"photo_id":"1329517621","filename":"file2"},{"photo_id":"1329517633","filename":"file4"},{"photo_id":"1329517616","filename":"file1"},{"photo_id":"1329517613","filename":"file0"},{"photo_id":"1329517628","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329517647":["hashtag1","hashtag2"]},{"1329517628":["hashtag1","hashtag2"]},{"1329517616":["hashtag1","hashtag2"]},{"1329517613":["hashtag1","hashtag2"]},{"1329517633":["hashtag1","hashtag2"]},{"1329517621":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329517647, 1329517628, 1329517616, 1329517613, 1329517633, 1329517621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.95902490615845 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:11:21.776413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/11/image_17012025_17_11_52_5183.jpg', '/media/data/images/17012025/17/11/image_17012025_17_11_46_6391.jpg', '/media/data/images/17012025/17/11/image_17012025_17_11_40_6408.jpg', '/media/data/images/17012025/17/11/image_17012025_17_11_34_4995.jpg', '/media/data/images/17012025/17/11/image_17012025_17_11_29_6400.jpg', '/media/data/images/17012025/17/11/image_17012025_17_11_22_6414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/11/image_17012025_17_11_52_5183.jpg
/media/data/images/17012025/17/11/image_17012025_17_11_46_6391.jpg
/media/data/images/17012025/17/11/image_17012025_17_11_40_6408.jpg
/media/data/images/17012025/17/11/image_17012025_17_11_34_4995.jpg
/media/data/images/17012025/17/11/image_17012025_17_11_29_6400.jpg
/media/data/images/17012025/17/11/image_17012025_17_11_22_6414.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: 7.985561847686768 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:11:41.772094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/11/image_17012025_17_11_52_5183.jpg', '/media/data/images/17012025/17/11/image_17012025_17_11_46_6391.jpg', '/media/data/images/17012025/17/11/image_17012025_17_11_40_6408.jpg', '/media/data/images/17012025/17/11/image_17012025_17_11_34_4995.jpg', '/media/data/images/17012025/17/11/image_17012025_17_11_29_6400.jpg', '/media/data/images/17012025/17/11/image_17012025_17_11_22_6414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/11/image_17012025_17_11_52_5183.jpg
/media/data/images/17012025/17/11/image_17012025_17_11_46_6391.jpg
/media/data/images/17012025/17/11/image_17012025_17_11_40_6408.jpg
/media/data/images/17012025/17/11/image_17012025_17_11_34_4995.jpg
/media/data/images/17012025/17/11/image_17012025_17_11_29_6400.jpg
/media/data/images/17012025/17/11/image_17012025_17_11_22_6414.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329517722","1329517725","1329517719","1329517734","1329517728","1329517736"],"photo_ids_order":["1329517719","1329517722","1329517725","1329517728","1329517734","1329517736"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2a81a5ff9e1cca63acd21ff155950616.jpg","text":"TemporaryFile(/tmp/multipartBody8010741546466168648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130370481,"filename":"image_17012025_17_11_46_6391.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/929355be50dc5d1e392b0c48ec7f6766.jpg","text":"TemporaryFile(/tmp/multipartBody4004968561919710814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130370481,"filename":"image_17012025_17_11_40_6408.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/58c754f3e5c8ac9e5b2db07a72a82219.jpg","text":"TemporaryFile(/tmp/multipartBody45638664658922714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130370481,"filename":"image_17012025_17_11_52_5183.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ef80b5774aa0182a3e959bbf621b63b6.jpg","text":"TemporaryFile(/tmp/multipartBody1009604701903598180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130370481,"filename":"image_17012025_17_11_29_6400.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/98373049f2bf212cde8db93bacbdc4b0.jpg","text":"TemporaryFile(/tmp/multipartBody3133859081829021438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130370481,"filename":"image_17012025_17_11_34_4995.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3309f860a7cbaffb8542ac5c353da80d.jpg","text":"TemporaryFile(/tmp/multipartBody6476758235267044796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130370481,"filename":"image_17012025_17_11_22_6414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329517725","file1":"1329517722","file0":"1329517719","file4":"1329517734","file5":"1329517736","file3":"1329517728"},"map_files_photo_id_array":[{"photo_id":"1329517736","filename":"file5"},{"photo_id":"1329517725","filename":"file2"},{"photo_id":"1329517734","filename":"file4"},{"photo_id":"1329517722","filename":"file1"},{"photo_id":"1329517719","filename":"file0"},{"photo_id":"1329517728","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329517722":["hashtag1","hashtag2"]},{"1329517725":["hashtag1","hashtag2"]},{"1329517719":["hashtag1","hashtag2"]},{"1329517734":["hashtag1","hashtag2"]},{"1329517728":["hashtag1","hashtag2"]},{"1329517736":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329517722, 1329517725, 1329517719, 1329517734, 1329517728, 1329517736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.49024176597595 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:12:41.839961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/12/image_17012025_17_12_52_6405.jpg', '/media/data/images/17012025/17/12/image_17012025_17_12_46_5227.jpg', '/media/data/images/17012025/17/12/image_17012025_17_12_41_6430.jpg', '/media/data/images/17012025/17/12/image_17012025_17_12_34_6459.jpg', '/media/data/images/17012025/17/12/image_17012025_17_12_28_5214.jpg', '/media/data/images/17012025/17/12/image_17012025_17_12_23_6395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/12/image_17012025_17_12_52_6405.jpg
/media/data/images/17012025/17/12/image_17012025_17_12_46_5227.jpg
/media/data/images/17012025/17/12/image_17012025_17_12_41_6430.jpg
/media/data/images/17012025/17/12/image_17012025_17_12_34_6459.jpg
/media/data/images/17012025/17/12/image_17012025_17_12_28_5214.jpg
/media/data/images/17012025/17/12/image_17012025_17_12_23_6395.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: 7.217387676239014 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:13:02.323950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/12/image_17012025_17_12_52_6405.jpg', '/media/data/images/17012025/17/12/image_17012025_17_12_46_5227.jpg', '/media/data/images/17012025/17/12/image_17012025_17_12_41_6430.jpg', '/media/data/images/17012025/17/12/image_17012025_17_12_34_6459.jpg', '/media/data/images/17012025/17/12/image_17012025_17_12_28_5214.jpg', '/media/data/images/17012025/17/12/image_17012025_17_12_23_6395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/12/image_17012025_17_12_52_6405.jpg
/media/data/images/17012025/17/12/image_17012025_17_12_46_5227.jpg
/media/data/images/17012025/17/12/image_17012025_17_12_41_6430.jpg
/media/data/images/17012025/17/12/image_17012025_17_12_34_6459.jpg
/media/data/images/17012025/17/12/image_17012025_17_12_28_5214.jpg
/media/data/images/17012025/17/12/image_17012025_17_12_23_6395.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329517803","1329517812","1329517792","1329517786","1329517819","1329517788"],"photo_ids_order":["1329517786","1329517788","1329517792","1329517803","1329517812","1329517819"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fe93c1544a54a31cf1f957f0fa63ffb7.jpg","text":"TemporaryFile(/tmp/multipartBody7574439484081878468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130449204,"filename":"image_17012025_17_12_34_6459.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/241f1e4bfa63c46048e9467f57e369d7.jpg","text":"TemporaryFile(/tmp/multipartBody4457890034886887966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130449204,"filename":"image_17012025_17_12_28_5214.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c65bd0f150d027ffe5622b75b0f81766.jpg","text":"TemporaryFile(/tmp/multipartBody7817551530422956988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130449204,"filename":"image_17012025_17_12_41_6430.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/23a0723cfd75a180187e800936bcc1fd.jpg","text":"TemporaryFile(/tmp/multipartBody8194142855817056850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130449204,"filename":"image_17012025_17_12_52_6405.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1c94961df31b08df198709b975a7f32e.jpg","text":"TemporaryFile(/tmp/multipartBody7354397235250478520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130449204,"filename":"image_17012025_17_12_23_6395.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/564231c78c33ffd312a95918e592dcc5.jpg","text":"TemporaryFile(/tmp/multipartBody8122541110587537841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130449204,"filename":"image_17012025_17_12_46_5227.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329517792","file1":"1329517788","file0":"1329517786","file4":"1329517812","file5":"1329517819","file3":"1329517803"},"map_files_photo_id_array":[{"photo_id":"1329517819","filename":"file5"},{"photo_id":"1329517792","filename":"file2"},{"photo_id":"1329517812","filename":"file4"},{"photo_id":"1329517788","filename":"file1"},{"photo_id":"1329517786","filename":"file0"},{"photo_id":"1329517803","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329517803":["hashtag1","hashtag2"]},{"1329517812":["hashtag1","hashtag2"]},{"1329517792":["hashtag1","hashtag2"]},{"1329517786":["hashtag1","hashtag2"]},{"1329517819":["hashtag1","hashtag2"]},{"1329517788":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329517803, 1329517812, 1329517792, 1329517786, 1329517819, 1329517788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.72223448753357 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 17:14:02.220690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/13/image_17012025_17_13_53_6384.jpg', '/media/data/images/17012025/17/13/image_17012025_17_13_46_6378.jpg', '/media/data/images/17012025/17/13/image_17012025_17_13_40_5185.jpg', '/media/data/images/17012025/17/13/image_17012025_17_13_35_6417.jpg', '/media/data/images/17012025/17/13/image_17012025_17_13_28_6424.jpg', '/media/data/images/17012025/17/13/image_17012025_17_13_22_5216.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/13/image_17012025_17_13_53_6384.jpg
/media/data/images/17012025/17/13/image_17012025_17_13_46_6378.jpg
/media/data/images/17012025/17/13/image_17012025_17_13_40_5185.jpg
/media/data/images/17012025/17/13/image_17012025_17_13_35_6417.jpg
/media/data/images/17012025/17/13/image_17012025_17_13_28_6424.jpg
/media/data/images/17012025/17/13/image_17012025_17_13_22_5216.jpg
2025-01-17 17:14:02.460589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/13/image_17012025_17_13_53_6384.jpg', '/media/data/images/17012025/17/13/image_17012025_17_13_46_6378.jpg', '/media/data/images/17012025/17/13/image_17012025_17_13_40_5185.jpg', '/media/data/images/17012025/17/13/image_17012025_17_13_35_6417.jpg', '/media/data/images/17012025/17/13/image_17012025_17_13_28_6424.jpg', '/media/data/images/17012025/17/13/image_17012025_17_13_22_5216.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/13/image_17012025_17_13_53_6384.jpg
/media/data/images/17012025/17/13/image_17012025_17_13_46_6378.jpg
/media/data/images/17012025/17/13/image_17012025_17_13_40_5185.jpg
/media/data/images/17012025/17/13/image_17012025_17_13_35_6417.jpg
/media/data/images/17012025/17/13/image_17012025_17_13_28_6424.jpg
/media/data/images/17012025/17/13/image_17012025_17_13_22_5216.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: 8.852125644683838 secondes ---
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329517889","1329517877","1329517868","1329517894","1329517867","1329517872"],"photo_ids_order":["1329517867","1329517868","1329517872","1329517877","1329517889","1329517894"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0477500a3d20e7fcdcd6c88c23bc208a.jpg","text":"TemporaryFile(/tmp/multipartBody3500566722905607604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130511137,"filename":"image_17012025_17_13_28_6424.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ca13cadc00afdf77d4fc9d593668a8df.jpg","text":"TemporaryFile(/tmp/multipartBody8826538790347882668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130511137,"filename":"image_17012025_17_13_35_6417.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9601376545f625864e04225efec016a5.jpg","text":"TemporaryFile(/tmp/multipartBody2054794857495999898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130511137,"filename":"image_17012025_17_13_46_6378.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c4de50ca9273ef983485aaee5d19a8ae.jpg","text":"TemporaryFile(/tmp/multipartBody5103120325948300992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130511137,"filename":"image_17012025_17_13_22_5216.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/72ce06f2b537520152e058f9a4837e5b.jpg","text":"TemporaryFile(/tmp/multipartBody948814717225014497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130511137,"filename":"image_17012025_17_13_53_6384.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bf965552699d33b0e6293d4cb073e577.jpg","text":"TemporaryFile(/tmp/multipartBody5727188302671767810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130511137,"filename":"image_17012025_17_13_40_5185.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329517872","file1":"1329517868","file0":"1329517867","file4":"1329517889","file5":"1329517894","file3":"1329517877"},"map_files_photo_id_array":[{"photo_id":"1329517894","filename":"file5"},{"photo_id":"1329517872","filename":"file2"},{"photo_id":"1329517889","filename":"file4"},{"photo_id":"1329517868","filename":"file1"},{"photo_id":"1329517867","filename":"file0"},{"photo_id":"1329517877","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329517889":["hashtag1","hashtag2"]},{"1329517877":["hashtag1","hashtag2"]},{"1329517868":["hashtag1","hashtag2"]},{"1329517894":["hashtag1","hashtag2"]},{"1329517867":["hashtag1","hashtag2"]},{"1329517872":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329517889, 1329517877, 1329517868, 1329517894, 1329517867, 1329517872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.65322804450989 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:15:02.635773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/14/image_17012025_17_14_52_5192.jpg', '/media/data/images/17012025/17/14/image_17012025_17_14_47_6388.jpg', '/media/data/images/17012025/17/14/image_17012025_17_14_34_5164.jpg', '/media/data/images/17012025/17/14/image_17012025_17_14_29_6391.jpg', '/media/data/images/17012025/17/14/image_17012025_17_14_22_6394.jpg', '/media/data/images/17012025/17/14/image_17012025_17_14_16_5164.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/14/image_17012025_17_14_52_5192.jpg
/media/data/images/17012025/17/14/image_17012025_17_14_47_6388.jpg
/media/data/images/17012025/17/14/image_17012025_17_14_34_5164.jpg
/media/data/images/17012025/17/14/image_17012025_17_14_29_6391.jpg
/media/data/images/17012025/17/14/image_17012025_17_14_22_6394.jpg
/media/data/images/17012025/17/14/image_17012025_17_14_16_5164.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329517961","1329517958","1329517955","1329517942","1329517936","1329517950"],"photo_ids_order":["1329517936","1329517942","1329517950","1329517955","1329517958","1329517961"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d6b5b83d45f983ea2880345e6ddab1fe.jpg","text":"TemporaryFile(/tmp/multipartBody6345691058074846291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130571882,"filename":"image_17012025_17_14_16_5164.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/27b8aa66a116def7ae0bccaa50ce3592.jpg","text":"TemporaryFile(/tmp/multipartBody1470758163482406452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130571882,"filename":"image_17012025_17_14_22_6394.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ee3a92830ccf6b33dc47dc120ce52165.jpg","text":"TemporaryFile(/tmp/multipartBody4881665666024550800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130571882,"filename":"image_17012025_17_14_29_6391.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ac219bf108a5be73d6376f65c0a3c3b8.jpg","text":"TemporaryFile(/tmp/multipartBody5658745862422743837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130571882,"filename":"image_17012025_17_14_47_6388.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d5661aa2eb09bdb567816a4b131fb70f.jpg","text":"TemporaryFile(/tmp/multipartBody44787446406532301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130571882,"filename":"image_17012025_17_14_52_5192.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/eacbadc61134d5e3dbcd209ac2f1d1e2.jpg","text":"TemporaryFile(/tmp/multipartBody3712918293357293166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130571882,"filename":"image_17012025_17_14_34_5164.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329517950","file1":"1329517942","file0":"1329517936","file4":"1329517958","file5":"1329517961","file3":"1329517955"},"map_files_photo_id_array":[{"photo_id":"1329517961","filename":"file5"},{"photo_id":"1329517950","filename":"file2"},{"photo_id":"1329517958","filename":"file4"},{"photo_id":"1329517942","filename":"file1"},{"photo_id":"1329517936","filename":"file0"},{"photo_id":"1329517955","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329517961":["hashtag1","hashtag2"]},{"1329517958":["hashtag1","hashtag2"]},{"1329517955":["hashtag1","hashtag2"]},{"1329517942":["hashtag1","hashtag2"]},{"1329517936":["hashtag1","hashtag2"]},{"1329517950":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329517961, 1329517958, 1329517955, 1329517942, 1329517936, 1329517950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.39766597747803 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:16:02.491301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/15/image_17012025_17_15_52_5172.jpg', '/media/data/images/17012025/17/15/image_17012025_17_15_47_6396.jpg', '/media/data/images/17012025/17/15/image_17012025_17_15_40_6410.jpg', '/media/data/images/17012025/17/15/image_17012025_17_15_34_5156.jpg', '/media/data/images/17012025/17/15/image_17012025_17_15_29_6385.jpg', '/media/data/images/17012025/17/15/image_17012025_17_15_22_6375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/15/image_17012025_17_15_52_5172.jpg
/media/data/images/17012025/17/15/image_17012025_17_15_47_6396.jpg
/media/data/images/17012025/17/15/image_17012025_17_15_40_6410.jpg
/media/data/images/17012025/17/15/image_17012025_17_15_34_5156.jpg
/media/data/images/17012025/17/15/image_17012025_17_15_29_6385.jpg
/media/data/images/17012025/17/15/image_17012025_17_15_22_6375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329518081","1329518084","1329518089","1329518059","1329518044","1329518046"],"photo_ids_order":["1329518044","1329518046","1329518059","1329518081","1329518084","1329518089"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d0198568ba412792519e3ac03d7d211f.jpg","text":"TemporaryFile(/tmp/multipartBody4982230655373802539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130631973,"filename":"image_17012025_17_15_34_5156.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f3b7d0a3e074b3c3bcf2804f75af3bf6.jpg","text":"TemporaryFile(/tmp/multipartBody8981877313265585165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130631973,"filename":"image_17012025_17_15_29_6385.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e0e6a3f5fc4b87e9981be06a686a86f6.jpg","text":"TemporaryFile(/tmp/multipartBody2042463439657392244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130631973,"filename":"image_17012025_17_15_22_6375.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/39b93cd87ce52680bd59c11ee3d447f1.jpg","text":"TemporaryFile(/tmp/multipartBody16262013312468155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130631973,"filename":"image_17012025_17_15_40_6410.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/11b65eb1f3ef28047301f647b263c85c.jpg","text":"TemporaryFile(/tmp/multipartBody9023036307381401772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130631973,"filename":"image_17012025_17_15_52_5172.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1f95587401bb4e38a3af1f72a18b30e8.jpg","text":"TemporaryFile(/tmp/multipartBody6290181618050721296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130631973,"filename":"image_17012025_17_15_47_6396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329518059","file1":"1329518046","file0":"1329518044","file4":"1329518084","file5":"1329518089","file3":"1329518081"},"map_files_photo_id_array":[{"photo_id":"1329518089","filename":"file5"},{"photo_id":"1329518059","filename":"file2"},{"photo_id":"1329518084","filename":"file4"},{"photo_id":"1329518046","filename":"file1"},{"photo_id":"1329518044","filename":"file0"},{"photo_id":"1329518081","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329518081":["hashtag1","hashtag2"]},{"1329518084":["hashtag1","hashtag2"]},{"1329518089":["hashtag1","hashtag2"]},{"1329518059":["hashtag1","hashtag2"]},{"1329518044":["hashtag1","hashtag2"]},{"1329518046":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329518081, 1329518084, 1329518089, 1329518059, 1329518044, 1329518046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.677998542785645 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:17:02.930496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/17/image_17012025_17_17_34_6396.jpg', '/media/data/images/17012025/17/16/image_17012025_17_16_52_6414.jpg', '/media/data/images/17012025/17/16/image_17012025_17_16_46_5188.jpg', '/media/data/images/17012025/17/16/image_17012025_17_16_41_6391.jpg', '/media/data/images/17012025/17/16/image_17012025_17_16_34_6391.jpg', '/media/data/images/17012025/17/16/image_17012025_17_16_28_5179.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/17/image_17012025_17_17_34_6396.jpg
/media/data/images/17012025/17/16/image_17012025_17_16_52_6414.jpg
/media/data/images/17012025/17/16/image_17012025_17_16_46_5188.jpg
/media/data/images/17012025/17/16/image_17012025_17_16_41_6391.jpg
/media/data/images/17012025/17/16/image_17012025_17_16_34_6391.jpg
/media/data/images/17012025/17/16/image_17012025_17_16_28_5179.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329518118","1329518132","1329518126","1329518129","1329518120","1329518137"],"photo_ids_order":["1329518118","1329518120","1329518126","1329518129","1329518132","1329518137"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/31446b97b61790f915145176a7da8738.jpg","text":"TemporaryFile(/tmp/multipartBody3431122204734306832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130695040,"filename":"image_17012025_17_17_34_6396.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f10f817eda3eef384e69ce421a3ab7a1.jpg","text":"TemporaryFile(/tmp/multipartBody837909737916099309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130695040,"filename":"image_17012025_17_16_34_6391.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a2a2dc67f880c60665a2d239defef173.jpg","text":"TemporaryFile(/tmp/multipartBody6531939632695605863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130695040,"filename":"image_17012025_17_16_46_5188.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d2660ce6a34176a65ac9cd6c8e92f40d.jpg","text":"TemporaryFile(/tmp/multipartBody159042268337309279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130695040,"filename":"image_17012025_17_16_41_6391.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6fc0fd3b3334d004df96821b5dd17a42.jpg","text":"TemporaryFile(/tmp/multipartBody1363404937508692309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130695040,"filename":"image_17012025_17_16_52_6414.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d657077cb15b48738293089105346835.jpg","text":"TemporaryFile(/tmp/multipartBody510172446961220589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130695040,"filename":"image_17012025_17_16_28_5179.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329518126","file1":"1329518120","file0":"1329518118","file4":"1329518132","file5":"1329518137","file3":"1329518129"},"map_files_photo_id_array":[{"photo_id":"1329518137","filename":"file5"},{"photo_id":"1329518126","filename":"file2"},{"photo_id":"1329518132","filename":"file4"},{"photo_id":"1329518120","filename":"file1"},{"photo_id":"1329518118","filename":"file0"},{"photo_id":"1329518129","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329518118":["hashtag1","hashtag2"]},{"1329518132":["hashtag1","hashtag2"]},{"1329518126":["hashtag1","hashtag2"]},{"1329518129":["hashtag1","hashtag2"]},{"1329518120":["hashtag1","hashtag2"]},{"1329518137":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329518118, 1329518132, 1329518126, 1329518129, 1329518120, 1329518137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.48509669303894 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:18:02.762103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/17/image_17012025_17_17_52_6393.jpg', '/media/data/images/17012025/17/17/image_17012025_17_17_46_5191.jpg', '/media/data/images/17012025/17/17/image_17012025_17_17_41_6386.jpg', '/media/data/images/17012025/17/17/image_17012025_17_17_28_5150.jpg', '/media/data/images/17012025/17/17/image_17012025_17_17_23_6397.jpg', '/media/data/images/17012025/17/17/image_17012025_17_17_16_6402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/17/image_17012025_17_17_52_6393.jpg
/media/data/images/17012025/17/17/image_17012025_17_17_46_5191.jpg
/media/data/images/17012025/17/17/image_17012025_17_17_41_6386.jpg
/media/data/images/17012025/17/17/image_17012025_17_17_28_5150.jpg
/media/data/images/17012025/17/17/image_17012025_17_17_23_6397.jpg
/media/data/images/17012025/17/17/image_17012025_17_17_16_6402.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329518162","1329518165","1329518170","1329518173","1329518167","1329518163"],"photo_ids_order":["1329518162","1329518163","1329518165","1329518167","1329518170","1329518173"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8c04e729a063fadbf1cf9f247cb30a92.jpg","text":"TemporaryFile(/tmp/multipartBody7495591181437906174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130748810,"filename":"image_17012025_17_17_52_6393.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e57da5fb873ea7bf10e8ef95efaf65e6.jpg","text":"TemporaryFile(/tmp/multipartBody6859613326481793221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130748810,"filename":"image_17012025_17_17_41_6386.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5d8159ca78889c31db5ac93df6109b47.jpg","text":"TemporaryFile(/tmp/multipartBody7224802885881148964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130748810,"filename":"image_17012025_17_17_23_6397.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c40f2370a86d620cb1fbb979974b58b5.jpg","text":"TemporaryFile(/tmp/multipartBody3367565451585470414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130748810,"filename":"image_17012025_17_17_16_6402.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6887db47130cdd80ab6a6e73e370fb36.jpg","text":"TemporaryFile(/tmp/multipartBody2090005502698544861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130748810,"filename":"image_17012025_17_17_28_5150.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3227cff6376e5920581740e3e46777c4.jpg","text":"TemporaryFile(/tmp/multipartBody3530052771726108267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130748810,"filename":"image_17012025_17_17_46_5191.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329518165","file1":"1329518163","file0":"1329518162","file4":"1329518170","file5":"1329518173","file3":"1329518167"},"map_files_photo_id_array":[{"photo_id":"1329518173","filename":"file5"},{"photo_id":"1329518165","filename":"file2"},{"photo_id":"1329518170","filename":"file4"},{"photo_id":"1329518163","filename":"file1"},{"photo_id":"1329518162","filename":"file0"},{"photo_id":"1329518167","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329518162":["hashtag1","hashtag2"]},{"1329518165":["hashtag1","hashtag2"]},{"1329518170":["hashtag1","hashtag2"]},{"1329518173":["hashtag1","hashtag2"]},{"1329518167":["hashtag1","hashtag2"]},{"1329518163":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329518162, 1329518165, 1329518170, 1329518173, 1329518167, 1329518163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.15357947349548 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:19:03.109639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/18/image_17012025_17_18_52_6401.jpg', '/media/data/images/17012025/17/18/image_17012025_17_18_46_6374.jpg', '/media/data/images/17012025/17/18/image_17012025_17_18_40_5159.jpg', '/media/data/images/17012025/17/18/image_17012025_17_18_35_6394.jpg', '/media/data/images/17012025/17/18/image_17012025_17_18_28_6386.jpg', '/media/data/images/17012025/17/18/image_17012025_17_18_22_5195.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/18/image_17012025_17_18_52_6401.jpg
/media/data/images/17012025/17/18/image_17012025_17_18_46_6374.jpg
/media/data/images/17012025/17/18/image_17012025_17_18_40_5159.jpg
/media/data/images/17012025/17/18/image_17012025_17_18_35_6394.jpg
/media/data/images/17012025/17/18/image_17012025_17_18_28_6386.jpg
/media/data/images/17012025/17/18/image_17012025_17_18_22_5195.jpg
2025-01-17 17:19:03.125337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/18/image_17012025_17_18_52_6401.jpg', '/media/data/images/17012025/17/18/image_17012025_17_18_46_6374.jpg', '/media/data/images/17012025/17/18/image_17012025_17_18_40_5159.jpg', '/media/data/images/17012025/17/18/image_17012025_17_18_35_6394.jpg', '/media/data/images/17012025/17/18/image_17012025_17_18_28_6386.jpg', '/media/data/images/17012025/17/18/image_17012025_17_18_22_5195.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/18/image_17012025_17_18_52_6401.jpg
/media/data/images/17012025/17/18/image_17012025_17_18_46_6374.jpg
/media/data/images/17012025/17/18/image_17012025_17_18_40_5159.jpg
/media/data/images/17012025/17/18/image_17012025_17_18_35_6394.jpg
/media/data/images/17012025/17/18/image_17012025_17_18_28_6386.jpg
/media/data/images/17012025/17/18/image_17012025_17_18_22_5195.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329518235","1329518260","1329518254","1329518248","1329518239","1329518244"],"photo_ids_order":["1329518235","1329518239","1329518244","1329518248","1329518254","1329518260"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d1c87d645a79277222d1058a8c1a7f36.jpg","text":"TemporaryFile(/tmp/multipartBody7058005716459787188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130816692,"filename":"image_17012025_17_18_52_6401.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7e37a093e10ffa8b21fdf5f331ecb222.jpg","text":"TemporaryFile(/tmp/multipartBody3268834905872534794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130816692,"filename":"image_17012025_17_18_22_5195.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b6897c33b6458168cea2d03f12cc4650.jpg","text":"TemporaryFile(/tmp/multipartBody6167715296978154617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130816692,"filename":"image_17012025_17_18_28_6386.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/21b3be94add06e1f5d3be568244be245.jpg","text":"TemporaryFile(/tmp/multipartBody5463714516920621282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130816692,"filename":"image_17012025_17_18_35_6394.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d63adb650890f1260997adfb4f5c2a90.jpg","text":"TemporaryFile(/tmp/multipartBody1925844211788958597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130816692,"filename":"image_17012025_17_18_46_6374.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d3eb71d1ba8469ea46db32f7cba471d8.jpg","text":"TemporaryFile(/tmp/multipartBody4821916501096680891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130816692,"filename":"image_17012025_17_18_40_5159.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329518244","file1":"1329518239","file0":"1329518235","file4":"1329518254","file5":"1329518260","file3":"1329518248"},"map_files_photo_id_array":[{"photo_id":"1329518260","filename":"file5"},{"photo_id":"1329518244","filename":"file2"},{"photo_id":"1329518254","filename":"file4"},{"photo_id":"1329518239","filename":"file1"},{"photo_id":"1329518235","filename":"file0"},{"photo_id":"1329518248","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329518235":["hashtag1","hashtag2"]},{"1329518260":["hashtag1","hashtag2"]},{"1329518254":["hashtag1","hashtag2"]},{"1329518248":["hashtag1","hashtag2"]},{"1329518239":["hashtag1","hashtag2"]},{"1329518244":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329518235, 1329518260, 1329518254, 1329518248, 1329518239, 1329518244)","result":[],"list_datou_current":[]}'
Result OK !
after data_to_send, before sending request
after request
uploaded 6 photos
time to upload: 52.45346641540527 secondes ---
<Response [200]>
b'{"photo_ids":["1329518261","1329518240","1329518234","1329518245","1329518250","1329518253"],"photo_ids_order":["1329518234","1329518240","1329518245","1329518250","1329518253","1329518261"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b5e1804b4ba0bcaeb00404eb2017781a.jpg","text":"TemporaryFile(/tmp/multipartBody5007568318746531807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130816002,"filename":"image_17012025_17_18_22_5195.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ba69c0ada6959370ffa786e0c3417a7e.jpg","text":"TemporaryFile(/tmp/multipartBody6659508430112494562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130816002,"filename":"image_17012025_17_18_46_6374.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/18c4d7cbfb18958df94a43dfe6746e32.jpg","text":"TemporaryFile(/tmp/multipartBody846899087140930367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130816002,"filename":"image_17012025_17_18_52_6401.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b2dccb8b19d83dcef7e4cc96964cc7a9.jpg","text":"TemporaryFile(/tmp/multipartBody1787459788003033131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130816002,"filename":"image_17012025_17_18_40_5159.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2fd6ecd4fecd21a301a2e64afc998824.jpg","text":"TemporaryFile(/tmp/multipartBody5622020022431668778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130816002,"filename":"image_17012025_17_18_35_6394.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9f2f4c06235670fb9f11726277f3d737.jpg","text":"TemporaryFile(/tmp/multipartBody4610581355446154716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130816002,"filename":"image_17012025_17_18_28_6386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329518245","file1":"1329518240","file0":"1329518234","file4":"1329518253","file5":"1329518261","file3":"1329518250"},"map_files_photo_id_array":[{"photo_id":"1329518261","filename":"file5"},{"photo_id":"1329518245","filename":"file2"},{"photo_id":"1329518253","filename":"file4"},{"photo_id":"1329518240","filename":"file1"},{"photo_id":"1329518234","filename":"file0"},{"photo_id":"1329518250","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329518261":["hashtag1","hashtag2"]},{"1329518240":["hashtag1","hashtag2"]},{"1329518234":["hashtag1","hashtag2"]},{"1329518245":["hashtag1","hashtag2"]},{"1329518250":["hashtag1","hashtag2"]},{"1329518253":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329518261, 1329518240, 1329518234, 1329518245, 1329518250, 1329518253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.49591898918152 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:20:02.907109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/19/image_17012025_17_19_52_5205.jpg', '/media/data/images/17012025/17/19/image_17012025_17_19_47_6419.jpg', '/media/data/images/17012025/17/19/image_17012025_17_19_40_6435.jpg', '/media/data/images/17012025/17/19/image_17012025_17_19_34_5183.jpg', '/media/data/images/17012025/17/19/image_17012025_17_19_29_6393.jpg', '/media/data/images/17012025/17/19/image_17012025_17_19_22_6356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/19/image_17012025_17_19_52_5205.jpg
/media/data/images/17012025/17/19/image_17012025_17_19_47_6419.jpg
/media/data/images/17012025/17/19/image_17012025_17_19_40_6435.jpg
/media/data/images/17012025/17/19/image_17012025_17_19_34_5183.jpg
/media/data/images/17012025/17/19/image_17012025_17_19_29_6393.jpg
/media/data/images/17012025/17/19/image_17012025_17_19_22_6356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329518345","1329518350","1329518332","1329518311","1329518295","1329518319"],"photo_ids_order":["1329518295","1329518311","1329518319","1329518332","1329518345","1329518350"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/75b260240f0874ab77f917e8f627380b.jpg","text":"TemporaryFile(/tmp/multipartBody4937235072307777505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130869424,"filename":"image_17012025_17_19_29_6393.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e7659a34282e5765b916fe092a446204.jpg","text":"TemporaryFile(/tmp/multipartBody6020630391738057384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130869424,"filename":"image_17012025_17_19_22_6356.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/377ed225bcdcee760fad172f5e8e6a3b.jpg","text":"TemporaryFile(/tmp/multipartBody450862720452797426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130869424,"filename":"image_17012025_17_19_34_5183.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/94dda93ec6ff49960caf3c0736dbbc98.jpg","text":"TemporaryFile(/tmp/multipartBody3002588435694254037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130869424,"filename":"image_17012025_17_19_47_6419.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c71fb56017e62fad796ec92fe1a0a62a.jpg","text":"TemporaryFile(/tmp/multipartBody4989925076495729807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130869424,"filename":"image_17012025_17_19_52_5205.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5fb80f21263379187f811df76837f811.jpg","text":"TemporaryFile(/tmp/multipartBody3933408296913347419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130869424,"filename":"image_17012025_17_19_40_6435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329518319","file1":"1329518311","file0":"1329518295","file4":"1329518345","file5":"1329518350","file3":"1329518332"},"map_files_photo_id_array":[{"photo_id":"1329518350","filename":"file5"},{"photo_id":"1329518319","filename":"file2"},{"photo_id":"1329518345","filename":"file4"},{"photo_id":"1329518311","filename":"file1"},{"photo_id":"1329518295","filename":"file0"},{"photo_id":"1329518332","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329518345":["hashtag1","hashtag2"]},{"1329518350":["hashtag1","hashtag2"]},{"1329518332":["hashtag1","hashtag2"]},{"1329518311":["hashtag1","hashtag2"]},{"1329518295":["hashtag1","hashtag2"]},{"1329518319":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329518345, 1329518350, 1329518332, 1329518311, 1329518295, 1329518319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.28741478919983 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:21:02.323693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/20/image_17012025_17_20_52_5181.jpg', '/media/data/images/17012025/17/20/image_17012025_17_20_47_6362.jpg', '/media/data/images/17012025/17/20/image_17012025_17_20_40_6398.jpg', '/media/data/images/17012025/17/20/image_17012025_17_20_34_6394.jpg', '/media/data/images/17012025/17/20/image_17012025_17_20_28_5173.jpg', '/media/data/images/17012025/17/20/image_17012025_17_20_22_6409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/20/image_17012025_17_20_52_5181.jpg
/media/data/images/17012025/17/20/image_17012025_17_20_47_6362.jpg
/media/data/images/17012025/17/20/image_17012025_17_20_40_6398.jpg
/media/data/images/17012025/17/20/image_17012025_17_20_34_6394.jpg
/media/data/images/17012025/17/20/image_17012025_17_20_28_5173.jpg
/media/data/images/17012025/17/20/image_17012025_17_20_22_6409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329519143","1329518975","1329519240","1329519231","1329519225","1329519228"],"photo_ids_order":["1329518975","1329519143","1329519225","1329519228","1329519231","1329519240"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9bd57bb46f178bbfb891dd0e882a39e6.jpg","text":"TemporaryFile(/tmp/multipartBody4838941958796779049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130927919,"filename":"image_17012025_17_20_47_6362.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/90c424dbffb75838275d30b227345509.jpg","text":"TemporaryFile(/tmp/multipartBody1669563475333857151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130927919,"filename":"image_17012025_17_20_52_5181.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a5d07c5a888acbcbb0a2d4bfe6a8b960.jpg","text":"TemporaryFile(/tmp/multipartBody8783036303188469511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130927919,"filename":"image_17012025_17_20_22_6409.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/26ffafed998585dbc2f3795045ac53cc.jpg","text":"TemporaryFile(/tmp/multipartBody8598904731218929529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130927919,"filename":"image_17012025_17_20_28_5173.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/592d4ed5758fb38de2c657e6ced08cbd.jpg","text":"TemporaryFile(/tmp/multipartBody4527526197740091904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130927919,"filename":"image_17012025_17_20_40_6398.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2ba149194b73f270d554a94cd88a47cf.jpg","text":"TemporaryFile(/tmp/multipartBody453887589249819604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130927919,"filename":"image_17012025_17_20_34_6394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329519225","file1":"1329519143","file0":"1329518975","file4":"1329519231","file5":"1329519240","file3":"1329519228"},"map_files_photo_id_array":[{"photo_id":"1329519240","filename":"file5"},{"photo_id":"1329519225","filename":"file2"},{"photo_id":"1329519231","filename":"file4"},{"photo_id":"1329519143","filename":"file1"},{"photo_id":"1329518975","filename":"file0"},{"photo_id":"1329519228","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329519143":["hashtag1","hashtag2"]},{"1329518975":["hashtag1","hashtag2"]},{"1329519240":["hashtag1","hashtag2"]},{"1329519231":["hashtag1","hashtag2"]},{"1329519225":["hashtag1","hashtag2"]},{"1329519228":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329519143, 1329518975, 1329519240, 1329519231, 1329519225, 1329519228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.17558288574219 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:22:02.118226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/21/image_17012025_17_21_52_6405.jpg', '/media/data/images/17012025/17/21/image_17012025_17_21_46_5220.jpg', '/media/data/images/17012025/17/21/image_17012025_17_21_41_6417.jpg', '/media/data/images/17012025/17/21/image_17012025_17_21_34_6419.jpg', '/media/data/images/17012025/17/21/image_17012025_17_21_28_5214.jpg', '/media/data/images/17012025/17/21/image_17012025_17_21_23_6423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/21/image_17012025_17_21_52_6405.jpg
/media/data/images/17012025/17/21/image_17012025_17_21_46_5220.jpg
/media/data/images/17012025/17/21/image_17012025_17_21_41_6417.jpg
/media/data/images/17012025/17/21/image_17012025_17_21_34_6419.jpg
/media/data/images/17012025/17/21/image_17012025_17_21_28_5214.jpg
/media/data/images/17012025/17/21/image_17012025_17_21_23_6423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329519584","1329519302","1329519580","1329519361","1329519463","1329519285"],"photo_ids_order":["1329519285","1329519302","1329519361","1329519463","1329519580","1329519584"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/abfe37d735ff4bf8ab59594903d9e071.jpg","text":"TemporaryFile(/tmp/multipartBody3948255493503859727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130987123,"filename":"image_17012025_17_21_23_6423.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1ed94463eca64bfe006b17b572a437f5.jpg","text":"TemporaryFile(/tmp/multipartBody5629209380502935294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130987123,"filename":"image_17012025_17_21_46_5220.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/25c29b6a42d8f1949e107801f7e026f4.jpg","text":"TemporaryFile(/tmp/multipartBody2010473488785092129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130987123,"filename":"image_17012025_17_21_28_5214.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9e2320bfa8ed1ec894c73ca4faeeeb5a.jpg","text":"TemporaryFile(/tmp/multipartBody1550118385132101689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130987123,"filename":"image_17012025_17_21_41_6417.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d6cada11c82375aff01a0015ecafb56c.jpg","text":"TemporaryFile(/tmp/multipartBody4512137726236632858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130987123,"filename":"image_17012025_17_21_34_6419.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d292b814fe0e1a0957f2a5c998f93e0f.jpg","text":"TemporaryFile(/tmp/multipartBody384200082802819876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737130987123,"filename":"image_17012025_17_21_52_6405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329519361","file1":"1329519302","file0":"1329519285","file4":"1329519580","file5":"1329519584","file3":"1329519463"},"map_files_photo_id_array":[{"photo_id":"1329519584","filename":"file5"},{"photo_id":"1329519361","filename":"file2"},{"photo_id":"1329519580","filename":"file4"},{"photo_id":"1329519302","filename":"file1"},{"photo_id":"1329519285","filename":"file0"},{"photo_id":"1329519463","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329519584":["hashtag1","hashtag2"]},{"1329519302":["hashtag1","hashtag2"]},{"1329519580":["hashtag1","hashtag2"]},{"1329519361":["hashtag1","hashtag2"]},{"1329519463":["hashtag1","hashtag2"]},{"1329519285":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329519584, 1329519302, 1329519580, 1329519361, 1329519463, 1329519285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.155216217041016 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:23:02.382376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/22/image_17012025_17_22_53_6424.jpg', '/media/data/images/17012025/17/22/image_17012025_17_22_46_6419.jpg', '/media/data/images/17012025/17/22/image_17012025_17_22_40_5209.jpg', '/media/data/images/17012025/17/22/image_17012025_17_22_35_6436.jpg', '/media/data/images/17012025/17/22/image_17012025_17_22_28_6411.jpg', '/media/data/images/17012025/17/22/image_17012025_17_22_22_5159.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/22/image_17012025_17_22_53_6424.jpg
/media/data/images/17012025/17/22/image_17012025_17_22_46_6419.jpg
/media/data/images/17012025/17/22/image_17012025_17_22_40_5209.jpg
/media/data/images/17012025/17/22/image_17012025_17_22_35_6436.jpg
/media/data/images/17012025/17/22/image_17012025_17_22_28_6411.jpg
/media/data/images/17012025/17/22/image_17012025_17_22_22_5159.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329519763","1329519774","1329519768","1329519756","1329519747","1329519741"],"photo_ids_order":["1329519741","1329519747","1329519756","1329519763","1329519768","1329519774"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/45d348b122a76e32f9eb8d8f56edc13c.jpg","text":"TemporaryFile(/tmp/multipartBody3710897381254591140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131050437,"filename":"image_17012025_17_22_35_6436.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/488b35a2453ac56c62eab009aae1b504.jpg","text":"TemporaryFile(/tmp/multipartBody2686607222549928010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131050437,"filename":"image_17012025_17_22_22_5159.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c97e71a062453e3bf6f3631e02c0d73f.jpg","text":"TemporaryFile(/tmp/multipartBody4976223657103492771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131050437,"filename":"image_17012025_17_22_28_6411.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4979a5e4c029c682f29035dd5e99c765.jpg","text":"TemporaryFile(/tmp/multipartBody4382522696524359280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131050437,"filename":"image_17012025_17_22_40_5209.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/56b33aeb857350a535c1acde892f6df0.jpg","text":"TemporaryFile(/tmp/multipartBody5933052901550044534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131050437,"filename":"image_17012025_17_22_46_6419.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ea4ca19dfba1fdfddd8ac2c15cfabc57.jpg","text":"TemporaryFile(/tmp/multipartBody834696630237852520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131050437,"filename":"image_17012025_17_22_53_6424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329519756","file1":"1329519747","file0":"1329519741","file4":"1329519768","file5":"1329519774","file3":"1329519763"},"map_files_photo_id_array":[{"photo_id":"1329519774","filename":"file5"},{"photo_id":"1329519756","filename":"file2"},{"photo_id":"1329519768","filename":"file4"},{"photo_id":"1329519747","filename":"file1"},{"photo_id":"1329519741","filename":"file0"},{"photo_id":"1329519763","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329519763":["hashtag1","hashtag2"]},{"1329519774":["hashtag1","hashtag2"]},{"1329519768":["hashtag1","hashtag2"]},{"1329519756":["hashtag1","hashtag2"]},{"1329519747":["hashtag1","hashtag2"]},{"1329519741":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329519763, 1329519774, 1329519768, 1329519756, 1329519747, 1329519741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.186200857162476 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 17:24:02.483537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/23/image_17012025_17_23_52_5183.jpg', '/media/data/images/17012025/17/23/image_17012025_17_23_47_6390.jpg', '/media/data/images/17012025/17/23/image_17012025_17_23_40_6375.jpg', '/media/data/images/17012025/17/23/image_17012025_17_23_34_5180.jpg', '/media/data/images/17012025/17/23/image_17012025_17_23_29_6397.jpg', '/media/data/images/17012025/17/23/image_17012025_17_23_22_6397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/23/image_17012025_17_23_52_5183.jpg
/media/data/images/17012025/17/23/image_17012025_17_23_47_6390.jpg
/media/data/images/17012025/17/23/image_17012025_17_23_40_6375.jpg
/media/data/images/17012025/17/23/image_17012025_17_23_34_5180.jpg
/media/data/images/17012025/17/23/image_17012025_17_23_29_6397.jpg
/media/data/images/17012025/17/23/image_17012025_17_23_22_6397.jpg
2025-01-17 17:24:02.614610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/23/image_17012025_17_23_52_5183.jpg', '/media/data/images/17012025/17/23/image_17012025_17_23_47_6390.jpg', '/media/data/images/17012025/17/23/image_17012025_17_23_40_6375.jpg', '/media/data/images/17012025/17/23/image_17012025_17_23_34_5180.jpg', '/media/data/images/17012025/17/23/image_17012025_17_23_29_6397.jpg', '/media/data/images/17012025/17/23/image_17012025_17_23_22_6397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/23/image_17012025_17_23_52_5183.jpg
/media/data/images/17012025/17/23/image_17012025_17_23_47_6390.jpg
/media/data/images/17012025/17/23/image_17012025_17_23_40_6375.jpg
/media/data/images/17012025/17/23/image_17012025_17_23_34_5180.jpg
/media/data/images/17012025/17/23/image_17012025_17_23_29_6397.jpg
/media/data/images/17012025/17/23/image_17012025_17_23_22_6397.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329519889","1329519898","1329519894","1329519882","1329519876","1329519903"],"photo_ids_order":["1329519876","1329519882","1329519889","1329519894","1329519898","1329519903"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f2b00a3c45373e7af95878e3fc2a8c39.jpg","text":"TemporaryFile(/tmp/multipartBody69144651456382893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131113520,"filename":"image_17012025_17_23_40_6375.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8ba2a6515d837efcc4f68727df5f58f3.jpg","text":"TemporaryFile(/tmp/multipartBody6495259660941268995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131113520,"filename":"image_17012025_17_23_29_6397.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ea6460fb778f7b1d45e4b52766e6a4dd.jpg","text":"TemporaryFile(/tmp/multipartBody6607487451221321155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131113520,"filename":"image_17012025_17_23_34_5180.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cb876c60591962ae4fc4b9537f0cf99e.jpg","text":"TemporaryFile(/tmp/multipartBody5371147583635142919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131113520,"filename":"image_17012025_17_23_47_6390.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/39d85a8cb2ba9c7db2bd0de423354cc6.jpg","text":"TemporaryFile(/tmp/multipartBody2498358967824911918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131113520,"filename":"image_17012025_17_23_52_5183.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4000969cf0d97f11e25840cb8a4e2e1f.jpg","text":"TemporaryFile(/tmp/multipartBody1133922148508438739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131113520,"filename":"image_17012025_17_23_22_6397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329519889","file1":"1329519882","file0":"1329519876","file4":"1329519898","file5":"1329519903","file3":"1329519894"},"map_files_photo_id_array":[{"photo_id":"1329519903","filename":"file5"},{"photo_id":"1329519889","filename":"file2"},{"photo_id":"1329519898","filename":"file4"},{"photo_id":"1329519882","filename":"file1"},{"photo_id":"1329519876","filename":"file0"},{"photo_id":"1329519894","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329519889":["hashtag1","hashtag2"]},{"1329519898":["hashtag1","hashtag2"]},{"1329519894":["hashtag1","hashtag2"]},{"1329519882":["hashtag1","hashtag2"]},{"1329519876":["hashtag1","hashtag2"]},{"1329519903":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329519889, 1329519898, 1329519894, 1329519882, 1329519876, 1329519903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.55924582481384 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329519881","1329519875","1329519910","1329519897","1329519893","1329519887"],"photo_ids_order":["1329519875","1329519881","1329519887","1329519893","1329519897","1329519910"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/896e4ae1fa33b45d02219d47e96adad3.jpg","text":"TemporaryFile(/tmp/multipartBody1402060490528997805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131113249,"filename":"image_17012025_17_23_47_6390.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d13248aac5600db2b46b05b326fd4073.jpg","text":"TemporaryFile(/tmp/multipartBody4618853195735083546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131113249,"filename":"image_17012025_17_23_52_5183.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6139620067482b2d1e1b92376a9f1244.jpg","text":"TemporaryFile(/tmp/multipartBody1934106741166230060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131113249,"filename":"image_17012025_17_23_22_6397.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/343df57c683df73e5eec8e15fc0f6f88.jpg","text":"TemporaryFile(/tmp/multipartBody7849356142114588255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131113249,"filename":"image_17012025_17_23_29_6397.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7088d9f388398c9c1ef5e3403de9a285.jpg","text":"TemporaryFile(/tmp/multipartBody384092111080344575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131113249,"filename":"image_17012025_17_23_34_5180.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/12c18cfb297e6a22688b65ea4377891d.jpg","text":"TemporaryFile(/tmp/multipartBody6664225344970472572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131113249,"filename":"image_17012025_17_23_40_6375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329519887","file1":"1329519881","file0":"1329519875","file4":"1329519897","file5":"1329519910","file3":"1329519893"},"map_files_photo_id_array":[{"photo_id":"1329519910","filename":"file5"},{"photo_id":"1329519887","filename":"file2"},{"photo_id":"1329519897","filename":"file4"},{"photo_id":"1329519881","filename":"file1"},{"photo_id":"1329519875","filename":"file0"},{"photo_id":"1329519893","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329519881":["hashtag1","hashtag2"]},{"1329519875":["hashtag1","hashtag2"]},{"1329519910":["hashtag1","hashtag2"]},{"1329519897":["hashtag1","hashtag2"]},{"1329519893":["hashtag1","hashtag2"]},{"1329519887":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329519881, 1329519875, 1329519910, 1329519897, 1329519893, 1329519887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.14539575576782 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:25:02.656846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/24/image_17012025_17_24_52_6389.jpg', '/media/data/images/17012025/17/24/image_17012025_17_24_46_5185.jpg', '/media/data/images/17012025/17/24/image_17012025_17_24_41_6387.jpg', '/media/data/images/17012025/17/24/image_17012025_17_24_34_6375.jpg', '/media/data/images/17012025/17/24/image_17012025_17_24_28_5182.jpg', '/media/data/images/17012025/17/24/image_17012025_17_24_23_6394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/24/image_17012025_17_24_52_6389.jpg
/media/data/images/17012025/17/24/image_17012025_17_24_46_5185.jpg
/media/data/images/17012025/17/24/image_17012025_17_24_41_6387.jpg
/media/data/images/17012025/17/24/image_17012025_17_24_34_6375.jpg
/media/data/images/17012025/17/24/image_17012025_17_24_28_5182.jpg
/media/data/images/17012025/17/24/image_17012025_17_24_23_6394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329519994","1329519976","1329519985","1329519979","1329519981","1329519989"],"photo_ids_order":["1329519976","1329519979","1329519981","1329519985","1329519989","1329519994"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2b8607723423e8ee5c079716d882a69f.jpg","text":"TemporaryFile(/tmp/multipartBody5641963447754004971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131167176,"filename":"image_17012025_17_24_23_6394.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4850b49b22c0ad066958b19b67134e88.jpg","text":"TemporaryFile(/tmp/multipartBody4749916025580838645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131167176,"filename":"image_17012025_17_24_52_6389.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6c3657e668ba6ce2f22ef6ce5b040f9b.jpg","text":"TemporaryFile(/tmp/multipartBody4243373416588532468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131167176,"filename":"image_17012025_17_24_34_6375.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6ec35a18006a67f5b2f4b40d360cc164.jpg","text":"TemporaryFile(/tmp/multipartBody7787155160032122367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131167176,"filename":"image_17012025_17_24_46_5185.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/52081a2b8f31cb150d2921c6b6c9c661.jpg","text":"TemporaryFile(/tmp/multipartBody3865023448663315795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131167176,"filename":"image_17012025_17_24_41_6387.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fb57e5e1cc69ce51b01e5d17396da352.jpg","text":"TemporaryFile(/tmp/multipartBody6072930431156222488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131167176,"filename":"image_17012025_17_24_28_5182.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329519981","file1":"1329519979","file0":"1329519976","file4":"1329519989","file5":"1329519994","file3":"1329519985"},"map_files_photo_id_array":[{"photo_id":"1329519994","filename":"file5"},{"photo_id":"1329519981","filename":"file2"},{"photo_id":"1329519989","filename":"file4"},{"photo_id":"1329519979","filename":"file1"},{"photo_id":"1329519976","filename":"file0"},{"photo_id":"1329519985","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329519994":["hashtag1","hashtag2"]},{"1329519976":["hashtag1","hashtag2"]},{"1329519985":["hashtag1","hashtag2"]},{"1329519979":["hashtag1","hashtag2"]},{"1329519981":["hashtag1","hashtag2"]},{"1329519989":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329519994, 1329519976, 1329519985, 1329519979, 1329519981, 1329519989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.40145659446716 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:26:02.551074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/25/image_17012025_17_25_52_6428.jpg', '/media/data/images/17012025/17/25/image_17012025_17_25_46_5195.jpg', '/media/data/images/17012025/17/25/image_17012025_17_25_41_6400.jpg', '/media/data/images/17012025/17/25/image_17012025_17_25_34_6407.jpg', '/media/data/images/17012025/17/25/image_17012025_17_25_28_5167.jpg', '/media/data/images/17012025/17/25/image_17012025_17_25_23_6379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/25/image_17012025_17_25_52_6428.jpg
/media/data/images/17012025/17/25/image_17012025_17_25_46_5195.jpg
/media/data/images/17012025/17/25/image_17012025_17_25_41_6400.jpg
/media/data/images/17012025/17/25/image_17012025_17_25_34_6407.jpg
/media/data/images/17012025/17/25/image_17012025_17_25_28_5167.jpg
/media/data/images/17012025/17/25/image_17012025_17_25_23_6379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329520064","1329520073","1329520093","1329520069","1329520098","1329520089"],"photo_ids_order":["1329520064","1329520069","1329520073","1329520089","1329520093","1329520098"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/590d7b4e625b28cc829767fc507b1a25.jpg","text":"TemporaryFile(/tmp/multipartBody6898372225015061299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131235060,"filename":"image_17012025_17_25_52_6428.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/46a2426b6be51cd98d7ee2b1d88ddcf3.jpg","text":"TemporaryFile(/tmp/multipartBody6556444758445346580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131235060,"filename":"image_17012025_17_25_41_6400.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cf03df47340ab7aeecd6ee8093dac554.jpg","text":"TemporaryFile(/tmp/multipartBody2999329234331558336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131235060,"filename":"image_17012025_17_25_28_5167.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/68e6b3ba97969ccf7ceef501605f8adb.jpg","text":"TemporaryFile(/tmp/multipartBody7328709000081867804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131235060,"filename":"image_17012025_17_25_46_5195.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b2fb25f0b793ce3bdd4e54531fd9fa00.jpg","text":"TemporaryFile(/tmp/multipartBody2288048280483708466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131235060,"filename":"image_17012025_17_25_23_6379.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5380779b3233d353594e58927cb0a456.jpg","text":"TemporaryFile(/tmp/multipartBody8406079576175356936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131235060,"filename":"image_17012025_17_25_34_6407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329520073","file1":"1329520069","file0":"1329520064","file4":"1329520093","file5":"1329520098","file3":"1329520089"},"map_files_photo_id_array":[{"photo_id":"1329520098","filename":"file5"},{"photo_id":"1329520073","filename":"file2"},{"photo_id":"1329520093","filename":"file4"},{"photo_id":"1329520069","filename":"file1"},{"photo_id":"1329520064","filename":"file0"},{"photo_id":"1329520089","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329520064":["hashtag1","hashtag2"]},{"1329520073":["hashtag1","hashtag2"]},{"1329520093":["hashtag1","hashtag2"]},{"1329520069":["hashtag1","hashtag2"]},{"1329520098":["hashtag1","hashtag2"]},{"1329520089":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329520064, 1329520073, 1329520093, 1329520069, 1329520098, 1329520089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.28379988670349 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:27:02.930603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/27/image_17012025_17_27_47_6421.jpg', '/media/data/images/17012025/17/26/image_17012025_17_26_53_6359.jpg', '/media/data/images/17012025/17/26/image_17012025_17_26_46_6367.jpg', '/media/data/images/17012025/17/26/image_17012025_17_26_40_5160.jpg', '/media/data/images/17012025/17/26/image_17012025_17_26_35_6397.jpg', '/media/data/images/17012025/17/26/image_17012025_17_26_28_6396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/27/image_17012025_17_27_47_6421.jpg
/media/data/images/17012025/17/26/image_17012025_17_26_53_6359.jpg
/media/data/images/17012025/17/26/image_17012025_17_26_46_6367.jpg
/media/data/images/17012025/17/26/image_17012025_17_26_40_5160.jpg
/media/data/images/17012025/17/26/image_17012025_17_26_35_6397.jpg
/media/data/images/17012025/17/26/image_17012025_17_26_28_6396.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329520145","1329520142","1329520168","1329520177","1329520156","1329520149"],"photo_ids_order":["1329520142","1329520145","1329520149","1329520156","1329520168","1329520177"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1db15eff8dd918b2ce0676d3cb0320a4.jpg","text":"TemporaryFile(/tmp/multipartBody945729156753473464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131290992,"filename":"image_17012025_17_26_53_6359.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/70843bcc08685429e6e84377234ac999.jpg","text":"TemporaryFile(/tmp/multipartBody1889558592770966889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131290992,"filename":"image_17012025_17_27_47_6421.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dff2e001e947486f5eb9b1fb22027603.jpg","text":"TemporaryFile(/tmp/multipartBody244371141141993375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131290992,"filename":"image_17012025_17_26_35_6397.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b506af4c041684725a1556dc87af68cd.jpg","text":"TemporaryFile(/tmp/multipartBody5748746913743673229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131290992,"filename":"image_17012025_17_26_28_6396.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/28eed161334f6463baaf8eef8f42830e.jpg","text":"TemporaryFile(/tmp/multipartBody9123097290568675312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131290992,"filename":"image_17012025_17_26_40_5160.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c2ad5aac3ccacd2391facde69c5a77ce.jpg","text":"TemporaryFile(/tmp/multipartBody9016421308944176054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131290992,"filename":"image_17012025_17_26_46_6367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329520149","file1":"1329520145","file0":"1329520142","file4":"1329520168","file5":"1329520177","file3":"1329520156"},"map_files_photo_id_array":[{"photo_id":"1329520177","filename":"file5"},{"photo_id":"1329520149","filename":"file2"},{"photo_id":"1329520168","filename":"file4"},{"photo_id":"1329520145","filename":"file1"},{"photo_id":"1329520142","filename":"file0"},{"photo_id":"1329520156","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329520145":["hashtag1","hashtag2"]},{"1329520142":["hashtag1","hashtag2"]},{"1329520168":["hashtag1","hashtag2"]},{"1329520177":["hashtag1","hashtag2"]},{"1329520156":["hashtag1","hashtag2"]},{"1329520149":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329520145, 1329520142, 1329520168, 1329520177, 1329520156, 1329520149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.25697350502014 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:28:02.611110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/27/image_17012025_17_27_52_5209.jpg', '/media/data/images/17012025/17/27/image_17012025_17_27_40_6415.jpg', '/media/data/images/17012025/17/27/image_17012025_17_27_34_5186.jpg', '/media/data/images/17012025/17/27/image_17012025_17_27_29_6385.jpg', '/media/data/images/17012025/17/27/image_17012025_17_27_22_6391.jpg', '/media/data/images/17012025/17/27/image_17012025_17_27_16_5189.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/27/image_17012025_17_27_52_5209.jpg
/media/data/images/17012025/17/27/image_17012025_17_27_40_6415.jpg
/media/data/images/17012025/17/27/image_17012025_17_27_34_5186.jpg
/media/data/images/17012025/17/27/image_17012025_17_27_29_6385.jpg
/media/data/images/17012025/17/27/image_17012025_17_27_22_6391.jpg
/media/data/images/17012025/17/27/image_17012025_17_27_16_5189.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329520227","1329520196","1329520199","1329520243","1329520234","1329520221"],"photo_ids_order":["1329520196","1329520199","1329520221","1329520227","1329520234","1329520243"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1f0ceffbbc718f72767ef8769ee84142.jpg","text":"TemporaryFile(/tmp/multipartBody8044193617520768687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131347829,"filename":"image_17012025_17_27_29_6385.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dc1775e1f5c81cf9bcfd2f1da2cea3a5.jpg","text":"TemporaryFile(/tmp/multipartBody2915923516670214524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131347829,"filename":"image_17012025_17_27_52_5209.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/288e33d1a0ae756651ce82be353abb71.jpg","text":"TemporaryFile(/tmp/multipartBody5270196877996714930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131347829,"filename":"image_17012025_17_27_40_6415.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/87943eaca92ac6da3a165b0562bad344.jpg","text":"TemporaryFile(/tmp/multipartBody6000009462486820056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131347829,"filename":"image_17012025_17_27_16_5189.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bf6750d397e1f2e25f2794ecbf03a1f1.jpg","text":"TemporaryFile(/tmp/multipartBody4632649737797964033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131347829,"filename":"image_17012025_17_27_22_6391.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0133145f53f5dc056749c2ce5cc70239.jpg","text":"TemporaryFile(/tmp/multipartBody5275870257757951780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131347829,"filename":"image_17012025_17_27_34_5186.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329520221","file1":"1329520199","file0":"1329520196","file4":"1329520234","file5":"1329520243","file3":"1329520227"},"map_files_photo_id_array":[{"photo_id":"1329520243","filename":"file5"},{"photo_id":"1329520221","filename":"file2"},{"photo_id":"1329520234","filename":"file4"},{"photo_id":"1329520199","filename":"file1"},{"photo_id":"1329520196","filename":"file0"},{"photo_id":"1329520227","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329520227":["hashtag1","hashtag2"]},{"1329520196":["hashtag1","hashtag2"]},{"1329520199":["hashtag1","hashtag2"]},{"1329520243":["hashtag1","hashtag2"]},{"1329520234":["hashtag1","hashtag2"]},{"1329520221":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329520227, 1329520196, 1329520199, 1329520243, 1329520234, 1329520221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.04227876663208 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 17:29:02.933002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/28/image_17012025_17_28_52_5176.jpg', '/media/data/images/17012025/17/28/image_17012025_17_28_47_6392.jpg', '/media/data/images/17012025/17/28/image_17012025_17_28_40_6396.jpg', '/media/data/images/17012025/17/28/image_17012025_17_28_34_6375.jpg', '/media/data/images/17012025/17/28/image_17012025_17_28_28_5174.jpg', '/media/data/images/17012025/17/28/image_17012025_17_28_22_6399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/28/image_17012025_17_28_52_5176.jpg
/media/data/images/17012025/17/28/image_17012025_17_28_47_6392.jpg
/media/data/images/17012025/17/28/image_17012025_17_28_40_6396.jpg
/media/data/images/17012025/17/28/image_17012025_17_28_34_6375.jpg
/media/data/images/17012025/17/28/image_17012025_17_28_28_5174.jpg
/media/data/images/17012025/17/28/image_17012025_17_28_22_6399.jpg
2025-01-17 17:29:03.185999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/28/image_17012025_17_28_52_5176.jpg', '/media/data/images/17012025/17/28/image_17012025_17_28_47_6392.jpg', '/media/data/images/17012025/17/28/image_17012025_17_28_40_6396.jpg', '/media/data/images/17012025/17/28/image_17012025_17_28_34_6375.jpg', '/media/data/images/17012025/17/28/image_17012025_17_28_28_5174.jpg', '/media/data/images/17012025/17/28/image_17012025_17_28_22_6399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/28/image_17012025_17_28_52_5176.jpg
/media/data/images/17012025/17/28/image_17012025_17_28_47_6392.jpg
/media/data/images/17012025/17/28/image_17012025_17_28_40_6396.jpg
/media/data/images/17012025/17/28/image_17012025_17_28_34_6375.jpg
/media/data/images/17012025/17/28/image_17012025_17_28_28_5174.jpg
/media/data/images/17012025/17/28/image_17012025_17_28_22_6399.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329520310","1329520349","1329520307","1329520301","1329520383","1329520446"],"photo_ids_order":["1329520301","1329520307","1329520310","1329520349","1329520383","1329520446"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d08c5501f8ec015916a08fc907264b5b.jpg","text":"TemporaryFile(/tmp/multipartBody529306131125547222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131414961,"filename":"image_17012025_17_28_40_6396.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b3648becac51b51c1f04066036fba4e9.jpg","text":"TemporaryFile(/tmp/multipartBody5260699243308016404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131414961,"filename":"image_17012025_17_28_34_6375.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ecbba89446b8dfb898da0791c45a3bf6.jpg","text":"TemporaryFile(/tmp/multipartBody1723378569711258977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131414961,"filename":"image_17012025_17_28_47_6392.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a2d6eeefa2385829df4061416f528636.jpg","text":"TemporaryFile(/tmp/multipartBody4948178882133374169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131414961,"filename":"image_17012025_17_28_52_5176.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8518be10a4fdf56ee2a03e55d8ecba5b.jpg","text":"TemporaryFile(/tmp/multipartBody3022882868746154532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131414961,"filename":"image_17012025_17_28_28_5174.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fbc3bc1fe7e9576b3df91fcba72aa23f.jpg","text":"TemporaryFile(/tmp/multipartBody8629403008907459022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131414961,"filename":"image_17012025_17_28_22_6399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329520310","file1":"1329520307","file0":"1329520301","file4":"1329520383","file5":"1329520446","file3":"1329520349"},"map_files_photo_id_array":[{"photo_id":"1329520446","filename":"file5"},{"photo_id":"1329520310","filename":"file2"},{"photo_id":"1329520383","filename":"file4"},{"photo_id":"1329520307","filename":"file1"},{"photo_id":"1329520301","filename":"file0"},{"photo_id":"1329520349","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329520310":["hashtag1","hashtag2"]},{"1329520349":["hashtag1","hashtag2"]},{"1329520307":["hashtag1","hashtag2"]},{"1329520301":["hashtag1","hashtag2"]},{"1329520383":["hashtag1","hashtag2"]},{"1329520446":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329520310, 1329520349, 1329520307, 1329520301, 1329520383, 1329520446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.80771279335022 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329520391","1329520355","1329520304","1329520462","1329520309","1329520300"],"photo_ids_order":["1329520300","1329520304","1329520309","1329520355","1329520391","1329520462"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5ec5f132898a08fb1d721134b7eddd36.jpg","text":"TemporaryFile(/tmp/multipartBody8533057578365985826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131414128,"filename":"image_17012025_17_28_28_5174.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2ec7f6f9a637912251e114b9d54b7bce.jpg","text":"TemporaryFile(/tmp/multipartBody4209265367654347027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131414128,"filename":"image_17012025_17_28_34_6375.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3d309c24c355c8101655589ed2331e5c.jpg","text":"TemporaryFile(/tmp/multipartBody5785079014070023631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131414128,"filename":"image_17012025_17_28_47_6392.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4ef9d5fab3a39bfdd72967671b052ef6.jpg","text":"TemporaryFile(/tmp/multipartBody6409936531085925669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131414128,"filename":"image_17012025_17_28_22_6399.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/37310da1abff03d9d998005baf3e7cf1.jpg","text":"TemporaryFile(/tmp/multipartBody1562923636503306285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131414128,"filename":"image_17012025_17_28_40_6396.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0fd72b2cd90e03c5d81332b580901cca.jpg","text":"TemporaryFile(/tmp/multipartBody8444904448494343583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131414128,"filename":"image_17012025_17_28_52_5176.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329520309","file1":"1329520304","file0":"1329520300","file4":"1329520391","file5":"1329520462","file3":"1329520355"},"map_files_photo_id_array":[{"photo_id":"1329520462","filename":"file5"},{"photo_id":"1329520309","filename":"file2"},{"photo_id":"1329520391","filename":"file4"},{"photo_id":"1329520304","filename":"file1"},{"photo_id":"1329520300","filename":"file0"},{"photo_id":"1329520355","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329520391":["hashtag1","hashtag2"]},{"1329520355":["hashtag1","hashtag2"]},{"1329520304":["hashtag1","hashtag2"]},{"1329520462":["hashtag1","hashtag2"]},{"1329520309":["hashtag1","hashtag2"]},{"1329520300":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329520391, 1329520355, 1329520304, 1329520462, 1329520309, 1329520300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.4342896938324 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:30:02.983242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/29/image_17012025_17_29_52_6509.jpg', '/media/data/images/17012025/17/29/image_17012025_17_29_46_5209.jpg', '/media/data/images/17012025/17/29/image_17012025_17_29_41_6406.jpg', '/media/data/images/17012025/17/29/image_17012025_17_29_34_6415.jpg', '/media/data/images/17012025/17/29/image_17012025_17_29_28_5182.jpg', '/media/data/images/17012025/17/29/image_17012025_17_29_23_6378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/29/image_17012025_17_29_52_6509.jpg
/media/data/images/17012025/17/29/image_17012025_17_29_46_5209.jpg
/media/data/images/17012025/17/29/image_17012025_17_29_41_6406.jpg
/media/data/images/17012025/17/29/image_17012025_17_29_34_6415.jpg
/media/data/images/17012025/17/29/image_17012025_17_29_28_5182.jpg
/media/data/images/17012025/17/29/image_17012025_17_29_23_6378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329520509","1329520503","1329520517","1329520522","1329520513","1329520506"],"photo_ids_order":["1329520503","1329520506","1329520509","1329520513","1329520517","1329520522"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b93b8c847fd63c7929b9c8bc1d80f5bc.jpg","text":"TemporaryFile(/tmp/multipartBody7434091483939231278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131468494,"filename":"image_17012025_17_29_41_6406.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/00e7b2d0390dbca743aa3edda99ae4e6.jpg","text":"TemporaryFile(/tmp/multipartBody2339076467701710642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131468494,"filename":"image_17012025_17_29_52_6509.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f4570c7483ef71247ffe1da89490e503.jpg","text":"TemporaryFile(/tmp/multipartBody6463568772149311601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131468494,"filename":"image_17012025_17_29_28_5182.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a83f1bcaf1b4956487aa79c42093de2b.jpg","text":"TemporaryFile(/tmp/multipartBody5671532855707176691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131468494,"filename":"image_17012025_17_29_23_6378.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1c859eaeeaa6ef6e382ac68066329847.jpg","text":"TemporaryFile(/tmp/multipartBody8819758236077608572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131468494,"filename":"image_17012025_17_29_34_6415.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4da779cd04602ed75db93f33439a92b5.jpg","text":"TemporaryFile(/tmp/multipartBody5319425944524416849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131468494,"filename":"image_17012025_17_29_46_5209.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329520509","file1":"1329520506","file0":"1329520503","file4":"1329520517","file5":"1329520522","file3":"1329520513"},"map_files_photo_id_array":[{"photo_id":"1329520522","filename":"file5"},{"photo_id":"1329520509","filename":"file2"},{"photo_id":"1329520517","filename":"file4"},{"photo_id":"1329520506","filename":"file1"},{"photo_id":"1329520503","filename":"file0"},{"photo_id":"1329520513","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329520509":["hashtag1","hashtag2"]},{"1329520503":["hashtag1","hashtag2"]},{"1329520517":["hashtag1","hashtag2"]},{"1329520522":["hashtag1","hashtag2"]},{"1329520513":["hashtag1","hashtag2"]},{"1329520506":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329520509, 1329520503, 1329520517, 1329520522, 1329520513, 1329520506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.60508966445923 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:31:02.250963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/30/image_17012025_17_30_52_5168.jpg', '/media/data/images/17012025/17/30/image_17012025_17_30_47_6398.jpg', '/media/data/images/17012025/17/30/image_17012025_17_30_40_6404.jpg', '/media/data/images/17012025/17/30/image_17012025_17_30_34_5193.jpg', '/media/data/images/17012025/17/30/image_17012025_17_30_29_6389.jpg', '/media/data/images/17012025/17/30/image_17012025_17_30_22_6413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/30/image_17012025_17_30_52_5168.jpg
/media/data/images/17012025/17/30/image_17012025_17_30_47_6398.jpg
/media/data/images/17012025/17/30/image_17012025_17_30_40_6404.jpg
/media/data/images/17012025/17/30/image_17012025_17_30_34_5193.jpg
/media/data/images/17012025/17/30/image_17012025_17_30_29_6389.jpg
/media/data/images/17012025/17/30/image_17012025_17_30_22_6413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329520595","1329520583","1329520587","1329520581","1329520590","1329520578"],"photo_ids_order":["1329520578","1329520581","1329520583","1329520587","1329520590","1329520595"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/65b3c4f483654caefccca1fb787c25af.jpg","text":"TemporaryFile(/tmp/multipartBody8068427474509887682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131530799,"filename":"image_17012025_17_30_22_6413.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0371b39f66c621e785191290155431dd.jpg","text":"TemporaryFile(/tmp/multipartBody4620181721162908820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131530799,"filename":"image_17012025_17_30_40_6404.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a773ca7c2ceea7d4f90a28135915780e.jpg","text":"TemporaryFile(/tmp/multipartBody3015610588492427053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131530799,"filename":"image_17012025_17_30_34_5193.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2af19cffdfff215dae14bf5b4c16095e.jpg","text":"TemporaryFile(/tmp/multipartBody5551553109238797381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131530799,"filename":"image_17012025_17_30_47_6398.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8c4ae962b7a6c880f541503405d9bfc7.jpg","text":"TemporaryFile(/tmp/multipartBody8039685067077533114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131530799,"filename":"image_17012025_17_30_29_6389.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5aa7c0c98f28ab352a2aa545575c7f19.jpg","text":"TemporaryFile(/tmp/multipartBody3348829230670096636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131530799,"filename":"image_17012025_17_30_52_5168.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329520583","file1":"1329520581","file0":"1329520578","file4":"1329520590","file5":"1329520595","file3":"1329520587"},"map_files_photo_id_array":[{"photo_id":"1329520595","filename":"file5"},{"photo_id":"1329520583","filename":"file2"},{"photo_id":"1329520590","filename":"file4"},{"photo_id":"1329520581","filename":"file1"},{"photo_id":"1329520578","filename":"file0"},{"photo_id":"1329520587","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329520595":["hashtag1","hashtag2"]},{"1329520583":["hashtag1","hashtag2"]},{"1329520587":["hashtag1","hashtag2"]},{"1329520581":["hashtag1","hashtag2"]},{"1329520590":["hashtag1","hashtag2"]},{"1329520578":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329520595, 1329520583, 1329520587, 1329520581, 1329520590, 1329520578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.32563281059265 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:32:02.094146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/31/image_17012025_17_31_52_6426.jpg', '/media/data/images/17012025/17/31/image_17012025_17_31_46_5195.jpg', '/media/data/images/17012025/17/31/image_17012025_17_31_41_6426.jpg', '/media/data/images/17012025/17/31/image_17012025_17_31_34_6411.jpg', '/media/data/images/17012025/17/31/image_17012025_17_31_28_5208.jpg', '/media/data/images/17012025/17/31/image_17012025_17_31_23_6414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/31/image_17012025_17_31_52_6426.jpg
/media/data/images/17012025/17/31/image_17012025_17_31_46_5195.jpg
/media/data/images/17012025/17/31/image_17012025_17_31_41_6426.jpg
/media/data/images/17012025/17/31/image_17012025_17_31_34_6411.jpg
/media/data/images/17012025/17/31/image_17012025_17_31_28_5208.jpg
/media/data/images/17012025/17/31/image_17012025_17_31_23_6414.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329520629","1329520620","1329520643","1329520637","1329520628","1329520632"],"photo_ids_order":["1329520620","1329520628","1329520629","1329520632","1329520637","1329520643"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/db23e5eda63d12e6eae9d99f1cf21be1.jpg","text":"TemporaryFile(/tmp/multipartBody1893069389084253348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131599268,"filename":"image_17012025_17_31_41_6426.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e3adbfa34bf1c94fa5a119cdcc8f15d4.jpg","text":"TemporaryFile(/tmp/multipartBody7003100394911403747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131599268,"filename":"image_17012025_17_31_52_6426.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/186e9cc0482f53109c5538441a5cb269.jpg","text":"TemporaryFile(/tmp/multipartBody3903166834239968828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131599268,"filename":"image_17012025_17_31_23_6414.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4b7139ee0dcb76b51631d5a39f362ae1.jpg","text":"TemporaryFile(/tmp/multipartBody8204975281216373457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131599268,"filename":"image_17012025_17_31_28_5208.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/898008067ce1e763eb8f50d8216ff015.jpg","text":"TemporaryFile(/tmp/multipartBody5345924785057560628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131599268,"filename":"image_17012025_17_31_46_5195.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0bf6081451e572a05eac237e8a66f3d6.jpg","text":"TemporaryFile(/tmp/multipartBody4065730544833246330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131599268,"filename":"image_17012025_17_31_34_6411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329520629","file1":"1329520628","file0":"1329520620","file4":"1329520637","file5":"1329520643","file3":"1329520632"},"map_files_photo_id_array":[{"photo_id":"1329520643","filename":"file5"},{"photo_id":"1329520629","filename":"file2"},{"photo_id":"1329520637","filename":"file4"},{"photo_id":"1329520628","filename":"file1"},{"photo_id":"1329520620","filename":"file0"},{"photo_id":"1329520632","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329520629":["hashtag1","hashtag2"]},{"1329520620":["hashtag1","hashtag2"]},{"1329520643":["hashtag1","hashtag2"]},{"1329520637":["hashtag1","hashtag2"]},{"1329520628":["hashtag1","hashtag2"]},{"1329520632":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329520629, 1329520620, 1329520643, 1329520637, 1329520628, 1329520632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.794212341308594 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:33:02.438243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/32/image_17012025_17_32_53_6437.jpg', '/media/data/images/17012025/17/32/image_17012025_17_32_46_6434.jpg', '/media/data/images/17012025/17/32/image_17012025_17_32_40_5170.jpg', '/media/data/images/17012025/17/32/image_17012025_17_32_35_6368.jpg', '/media/data/images/17012025/17/32/image_17012025_17_32_28_6397.jpg', '/media/data/images/17012025/17/32/image_17012025_17_32_22_5195.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/32/image_17012025_17_32_53_6437.jpg
/media/data/images/17012025/17/32/image_17012025_17_32_46_6434.jpg
/media/data/images/17012025/17/32/image_17012025_17_32_40_5170.jpg
/media/data/images/17012025/17/32/image_17012025_17_32_35_6368.jpg
/media/data/images/17012025/17/32/image_17012025_17_32_28_6397.jpg
/media/data/images/17012025/17/32/image_17012025_17_32_22_5195.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329520676","1329520664","1329520681","1329520687","1329520672","1329520668"],"photo_ids_order":["1329520664","1329520668","1329520672","1329520676","1329520681","1329520687"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/67d568a128ac8151511d5314254303c6.jpg","text":"TemporaryFile(/tmp/multipartBody7862780922701637944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131652706,"filename":"image_17012025_17_32_35_6368.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/79215fb3365f62f2e56d32e624fe8dc7.jpg","text":"TemporaryFile(/tmp/multipartBody7517325936390981587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131652706,"filename":"image_17012025_17_32_53_6437.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7738a17fdfd08b5e6e1991f8b109e056.jpg","text":"TemporaryFile(/tmp/multipartBody1559388657284088203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131652706,"filename":"image_17012025_17_32_28_6397.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a295c3d9bb2f8da9ddcd6d6bfe6664e1.jpg","text":"TemporaryFile(/tmp/multipartBody8764847335119165980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131652706,"filename":"image_17012025_17_32_22_5195.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/78f5c5196a854c045a205d65e695106c.jpg","text":"TemporaryFile(/tmp/multipartBody6421161996754826941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131652706,"filename":"image_17012025_17_32_40_5170.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b05f4771d3a443b2cd3a31dca0002302.jpg","text":"TemporaryFile(/tmp/multipartBody8679696672336849421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131652706,"filename":"image_17012025_17_32_46_6434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329520672","file1":"1329520668","file0":"1329520664","file4":"1329520681","file5":"1329520687","file3":"1329520676"},"map_files_photo_id_array":[{"photo_id":"1329520687","filename":"file5"},{"photo_id":"1329520672","filename":"file2"},{"photo_id":"1329520681","filename":"file4"},{"photo_id":"1329520668","filename":"file1"},{"photo_id":"1329520664","filename":"file0"},{"photo_id":"1329520676","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329520676":["hashtag1","hashtag2"]},{"1329520664":["hashtag1","hashtag2"]},{"1329520681":["hashtag1","hashtag2"]},{"1329520687":["hashtag1","hashtag2"]},{"1329520672":["hashtag1","hashtag2"]},{"1329520668":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329520676, 1329520664, 1329520681, 1329520687, 1329520672, 1329520668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.346105098724365 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 17:34:02.418945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/33/image_17012025_17_33_52_5187.jpg', '/media/data/images/17012025/17/33/image_17012025_17_33_47_6396.jpg', '/media/data/images/17012025/17/33/image_17012025_17_33_40_6401.jpg', '/media/data/images/17012025/17/33/image_17012025_17_33_34_5209.jpg', '/media/data/images/17012025/17/33/image_17012025_17_33_29_6420.jpg', '/media/data/images/17012025/17/33/image_17012025_17_33_22_6428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/33/image_17012025_17_33_52_5187.jpg
/media/data/images/17012025/17/33/image_17012025_17_33_47_6396.jpg
/media/data/images/17012025/17/33/image_17012025_17_33_40_6401.jpg
/media/data/images/17012025/17/33/image_17012025_17_33_34_5209.jpg
/media/data/images/17012025/17/33/image_17012025_17_33_29_6420.jpg
/media/data/images/17012025/17/33/image_17012025_17_33_22_6428.jpg
2025-01-17 17:34:02.588266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/33/image_17012025_17_33_52_5187.jpg', '/media/data/images/17012025/17/33/image_17012025_17_33_47_6396.jpg', '/media/data/images/17012025/17/33/image_17012025_17_33_40_6401.jpg', '/media/data/images/17012025/17/33/image_17012025_17_33_34_5209.jpg', '/media/data/images/17012025/17/33/image_17012025_17_33_29_6420.jpg', '/media/data/images/17012025/17/33/image_17012025_17_33_22_6428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/33/image_17012025_17_33_52_5187.jpg
/media/data/images/17012025/17/33/image_17012025_17_33_47_6396.jpg
/media/data/images/17012025/17/33/image_17012025_17_33_40_6401.jpg
/media/data/images/17012025/17/33/image_17012025_17_33_34_5209.jpg
/media/data/images/17012025/17/33/image_17012025_17_33_29_6420.jpg
/media/data/images/17012025/17/33/image_17012025_17_33_22_6428.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329520734","1329520730","1329520726","1329520720","1329520723","1329520717"],"photo_ids_order":["1329520717","1329520720","1329520723","1329520726","1329520730","1329520734"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b0d983ad7954dc200cec36f3112b99b8.jpg","text":"TemporaryFile(/tmp/multipartBody7053096201356434095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131712030,"filename":"image_17012025_17_33_22_6428.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/93d0bf7be6cb420a2605a8c2ec32d64d.jpg","text":"TemporaryFile(/tmp/multipartBody6446859746934708034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131712030,"filename":"image_17012025_17_33_29_6420.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e4b5b217a18b3e81967d9b70a7354635.jpg","text":"TemporaryFile(/tmp/multipartBody3749363856737913983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131712030,"filename":"image_17012025_17_33_34_5209.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7af4158b81ebcc7bc49967d39149d0e4.jpg","text":"TemporaryFile(/tmp/multipartBody8748390203412209587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131712030,"filename":"image_17012025_17_33_47_6396.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4895708938e3c581c5fc69873d09afe0.jpg","text":"TemporaryFile(/tmp/multipartBody7911713747057624498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131712030,"filename":"image_17012025_17_33_40_6401.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7a531f0dfc3e451df1d74dcb63e50f76.jpg","text":"TemporaryFile(/tmp/multipartBody2967615924139666396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131712030,"filename":"image_17012025_17_33_52_5187.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329520723","file1":"1329520720","file0":"1329520717","file4":"1329520730","file5":"1329520734","file3":"1329520726"},"map_files_photo_id_array":[{"photo_id":"1329520734","filename":"file5"},{"photo_id":"1329520723","filename":"file2"},{"photo_id":"1329520730","filename":"file4"},{"photo_id":"1329520720","filename":"file1"},{"photo_id":"1329520717","filename":"file0"},{"photo_id":"1329520726","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329520734":["hashtag1","hashtag2"]},{"1329520730":["hashtag1","hashtag2"]},{"1329520726":["hashtag1","hashtag2"]},{"1329520720":["hashtag1","hashtag2"]},{"1329520723":["hashtag1","hashtag2"]},{"1329520717":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329520734, 1329520730, 1329520726, 1329520720, 1329520723, 1329520717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.75882434844971 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329520716","1329520727","1329520736","1329520722","1329520731","1329520719"],"photo_ids_order":["1329520716","1329520719","1329520722","1329520727","1329520731","1329520736"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8ed835a147542059daafd7ac9364d6e5.jpg","text":"TemporaryFile(/tmp/multipartBody3701681384426516805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131711856,"filename":"image_17012025_17_33_52_5187.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6b9c30dd440675276bf1f5d6de064f6e.jpg","text":"TemporaryFile(/tmp/multipartBody7593886071570091531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131711856,"filename":"image_17012025_17_33_34_5209.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7a30ba7fc73932d7b4463d2eb0f6b324.jpg","text":"TemporaryFile(/tmp/multipartBody3543048315160171377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131711856,"filename":"image_17012025_17_33_22_6428.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/174717bbf1bb5cb5d42819a3cc401225.jpg","text":"TemporaryFile(/tmp/multipartBody1002676753070652950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131711856,"filename":"image_17012025_17_33_40_6401.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/62525d804d3ef024c5be44122ce76c16.jpg","text":"TemporaryFile(/tmp/multipartBody7964490105729690911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131711856,"filename":"image_17012025_17_33_29_6420.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e19ce8e65c85900be30ec627c03b3f36.jpg","text":"TemporaryFile(/tmp/multipartBody3120825498257260638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131711856,"filename":"image_17012025_17_33_47_6396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329520722","file1":"1329520719","file0":"1329520716","file4":"1329520731","file5":"1329520736","file3":"1329520727"},"map_files_photo_id_array":[{"photo_id":"1329520736","filename":"file5"},{"photo_id":"1329520722","filename":"file2"},{"photo_id":"1329520731","filename":"file4"},{"photo_id":"1329520719","filename":"file1"},{"photo_id":"1329520716","filename":"file0"},{"photo_id":"1329520727","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329520716":["hashtag1","hashtag2"]},{"1329520727":["hashtag1","hashtag2"]},{"1329520736":["hashtag1","hashtag2"]},{"1329520722":["hashtag1","hashtag2"]},{"1329520731":["hashtag1","hashtag2"]},{"1329520719":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329520716, 1329520727, 1329520736, 1329520722, 1329520731, 1329520719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.59446668624878 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:35:02.628033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/34/image_17012025_17_34_53_6421.jpg', '/media/data/images/17012025/17/34/image_17012025_17_34_46_6429.jpg', '/media/data/images/17012025/17/34/image_17012025_17_34_40_5216.jpg', '/media/data/images/17012025/17/34/image_17012025_17_34_35_6408.jpg', '/media/data/images/17012025/17/34/image_17012025_17_34_28_6417.jpg', '/media/data/images/17012025/17/34/image_17012025_17_34_22_5187.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/34/image_17012025_17_34_53_6421.jpg
/media/data/images/17012025/17/34/image_17012025_17_34_46_6429.jpg
/media/data/images/17012025/17/34/image_17012025_17_34_40_5216.jpg
/media/data/images/17012025/17/34/image_17012025_17_34_35_6408.jpg
/media/data/images/17012025/17/34/image_17012025_17_34_28_6417.jpg
/media/data/images/17012025/17/34/image_17012025_17_34_22_5187.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329521120","1329521414","1329521257","1329520813","1329520953","1329521502"],"photo_ids_order":["1329520813","1329520953","1329521120","1329521257","1329521414","1329521502"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/846bc83f357f80c47f425e235854e8d0.jpg","text":"TemporaryFile(/tmp/multipartBody7424345691247507951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131767555,"filename":"image_17012025_17_34_40_5216.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8146f0144344609b5a4881e96fbd5ed2.jpg","text":"TemporaryFile(/tmp/multipartBody8168622195186321440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131767555,"filename":"image_17012025_17_34_28_6417.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1b6ce6aeecf5a8ef06ea7454ebee7ba6.jpg","text":"TemporaryFile(/tmp/multipartBody8176372657229041731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131767555,"filename":"image_17012025_17_34_35_6408.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ff202f353ab2f7d8299b1a0f42c5f0a8.jpg","text":"TemporaryFile(/tmp/multipartBody4526155415457447868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131767555,"filename":"image_17012025_17_34_53_6421.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/761207195a8cb98c5e0c5b96f5f2f612.jpg","text":"TemporaryFile(/tmp/multipartBody7455552553959432770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131767555,"filename":"image_17012025_17_34_46_6429.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fd12722a6337b2761ea20ead376eda06.jpg","text":"TemporaryFile(/tmp/multipartBody8204586532626050800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131767555,"filename":"image_17012025_17_34_22_5187.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329521120","file1":"1329520953","file0":"1329520813","file4":"1329521414","file5":"1329521502","file3":"1329521257"},"map_files_photo_id_array":[{"photo_id":"1329521502","filename":"file5"},{"photo_id":"1329521120","filename":"file2"},{"photo_id":"1329521414","filename":"file4"},{"photo_id":"1329520953","filename":"file1"},{"photo_id":"1329520813","filename":"file0"},{"photo_id":"1329521257","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329521120":["hashtag1","hashtag2"]},{"1329521414":["hashtag1","hashtag2"]},{"1329521257":["hashtag1","hashtag2"]},{"1329520813":["hashtag1","hashtag2"]},{"1329520953":["hashtag1","hashtag2"]},{"1329521502":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329521120, 1329521414, 1329521257, 1329520813, 1329520953, 1329521502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.54719305038452 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:35:42.188664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/35/image_17012025_17_35_52_6556.jpg', '/media/data/images/17012025/17/35/image_17012025_17_35_46_5309.jpg', '/media/data/images/17012025/17/35/image_17012025_17_35_40_6454.jpg', '/media/data/images/17012025/17/35/image_17012025_17_35_34_5204.jpg', '/media/data/images/17012025/17/35/image_17012025_17_35_29_6402.jpg', '/media/data/images/17012025/17/35/image_17012025_17_35_22_6423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/35/image_17012025_17_35_52_6556.jpg
/media/data/images/17012025/17/35/image_17012025_17_35_46_5309.jpg
/media/data/images/17012025/17/35/image_17012025_17_35_40_6454.jpg
/media/data/images/17012025/17/35/image_17012025_17_35_34_5204.jpg
/media/data/images/17012025/17/35/image_17012025_17_35_29_6402.jpg
/media/data/images/17012025/17/35/image_17012025_17_35_22_6423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329521549","1329521534","1329521528","1329521525","1329521539","1329521544"],"photo_ids_order":["1329521525","1329521528","1329521534","1329521539","1329521544","1329521549"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3b22f6b3e79e65adc15458e177025736.jpg","text":"TemporaryFile(/tmp/multipartBody6736046999144598221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131812942,"filename":"image_17012025_17_35_22_6423.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/15cd03ffdfa4f2838e2adc37bb62fdb9.jpg","text":"TemporaryFile(/tmp/multipartBody2798366164462645564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131812942,"filename":"image_17012025_17_35_40_6454.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/20f96478daa5a9dfa2288c51eaef4e07.jpg","text":"TemporaryFile(/tmp/multipartBody8244252632810166454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131812942,"filename":"image_17012025_17_35_46_5309.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2ba7e201be0c8c6d437566f57d4be8b8.jpg","text":"TemporaryFile(/tmp/multipartBody8810771169712925499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131812942,"filename":"image_17012025_17_35_52_6556.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cbdd2d8738df689b326a2c7307776e90.jpg","text":"TemporaryFile(/tmp/multipartBody5696395066675174164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131812942,"filename":"image_17012025_17_35_34_5204.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/17b4bdc43761e83ab3a3b940d0dab278.jpg","text":"TemporaryFile(/tmp/multipartBody130926907741796994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131812942,"filename":"image_17012025_17_35_29_6402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329521534","file1":"1329521528","file0":"1329521525","file4":"1329521544","file5":"1329521549","file3":"1329521539"},"map_files_photo_id_array":[{"photo_id":"1329521549","filename":"file5"},{"photo_id":"1329521534","filename":"file2"},{"photo_id":"1329521544","filename":"file4"},{"photo_id":"1329521528","filename":"file1"},{"photo_id":"1329521525","filename":"file0"},{"photo_id":"1329521539","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329521549":["hashtag1","hashtag2"]},{"1329521534":["hashtag1","hashtag2"]},{"1329521528":["hashtag1","hashtag2"]},{"1329521525":["hashtag1","hashtag2"]},{"1329521539":["hashtag1","hashtag2"]},{"1329521544":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329521549, 1329521534, 1329521528, 1329521525, 1329521539, 1329521544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.70492482185364 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:36:42.282866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/36/image_17012025_17_36_53_6537.jpg', '/media/data/images/17012025/17/36/image_17012025_17_36_46_6521.jpg', '/media/data/images/17012025/17/36/image_17012025_17_36_40_5298.jpg', '/media/data/images/17012025/17/36/image_17012025_17_36_34_6545.jpg', '/media/data/images/17012025/17/36/image_17012025_17_36_28_5300.jpg', '/media/data/images/17012025/17/36/image_17012025_17_36_23_6584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/36/image_17012025_17_36_53_6537.jpg
/media/data/images/17012025/17/36/image_17012025_17_36_46_6521.jpg
/media/data/images/17012025/17/36/image_17012025_17_36_40_5298.jpg
/media/data/images/17012025/17/36/image_17012025_17_36_34_6545.jpg
/media/data/images/17012025/17/36/image_17012025_17_36_28_5300.jpg
/media/data/images/17012025/17/36/image_17012025_17_36_23_6584.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329521645","1329521600","1329521872","1329521595","1329521693","1329521960"],"photo_ids_order":["1329521595","1329521600","1329521645","1329521693","1329521872","1329521960"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6134b046a5e2ff825771b92b402abd9f.jpg","text":"TemporaryFile(/tmp/multipartBody6267940276637923934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131874356,"filename":"image_17012025_17_36_40_5298.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7d9c8a4451da798fa688781c65e595b7.jpg","text":"TemporaryFile(/tmp/multipartBody6982828936240751331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131874356,"filename":"image_17012025_17_36_46_6521.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6e6e7c3b529fc015814fc0061ceb041c.jpg","text":"TemporaryFile(/tmp/multipartBody1588250362823231749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131874356,"filename":"image_17012025_17_36_28_5300.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f4a8ed87f5ff94e4575f24cfb354a558.jpg","text":"TemporaryFile(/tmp/multipartBody1970851206494986553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131874356,"filename":"image_17012025_17_36_53_6537.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/87c74aebb2db6623bde91ecb575d3aee.jpg","text":"TemporaryFile(/tmp/multipartBody8354489490781141080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131874356,"filename":"image_17012025_17_36_34_6545.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/31fe9c3301545a208f1e93e726fbabb3.jpg","text":"TemporaryFile(/tmp/multipartBody1467134623338582646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131874356,"filename":"image_17012025_17_36_23_6584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329521645","file1":"1329521600","file0":"1329521595","file4":"1329521872","file5":"1329521960","file3":"1329521693"},"map_files_photo_id_array":[{"photo_id":"1329521960","filename":"file5"},{"photo_id":"1329521645","filename":"file2"},{"photo_id":"1329521872","filename":"file4"},{"photo_id":"1329521600","filename":"file1"},{"photo_id":"1329521595","filename":"file0"},{"photo_id":"1329521693","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329521645":["hashtag1","hashtag2"]},{"1329521600":["hashtag1","hashtag2"]},{"1329521872":["hashtag1","hashtag2"]},{"1329521595":["hashtag1","hashtag2"]},{"1329521693":["hashtag1","hashtag2"]},{"1329521960":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329521645, 1329521600, 1329521872, 1329521595, 1329521693, 1329521960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.16662240028381 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:37:42.346447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/37/image_17012025_17_37_52_5298.jpg', '/media/data/images/17012025/17/37/image_17012025_17_37_47_6554.jpg', '/media/data/images/17012025/17/37/image_17012025_17_37_40_5334.jpg', '/media/data/images/17012025/17/37/image_17012025_17_37_35_6578.jpg', '/media/data/images/17012025/17/37/image_17012025_17_37_28_5270.jpg', '/media/data/images/17012025/17/37/image_17012025_17_37_23_6519.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/37/image_17012025_17_37_52_5298.jpg
/media/data/images/17012025/17/37/image_17012025_17_37_47_6554.jpg
/media/data/images/17012025/17/37/image_17012025_17_37_40_5334.jpg
/media/data/images/17012025/17/37/image_17012025_17_37_35_6578.jpg
/media/data/images/17012025/17/37/image_17012025_17_37_28_5270.jpg
/media/data/images/17012025/17/37/image_17012025_17_37_23_6519.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: 7.127432823181152 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:38:02.715146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/37/image_17012025_17_37_52_5298.jpg', '/media/data/images/17012025/17/37/image_17012025_17_37_47_6554.jpg', '/media/data/images/17012025/17/37/image_17012025_17_37_40_5334.jpg', '/media/data/images/17012025/17/37/image_17012025_17_37_35_6578.jpg', '/media/data/images/17012025/17/37/image_17012025_17_37_28_5270.jpg', '/media/data/images/17012025/17/37/image_17012025_17_37_23_6519.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/37/image_17012025_17_37_52_5298.jpg
/media/data/images/17012025/17/37/image_17012025_17_37_47_6554.jpg
/media/data/images/17012025/17/37/image_17012025_17_37_40_5334.jpg
/media/data/images/17012025/17/37/image_17012025_17_37_35_6578.jpg
/media/data/images/17012025/17/37/image_17012025_17_37_28_5270.jpg
/media/data/images/17012025/17/37/image_17012025_17_37_23_6519.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":["1329522832","1329522826","1329522738","1329522785","1329522734","1329522821"],"photo_ids_order":["1329522734","1329522738","1329522785","1329522821","1329522826","1329522832"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fa1624f22652ef6ee0cece8ad5bb20a3.jpg","text":"TemporaryFile(/tmp/multipartBody5923117730578405669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131967453,"filename":"image_17012025_17_37_23_6519.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f3d0f1ee05d426dff7e7bf2d9c9c07c4.jpg","text":"TemporaryFile(/tmp/multipartBody2082283437648386720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131967453,"filename":"image_17012025_17_37_28_5270.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1524a781cf24825a46d8e4e8a5798a24.jpg","text":"TemporaryFile(/tmp/multipartBody5461950728999083365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131967453,"filename":"image_17012025_17_37_47_6554.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7a188b6e27855e901cef975cf3b83726.jpg","text":"TemporaryFile(/tmp/multipartBody1688857072114060016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131967453,"filename":"image_17012025_17_37_40_5334.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/67912056343d300d223659bb6031c368.jpg","text":"TemporaryFile(/tmp/multipartBody8192209447903843736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131967453,"filename":"image_17012025_17_37_52_5298.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/555aa6a64de15f7cfe4824619bfddc6a.jpg","text":"TemporaryFile(/tmp/multipartBody6528480814845986951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737131967453,"filename":"image_17012025_17_37_35_6578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329522785","file1":"1329522738","file0":"1329522734","file4":"1329522826","file5":"1329522832","file3":"1329522821"},"map_files_photo_id_array":[{"photo_id":"1329522832","filename":"file5"},{"photo_id":"1329522785","filename":"file2"},{"photo_id":"1329522826","filename":"file4"},{"photo_id":"1329522738","filename":"file1"},{"photo_id":"1329522734","filename":"file0"},{"photo_id":"1329522821","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329522832":["hashtag1","hashtag2"]},{"1329522826":["hashtag1","hashtag2"]},{"1329522738":["hashtag1","hashtag2"]},{"1329522785":["hashtag1","hashtag2"]},{"1329522734":["hashtag1","hashtag2"]},{"1329522821":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329522832, 1329522826, 1329522738, 1329522785, 1329522734, 1329522821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.989243507385254 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:39:22.543729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/39/image_17012025_17_39_52_5186.jpg', '/media/data/images/17012025/17/39/image_17012025_17_39_47_6372.jpg', '/media/data/images/17012025/17/39/image_17012025_17_39_40_6410.jpg', '/media/data/images/17012025/17/39/image_17012025_17_39_34_5195.jpg', '/media/data/images/17012025/17/39/image_17012025_17_39_29_6557.jpg', '/media/data/images/17012025/17/39/image_17012025_17_39_17_6560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/39/image_17012025_17_39_52_5186.jpg
/media/data/images/17012025/17/39/image_17012025_17_39_47_6372.jpg
/media/data/images/17012025/17/39/image_17012025_17_39_40_6410.jpg
/media/data/images/17012025/17/39/image_17012025_17_39_34_5195.jpg
/media/data/images/17012025/17/39/image_17012025_17_39_29_6557.jpg
/media/data/images/17012025/17/39/image_17012025_17_39_17_6560.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329523249","1329523240","1329523245","1329523254","1329523230","1329523256"],"photo_ids_order":["1329523230","1329523240","1329523245","1329523249","1329523254","1329523256"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6778e9696a64df06b62643c5246df96d.jpg","text":"TemporaryFile(/tmp/multipartBody5614528064139280684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132040284,"filename":"image_17012025_17_39_34_5195.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f5bb7b07b787cae86edb91e9796e9ffa.jpg","text":"TemporaryFile(/tmp/multipartBody1772235215094939706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132040284,"filename":"image_17012025_17_39_47_6372.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ed80ec8f1fc1353d5f0c25587a82e235.jpg","text":"TemporaryFile(/tmp/multipartBody2656758538468792296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132040284,"filename":"image_17012025_17_39_40_6410.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/de50a819029600c3063c9eba6f7e5c4f.jpg","text":"TemporaryFile(/tmp/multipartBody8478234857563756728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132040284,"filename":"image_17012025_17_39_29_6557.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9776476ed3651ff0cca1ecd78f1f3e3e.jpg","text":"TemporaryFile(/tmp/multipartBody8748296639635176027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132040284,"filename":"image_17012025_17_39_52_5186.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ab244105e109541cd76e8edadfdca8c4.jpg","text":"TemporaryFile(/tmp/multipartBody8125966001039877459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132040284,"filename":"image_17012025_17_39_17_6560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329523245","file1":"1329523240","file0":"1329523230","file4":"1329523254","file5":"1329523256","file3":"1329523249"},"map_files_photo_id_array":[{"photo_id":"1329523256","filename":"file5"},{"photo_id":"1329523245","filename":"file2"},{"photo_id":"1329523254","filename":"file4"},{"photo_id":"1329523240","filename":"file1"},{"photo_id":"1329523230","filename":"file0"},{"photo_id":"1329523249","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329523249":["hashtag1","hashtag2"]},{"1329523240":["hashtag1","hashtag2"]},{"1329523245":["hashtag1","hashtag2"]},{"1329523254":["hashtag1","hashtag2"]},{"1329523230":["hashtag1","hashtag2"]},{"1329523256":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329523249, 1329523240, 1329523245, 1329523254, 1329523230, 1329523256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.29834198951721 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:40:22.611576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/40/image_17012025_17_40_52_6420.jpg', '/media/data/images/17012025/17/40/image_17012025_17_40_46_5163.jpg', '/media/data/images/17012025/17/40/image_17012025_17_40_41_6414.jpg', '/media/data/images/17012025/17/40/image_17012025_17_40_34_6450.jpg', '/media/data/images/17012025/17/40/image_17012025_17_40_28_5220.jpg', '/media/data/images/17012025/17/40/image_17012025_17_40_22_6402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/40/image_17012025_17_40_52_6420.jpg
/media/data/images/17012025/17/40/image_17012025_17_40_46_5163.jpg
/media/data/images/17012025/17/40/image_17012025_17_40_41_6414.jpg
/media/data/images/17012025/17/40/image_17012025_17_40_34_6450.jpg
/media/data/images/17012025/17/40/image_17012025_17_40_28_5220.jpg
/media/data/images/17012025/17/40/image_17012025_17_40_22_6402.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329523315","1329523281","1329523275","1329523317","1329523292","1329523310"],"photo_ids_order":["1329523275","1329523281","1329523292","1329523310","1329523315","1329523317"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cb264f9ae78781b7b62ec625182c5032.jpg","text":"TemporaryFile(/tmp/multipartBody1595405220944614441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132090705,"filename":"image_17012025_17_40_28_5220.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0b549dfad910ca223640590e75c8f67d.jpg","text":"TemporaryFile(/tmp/multipartBody2871727560072207612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132090705,"filename":"image_17012025_17_40_46_5163.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/faf6c43b9d6e0ddaf77df87b80c26f3c.jpg","text":"TemporaryFile(/tmp/multipartBody2193049835429359296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132090705,"filename":"image_17012025_17_40_52_6420.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0c8dc20188b1cfd0a2ffa4b6671421d2.jpg","text":"TemporaryFile(/tmp/multipartBody8247039463041903996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132090705,"filename":"image_17012025_17_40_22_6402.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/07a987b4a4d627661d126142f612a215.jpg","text":"TemporaryFile(/tmp/multipartBody7652563952185528120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132090705,"filename":"image_17012025_17_40_41_6414.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d94988e2535ac5c06b8ef0381cd7efdc.jpg","text":"TemporaryFile(/tmp/multipartBody972537054364707667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132090705,"filename":"image_17012025_17_40_34_6450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329523292","file1":"1329523281","file0":"1329523275","file4":"1329523315","file5":"1329523317","file3":"1329523310"},"map_files_photo_id_array":[{"photo_id":"1329523317","filename":"file5"},{"photo_id":"1329523292","filename":"file2"},{"photo_id":"1329523315","filename":"file4"},{"photo_id":"1329523281","filename":"file1"},{"photo_id":"1329523275","filename":"file0"},{"photo_id":"1329523310","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329523315":["hashtag1","hashtag2"]},{"1329523281":["hashtag1","hashtag2"]},{"1329523275":["hashtag1","hashtag2"]},{"1329523317":["hashtag1","hashtag2"]},{"1329523292":["hashtag1","hashtag2"]},{"1329523310":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329523315, 1329523281, 1329523275, 1329523317, 1329523292, 1329523310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.081812620162964 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:41:22.731950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/41/image_17012025_17_41_52_6388.jpg', '/media/data/images/17012025/17/41/image_17012025_17_41_46_5179.jpg', '/media/data/images/17012025/17/41/image_17012025_17_41_41_6381.jpg', '/media/data/images/17012025/17/41/image_17012025_17_41_34_6413.jpg', '/media/data/images/17012025/17/41/image_17012025_17_41_28_5174.jpg', '/media/data/images/17012025/17/41/image_17012025_17_41_23_6404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/41/image_17012025_17_41_52_6388.jpg
/media/data/images/17012025/17/41/image_17012025_17_41_46_5179.jpg
/media/data/images/17012025/17/41/image_17012025_17_41_41_6381.jpg
/media/data/images/17012025/17/41/image_17012025_17_41_34_6413.jpg
/media/data/images/17012025/17/41/image_17012025_17_41_28_5174.jpg
/media/data/images/17012025/17/41/image_17012025_17_41_23_6404.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329523369","1329523359","1329523373","1329523355","1329523364","1329523352"],"photo_ids_order":["1329523352","1329523355","1329523359","1329523364","1329523369","1329523373"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/50903a4c04fcc8d5af44908da82a9b84.jpg","text":"TemporaryFile(/tmp/multipartBody9212688051942863816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132149381,"filename":"image_17012025_17_41_28_5174.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f2e27ea9d7caf1d4bae8d486c42eb9cf.jpg","text":"TemporaryFile(/tmp/multipartBody1097220440175351356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132149381,"filename":"image_17012025_17_41_41_6381.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2e52bb72cca5daad21f740f073dfb476.jpg","text":"TemporaryFile(/tmp/multipartBody9022264838217217564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132149381,"filename":"image_17012025_17_41_23_6404.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2b9aa9196aeae69f6e9966f667715486.jpg","text":"TemporaryFile(/tmp/multipartBody6361594209232185937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132149381,"filename":"image_17012025_17_41_46_5179.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3851a21e8437cbd6875ceb88a27c0e35.jpg","text":"TemporaryFile(/tmp/multipartBody117131040009525733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132149381,"filename":"image_17012025_17_41_34_6413.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0b87f8d2a52650442d71fd01f18d8fb3.jpg","text":"TemporaryFile(/tmp/multipartBody5261870678883230097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132149381,"filename":"image_17012025_17_41_52_6388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329523359","file1":"1329523355","file0":"1329523352","file4":"1329523369","file5":"1329523373","file3":"1329523364"},"map_files_photo_id_array":[{"photo_id":"1329523373","filename":"file5"},{"photo_id":"1329523359","filename":"file2"},{"photo_id":"1329523369","filename":"file4"},{"photo_id":"1329523355","filename":"file1"},{"photo_id":"1329523352","filename":"file0"},{"photo_id":"1329523364","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329523369":["hashtag1","hashtag2"]},{"1329523359":["hashtag1","hashtag2"]},{"1329523373":["hashtag1","hashtag2"]},{"1329523355":["hashtag1","hashtag2"]},{"1329523364":["hashtag1","hashtag2"]},{"1329523352":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329523369, 1329523359, 1329523373, 1329523355, 1329523364, 1329523352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.688631772994995 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:42:21.870752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/42/image_17012025_17_42_53_6417.jpg', '/media/data/images/17012025/17/42/image_17012025_17_42_46_6425.jpg', '/media/data/images/17012025/17/42/image_17012025_17_42_40_5221.jpg', '/media/data/images/17012025/17/42/image_17012025_17_42_35_6474.jpg', '/media/data/images/17012025/17/42/image_17012025_17_42_28_6449.jpg', '/media/data/images/17012025/17/42/image_17012025_17_42_22_5176.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/42/image_17012025_17_42_53_6417.jpg
/media/data/images/17012025/17/42/image_17012025_17_42_46_6425.jpg
/media/data/images/17012025/17/42/image_17012025_17_42_40_5221.jpg
/media/data/images/17012025/17/42/image_17012025_17_42_35_6474.jpg
/media/data/images/17012025/17/42/image_17012025_17_42_28_6449.jpg
/media/data/images/17012025/17/42/image_17012025_17_42_22_5176.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329523417","1329523389","1329523392","1329523407","1329523396","1329523399"],"photo_ids_order":["1329523389","1329523392","1329523396","1329523399","1329523407","1329523417"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a74341512c8bcc3073ed4043bf231788.jpg","text":"TemporaryFile(/tmp/multipartBody896469991010953240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132208421,"filename":"image_17012025_17_42_22_5176.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/61c7aabb19b4606449727f788509cd89.jpg","text":"TemporaryFile(/tmp/multipartBody1401151742873960953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132208421,"filename":"image_17012025_17_42_53_6417.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bbe2205fd67a926115a37e8c52ab8b2f.jpg","text":"TemporaryFile(/tmp/multipartBody3437956332920508801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132208421,"filename":"image_17012025_17_42_46_6425.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fdf94be7047ef38d4fc35d7a8ef99199.jpg","text":"TemporaryFile(/tmp/multipartBody4403974376732565137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132208421,"filename":"image_17012025_17_42_28_6449.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/70585e84a4920755af747cdefbc4ee44.jpg","text":"TemporaryFile(/tmp/multipartBody6941801784258400855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132208421,"filename":"image_17012025_17_42_40_5221.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/506c2576722b446113ffb5dcfb936454.jpg","text":"TemporaryFile(/tmp/multipartBody3360775802815093294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132208421,"filename":"image_17012025_17_42_35_6474.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329523396","file1":"1329523392","file0":"1329523389","file4":"1329523407","file5":"1329523417","file3":"1329523399"},"map_files_photo_id_array":[{"photo_id":"1329523417","filename":"file5"},{"photo_id":"1329523396","filename":"file2"},{"photo_id":"1329523407","filename":"file4"},{"photo_id":"1329523392","filename":"file1"},{"photo_id":"1329523389","filename":"file0"},{"photo_id":"1329523399","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329523417":["hashtag1","hashtag2"]},{"1329523389":["hashtag1","hashtag2"]},{"1329523392":["hashtag1","hashtag2"]},{"1329523407":["hashtag1","hashtag2"]},{"1329523396":["hashtag1","hashtag2"]},{"1329523399":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329523417, 1329523389, 1329523392, 1329523407, 1329523396, 1329523399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.43524098396301 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:43:21.950754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/43/image_17012025_17_43_52_6429.jpg', '/media/data/images/17012025/17/43/image_17012025_17_43_46_5207.jpg', '/media/data/images/17012025/17/43/image_17012025_17_43_40_6544.jpg', '/media/data/images/17012025/17/43/image_17012025_17_43_34_5172.jpg', '/media/data/images/17012025/17/43/image_17012025_17_43_29_6395.jpg', '/media/data/images/17012025/17/43/image_17012025_17_43_22_6424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/43/image_17012025_17_43_52_6429.jpg
/media/data/images/17012025/17/43/image_17012025_17_43_46_5207.jpg
/media/data/images/17012025/17/43/image_17012025_17_43_40_6544.jpg
/media/data/images/17012025/17/43/image_17012025_17_43_34_5172.jpg
/media/data/images/17012025/17/43/image_17012025_17_43_29_6395.jpg
/media/data/images/17012025/17/43/image_17012025_17_43_22_6424.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329523453","1329523458","1329523443","1329523440","1329523437","1329523448"],"photo_ids_order":["1329523437","1329523440","1329523443","1329523448","1329523453","1329523458"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/98a7fa6227a316f3e363a75467140a26.jpg","text":"TemporaryFile(/tmp/multipartBody1659278124845958536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132266591,"filename":"image_17012025_17_43_29_6395.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cf232834a4652cbc69d73d501e73032b.jpg","text":"TemporaryFile(/tmp/multipartBody4845745016181895661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132266591,"filename":"image_17012025_17_43_22_6424.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/03155b93cf49fd300a352c8832070a76.jpg","text":"TemporaryFile(/tmp/multipartBody8839373803279760173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132266591,"filename":"image_17012025_17_43_40_6544.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1a19d4d251e8848001f88381e1e233ce.jpg","text":"TemporaryFile(/tmp/multipartBody7847936418183520429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132266591,"filename":"image_17012025_17_43_46_5207.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ab5ff0811a5fb37610ac392975c3528f.jpg","text":"TemporaryFile(/tmp/multipartBody2759854312050865501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132266591,"filename":"image_17012025_17_43_52_6429.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d87469ae837d576e523a629e4aedc86b.jpg","text":"TemporaryFile(/tmp/multipartBody7805769402607859183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132266591,"filename":"image_17012025_17_43_34_5172.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329523443","file1":"1329523440","file0":"1329523437","file4":"1329523453","file5":"1329523458","file3":"1329523448"},"map_files_photo_id_array":[{"photo_id":"1329523458","filename":"file5"},{"photo_id":"1329523443","filename":"file2"},{"photo_id":"1329523453","filename":"file4"},{"photo_id":"1329523440","filename":"file1"},{"photo_id":"1329523437","filename":"file0"},{"photo_id":"1329523448","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329523453":["hashtag1","hashtag2"]},{"1329523458":["hashtag1","hashtag2"]},{"1329523443":["hashtag1","hashtag2"]},{"1329523440":["hashtag1","hashtag2"]},{"1329523437":["hashtag1","hashtag2"]},{"1329523448":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329523453, 1329523458, 1329523443, 1329523440, 1329523437, 1329523448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.34993362426758 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 17:44:02.565074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/43/image_17012025_17_43_16_5203.jpg', '/media/data/images/17012025/17/43/image_17012025_17_43_11_6412.jpg', '/media/data/images/17012025/17/42/image_17012025_17_43_04_6444.jpg', '/media/data/images/17012025/17/42/image_17012025_17_42_58_5209.jpg', '/media/data/images/17012025/17/42/image_17012025_17_42_16_6410.jpg', '/media/data/images/17012025/17/42/image_17012025_17_42_10_6431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/43/image_17012025_17_43_16_5203.jpg
/media/data/images/17012025/17/43/image_17012025_17_43_11_6412.jpg
/media/data/images/17012025/17/42/image_17012025_17_43_04_6444.jpg
/media/data/images/17012025/17/42/image_17012025_17_42_58_5209.jpg
/media/data/images/17012025/17/42/image_17012025_17_42_16_6410.jpg
/media/data/images/17012025/17/42/image_17012025_17_42_10_6431.jpg
2025-01-17 17:44:02.658941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/43/image_17012025_17_43_16_5203.jpg', '/media/data/images/17012025/17/43/image_17012025_17_43_11_6412.jpg', '/media/data/images/17012025/17/42/image_17012025_17_43_04_6444.jpg', '/media/data/images/17012025/17/42/image_17012025_17_42_58_5209.jpg', '/media/data/images/17012025/17/42/image_17012025_17_42_16_6410.jpg', '/media/data/images/17012025/17/42/image_17012025_17_42_10_6431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/43/image_17012025_17_43_16_5203.jpg
/media/data/images/17012025/17/43/image_17012025_17_43_11_6412.jpg
/media/data/images/17012025/17/42/image_17012025_17_43_04_6444.jpg
/media/data/images/17012025/17/42/image_17012025_17_42_58_5209.jpg
/media/data/images/17012025/17/42/image_17012025_17_42_16_6410.jpg
/media/data/images/17012025/17/42/image_17012025_17_42_10_6431.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329523510","1329523507","1329523493","1329523517","1329523502","1329523514"],"photo_ids_order":["1329523493","1329523502","1329523507","1329523510","1329523514","1329523517"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/74c864c720cba78df77fede812e0b359.jpg","text":"TemporaryFile(/tmp/multipartBody5746867145933355046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132319336,"filename":"image_17012025_17_42_58_5209.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a285a500798300b41a1e305d3aa69543.jpg","text":"TemporaryFile(/tmp/multipartBody9102887892496769746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132319336,"filename":"image_17012025_17_43_04_6444.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b79aaf7eb29104eff5a8a44c268f71ee.jpg","text":"TemporaryFile(/tmp/multipartBody6120732354575208794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132319336,"filename":"image_17012025_17_43_16_5203.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/48949516f53c40c803ebb89581b5803c.jpg","text":"TemporaryFile(/tmp/multipartBody1155813830145336114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132319336,"filename":"image_17012025_17_42_10_6431.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d989a67b6b04542e889de4697e587646.jpg","text":"TemporaryFile(/tmp/multipartBody8534542277702227571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132319336,"filename":"image_17012025_17_43_11_6412.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/07d1ecff5091171b56aaae5235d092cb.jpg","text":"TemporaryFile(/tmp/multipartBody25236541779447789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132319336,"filename":"image_17012025_17_42_16_6410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329523507","file1":"1329523502","file0":"1329523493","file4":"1329523514","file5":"1329523517","file3":"1329523510"},"map_files_photo_id_array":[{"photo_id":"1329523517","filename":"file5"},{"photo_id":"1329523507","filename":"file2"},{"photo_id":"1329523514","filename":"file4"},{"photo_id":"1329523502","filename":"file1"},{"photo_id":"1329523493","filename":"file0"},{"photo_id":"1329523510","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329523510":["hashtag1","hashtag2"]},{"1329523507":["hashtag1","hashtag2"]},{"1329523493":["hashtag1","hashtag2"]},{"1329523517":["hashtag1","hashtag2"]},{"1329523502":["hashtag1","hashtag2"]},{"1329523514":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329523510, 1329523507, 1329523493, 1329523517, 1329523502, 1329523514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.21204471588135 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329523522","1329523494","1329523512","1329523515","1329523505","1329523508"],"photo_ids_order":["1329523494","1329523505","1329523508","1329523512","1329523515","1329523522"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/363703092085a0b29562e082206d5dbe.jpg","text":"TemporaryFile(/tmp/multipartBody8355531777020041813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132321424,"filename":"image_17012025_17_42_10_6431.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6baec7e70631f302627fc0ec870cb75d.jpg","text":"TemporaryFile(/tmp/multipartBody8447670454169984405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132321424,"filename":"image_17012025_17_43_16_5203.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e09c556d478f1fd45af10ddeaf7faffb.jpg","text":"TemporaryFile(/tmp/multipartBody3876169463565831481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132321424,"filename":"image_17012025_17_42_58_5209.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b2d29d000c028c8156f5bce00b119ea1.jpg","text":"TemporaryFile(/tmp/multipartBody3794925563622130498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132321424,"filename":"image_17012025_17_42_16_6410.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b4eff361b10898f7e84461b1652d9aa5.jpg","text":"TemporaryFile(/tmp/multipartBody7161347392646566427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132321424,"filename":"image_17012025_17_43_11_6412.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3de1a52aa0ee652408e0f21eeeff94c7.jpg","text":"TemporaryFile(/tmp/multipartBody4711093321589181943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132321424,"filename":"image_17012025_17_43_04_6444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329523508","file1":"1329523505","file0":"1329523494","file4":"1329523515","file5":"1329523522","file3":"1329523512"},"map_files_photo_id_array":[{"photo_id":"1329523522","filename":"file5"},{"photo_id":"1329523508","filename":"file2"},{"photo_id":"1329523515","filename":"file4"},{"photo_id":"1329523505","filename":"file1"},{"photo_id":"1329523494","filename":"file0"},{"photo_id":"1329523512","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329523522":["hashtag1","hashtag2"]},{"1329523494":["hashtag1","hashtag2"]},{"1329523512":["hashtag1","hashtag2"]},{"1329523515":["hashtag1","hashtag2"]},{"1329523505":["hashtag1","hashtag2"]},{"1329523508":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329523522, 1329523494, 1329523512, 1329523515, 1329523505, 1329523508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.58512878417969 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:45:02.498055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/44/image_17012025_17_44_53_6390.jpg', '/media/data/images/17012025/17/44/image_17012025_17_44_46_6379.jpg', '/media/data/images/17012025/17/44/image_17012025_17_44_40_5177.jpg', '/media/data/images/17012025/17/44/image_17012025_17_44_35_6383.jpg', '/media/data/images/17012025/17/44/image_17012025_17_44_28_6398.jpg', '/media/data/images/17012025/17/44/image_17012025_17_44_22_5205.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/44/image_17012025_17_44_53_6390.jpg
/media/data/images/17012025/17/44/image_17012025_17_44_46_6379.jpg
/media/data/images/17012025/17/44/image_17012025_17_44_40_5177.jpg
/media/data/images/17012025/17/44/image_17012025_17_44_35_6383.jpg
/media/data/images/17012025/17/44/image_17012025_17_44_28_6398.jpg
/media/data/images/17012025/17/44/image_17012025_17_44_22_5205.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329523639","1329523603","1329523606","1329523581","1329523592","1329523610"],"photo_ids_order":["1329523581","1329523592","1329523603","1329523606","1329523610","1329523639"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e068021d8d49f0be013aa8b5e8ab0ef0.jpg","text":"TemporaryFile(/tmp/multipartBody7443376479391365388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132368323,"filename":"image_17012025_17_44_22_5205.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/de442d02b5c9f6271de38e0143432204.jpg","text":"TemporaryFile(/tmp/multipartBody1335596230290792168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132368323,"filename":"image_17012025_17_44_40_5177.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/49e19bfca5d1eba9f7203e35e29e478a.jpg","text":"TemporaryFile(/tmp/multipartBody5509740361271731863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132368323,"filename":"image_17012025_17_44_35_6383.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f41bb4aa0944b8b99a987878866bec87.jpg","text":"TemporaryFile(/tmp/multipartBody6122801169711989559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132368323,"filename":"image_17012025_17_44_53_6390.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fdf202a063a08e54ce06bc7aa0e1a68f.jpg","text":"TemporaryFile(/tmp/multipartBody8368659203042245113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132368323,"filename":"image_17012025_17_44_46_6379.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/22aed43b3cd0936bbe30de0e3424717b.jpg","text":"TemporaryFile(/tmp/multipartBody590515373228765660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132368323,"filename":"image_17012025_17_44_28_6398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329523603","file1":"1329523592","file0":"1329523581","file4":"1329523610","file5":"1329523639","file3":"1329523606"},"map_files_photo_id_array":[{"photo_id":"1329523639","filename":"file5"},{"photo_id":"1329523603","filename":"file2"},{"photo_id":"1329523610","filename":"file4"},{"photo_id":"1329523592","filename":"file1"},{"photo_id":"1329523581","filename":"file0"},{"photo_id":"1329523606","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329523639":["hashtag1","hashtag2"]},{"1329523603":["hashtag1","hashtag2"]},{"1329523606":["hashtag1","hashtag2"]},{"1329523581":["hashtag1","hashtag2"]},{"1329523592":["hashtag1","hashtag2"]},{"1329523610":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329523639, 1329523603, 1329523606, 1329523581, 1329523592, 1329523610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.191002368927 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:46:02.516888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/45/image_17012025_17_45_52_5209.jpg', '/media/data/images/17012025/17/45/image_17012025_17_45_47_6414.jpg', '/media/data/images/17012025/17/45/image_17012025_17_45_40_6424.jpg', '/media/data/images/17012025/17/45/image_17012025_17_45_34_5191.jpg', '/media/data/images/17012025/17/45/image_17012025_17_45_29_6431.jpg', '/media/data/images/17012025/17/45/image_17012025_17_45_22_6472.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/45/image_17012025_17_45_52_5209.jpg
/media/data/images/17012025/17/45/image_17012025_17_45_47_6414.jpg
/media/data/images/17012025/17/45/image_17012025_17_45_40_6424.jpg
/media/data/images/17012025/17/45/image_17012025_17_45_34_5191.jpg
/media/data/images/17012025/17/45/image_17012025_17_45_29_6431.jpg
/media/data/images/17012025/17/45/image_17012025_17_45_22_6472.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329523677","1329523691","1329523694","1329523687","1329523696","1329523669"],"photo_ids_order":["1329523669","1329523677","1329523687","1329523691","1329523694","1329523696"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a9a939ca4de8816beabeb225e27e861b.jpg","text":"TemporaryFile(/tmp/multipartBody7380763738379002513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132431631,"filename":"image_17012025_17_45_47_6414.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/36f72dce61dc0498cef5bf77ac3cb455.jpg","text":"TemporaryFile(/tmp/multipartBody1183956444284844781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132431631,"filename":"image_17012025_17_45_34_5191.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1875b466d5f49149215dfbd5cba5e0fe.jpg","text":"TemporaryFile(/tmp/multipartBody4438910321559705745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132431631,"filename":"image_17012025_17_45_29_6431.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5c16a3bae9611ae222f9a0e077b905c0.jpg","text":"TemporaryFile(/tmp/multipartBody6272221468330426775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132431631,"filename":"image_17012025_17_45_40_6424.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9dbee63c8f8a8d9a84b2045c963e97f2.jpg","text":"TemporaryFile(/tmp/multipartBody4497225128131238369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132431631,"filename":"image_17012025_17_45_22_6472.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d794a417aba94cbbe6e0845bb06bf805.jpg","text":"TemporaryFile(/tmp/multipartBody2342966150279601776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132431631,"filename":"image_17012025_17_45_52_5209.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329523687","file1":"1329523677","file0":"1329523669","file4":"1329523694","file5":"1329523696","file3":"1329523691"},"map_files_photo_id_array":[{"photo_id":"1329523696","filename":"file5"},{"photo_id":"1329523687","filename":"file2"},{"photo_id":"1329523694","filename":"file4"},{"photo_id":"1329523677","filename":"file1"},{"photo_id":"1329523669","filename":"file0"},{"photo_id":"1329523691","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329523677":["hashtag1","hashtag2"]},{"1329523691":["hashtag1","hashtag2"]},{"1329523694":["hashtag1","hashtag2"]},{"1329523687":["hashtag1","hashtag2"]},{"1329523696":["hashtag1","hashtag2"]},{"1329523669":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329523677, 1329523691, 1329523694, 1329523687, 1329523696, 1329523669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.923903703689575 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:47:02.792859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/46/image_17012025_17_46_52_6426.jpg', '/media/data/images/17012025/17/46/image_17012025_17_46_46_5207.jpg', '/media/data/images/17012025/17/46/image_17012025_17_46_41_6419.jpg', '/media/data/images/17012025/17/46/image_17012025_17_46_34_6407.jpg', '/media/data/images/17012025/17/46/image_17012025_17_46_28_5175.jpg', '/media/data/images/17012025/17/46/image_17012025_17_46_23_6395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/46/image_17012025_17_46_52_6426.jpg
/media/data/images/17012025/17/46/image_17012025_17_46_46_5207.jpg
/media/data/images/17012025/17/46/image_17012025_17_46_41_6419.jpg
/media/data/images/17012025/17/46/image_17012025_17_46_34_6407.jpg
/media/data/images/17012025/17/46/image_17012025_17_46_28_5175.jpg
/media/data/images/17012025/17/46/image_17012025_17_46_23_6395.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329523759","1329523764","1329523772","1329523775","1329523754","1329523768"],"photo_ids_order":["1329523754","1329523759","1329523764","1329523768","1329523772","1329523775"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b4b7e66eb25ab33bd1fbf8bfded8f47e.jpg","text":"TemporaryFile(/tmp/multipartBody4979998453819355568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132489974,"filename":"image_17012025_17_46_46_5207.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/58298aa38eb9977b58917e0731afda9b.jpg","text":"TemporaryFile(/tmp/multipartBody381608066259874702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132489974,"filename":"image_17012025_17_46_41_6419.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/49af6911013b70d5399b305bb21bfffa.jpg","text":"TemporaryFile(/tmp/multipartBody8232808753095168215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132489974,"filename":"image_17012025_17_46_28_5175.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e64fd118304c8ce1cffe4ae75ddf6bea.jpg","text":"TemporaryFile(/tmp/multipartBody3968353856740028738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132489974,"filename":"image_17012025_17_46_23_6395.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7592a410c0a2455d1ee1d669ed1b7797.jpg","text":"TemporaryFile(/tmp/multipartBody4562965848948367332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132489974,"filename":"image_17012025_17_46_52_6426.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/24b5fbd7b3f43e6bbea31b96e77581dd.jpg","text":"TemporaryFile(/tmp/multipartBody7351852433023140730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132489974,"filename":"image_17012025_17_46_34_6407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329523764","file1":"1329523759","file0":"1329523754","file4":"1329523772","file5":"1329523775","file3":"1329523768"},"map_files_photo_id_array":[{"photo_id":"1329523775","filename":"file5"},{"photo_id":"1329523764","filename":"file2"},{"photo_id":"1329523772","filename":"file4"},{"photo_id":"1329523759","filename":"file1"},{"photo_id":"1329523754","filename":"file0"},{"photo_id":"1329523768","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329523759":["hashtag1","hashtag2"]},{"1329523764":["hashtag1","hashtag2"]},{"1329523772":["hashtag1","hashtag2"]},{"1329523775":["hashtag1","hashtag2"]},{"1329523754":["hashtag1","hashtag2"]},{"1329523768":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329523759, 1329523764, 1329523772, 1329523775, 1329523754, 1329523768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.11786866188049 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:48:02.603746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/47/image_17012025_17_47_52_6411.jpg', '/media/data/images/17012025/17/47/image_17012025_17_47_46_5195.jpg', '/media/data/images/17012025/17/47/image_17012025_17_47_41_6387.jpg', '/media/data/images/17012025/17/47/image_17012025_17_47_34_6369.jpg', '/media/data/images/17012025/17/47/image_17012025_17_47_28_6314.jpg', '/media/data/images/17012025/17/47/image_17012025_17_47_22_5191.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/47/image_17012025_17_47_52_6411.jpg
/media/data/images/17012025/17/47/image_17012025_17_47_46_5195.jpg
/media/data/images/17012025/17/47/image_17012025_17_47_41_6387.jpg
/media/data/images/17012025/17/47/image_17012025_17_47_34_6369.jpg
/media/data/images/17012025/17/47/image_17012025_17_47_28_6314.jpg
/media/data/images/17012025/17/47/image_17012025_17_47_22_5191.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329523858","1329523816","1329523875","1329523821","1329523832","1329523829"],"photo_ids_order":["1329523816","1329523821","1329523829","1329523832","1329523858","1329523875"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/99cbb25a0ca3fc83c514fb73287c0681.jpg","text":"TemporaryFile(/tmp/multipartBody4651802150342855975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132554399,"filename":"image_17012025_17_47_28_6314.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/aa96bbade51c20ad9e6e766931d8dcc1.jpg","text":"TemporaryFile(/tmp/multipartBody4018972492796445681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132554399,"filename":"image_17012025_17_47_52_6411.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/90972e0a9b2cb63cdd06cb7fadd35d7d.jpg","text":"TemporaryFile(/tmp/multipartBody201487594147636584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132554399,"filename":"image_17012025_17_47_22_5191.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dc1eb6b309869d1a2cfb9b8fd8f99203.jpg","text":"TemporaryFile(/tmp/multipartBody2766961530092838653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132554399,"filename":"image_17012025_17_47_46_5195.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f1765edb244adb3320294221e654fe0c.jpg","text":"TemporaryFile(/tmp/multipartBody1499985821775995406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132554399,"filename":"image_17012025_17_47_34_6369.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c527789abe7ef335a0fcf47b32ad3b63.jpg","text":"TemporaryFile(/tmp/multipartBody8225187054500119966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132554399,"filename":"image_17012025_17_47_41_6387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329523829","file1":"1329523821","file0":"1329523816","file4":"1329523858","file5":"1329523875","file3":"1329523832"},"map_files_photo_id_array":[{"photo_id":"1329523875","filename":"file5"},{"photo_id":"1329523829","filename":"file2"},{"photo_id":"1329523858","filename":"file4"},{"photo_id":"1329523821","filename":"file1"},{"photo_id":"1329523816","filename":"file0"},{"photo_id":"1329523832","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329523858":["hashtag1","hashtag2"]},{"1329523816":["hashtag1","hashtag2"]},{"1329523875":["hashtag1","hashtag2"]},{"1329523821":["hashtag1","hashtag2"]},{"1329523832":["hashtag1","hashtag2"]},{"1329523829":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329523858, 1329523816, 1329523875, 1329523821, 1329523832, 1329523829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.655353307724 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 17:49:03.274552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/48/image_17012025_17_48_52_5157.jpg', '/media/data/images/17012025/17/48/image_17012025_17_48_47_6398.jpg', '/media/data/images/17012025/17/48/image_17012025_17_48_40_6418.jpg', '/media/data/images/17012025/17/48/image_17012025_17_48_34_5205.jpg', '/media/data/images/17012025/17/48/image_17012025_17_48_29_6415.jpg', '/media/data/images/17012025/17/48/image_17012025_17_48_22_6410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/48/image_17012025_17_48_52_5157.jpg
/media/data/images/17012025/17/48/image_17012025_17_48_47_6398.jpg
/media/data/images/17012025/17/48/image_17012025_17_48_40_6418.jpg
/media/data/images/17012025/17/48/image_17012025_17_48_34_5205.jpg
/media/data/images/17012025/17/48/image_17012025_17_48_29_6415.jpg
/media/data/images/17012025/17/48/image_17012025_17_48_22_6410.jpg
2025-01-17 17:49:03.182436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/48/image_17012025_17_48_52_5157.jpg', '/media/data/images/17012025/17/48/image_17012025_17_48_47_6398.jpg', '/media/data/images/17012025/17/48/image_17012025_17_48_40_6418.jpg', '/media/data/images/17012025/17/48/image_17012025_17_48_34_5205.jpg', '/media/data/images/17012025/17/48/image_17012025_17_48_29_6415.jpg', '/media/data/images/17012025/17/48/image_17012025_17_48_22_6410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/48/image_17012025_17_48_52_5157.jpg
/media/data/images/17012025/17/48/image_17012025_17_48_47_6398.jpg
/media/data/images/17012025/17/48/image_17012025_17_48_40_6418.jpg
/media/data/images/17012025/17/48/image_17012025_17_48_34_5205.jpg
/media/data/images/17012025/17/48/image_17012025_17_48_29_6415.jpg
/media/data/images/17012025/17/48/image_17012025_17_48_22_6410.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329524193","1329524229","1329524183","1329524264","1329524188","1329524200"],"photo_ids_order":["1329524183","1329524188","1329524193","1329524200","1329524229","1329524264"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ded13c903a325473ec3921436404f5fc.jpg","text":"TemporaryFile(/tmp/multipartBody881685743767698624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132624284,"filename":"image_17012025_17_48_40_6418.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6b1a3568d0848a6f5c010e95fd86e6fe.jpg","text":"TemporaryFile(/tmp/multipartBody7941838374608444775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132624284,"filename":"image_17012025_17_48_29_6415.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/78ff07b32073d43181938b59c2e4d1b6.jpg","text":"TemporaryFile(/tmp/multipartBody5074469703900092247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132624284,"filename":"image_17012025_17_48_52_5157.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/461c89d9620f922da18b2b734bc54f34.jpg","text":"TemporaryFile(/tmp/multipartBody8225642812173306363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132624284,"filename":"image_17012025_17_48_22_6410.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/84908dcc40dcee7d70909adc6554b970.jpg","text":"TemporaryFile(/tmp/multipartBody2085600188242535885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132624284,"filename":"image_17012025_17_48_47_6398.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b3b10a48ba2a24a0f490c8adcbf97f43.jpg","text":"TemporaryFile(/tmp/multipartBody570967585977276972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132624284,"filename":"image_17012025_17_48_34_5205.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329524193","file1":"1329524188","file0":"1329524183","file4":"1329524229","file5":"1329524264","file3":"1329524200"},"map_files_photo_id_array":[{"photo_id":"1329524264","filename":"file5"},{"photo_id":"1329524193","filename":"file2"},{"photo_id":"1329524229","filename":"file4"},{"photo_id":"1329524188","filename":"file1"},{"photo_id":"1329524183","filename":"file0"},{"photo_id":"1329524200","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329524193":["hashtag1","hashtag2"]},{"1329524229":["hashtag1","hashtag2"]},{"1329524183":["hashtag1","hashtag2"]},{"1329524264":["hashtag1","hashtag2"]},{"1329524188":["hashtag1","hashtag2"]},{"1329524200":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329524193, 1329524229, 1329524183, 1329524264, 1329524188, 1329524200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.7415337562561 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329524196","1329524190","1329524238","1329524213","1329524185","1329524269"],"photo_ids_order":["1329524185","1329524190","1329524196","1329524213","1329524238","1329524269"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b430ab48d2efdbf3e9e319096c3bffda.jpg","text":"TemporaryFile(/tmp/multipartBody2460284078731384306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132624634,"filename":"image_17012025_17_48_40_6418.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5536c0da754ca7ee55b6c73b425f4127.jpg","text":"TemporaryFile(/tmp/multipartBody7063198301525822257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132624634,"filename":"image_17012025_17_48_47_6398.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/628e30436842d6995e1660afad079e16.jpg","text":"TemporaryFile(/tmp/multipartBody8479306788842752685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132624634,"filename":"image_17012025_17_48_29_6415.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/800b04c7d6305d0a1e23d70a5daa9df4.jpg","text":"TemporaryFile(/tmp/multipartBody2110867669762197143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132624634,"filename":"image_17012025_17_48_34_5205.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c3b5b99e94e7fb2ec5d7a7521f874d1c.jpg","text":"TemporaryFile(/tmp/multipartBody220208115015932170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132624634,"filename":"image_17012025_17_48_52_5157.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5c02a3e9a0e95b3f1f158f399302f870.jpg","text":"TemporaryFile(/tmp/multipartBody929180735609358559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132624634,"filename":"image_17012025_17_48_22_6410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329524196","file1":"1329524190","file0":"1329524185","file4":"1329524238","file5":"1329524269","file3":"1329524213"},"map_files_photo_id_array":[{"photo_id":"1329524269","filename":"file5"},{"photo_id":"1329524196","filename":"file2"},{"photo_id":"1329524238","filename":"file4"},{"photo_id":"1329524190","filename":"file1"},{"photo_id":"1329524185","filename":"file0"},{"photo_id":"1329524213","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329524196":["hashtag1","hashtag2"]},{"1329524190":["hashtag1","hashtag2"]},{"1329524238":["hashtag1","hashtag2"]},{"1329524213":["hashtag1","hashtag2"]},{"1329524185":["hashtag1","hashtag2"]},{"1329524269":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329524196, 1329524190, 1329524238, 1329524213, 1329524185, 1329524269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.335264444351196 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:50:02.917898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/49/image_17012025_17_49_52_6430.jpg', '/media/data/images/17012025/17/49/image_17012025_17_49_46_5186.jpg', '/media/data/images/17012025/17/49/image_17012025_17_49_41_6401.jpg', '/media/data/images/17012025/17/49/image_17012025_17_49_34_6404.jpg', '/media/data/images/17012025/17/49/image_17012025_17_49_28_5191.jpg', '/media/data/images/17012025/17/49/image_17012025_17_49_23_6416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/49/image_17012025_17_49_52_6430.jpg
/media/data/images/17012025/17/49/image_17012025_17_49_46_5186.jpg
/media/data/images/17012025/17/49/image_17012025_17_49_41_6401.jpg
/media/data/images/17012025/17/49/image_17012025_17_49_34_6404.jpg
/media/data/images/17012025/17/49/image_17012025_17_49_28_5191.jpg
/media/data/images/17012025/17/49/image_17012025_17_49_23_6416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329524340","1329524343","1329524346","1329524333","1329524357","1329524338"],"photo_ids_order":["1329524333","1329524338","1329524340","1329524343","1329524346","1329524357"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5aa9f71a953c316d04c139fa1f7296c1.jpg","text":"TemporaryFile(/tmp/multipartBody7029778990908350409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132668095,"filename":"image_17012025_17_49_41_6401.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c8413df780d422fe2527e41ad7be5fa3.jpg","text":"TemporaryFile(/tmp/multipartBody2612486905394461699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132668095,"filename":"image_17012025_17_49_34_6404.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c710ee05477c7c9596b4ae2fecdb593e.jpg","text":"TemporaryFile(/tmp/multipartBody268164874965093774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132668095,"filename":"image_17012025_17_49_28_5191.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f46295460fa72559e5e9fc52234ee162.jpg","text":"TemporaryFile(/tmp/multipartBody3392526432190303506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132668095,"filename":"image_17012025_17_49_52_6430.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b5c4b999fb39f7aaa942ace40650bffb.jpg","text":"TemporaryFile(/tmp/multipartBody8596450641048507457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132668095,"filename":"image_17012025_17_49_23_6416.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/db34bdbb864f5d56894102e82cde06e0.jpg","text":"TemporaryFile(/tmp/multipartBody2512442572154077837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132668095,"filename":"image_17012025_17_49_46_5186.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329524340","file1":"1329524338","file0":"1329524333","file4":"1329524346","file5":"1329524357","file3":"1329524343"},"map_files_photo_id_array":[{"photo_id":"1329524357","filename":"file5"},{"photo_id":"1329524340","filename":"file2"},{"photo_id":"1329524346","filename":"file4"},{"photo_id":"1329524338","filename":"file1"},{"photo_id":"1329524333","filename":"file0"},{"photo_id":"1329524343","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329524340":["hashtag1","hashtag2"]},{"1329524343":["hashtag1","hashtag2"]},{"1329524346":["hashtag1","hashtag2"]},{"1329524333":["hashtag1","hashtag2"]},{"1329524357":["hashtag1","hashtag2"]},{"1329524338":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329524340, 1329524343, 1329524346, 1329524333, 1329524357, 1329524338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.56483745574951 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:51:03.278821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/50/image_17012025_17_50_52_6381.jpg', '/media/data/images/17012025/17/50/image_17012025_17_50_46_6400.jpg', '/media/data/images/17012025/17/50/image_17012025_17_50_40_5172.jpg', '/media/data/images/17012025/17/50/image_17012025_17_50_35_6390.jpg', '/media/data/images/17012025/17/50/image_17012025_17_50_28_6389.jpg', '/media/data/images/17012025/17/50/image_17012025_17_50_22_5171.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/50/image_17012025_17_50_52_6381.jpg
/media/data/images/17012025/17/50/image_17012025_17_50_46_6400.jpg
/media/data/images/17012025/17/50/image_17012025_17_50_40_5172.jpg
/media/data/images/17012025/17/50/image_17012025_17_50_35_6390.jpg
/media/data/images/17012025/17/50/image_17012025_17_50_28_6389.jpg
/media/data/images/17012025/17/50/image_17012025_17_50_22_5171.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329524412","1329524409","1329524400","1329524384","1329524405","1329524389"],"photo_ids_order":["1329524384","1329524389","1329524400","1329524405","1329524409","1329524412"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/99bd4d6e12d1c836f95b56e718130b1f.jpg","text":"TemporaryFile(/tmp/multipartBody8781416127948947828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132730629,"filename":"image_17012025_17_50_22_5171.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a15cafa2b94bca7d471483ba236f7a36.jpg","text":"TemporaryFile(/tmp/multipartBody2361028022243692111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132730629,"filename":"image_17012025_17_50_28_6389.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/01240a51ada593998b015ddae04024d2.jpg","text":"TemporaryFile(/tmp/multipartBody2039698749481799496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132730629,"filename":"image_17012025_17_50_40_5172.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/608b8bb681e92f4b84792e448df29073.jpg","text":"TemporaryFile(/tmp/multipartBody7582101050188121403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132730629,"filename":"image_17012025_17_50_52_6381.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e1a84fdeeb6aae69f4ea0ae85d992be0.jpg","text":"TemporaryFile(/tmp/multipartBody3666832910827078698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132730629,"filename":"image_17012025_17_50_35_6390.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2fc056c2ba3ef236d762d05cdc6a7553.jpg","text":"TemporaryFile(/tmp/multipartBody7484307440287749871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132730629,"filename":"image_17012025_17_50_46_6400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329524400","file1":"1329524389","file0":"1329524384","file4":"1329524409","file5":"1329524412","file3":"1329524405"},"map_files_photo_id_array":[{"photo_id":"1329524412","filename":"file5"},{"photo_id":"1329524400","filename":"file2"},{"photo_id":"1329524409","filename":"file4"},{"photo_id":"1329524389","filename":"file1"},{"photo_id":"1329524384","filename":"file0"},{"photo_id":"1329524405","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329524412":["hashtag1","hashtag2"]},{"1329524409":["hashtag1","hashtag2"]},{"1329524400":["hashtag1","hashtag2"]},{"1329524384":["hashtag1","hashtag2"]},{"1329524405":["hashtag1","hashtag2"]},{"1329524389":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329524412, 1329524409, 1329524400, 1329524384, 1329524405, 1329524389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.526917934417725 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:52:02.198609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/51/image_17012025_17_51_52_5169.jpg', '/media/data/images/17012025/17/51/image_17012025_17_51_46_6403.jpg', '/media/data/images/17012025/17/51/image_17012025_17_51_40_6377.jpg', '/media/data/images/17012025/17/51/image_17012025_17_51_34_5168.jpg', '/media/data/images/17012025/17/51/image_17012025_17_51_29_6386.jpg', '/media/data/images/17012025/17/51/image_17012025_17_51_22_6405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/51/image_17012025_17_51_52_5169.jpg
/media/data/images/17012025/17/51/image_17012025_17_51_46_6403.jpg
/media/data/images/17012025/17/51/image_17012025_17_51_40_6377.jpg
/media/data/images/17012025/17/51/image_17012025_17_51_34_5168.jpg
/media/data/images/17012025/17/51/image_17012025_17_51_29_6386.jpg
/media/data/images/17012025/17/51/image_17012025_17_51_22_6405.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329524469","1329524477","1329524480","1329524474","1329524494","1329524488"],"photo_ids_order":["1329524469","1329524474","1329524477","1329524480","1329524488","1329524494"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8b1a037e32de8bc934f92993b7af9c33.jpg","text":"TemporaryFile(/tmp/multipartBody6555399143696520580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132787207,"filename":"image_17012025_17_51_52_5169.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5b7dbbc87d31ef17ab4899f6e104475a.jpg","text":"TemporaryFile(/tmp/multipartBody7195571153236477881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132787207,"filename":"image_17012025_17_51_40_6377.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/09828637c1a56d2a3934703c54afe251.jpg","text":"TemporaryFile(/tmp/multipartBody4480934996337469734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132787207,"filename":"image_17012025_17_51_34_5168.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0766fc7ec7e038bc5e86f2dd1d33ec17.jpg","text":"TemporaryFile(/tmp/multipartBody3945289955675035048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132787207,"filename":"image_17012025_17_51_46_6403.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/32695615d59ac0343fc47bd23e023daa.jpg","text":"TemporaryFile(/tmp/multipartBody7405262891174416249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132787207,"filename":"image_17012025_17_51_22_6405.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3bbd5775f8d428596434c4e8dce2b418.jpg","text":"TemporaryFile(/tmp/multipartBody5197265460785813271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132787207,"filename":"image_17012025_17_51_29_6386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329524477","file1":"1329524474","file0":"1329524469","file4":"1329524488","file5":"1329524494","file3":"1329524480"},"map_files_photo_id_array":[{"photo_id":"1329524494","filename":"file5"},{"photo_id":"1329524477","filename":"file2"},{"photo_id":"1329524488","filename":"file4"},{"photo_id":"1329524474","filename":"file1"},{"photo_id":"1329524469","filename":"file0"},{"photo_id":"1329524480","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329524469":["hashtag1","hashtag2"]},{"1329524477":["hashtag1","hashtag2"]},{"1329524480":["hashtag1","hashtag2"]},{"1329524474":["hashtag1","hashtag2"]},{"1329524494":["hashtag1","hashtag2"]},{"1329524488":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329524469, 1329524477, 1329524480, 1329524474, 1329524494, 1329524488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.18199396133423 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:53:02.349822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/52/image_17012025_17_52_52_6369.jpg', '/media/data/images/17012025/17/52/image_17012025_17_52_46_5188.jpg', '/media/data/images/17012025/17/52/image_17012025_17_52_41_6395.jpg', '/media/data/images/17012025/17/52/image_17012025_17_52_34_6400.jpg', '/media/data/images/17012025/17/52/image_17012025_17_52_28_5215.jpg', '/media/data/images/17012025/17/52/image_17012025_17_52_22_6413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/52/image_17012025_17_52_52_6369.jpg
/media/data/images/17012025/17/52/image_17012025_17_52_46_5188.jpg
/media/data/images/17012025/17/52/image_17012025_17_52_41_6395.jpg
/media/data/images/17012025/17/52/image_17012025_17_52_34_6400.jpg
/media/data/images/17012025/17/52/image_17012025_17_52_28_5215.jpg
/media/data/images/17012025/17/52/image_17012025_17_52_22_6413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329524556","1329524564","1329524567","1329524552","1329524560","1329524548"],"photo_ids_order":["1329524548","1329524552","1329524556","1329524560","1329524564","1329524567"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d5bbcc0c61ce7df0ebd1593f0582ce11.jpg","text":"TemporaryFile(/tmp/multipartBody3919950991049955354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132848681,"filename":"image_17012025_17_52_41_6395.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ae525333c0eea3a5d35ef5ba6b8282a8.jpg","text":"TemporaryFile(/tmp/multipartBody5167680708354210274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132848681,"filename":"image_17012025_17_52_28_5215.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1380167fed3453eba69f5a9a1d5b520c.jpg","text":"TemporaryFile(/tmp/multipartBody5830893401185769817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132848681,"filename":"image_17012025_17_52_22_6413.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ae8f6fc183074d7a7ba17a3fa0bf9a59.jpg","text":"TemporaryFile(/tmp/multipartBody5571039350422792319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132848681,"filename":"image_17012025_17_52_46_5188.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0febb82da0806d6bdbc20c0fefc36c5a.jpg","text":"TemporaryFile(/tmp/multipartBody2967009570422067735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132848681,"filename":"image_17012025_17_52_34_6400.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fb978b52bb20eb670aa7255e9b7a0d28.jpg","text":"TemporaryFile(/tmp/multipartBody1966360070788375720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132848681,"filename":"image_17012025_17_52_52_6369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329524556","file1":"1329524552","file0":"1329524548","file4":"1329524564","file5":"1329524567","file3":"1329524560"},"map_files_photo_id_array":[{"photo_id":"1329524567","filename":"file5"},{"photo_id":"1329524556","filename":"file2"},{"photo_id":"1329524564","filename":"file4"},{"photo_id":"1329524552","filename":"file1"},{"photo_id":"1329524548","filename":"file0"},{"photo_id":"1329524560","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329524556":["hashtag1","hashtag2"]},{"1329524564":["hashtag1","hashtag2"]},{"1329524567":["hashtag1","hashtag2"]},{"1329524552":["hashtag1","hashtag2"]},{"1329524560":["hashtag1","hashtag2"]},{"1329524548":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329524556, 1329524564, 1329524567, 1329524552, 1329524560, 1329524548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.227909564971924 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
 val : 1 : upload photos already in processing! 
2025-01-17 17:54:02.191014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/53/image_17012025_17_53_52_6384.jpg', '/media/data/images/17012025/17/53/image_17012025_17_53_46_5158.jpg', '/media/data/images/17012025/17/53/image_17012025_17_53_41_6403.jpg', '/media/data/images/17012025/17/53/image_17012025_17_53_34_6396.jpg', '/media/data/images/17012025/17/53/image_17012025_17_53_28_5150.jpg', '/media/data/images/17012025/17/53/image_17012025_17_53_23_6304.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/53/image_17012025_17_53_52_6384.jpg
/media/data/images/17012025/17/53/image_17012025_17_53_46_5158.jpg
/media/data/images/17012025/17/53/image_17012025_17_53_41_6403.jpg
/media/data/images/17012025/17/53/image_17012025_17_53_34_6396.jpg
/media/data/images/17012025/17/53/image_17012025_17_53_28_5150.jpg
/media/data/images/17012025/17/53/image_17012025_17_53_23_6304.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329525666","1329525674","1329525287","1329525434","1329525670","1329525561"],"photo_ids_order":["1329525287","1329525434","1329525561","1329525666","1329525670","1329525674"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ff31c58200350f58c990e2f9927091a7.jpg","text":"TemporaryFile(/tmp/multipartBody3057487087450375500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132908102,"filename":"image_17012025_17_53_34_6396.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8b4bd3c139248f04970d646d651b529f.jpg","text":"TemporaryFile(/tmp/multipartBody7063907092398070931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132908102,"filename":"image_17012025_17_53_23_6304.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/72f7843bd20d5ddbc2b2eb95d370a290.jpg","text":"TemporaryFile(/tmp/multipartBody8447979068243560018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132908102,"filename":"image_17012025_17_53_52_6384.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e16f2a11543d8a7f5490288f93f4cafc.jpg","text":"TemporaryFile(/tmp/multipartBody8875053450625535305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132908102,"filename":"image_17012025_17_53_46_5158.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6e3ce4873ba17ddad5c15c16574f5d25.jpg","text":"TemporaryFile(/tmp/multipartBody2745446506933030929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132908102,"filename":"image_17012025_17_53_28_5150.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2a1f86832f76fd713239389754c81cb8.jpg","text":"TemporaryFile(/tmp/multipartBody8045533617505846295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132908102,"filename":"image_17012025_17_53_41_6403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329525561","file1":"1329525434","file0":"1329525287","file4":"1329525670","file5":"1329525674","file3":"1329525666"},"map_files_photo_id_array":[{"photo_id":"1329525674","filename":"file5"},{"photo_id":"1329525561","filename":"file2"},{"photo_id":"1329525670","filename":"file4"},{"photo_id":"1329525434","filename":"file1"},{"photo_id":"1329525287","filename":"file0"},{"photo_id":"1329525666","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329525666":["hashtag1","hashtag2"]},{"1329525674":["hashtag1","hashtag2"]},{"1329525287":["hashtag1","hashtag2"]},{"1329525434":["hashtag1","hashtag2"]},{"1329525670":["hashtag1","hashtag2"]},{"1329525561":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329525666, 1329525674, 1329525287, 1329525434, 1329525670, 1329525561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.795881271362305 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:55:02.380731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/54/image_17012025_17_54_53_6390.jpg', '/media/data/images/17012025/17/54/image_17012025_17_54_46_6357.jpg', '/media/data/images/17012025/17/54/image_17012025_17_54_40_5210.jpg', '/media/data/images/17012025/17/54/image_17012025_17_54_35_6423.jpg', '/media/data/images/17012025/17/54/image_17012025_17_54_28_6432.jpg', '/media/data/images/17012025/17/54/image_17012025_17_54_22_5210.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/54/image_17012025_17_54_53_6390.jpg
/media/data/images/17012025/17/54/image_17012025_17_54_46_6357.jpg
/media/data/images/17012025/17/54/image_17012025_17_54_40_5210.jpg
/media/data/images/17012025/17/54/image_17012025_17_54_35_6423.jpg
/media/data/images/17012025/17/54/image_17012025_17_54_28_6432.jpg
/media/data/images/17012025/17/54/image_17012025_17_54_22_5210.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329525942","1329525959","1329525950","1329525932","1329525955","1329525946"],"photo_ids_order":["1329525932","1329525942","1329525946","1329525950","1329525955","1329525959"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fdd3dfaf797bd42cc88c00a00ddf6e86.jpg","text":"TemporaryFile(/tmp/multipartBody4141604846938491068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132967872,"filename":"image_17012025_17_54_46_6357.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6134d22e961ec630c8473e66d9980a5d.jpg","text":"TemporaryFile(/tmp/multipartBody2346614946826667622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132967872,"filename":"image_17012025_17_54_22_5210.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/71271d5954d9749586678d7cf3fc0852.jpg","text":"TemporaryFile(/tmp/multipartBody3265990783144046836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132967872,"filename":"image_17012025_17_54_35_6423.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7cde41e9a167ce134402915aa862d214.jpg","text":"TemporaryFile(/tmp/multipartBody8684372176450663775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132967872,"filename":"image_17012025_17_54_53_6390.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2150220dd9e96ee06f661a7039aeb36e.jpg","text":"TemporaryFile(/tmp/multipartBody6500734500256959291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132967872,"filename":"image_17012025_17_54_28_6432.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b6259964b6c09b5a4d313ad858aee3d3.jpg","text":"TemporaryFile(/tmp/multipartBody7725450439322865627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737132967872,"filename":"image_17012025_17_54_40_5210.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329525946","file1":"1329525942","file0":"1329525932","file4":"1329525955","file5":"1329525959","file3":"1329525950"},"map_files_photo_id_array":[{"photo_id":"1329525959","filename":"file5"},{"photo_id":"1329525946","filename":"file2"},{"photo_id":"1329525955","filename":"file4"},{"photo_id":"1329525942","filename":"file1"},{"photo_id":"1329525932","filename":"file0"},{"photo_id":"1329525950","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329525942":["hashtag1","hashtag2"]},{"1329525959":["hashtag1","hashtag2"]},{"1329525950":["hashtag1","hashtag2"]},{"1329525932":["hashtag1","hashtag2"]},{"1329525955":["hashtag1","hashtag2"]},{"1329525946":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329525942, 1329525959, 1329525950, 1329525932, 1329525955, 1329525946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.48791527748108 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:55:42.107520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/55/image_17012025_17_55_52_5216.jpg', '/media/data/images/17012025/17/55/image_17012025_17_55_47_6442.jpg', '/media/data/images/17012025/17/55/image_17012025_17_55_40_6428.jpg', '/media/data/images/17012025/17/55/image_17012025_17_55_34_5181.jpg', '/media/data/images/17012025/17/55/image_17012025_17_55_29_6392.jpg', '/media/data/images/17012025/17/55/image_17012025_17_55_22_6434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/55/image_17012025_17_55_52_5216.jpg
/media/data/images/17012025/17/55/image_17012025_17_55_47_6442.jpg
/media/data/images/17012025/17/55/image_17012025_17_55_40_6428.jpg
/media/data/images/17012025/17/55/image_17012025_17_55_34_5181.jpg
/media/data/images/17012025/17/55/image_17012025_17_55_29_6392.jpg
/media/data/images/17012025/17/55/image_17012025_17_55_22_6434.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329526130","1329526093","1329526123","1329526120","1329526098","1329526134"],"photo_ids_order":["1329526093","1329526098","1329526120","1329526123","1329526130","1329526134"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/107072c1e855fd1602dcefa4c171aaff.jpg","text":"TemporaryFile(/tmp/multipartBody3294880555250718200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133006781,"filename":"image_17012025_17_55_29_6392.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dfdb5bdd692a80e6618a733a9880acfb.jpg","text":"TemporaryFile(/tmp/multipartBody5353928483356886675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133006781,"filename":"image_17012025_17_55_52_5216.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bc083cfe92e6082ff9b13f72ec854180.jpg","text":"TemporaryFile(/tmp/multipartBody5159550246537818263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133006781,"filename":"image_17012025_17_55_34_5181.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8793d8286bc27ae7b1ef5fad7f5a71ae.jpg","text":"TemporaryFile(/tmp/multipartBody7507200395891191611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133006781,"filename":"image_17012025_17_55_40_6428.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4492d47696613532279562cddea11a1b.jpg","text":"TemporaryFile(/tmp/multipartBody1561853037209619147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133006781,"filename":"image_17012025_17_55_47_6442.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/15d6737a0620d59eba2e4f5de7380832.jpg","text":"TemporaryFile(/tmp/multipartBody465186419379610273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133006781,"filename":"image_17012025_17_55_22_6434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329526120","file1":"1329526098","file0":"1329526093","file4":"1329526130","file5":"1329526134","file3":"1329526123"},"map_files_photo_id_array":[{"photo_id":"1329526134","filename":"file5"},{"photo_id":"1329526120","filename":"file2"},{"photo_id":"1329526130","filename":"file4"},{"photo_id":"1329526098","filename":"file1"},{"photo_id":"1329526093","filename":"file0"},{"photo_id":"1329526123","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329526130":["hashtag1","hashtag2"]},{"1329526093":["hashtag1","hashtag2"]},{"1329526123":["hashtag1","hashtag2"]},{"1329526120":["hashtag1","hashtag2"]},{"1329526098":["hashtag1","hashtag2"]},{"1329526134":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329526130, 1329526093, 1329526123, 1329526120, 1329526098, 1329526134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.62159061431885 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:56:42.189421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/56/image_17012025_17_56_52_6391.jpg', '/media/data/images/17012025/17/56/image_17012025_17_56_46_5186.jpg', '/media/data/images/17012025/17/56/image_17012025_17_56_40_6396.jpg', '/media/data/images/17012025/17/56/image_17012025_17_56_34_6400.jpg', '/media/data/images/17012025/17/56/image_17012025_17_56_28_5169.jpg', '/media/data/images/17012025/17/56/image_17012025_17_56_23_6379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/56/image_17012025_17_56_52_6391.jpg
/media/data/images/17012025/17/56/image_17012025_17_56_46_5186.jpg
/media/data/images/17012025/17/56/image_17012025_17_56_40_6396.jpg
/media/data/images/17012025/17/56/image_17012025_17_56_34_6400.jpg
/media/data/images/17012025/17/56/image_17012025_17_56_28_5169.jpg
/media/data/images/17012025/17/56/image_17012025_17_56_23_6379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329526367","1329526361","1329526364","1329526354","1329526350","1329526347"],"photo_ids_order":["1329526347","1329526350","1329526354","1329526361","1329526364","1329526367"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/95276306d86bd2d92bd7dedfb8d96861.jpg","text":"TemporaryFile(/tmp/multipartBody6756978576634389540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133072292,"filename":"image_17012025_17_56_23_6379.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/df4f6b2a7a831040d7cb752674aa380f.jpg","text":"TemporaryFile(/tmp/multipartBody8582257032591152654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133072292,"filename":"image_17012025_17_56_34_6400.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3460e4cc26ca76bcead03ca9c5685ace.jpg","text":"TemporaryFile(/tmp/multipartBody1527311313863776736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133072292,"filename":"image_17012025_17_56_28_5169.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cbabfa094221094f6637d7c7a55d4fd2.jpg","text":"TemporaryFile(/tmp/multipartBody7348753629561366809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133072292,"filename":"image_17012025_17_56_40_6396.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/692e75e9d22fcce50ab46a1bc7e7eeb9.jpg","text":"TemporaryFile(/tmp/multipartBody2367454285923232488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133072292,"filename":"image_17012025_17_56_46_5186.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/658a207bfbdbdf3de5c818adf2942a3f.jpg","text":"TemporaryFile(/tmp/multipartBody8099473793660271882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133072292,"filename":"image_17012025_17_56_52_6391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329526354","file1":"1329526350","file0":"1329526347","file4":"1329526364","file5":"1329526367","file3":"1329526361"},"map_files_photo_id_array":[{"photo_id":"1329526367","filename":"file5"},{"photo_id":"1329526354","filename":"file2"},{"photo_id":"1329526364","filename":"file4"},{"photo_id":"1329526350","filename":"file1"},{"photo_id":"1329526347","filename":"file0"},{"photo_id":"1329526361","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329526367":["hashtag1","hashtag2"]},{"1329526361":["hashtag1","hashtag2"]},{"1329526364":["hashtag1","hashtag2"]},{"1329526354":["hashtag1","hashtag2"]},{"1329526350":["hashtag1","hashtag2"]},{"1329526347":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329526367, 1329526361, 1329526364, 1329526354, 1329526350, 1329526347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.11763000488281 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 17:57:42.286349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/57/image_17012025_17_57_52_6395.jpg', '/media/data/images/17012025/17/57/image_17012025_17_57_46_5178.jpg', '/media/data/images/17012025/17/57/image_17012025_17_57_41_6430.jpg', '/media/data/images/17012025/17/57/image_17012025_17_57_34_6429.jpg', '/media/data/images/17012025/17/57/image_17012025_17_57_28_5190.jpg', '/media/data/images/17012025/17/57/image_17012025_17_57_23_6396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/57/image_17012025_17_57_52_6395.jpg
/media/data/images/17012025/17/57/image_17012025_17_57_46_5178.jpg
/media/data/images/17012025/17/57/image_17012025_17_57_41_6430.jpg
/media/data/images/17012025/17/57/image_17012025_17_57_34_6429.jpg
/media/data/images/17012025/17/57/image_17012025_17_57_28_5190.jpg
/media/data/images/17012025/17/57/image_17012025_17_57_23_6396.jpg
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 17:59:03.420368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/58/image_17012025_17_58_52_6392.jpg', '/media/data/images/17012025/17/58/image_17012025_17_58_46_6409.jpg', '/media/data/images/17012025/17/58/image_17012025_17_58_40_5188.jpg', '/media/data/images/17012025/17/58/image_17012025_17_58_34_6421.jpg', '/media/data/images/17012025/17/58/image_17012025_17_58_28_6417.jpg', '/media/data/images/17012025/17/58/image_17012025_17_58_22_5214.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/58/image_17012025_17_58_52_6392.jpg
/media/data/images/17012025/17/58/image_17012025_17_58_46_6409.jpg
/media/data/images/17012025/17/58/image_17012025_17_58_40_5188.jpg
/media/data/images/17012025/17/58/image_17012025_17_58_34_6421.jpg
/media/data/images/17012025/17/58/image_17012025_17_58_28_6417.jpg
/media/data/images/17012025/17/58/image_17012025_17_58_22_5214.jpg
2025-01-17 17:59:03.438156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/58/image_17012025_17_58_52_6392.jpg', '/media/data/images/17012025/17/58/image_17012025_17_58_46_6409.jpg', '/media/data/images/17012025/17/58/image_17012025_17_58_40_5188.jpg', '/media/data/images/17012025/17/58/image_17012025_17_58_34_6421.jpg', '/media/data/images/17012025/17/58/image_17012025_17_58_28_6417.jpg', '/media/data/images/17012025/17/58/image_17012025_17_58_22_5214.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/58/image_17012025_17_58_52_6392.jpg
/media/data/images/17012025/17/58/image_17012025_17_58_46_6409.jpg
/media/data/images/17012025/17/58/image_17012025_17_58_40_5188.jpg
/media/data/images/17012025/17/58/image_17012025_17_58_34_6421.jpg
/media/data/images/17012025/17/58/image_17012025_17_58_28_6417.jpg
/media/data/images/17012025/17/58/image_17012025_17_58_22_5214.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329526568","1329526622","1329526573","1329526587","1329526596","1329526635"],"photo_ids_order":["1329526568","1329526573","1329526587","1329526596","1329526622","1329526635"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/66ff276c4001a87800418cd7a1c5464a.jpg","text":"TemporaryFile(/tmp/multipartBody5972054508813071041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133212283,"filename":"image_17012025_17_58_52_6392.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6a5f9d36e365cbd746773d670a51f738.jpg","text":"TemporaryFile(/tmp/multipartBody2223983700983984799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133212283,"filename":"image_17012025_17_58_28_6417.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f021ba970946eb6becfbd2162557a3b2.jpg","text":"TemporaryFile(/tmp/multipartBody6674910493006605995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133212283,"filename":"image_17012025_17_58_46_6409.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/49706a58114c844bea88500d840694c7.jpg","text":"TemporaryFile(/tmp/multipartBody3384180979437978189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133212283,"filename":"image_17012025_17_58_40_5188.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a0fae3cec2bc9d3a64e4c7d6450e8667.jpg","text":"TemporaryFile(/tmp/multipartBody5855454582996749624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133212283,"filename":"image_17012025_17_58_34_6421.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c919ab0ce3c77e32a47f74074ebd2519.jpg","text":"TemporaryFile(/tmp/multipartBody1132931103290738233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133212283,"filename":"image_17012025_17_58_22_5214.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329526587","file1":"1329526573","file0":"1329526568","file4":"1329526622","file5":"1329526635","file3":"1329526596"},"map_files_photo_id_array":[{"photo_id":"1329526635","filename":"file5"},{"photo_id":"1329526587","filename":"file2"},{"photo_id":"1329526622","filename":"file4"},{"photo_id":"1329526573","filename":"file1"},{"photo_id":"1329526568","filename":"file0"},{"photo_id":"1329526596","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329526568":["hashtag1","hashtag2"]},{"1329526622":["hashtag1","hashtag2"]},{"1329526573":["hashtag1","hashtag2"]},{"1329526587":["hashtag1","hashtag2"]},{"1329526596":["hashtag1","hashtag2"]},{"1329526635":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329526568, 1329526622, 1329526573, 1329526587, 1329526596, 1329526635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.23053574562073 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329526586","1329526574","1329526624","1329526567","1329526636","1329526615"],"photo_ids_order":["1329526567","1329526574","1329526586","1329526615","1329526624","1329526636"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/97adcae71435244673a56dd592591234.jpg","text":"TemporaryFile(/tmp/multipartBody2330792142788102388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133212173,"filename":"image_17012025_17_58_40_5188.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7fd7c4aaabd28e871212d8844e3663be.jpg","text":"TemporaryFile(/tmp/multipartBody260166633187152966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133212173,"filename":"image_17012025_17_58_46_6409.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4e31c43465ac78250d73763a4b64b41e.jpg","text":"TemporaryFile(/tmp/multipartBody6399876093921607332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133212173,"filename":"image_17012025_17_58_28_6417.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9d71d8c6adde0897c429616584694a47.jpg","text":"TemporaryFile(/tmp/multipartBody8873691249752220506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133212173,"filename":"image_17012025_17_58_52_6392.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/eca60f78f6b3e456d909bfe4c0a880db.jpg","text":"TemporaryFile(/tmp/multipartBody363652432547307475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133212173,"filename":"image_17012025_17_58_22_5214.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e8a995f590d9fe5d04ed40a1feb7f759.jpg","text":"TemporaryFile(/tmp/multipartBody7256246939722551127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133212173,"filename":"image_17012025_17_58_34_6421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329526586","file1":"1329526574","file0":"1329526567","file4":"1329526624","file5":"1329526636","file3":"1329526615"},"map_files_photo_id_array":[{"photo_id":"1329526636","filename":"file5"},{"photo_id":"1329526586","filename":"file2"},{"photo_id":"1329526624","filename":"file4"},{"photo_id":"1329526574","filename":"file1"},{"photo_id":"1329526567","filename":"file0"},{"photo_id":"1329526615","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329526586":["hashtag1","hashtag2"]},{"1329526574":["hashtag1","hashtag2"]},{"1329526624":["hashtag1","hashtag2"]},{"1329526567":["hashtag1","hashtag2"]},{"1329526636":["hashtag1","hashtag2"]},{"1329526615":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329526586, 1329526574, 1329526624, 1329526567, 1329526636, 1329526615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.34188199043274 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 18:00:02.098272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/59/image_17012025_17_59_53_6387.jpg', '/media/data/images/17012025/17/59/image_17012025_17_59_46_6393.jpg', '/media/data/images/17012025/17/59/image_17012025_17_59_40_5159.jpg', '/media/data/images/17012025/17/59/image_17012025_17_59_35_6398.jpg', '/media/data/images/17012025/17/59/image_17012025_17_59_28_6392.jpg', '/media/data/images/17012025/17/59/image_17012025_17_59_22_5157.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/59/image_17012025_17_59_53_6387.jpg
/media/data/images/17012025/17/59/image_17012025_17_59_46_6393.jpg
/media/data/images/17012025/17/59/image_17012025_17_59_40_5159.jpg
/media/data/images/17012025/17/59/image_17012025_17_59_35_6398.jpg
/media/data/images/17012025/17/59/image_17012025_17_59_28_6392.jpg
/media/data/images/17012025/17/59/image_17012025_17_59_22_5157.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329526880","1329526856","1329526868","1329526832","1329526876","1329526827"],"photo_ids_order":["1329526827","1329526832","1329526856","1329526868","1329526876","1329526880"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d17c69c354c8885334664f9eae7c36a8.jpg","text":"TemporaryFile(/tmp/multipartBody7691174169867414749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133269126,"filename":"image_17012025_17_59_22_5157.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7cbca1323a68b4af044f9ce06324a9df.jpg","text":"TemporaryFile(/tmp/multipartBody8642450426667562335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133269126,"filename":"image_17012025_17_59_40_5159.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cbf07afb8e92d27a91840a824cc74159.jpg","text":"TemporaryFile(/tmp/multipartBody8544904133980339008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133269126,"filename":"image_17012025_17_59_35_6398.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/94fff426eb6bd008c1a9e67cb927309d.jpg","text":"TemporaryFile(/tmp/multipartBody8235943976629585677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133269126,"filename":"image_17012025_17_59_46_6393.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3bf78ac346d303077db104b88f58ca6f.jpg","text":"TemporaryFile(/tmp/multipartBody6754172412504602091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133269126,"filename":"image_17012025_17_59_28_6392.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7d35c156559d7af98f9f4cc69a557b03.jpg","text":"TemporaryFile(/tmp/multipartBody4816585410679898835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133269126,"filename":"image_17012025_17_59_53_6387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329526856","file1":"1329526832","file0":"1329526827","file4":"1329526876","file5":"1329526880","file3":"1329526868"},"map_files_photo_id_array":[{"photo_id":"1329526880","filename":"file5"},{"photo_id":"1329526856","filename":"file2"},{"photo_id":"1329526876","filename":"file4"},{"photo_id":"1329526832","filename":"file1"},{"photo_id":"1329526827","filename":"file0"},{"photo_id":"1329526868","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329526880":["hashtag1","hashtag2"]},{"1329526856":["hashtag1","hashtag2"]},{"1329526868":["hashtag1","hashtag2"]},{"1329526832":["hashtag1","hashtag2"]},{"1329526876":["hashtag1","hashtag2"]},{"1329526827":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329526880, 1329526856, 1329526868, 1329526832, 1329526876, 1329526827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.8013231754303 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 18:01:02.318871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/00/image_17012025_18_00_52_6385.jpg', '/media/data/images/17012025/18/00/image_17012025_18_00_46_5151.jpg', '/media/data/images/17012025/18/00/image_17012025_18_00_41_6361.jpg', '/media/data/images/17012025/18/00/image_17012025_18_00_34_6383.jpg', '/media/data/images/17012025/18/00/image_17012025_18_00_28_5184.jpg', '/media/data/images/17012025/18/00/image_17012025_18_00_23_6399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/00/image_17012025_18_00_52_6385.jpg
/media/data/images/17012025/18/00/image_17012025_18_00_46_5151.jpg
/media/data/images/17012025/18/00/image_17012025_18_00_41_6361.jpg
/media/data/images/17012025/18/00/image_17012025_18_00_34_6383.jpg
/media/data/images/17012025/18/00/image_17012025_18_00_28_5184.jpg
/media/data/images/17012025/18/00/image_17012025_18_00_23_6399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329526928","1329526957","1329526942","1329526918","1329526962","1329526923"],"photo_ids_order":["1329526918","1329526923","1329526928","1329526942","1329526957","1329526962"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/af5c4fce833c8ad24b7e1b41d019eda6.jpg","text":"TemporaryFile(/tmp/multipartBody1831971025679502970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133326798,"filename":"image_17012025_18_00_41_6361.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ede31b8305999dfd0c2dd4ac00dfa0cf.jpg","text":"TemporaryFile(/tmp/multipartBody1434812596808814536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133326798,"filename":"image_17012025_18_00_28_5184.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/42194cfe5e154427993c0a3358a0ae71.jpg","text":"TemporaryFile(/tmp/multipartBody3030995813685875711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133326798,"filename":"image_17012025_18_00_34_6383.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/35c21e022a36d499cec9cca4b66e626e.jpg","text":"TemporaryFile(/tmp/multipartBody2128793423150637246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133326798,"filename":"image_17012025_18_00_52_6385.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/47959b136227838818a849f529e70f0f.jpg","text":"TemporaryFile(/tmp/multipartBody932690316471718049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133326798,"filename":"image_17012025_18_00_23_6399.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1133c1244a72e745c221ff77190190ce.jpg","text":"TemporaryFile(/tmp/multipartBody2587658966404434528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133326798,"filename":"image_17012025_18_00_46_5151.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329526928","file1":"1329526923","file0":"1329526918","file4":"1329526957","file5":"1329526962","file3":"1329526942"},"map_files_photo_id_array":[{"photo_id":"1329526962","filename":"file5"},{"photo_id":"1329526928","filename":"file2"},{"photo_id":"1329526957","filename":"file4"},{"photo_id":"1329526923","filename":"file1"},{"photo_id":"1329526918","filename":"file0"},{"photo_id":"1329526942","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329526928":["hashtag1","hashtag2"]},{"1329526957":["hashtag1","hashtag2"]},{"1329526942":["hashtag1","hashtag2"]},{"1329526918":["hashtag1","hashtag2"]},{"1329526962":["hashtag1","hashtag2"]},{"1329526923":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329526928, 1329526957, 1329526942, 1329526918, 1329526962, 1329526923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.28960943222046 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 18:02:02.308534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/01/image_17012025_18_01_53_6381.jpg', '/media/data/images/17012025/18/01/image_17012025_18_01_46_6526.jpg', '/media/data/images/17012025/18/01/image_17012025_18_01_40_5186.jpg', '/media/data/images/17012025/18/01/image_17012025_18_01_34_6428.jpg', '/media/data/images/17012025/18/01/image_17012025_18_01_28_5180.jpg', '/media/data/images/17012025/18/01/image_17012025_18_01_23_6387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/01/image_17012025_18_01_53_6381.jpg
/media/data/images/17012025/18/01/image_17012025_18_01_46_6526.jpg
/media/data/images/17012025/18/01/image_17012025_18_01_40_5186.jpg
/media/data/images/17012025/18/01/image_17012025_18_01_34_6428.jpg
/media/data/images/17012025/18/01/image_17012025_18_01_28_5180.jpg
/media/data/images/17012025/18/01/image_17012025_18_01_23_6387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329527006","1329527009","1329526999","1329527011","1329526998","1329527004"],"photo_ids_order":["1329526998","1329526999","1329527004","1329527006","1329527009","1329527011"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b5e8cfd9ed7beefe6bb0afafc97c4d4c.jpg","text":"TemporaryFile(/tmp/multipartBody2868514440195665407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133388848,"filename":"image_17012025_18_01_34_6428.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e5608f327d29556e1175683ee3faed9d.jpg","text":"TemporaryFile(/tmp/multipartBody2649413496955884383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133388848,"filename":"image_17012025_18_01_28_5180.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/88359b0a173e0338cb3c2726d8f6495c.jpg","text":"TemporaryFile(/tmp/multipartBody7100617119938772836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133388848,"filename":"image_17012025_18_01_46_6526.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c7f7b3ce02e7bf39227a4de6b030156b.jpg","text":"TemporaryFile(/tmp/multipartBody1678687126031244019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133388848,"filename":"image_17012025_18_01_23_6387.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/16e7ea595fbf3fe0a6e3d95436135896.jpg","text":"TemporaryFile(/tmp/multipartBody498493286200040990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133388848,"filename":"image_17012025_18_01_53_6381.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ac55124d786e76f98339931d6f9fb42e.jpg","text":"TemporaryFile(/tmp/multipartBody4551350389884474422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133388848,"filename":"image_17012025_18_01_40_5186.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329527004","file1":"1329526999","file0":"1329526998","file4":"1329527009","file5":"1329527011","file3":"1329527006"},"map_files_photo_id_array":[{"photo_id":"1329527011","filename":"file5"},{"photo_id":"1329527004","filename":"file2"},{"photo_id":"1329527009","filename":"file4"},{"photo_id":"1329526999","filename":"file1"},{"photo_id":"1329526998","filename":"file0"},{"photo_id":"1329527006","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329527006":["hashtag1","hashtag2"]},{"1329527009":["hashtag1","hashtag2"]},{"1329526999":["hashtag1","hashtag2"]},{"1329527011":["hashtag1","hashtag2"]},{"1329526998":["hashtag1","hashtag2"]},{"1329527004":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329527006, 1329527009, 1329526999, 1329527011, 1329526998, 1329527004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.20001554489136 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 18:03:02.705111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/03/image_17012025_18_03_05_6227.jpg', '/media/data/images/17012025/18/02/image_17012025_18_02_52_5205.jpg', '/media/data/images/17012025/18/02/image_17012025_18_02_47_6424.jpg', '/media/data/images/17012025/18/02/image_17012025_18_02_40_6423.jpg', '/media/data/images/17012025/18/02/image_17012025_18_02_34_5174.jpg', '/media/data/images/17012025/18/02/image_17012025_18_02_29_6395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/03/image_17012025_18_03_05_6227.jpg
/media/data/images/17012025/18/02/image_17012025_18_02_52_5205.jpg
/media/data/images/17012025/18/02/image_17012025_18_02_47_6424.jpg
/media/data/images/17012025/18/02/image_17012025_18_02_40_6423.jpg
/media/data/images/17012025/18/02/image_17012025_18_02_34_5174.jpg
/media/data/images/17012025/18/02/image_17012025_18_02_29_6395.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329527083","1329527079","1329527073","1329527090","1329527087","1329527060"],"photo_ids_order":["1329527060","1329527073","1329527079","1329527083","1329527087","1329527090"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5a55240690fb5be7bd5b75c4422e3912.jpg","text":"TemporaryFile(/tmp/multipartBody5564192509636737357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133449772,"filename":"image_17012025_18_02_40_6423.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/22c6a7ae9881208ccb309f3c12aa10fb.jpg","text":"TemporaryFile(/tmp/multipartBody7864299685721104020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133449772,"filename":"image_17012025_18_02_47_6424.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f0062b78a3f5a044103de9dbd52cbca4.jpg","text":"TemporaryFile(/tmp/multipartBody7410375443141608130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133449772,"filename":"image_17012025_18_02_52_5205.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6ca8a882e66758f08d72ea39202b326c.jpg","text":"TemporaryFile(/tmp/multipartBody8295532727388567582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133449772,"filename":"image_17012025_18_02_29_6395.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/53cebaff1d54aa4e1cb207142b38da43.jpg","text":"TemporaryFile(/tmp/multipartBody8278977355611014841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133449772,"filename":"image_17012025_18_02_34_5174.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2db0860092aa722d13368b2be7e0f46e.jpg","text":"TemporaryFile(/tmp/multipartBody2316515320306074795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133449772,"filename":"image_17012025_18_03_05_6227.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329527079","file1":"1329527073","file0":"1329527060","file4":"1329527087","file5":"1329527090","file3":"1329527083"},"map_files_photo_id_array":[{"photo_id":"1329527090","filename":"file5"},{"photo_id":"1329527079","filename":"file2"},{"photo_id":"1329527087","filename":"file4"},{"photo_id":"1329527073","filename":"file1"},{"photo_id":"1329527060","filename":"file0"},{"photo_id":"1329527083","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329527083":["hashtag1","hashtag2"]},{"1329527079":["hashtag1","hashtag2"]},{"1329527073":["hashtag1","hashtag2"]},{"1329527090":["hashtag1","hashtag2"]},{"1329527087":["hashtag1","hashtag2"]},{"1329527060":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329527083, 1329527079, 1329527073, 1329527090, 1329527087, 1329527060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.63932514190674 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 18:04:02.688636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/03/image_17012025_18_03_52_6396.jpg', '/media/data/images/17012025/18/03/image_17012025_18_03_46_5177.jpg', '/media/data/images/17012025/18/03/image_17012025_18_03_40_6366.jpg', '/media/data/images/17012025/18/03/image_17012025_18_03_34_6362.jpg', '/media/data/images/17012025/18/03/image_17012025_18_03_28_5185.jpg', '/media/data/images/17012025/18/03/image_17012025_18_03_23_6393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/03/image_17012025_18_03_52_6396.jpg
/media/data/images/17012025/18/03/image_17012025_18_03_46_5177.jpg
/media/data/images/17012025/18/03/image_17012025_18_03_40_6366.jpg
/media/data/images/17012025/18/03/image_17012025_18_03_34_6362.jpg
/media/data/images/17012025/18/03/image_17012025_18_03_28_5185.jpg
/media/data/images/17012025/18/03/image_17012025_18_03_23_6393.jpg
2025-01-17 18:04:02.758538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/03/image_17012025_18_03_52_6396.jpg', '/media/data/images/17012025/18/03/image_17012025_18_03_46_5177.jpg', '/media/data/images/17012025/18/03/image_17012025_18_03_40_6366.jpg', '/media/data/images/17012025/18/03/image_17012025_18_03_34_6362.jpg', '/media/data/images/17012025/18/03/image_17012025_18_03_28_5185.jpg', '/media/data/images/17012025/18/03/image_17012025_18_03_23_6393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/03/image_17012025_18_03_52_6396.jpg
/media/data/images/17012025/18/03/image_17012025_18_03_46_5177.jpg
/media/data/images/17012025/18/03/image_17012025_18_03_40_6366.jpg
/media/data/images/17012025/18/03/image_17012025_18_03_34_6362.jpg
/media/data/images/17012025/18/03/image_17012025_18_03_28_5185.jpg
/media/data/images/17012025/18/03/image_17012025_18_03_23_6393.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329527129","1329527117","1329527134","1329527143","1329527125","1329527136"],"photo_ids_order":["1329527117","1329527125","1329527129","1329527134","1329527136","1329527143"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f88e9e3678f767f450eb38112d9e90c4.jpg","text":"TemporaryFile(/tmp/multipartBody7401834206996778436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133515762,"filename":"image_17012025_18_03_40_6366.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/03040366f409fe2ecb79bcfdc9a8a011.jpg","text":"TemporaryFile(/tmp/multipartBody7265747641792013195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133515762,"filename":"image_17012025_18_03_52_6396.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3c60afb2408b3f77b497d37f7823b185.jpg","text":"TemporaryFile(/tmp/multipartBody3015907650615863731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133515762,"filename":"image_17012025_18_03_34_6362.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/51e68b0d174c1c1cf36af43162dfb20a.jpg","text":"TemporaryFile(/tmp/multipartBody6861299899491831497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133515762,"filename":"image_17012025_18_03_23_6393.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/35d539ef5f8ca42cbec1b199e8845476.jpg","text":"TemporaryFile(/tmp/multipartBody6664131769004841797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133515762,"filename":"image_17012025_18_03_46_5177.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bf89f2def5d6e1237ed5aa16bc85b333.jpg","text":"TemporaryFile(/tmp/multipartBody343530449681541876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133515762,"filename":"image_17012025_18_03_28_5185.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329527129","file1":"1329527125","file0":"1329527117","file4":"1329527136","file5":"1329527143","file3":"1329527134"},"map_files_photo_id_array":[{"photo_id":"1329527143","filename":"file5"},{"photo_id":"1329527129","filename":"file2"},{"photo_id":"1329527136","filename":"file4"},{"photo_id":"1329527125","filename":"file1"},{"photo_id":"1329527117","filename":"file0"},{"photo_id":"1329527134","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329527129":["hashtag1","hashtag2"]},{"1329527117":["hashtag1","hashtag2"]},{"1329527134":["hashtag1","hashtag2"]},{"1329527143":["hashtag1","hashtag2"]},{"1329527125":["hashtag1","hashtag2"]},{"1329527136":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329527129, 1329527117, 1329527134, 1329527143, 1329527125, 1329527136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.10072684288025 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329527123","1329527137","1329527119","1329527145","1329527130","1329527133"],"photo_ids_order":["1329527119","1329527123","1329527130","1329527133","1329527137","1329527145"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cc58b93b6793bd212a20f92975fae2dd.jpg","text":"TemporaryFile(/tmp/multipartBody2854398036025635036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133515940,"filename":"image_17012025_18_03_46_5177.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/91b530f8367f75f66ca1c2db162061cc.jpg","text":"TemporaryFile(/tmp/multipartBody1012593946843694458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133515940,"filename":"image_17012025_18_03_28_5185.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cf0357c3d6178d4759fecbabd19425d9.jpg","text":"TemporaryFile(/tmp/multipartBody714816939354980628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133515940,"filename":"image_17012025_18_03_52_6396.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/176c3864c9508e920c48c66c4a72ffb5.jpg","text":"TemporaryFile(/tmp/multipartBody5411256680735577173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133515940,"filename":"image_17012025_18_03_23_6393.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e8afe14c7de229564ab009c5971d25d3.jpg","text":"TemporaryFile(/tmp/multipartBody2522227418004574777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133515940,"filename":"image_17012025_18_03_40_6366.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c539aecbfed3a835f2434d34895e0ee7.jpg","text":"TemporaryFile(/tmp/multipartBody3533081523374357028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133515940,"filename":"image_17012025_18_03_34_6362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329527130","file1":"1329527123","file0":"1329527119","file4":"1329527137","file5":"1329527145","file3":"1329527133"},"map_files_photo_id_array":[{"photo_id":"1329527145","filename":"file5"},{"photo_id":"1329527130","filename":"file2"},{"photo_id":"1329527137","filename":"file4"},{"photo_id":"1329527123","filename":"file1"},{"photo_id":"1329527119","filename":"file0"},{"photo_id":"1329527133","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329527123":["hashtag1","hashtag2"]},{"1329527137":["hashtag1","hashtag2"]},{"1329527119":["hashtag1","hashtag2"]},{"1329527145":["hashtag1","hashtag2"]},{"1329527130":["hashtag1","hashtag2"]},{"1329527133":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329527123, 1329527137, 1329527119, 1329527145, 1329527130, 1329527133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.84602665901184 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 18:05:02.706707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/04/image_17012025_18_04_52_6426.jpg', '/media/data/images/17012025/18/04/image_17012025_18_04_46_5211.jpg', '/media/data/images/17012025/18/04/image_17012025_18_04_41_6427.jpg', '/media/data/images/17012025/18/04/image_17012025_18_04_34_6431.jpg', '/media/data/images/17012025/18/04/image_17012025_18_04_28_5170.jpg', '/media/data/images/17012025/18/04/image_17012025_18_04_23_6382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/04/image_17012025_18_04_52_6426.jpg
/media/data/images/17012025/18/04/image_17012025_18_04_46_5211.jpg
/media/data/images/17012025/18/04/image_17012025_18_04_41_6427.jpg
/media/data/images/17012025/18/04/image_17012025_18_04_34_6431.jpg
/media/data/images/17012025/18/04/image_17012025_18_04_28_5170.jpg
/media/data/images/17012025/18/04/image_17012025_18_04_23_6382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329527219","1329527169","1329527184","1329527172","1329527208","1329527174"],"photo_ids_order":["1329527169","1329527172","1329527174","1329527184","1329527208","1329527219"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6d5b97a974616d47eaf6c798be6c6ac3.jpg","text":"TemporaryFile(/tmp/multipartBody8674441596165678915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133568109,"filename":"image_17012025_18_04_23_6382.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9daeff6c8a3d6bb3ceb51c32c7304301.jpg","text":"TemporaryFile(/tmp/multipartBody6772273163671806824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133568109,"filename":"image_17012025_18_04_52_6426.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ea400c483012bf8a178a0d5209113f81.jpg","text":"TemporaryFile(/tmp/multipartBody6800951518773865959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133568109,"filename":"image_17012025_18_04_34_6431.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e95be21256bf84498fa3a19733d29352.jpg","text":"TemporaryFile(/tmp/multipartBody4842883076237493490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133568109,"filename":"image_17012025_18_04_46_5211.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2768a8b87bd5403b02005ca193e5ff09.jpg","text":"TemporaryFile(/tmp/multipartBody805955616724376242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133568109,"filename":"image_17012025_18_04_28_5170.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c42c0f5109861d4ede0fc557fd014475.jpg","text":"TemporaryFile(/tmp/multipartBody8745834956893497046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133568109,"filename":"image_17012025_18_04_41_6427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329527174","file1":"1329527172","file0":"1329527169","file4":"1329527208","file5":"1329527219","file3":"1329527184"},"map_files_photo_id_array":[{"photo_id":"1329527219","filename":"file5"},{"photo_id":"1329527174","filename":"file2"},{"photo_id":"1329527208","filename":"file4"},{"photo_id":"1329527172","filename":"file1"},{"photo_id":"1329527169","filename":"file0"},{"photo_id":"1329527184","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329527219":["hashtag1","hashtag2"]},{"1329527169":["hashtag1","hashtag2"]},{"1329527184":["hashtag1","hashtag2"]},{"1329527172":["hashtag1","hashtag2"]},{"1329527208":["hashtag1","hashtag2"]},{"1329527174":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329527219, 1329527169, 1329527184, 1329527172, 1329527208, 1329527174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.86269283294678 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 18:06:02.689468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/05/image_17012025_18_05_53_6396.jpg', '/media/data/images/17012025/18/05/image_17012025_18_05_46_6405.jpg', '/media/data/images/17012025/18/05/image_17012025_18_05_40_5184.jpg', '/media/data/images/17012025/18/05/image_17012025_18_05_35_6383.jpg', '/media/data/images/17012025/18/05/image_17012025_18_05_28_6369.jpg', '/media/data/images/17012025/18/05/image_17012025_18_05_22_5183.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/05/image_17012025_18_05_53_6396.jpg
/media/data/images/17012025/18/05/image_17012025_18_05_46_6405.jpg
/media/data/images/17012025/18/05/image_17012025_18_05_40_5184.jpg
/media/data/images/17012025/18/05/image_17012025_18_05_35_6383.jpg
/media/data/images/17012025/18/05/image_17012025_18_05_28_6369.jpg
/media/data/images/17012025/18/05/image_17012025_18_05_22_5183.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329527336","1329527321","1329527326","1329527341","1329527317","1329527331"],"photo_ids_order":["1329527317","1329527321","1329527326","1329527331","1329527336","1329527341"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4fa1546d37a899e070976fdf43aa643e.jpg","text":"TemporaryFile(/tmp/multipartBody7276581534660188835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133635422,"filename":"image_17012025_18_05_28_6369.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b3d8625ac53baabed99ff54d310904e5.jpg","text":"TemporaryFile(/tmp/multipartBody1239416271607219664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133635422,"filename":"image_17012025_18_05_46_6405.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/07f2c317c454b7e403345e31e1655adc.jpg","text":"TemporaryFile(/tmp/multipartBody6957302890674728082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133635422,"filename":"image_17012025_18_05_40_5184.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/12e985c0f1d03f3365242d5992fe3766.jpg","text":"TemporaryFile(/tmp/multipartBody4604524173108939494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133635422,"filename":"image_17012025_18_05_22_5183.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2c911c2e1374d77c537dd8e2d0a24c11.jpg","text":"TemporaryFile(/tmp/multipartBody4709716451131795182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133635422,"filename":"image_17012025_18_05_53_6396.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/30c05e3c3b15ff2c91e11ebe0c88e402.jpg","text":"TemporaryFile(/tmp/multipartBody507591834118070551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133635422,"filename":"image_17012025_18_05_35_6383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329527326","file1":"1329527321","file0":"1329527317","file4":"1329527336","file5":"1329527341","file3":"1329527331"},"map_files_photo_id_array":[{"photo_id":"1329527341","filename":"file5"},{"photo_id":"1329527326","filename":"file2"},{"photo_id":"1329527336","filename":"file4"},{"photo_id":"1329527321","filename":"file1"},{"photo_id":"1329527317","filename":"file0"},{"photo_id":"1329527331","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329527336":["hashtag1","hashtag2"]},{"1329527321":["hashtag1","hashtag2"]},{"1329527326":["hashtag1","hashtag2"]},{"1329527341":["hashtag1","hashtag2"]},{"1329527317":["hashtag1","hashtag2"]},{"1329527331":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329527336, 1329527321, 1329527326, 1329527341, 1329527317, 1329527331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.033483266830444 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 18:07:02.831732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/06/image_17012025_18_06_52_5180.jpg', '/media/data/images/17012025/18/06/image_17012025_18_06_47_6393.jpg', '/media/data/images/17012025/18/06/image_17012025_18_06_40_6393.jpg', '/media/data/images/17012025/18/06/image_17012025_18_06_34_5175.jpg', '/media/data/images/17012025/18/06/image_17012025_18_06_29_6373.jpg', '/media/data/images/17012025/18/06/image_17012025_18_06_22_6397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/06/image_17012025_18_06_52_5180.jpg
/media/data/images/17012025/18/06/image_17012025_18_06_47_6393.jpg
/media/data/images/17012025/18/06/image_17012025_18_06_40_6393.jpg
/media/data/images/17012025/18/06/image_17012025_18_06_34_5175.jpg
/media/data/images/17012025/18/06/image_17012025_18_06_29_6373.jpg
/media/data/images/17012025/18/06/image_17012025_18_06_22_6397.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329527456","1329527893","1329527650","1329527409","1329527400","1329527390"],"photo_ids_order":["1329527390","1329527400","1329527409","1329527456","1329527650","1329527893"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/96e07f4a5c582b819255e488d49c2ae1.jpg","text":"TemporaryFile(/tmp/multipartBody1903847794088823481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133696104,"filename":"image_17012025_18_06_34_5175.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0e26fa76a9e1187cc7d42e4fa3958742.jpg","text":"TemporaryFile(/tmp/multipartBody7557624048129245221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133696104,"filename":"image_17012025_18_06_22_6397.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a7f6da9201144fdc5342bc2424268d56.jpg","text":"TemporaryFile(/tmp/multipartBody4671722477463532270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133696104,"filename":"image_17012025_18_06_29_6373.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ce007643524309f499afb362b2b52dfa.jpg","text":"TemporaryFile(/tmp/multipartBody3285096702383045781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133696104,"filename":"image_17012025_18_06_40_6393.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/727df429c8d0f32d5011b8fb0d30b650.jpg","text":"TemporaryFile(/tmp/multipartBody8933496503186783750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133696104,"filename":"image_17012025_18_06_47_6393.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/56fd2d16ad6786903e9364bbe883d5f4.jpg","text":"TemporaryFile(/tmp/multipartBody3585568128941215796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133696104,"filename":"image_17012025_18_06_52_5180.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329527409","file1":"1329527400","file0":"1329527390","file4":"1329527650","file5":"1329527893","file3":"1329527456"},"map_files_photo_id_array":[{"photo_id":"1329527893","filename":"file5"},{"photo_id":"1329527409","filename":"file2"},{"photo_id":"1329527650","filename":"file4"},{"photo_id":"1329527400","filename":"file1"},{"photo_id":"1329527390","filename":"file0"},{"photo_id":"1329527456","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329527456":["hashtag1","hashtag2"]},{"1329527893":["hashtag1","hashtag2"]},{"1329527650":["hashtag1","hashtag2"]},{"1329527409":["hashtag1","hashtag2"]},{"1329527400":["hashtag1","hashtag2"]},{"1329527390":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329527456, 1329527893, 1329527650, 1329527409, 1329527400, 1329527390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.27874255180359 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 18:08:02.840694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/07/image_17012025_18_07_52_5209.jpg', '/media/data/images/17012025/18/07/image_17012025_18_07_47_6415.jpg', '/media/data/images/17012025/18/07/image_17012025_18_07_40_6396.jpg', '/media/data/images/17012025/18/07/image_17012025_18_07_34_6374.jpg', '/media/data/images/17012025/18/07/image_17012025_18_07_28_5172.jpg', '/media/data/images/17012025/18/07/image_17012025_18_07_22_6383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/07/image_17012025_18_07_52_5209.jpg
/media/data/images/17012025/18/07/image_17012025_18_07_47_6415.jpg
/media/data/images/17012025/18/07/image_17012025_18_07_40_6396.jpg
/media/data/images/17012025/18/07/image_17012025_18_07_34_6374.jpg
/media/data/images/17012025/18/07/image_17012025_18_07_28_5172.jpg
/media/data/images/17012025/18/07/image_17012025_18_07_22_6383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329528388","1329528406","1329528396","1329528378","1329528429","1329528410"],"photo_ids_order":["1329528378","1329528388","1329528396","1329528406","1329528410","1329528429"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/52c93fd586fcfe1c19cd84e13b242777.jpg","text":"TemporaryFile(/tmp/multipartBody8454486078087789870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133748933,"filename":"image_17012025_18_07_47_6415.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/73d93257b34b0d568ebdaafa850b2ddf.jpg","text":"TemporaryFile(/tmp/multipartBody2712164292901969110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133748933,"filename":"image_17012025_18_07_34_6374.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/359c0cef65835c88ea353f6928a4ac71.jpg","text":"TemporaryFile(/tmp/multipartBody4139889021478724135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133748933,"filename":"image_17012025_18_07_40_6396.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/42c4bccb011d9d1af8eedf5b7b04834c.jpg","text":"TemporaryFile(/tmp/multipartBody3619443026411019261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133748933,"filename":"image_17012025_18_07_52_5209.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a258580e6710017674aab7a78f0e12e8.jpg","text":"TemporaryFile(/tmp/multipartBody3496197081252608900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133748933,"filename":"image_17012025_18_07_22_6383.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/260d8c6bca86aa91d4153800cd47afab.jpg","text":"TemporaryFile(/tmp/multipartBody7996023385489291685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133748933,"filename":"image_17012025_18_07_28_5172.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329528396","file1":"1329528388","file0":"1329528378","file4":"1329528410","file5":"1329528429","file3":"1329528406"},"map_files_photo_id_array":[{"photo_id":"1329528429","filename":"file5"},{"photo_id":"1329528396","filename":"file2"},{"photo_id":"1329528410","filename":"file4"},{"photo_id":"1329528388","filename":"file1"},{"photo_id":"1329528378","filename":"file0"},{"photo_id":"1329528406","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329528388":["hashtag1","hashtag2"]},{"1329528406":["hashtag1","hashtag2"]},{"1329528396":["hashtag1","hashtag2"]},{"1329528378":["hashtag1","hashtag2"]},{"1329528429":["hashtag1","hashtag2"]},{"1329528410":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329528388, 1329528406, 1329528396, 1329528378, 1329528429, 1329528410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.55541944503784 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 18:09:03.264254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/08/image_17012025_18_08_52_6403.jpg', '/media/data/images/17012025/18/08/image_17012025_18_08_46_5165.jpg', '/media/data/images/17012025/18/08/image_17012025_18_08_41_6389.jpg', '/media/data/images/17012025/18/08/image_17012025_18_08_34_6402.jpg', '/media/data/images/17012025/18/08/image_17012025_18_08_28_5180.jpg', '/media/data/images/17012025/18/08/image_17012025_18_08_23_6385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/08/image_17012025_18_08_52_6403.jpg
/media/data/images/17012025/18/08/image_17012025_18_08_46_5165.jpg
/media/data/images/17012025/18/08/image_17012025_18_08_41_6389.jpg
/media/data/images/17012025/18/08/image_17012025_18_08_34_6402.jpg
/media/data/images/17012025/18/08/image_17012025_18_08_28_5180.jpg
/media/data/images/17012025/18/08/image_17012025_18_08_23_6385.jpg
2025-01-17 18:09:03.283365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/08/image_17012025_18_08_52_6403.jpg', '/media/data/images/17012025/18/08/image_17012025_18_08_46_5165.jpg', '/media/data/images/17012025/18/08/image_17012025_18_08_41_6389.jpg', '/media/data/images/17012025/18/08/image_17012025_18_08_34_6402.jpg', '/media/data/images/17012025/18/08/image_17012025_18_08_28_5180.jpg', '/media/data/images/17012025/18/08/image_17012025_18_08_23_6385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/08/image_17012025_18_08_52_6403.jpg
/media/data/images/17012025/18/08/image_17012025_18_08_46_5165.jpg
/media/data/images/17012025/18/08/image_17012025_18_08_41_6389.jpg
/media/data/images/17012025/18/08/image_17012025_18_08_34_6402.jpg
/media/data/images/17012025/18/08/image_17012025_18_08_28_5180.jpg
/media/data/images/17012025/18/08/image_17012025_18_08_23_6385.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: 13.032122373580933 secondes ---
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329528495","1329528477","1329528639","1329528711","1329528875","1329528506"],"photo_ids_order":["1329528477","1329528495","1329528506","1329528639","1329528711","1329528875"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8a7cbac13aac5c6118c61588468cdf2e.jpg","text":"TemporaryFile(/tmp/multipartBody3802315915810786991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133816904,"filename":"image_17012025_18_08_46_5165.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d383a740084d41b34b1282290bb55d8f.jpg","text":"TemporaryFile(/tmp/multipartBody255590004500980753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133816904,"filename":"image_17012025_18_08_52_6403.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/46d5d46cc9974d5e9d5dcebfe89fae94.jpg","text":"TemporaryFile(/tmp/multipartBody5736610878255639879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133816904,"filename":"image_17012025_18_08_34_6402.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b0ce7e112114d23985ed90ef081f0ea4.jpg","text":"TemporaryFile(/tmp/multipartBody2049261602308651559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133816904,"filename":"image_17012025_18_08_28_5180.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7196f1dbd516db9fcd489751acb6a22f.jpg","text":"TemporaryFile(/tmp/multipartBody692461389630367891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133816904,"filename":"image_17012025_18_08_23_6385.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/48a4afb193b93cbe53da6154b960ca91.jpg","text":"TemporaryFile(/tmp/multipartBody9023663466851274076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133816904,"filename":"image_17012025_18_08_41_6389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329528506","file1":"1329528495","file0":"1329528477","file4":"1329528711","file5":"1329528875","file3":"1329528639"},"map_files_photo_id_array":[{"photo_id":"1329528875","filename":"file5"},{"photo_id":"1329528506","filename":"file2"},{"photo_id":"1329528711","filename":"file4"},{"photo_id":"1329528495","filename":"file1"},{"photo_id":"1329528477","filename":"file0"},{"photo_id":"1329528639","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329528495":["hashtag1","hashtag2"]},{"1329528477":["hashtag1","hashtag2"]},{"1329528639":["hashtag1","hashtag2"]},{"1329528711":["hashtag1","hashtag2"]},{"1329528875":["hashtag1","hashtag2"]},{"1329528506":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329528495, 1329528477, 1329528639, 1329528711, 1329528875, 1329528506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.58231544494629 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 18:10:02.140110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/09/image_17012025_18_09_53_6382.jpg', '/media/data/images/17012025/18/09/image_17012025_18_09_46_6433.jpg', '/media/data/images/17012025/18/09/image_17012025_18_09_40_5166.jpg', '/media/data/images/17012025/18/09/image_17012025_18_09_35_6381.jpg', '/media/data/images/17012025/18/09/image_17012025_18_09_28_6373.jpg', '/media/data/images/17012025/18/09/image_17012025_18_09_22_5171.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/09/image_17012025_18_09_53_6382.jpg
/media/data/images/17012025/18/09/image_17012025_18_09_46_6433.jpg
/media/data/images/17012025/18/09/image_17012025_18_09_40_5166.jpg
/media/data/images/17012025/18/09/image_17012025_18_09_35_6381.jpg
/media/data/images/17012025/18/09/image_17012025_18_09_28_6373.jpg
/media/data/images/17012025/18/09/image_17012025_18_09_22_5171.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329529086","1329529104","1329529094","1329529099","1329529066","1329529010"],"photo_ids_order":["1329529010","1329529066","1329529086","1329529094","1329529099","1329529104"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/13f3f0a0a4e9dd0fe3b57157f21ef58f.jpg","text":"TemporaryFile(/tmp/multipartBody8519266361560824902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133878580,"filename":"image_17012025_18_09_40_5166.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/867a7ed85076861d30de1da9ab722ab9.jpg","text":"TemporaryFile(/tmp/multipartBody7137140330047901878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133878580,"filename":"image_17012025_18_09_22_5171.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/40a750e0e09a04938005eeb60a05b265.jpg","text":"TemporaryFile(/tmp/multipartBody7608207568159417189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133878580,"filename":"image_17012025_18_09_35_6381.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/eb648226765093e2ebea2d4c086f91ae.jpg","text":"TemporaryFile(/tmp/multipartBody6049370413477634104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133878580,"filename":"image_17012025_18_09_28_6373.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/43d8e615446aa0faaa63c88b026c5683.jpg","text":"TemporaryFile(/tmp/multipartBody2229935351123669141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133878580,"filename":"image_17012025_18_09_46_6433.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/15bbeb26d2a5d5f40c8ee9665743fd2c.jpg","text":"TemporaryFile(/tmp/multipartBody6908569058444029508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133878580,"filename":"image_17012025_18_09_53_6382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329529086","file1":"1329529066","file0":"1329529010","file4":"1329529099","file5":"1329529104","file3":"1329529094"},"map_files_photo_id_array":[{"photo_id":"1329529104","filename":"file5"},{"photo_id":"1329529086","filename":"file2"},{"photo_id":"1329529099","filename":"file4"},{"photo_id":"1329529066","filename":"file1"},{"photo_id":"1329529010","filename":"file0"},{"photo_id":"1329529094","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329529086":["hashtag1","hashtag2"]},{"1329529104":["hashtag1","hashtag2"]},{"1329529094":["hashtag1","hashtag2"]},{"1329529099":["hashtag1","hashtag2"]},{"1329529066":["hashtag1","hashtag2"]},{"1329529010":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329529086, 1329529104, 1329529094, 1329529099, 1329529066, 1329529010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.2748863697052 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 18:11:02.135315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/10/image_17012025_18_10_52_5132.jpg', '/media/data/images/17012025/18/10/image_17012025_18_10_47_6401.jpg', '/media/data/images/17012025/18/10/image_17012025_18_10_40_6391.jpg', '/media/data/images/17012025/18/10/image_17012025_18_10_34_5189.jpg', '/media/data/images/17012025/18/10/image_17012025_18_10_29_6404.jpg', '/media/data/images/17012025/18/10/image_17012025_18_10_22_6424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/10/image_17012025_18_10_52_5132.jpg
/media/data/images/17012025/18/10/image_17012025_18_10_47_6401.jpg
/media/data/images/17012025/18/10/image_17012025_18_10_40_6391.jpg
/media/data/images/17012025/18/10/image_17012025_18_10_34_5189.jpg
/media/data/images/17012025/18/10/image_17012025_18_10_29_6404.jpg
/media/data/images/17012025/18/10/image_17012025_18_10_22_6424.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329529150","1329529142","1329529139","1329529133","1329529127","1329529147"],"photo_ids_order":["1329529127","1329529133","1329529139","1329529142","1329529147","1329529150"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fd50d9a3c00dba694b70a90752b03049.jpg","text":"TemporaryFile(/tmp/multipartBody1913980688815428143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133928728,"filename":"image_17012025_18_10_22_6424.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7c3fb393d648b54a04578942dd7a082b.jpg","text":"TemporaryFile(/tmp/multipartBody7238644112278127382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133928728,"filename":"image_17012025_18_10_34_5189.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d05a97715a8a14729fc714ca1bc76045.jpg","text":"TemporaryFile(/tmp/multipartBody6114074479396525246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133928728,"filename":"image_17012025_18_10_40_6391.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/711cc5978a20ed862b48809e34665be6.jpg","text":"TemporaryFile(/tmp/multipartBody9134774532071605812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133928728,"filename":"image_17012025_18_10_47_6401.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ba6b5904bd4c52d562fcef201f6f8854.jpg","text":"TemporaryFile(/tmp/multipartBody8478413061887159983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133928728,"filename":"image_17012025_18_10_52_5132.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/31bbf831ea63b3ef04f27b9e53c6427f.jpg","text":"TemporaryFile(/tmp/multipartBody7591287476786124258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133928728,"filename":"image_17012025_18_10_29_6404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329529139","file1":"1329529133","file0":"1329529127","file4":"1329529147","file5":"1329529150","file3":"1329529142"},"map_files_photo_id_array":[{"photo_id":"1329529150","filename":"file5"},{"photo_id":"1329529139","filename":"file2"},{"photo_id":"1329529147","filename":"file4"},{"photo_id":"1329529133","filename":"file1"},{"photo_id":"1329529127","filename":"file0"},{"photo_id":"1329529142","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329529150":["hashtag1","hashtag2"]},{"1329529142":["hashtag1","hashtag2"]},{"1329529139":["hashtag1","hashtag2"]},{"1329529133":["hashtag1","hashtag2"]},{"1329529127":["hashtag1","hashtag2"]},{"1329529147":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329529150, 1329529142, 1329529139, 1329529133, 1329529127, 1329529147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.083173990249634 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 18:12:02.136773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/11/image_17012025_18_11_52_6377.jpg', '/media/data/images/17012025/18/11/image_17012025_18_11_46_5200.jpg', '/media/data/images/17012025/18/11/image_17012025_18_11_41_6389.jpg', '/media/data/images/17012025/18/11/image_17012025_18_11_34_6391.jpg', '/media/data/images/17012025/18/11/image_17012025_18_11_28_5183.jpg', '/media/data/images/17012025/18/11/image_17012025_18_11_23_6387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/11/image_17012025_18_11_52_6377.jpg
/media/data/images/17012025/18/11/image_17012025_18_11_46_5200.jpg
/media/data/images/17012025/18/11/image_17012025_18_11_41_6389.jpg
/media/data/images/17012025/18/11/image_17012025_18_11_34_6391.jpg
/media/data/images/17012025/18/11/image_17012025_18_11_28_5183.jpg
/media/data/images/17012025/18/11/image_17012025_18_11_23_6387.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329529188","1329529170","1329529172","1329529184","1329529178","1329529192"],"photo_ids_order":["1329529170","1329529172","1329529178","1329529184","1329529188","1329529192"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8c7c430eac8f7b04d17f206a3b0b69e8.jpg","text":"TemporaryFile(/tmp/multipartBody3480126248678406528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133987256,"filename":"image_17012025_18_11_28_5183.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/937c012ae3dfe0d7b57e241be09228af.jpg","text":"TemporaryFile(/tmp/multipartBody560301917875619388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133987256,"filename":"image_17012025_18_11_52_6377.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e6f23f1217ffeae41fba9df9cf0035c5.jpg","text":"TemporaryFile(/tmp/multipartBody808482186033224610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133987256,"filename":"image_17012025_18_11_46_5200.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3854d45a87508a12ca609b9dc647ed95.jpg","text":"TemporaryFile(/tmp/multipartBody2580982226199479989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133987256,"filename":"image_17012025_18_11_34_6391.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f145377f63116c73d7081b962d92d5ee.jpg","text":"TemporaryFile(/tmp/multipartBody8479460899020310678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133987256,"filename":"image_17012025_18_11_41_6389.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/76d0e7e0f70e9745107dbb264802f278.jpg","text":"TemporaryFile(/tmp/multipartBody2947040446540681357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737133987256,"filename":"image_17012025_18_11_23_6387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329529178","file1":"1329529172","file0":"1329529170","file4":"1329529188","file5":"1329529192","file3":"1329529184"},"map_files_photo_id_array":[{"photo_id":"1329529192","filename":"file5"},{"photo_id":"1329529178","filename":"file2"},{"photo_id":"1329529188","filename":"file4"},{"photo_id":"1329529172","filename":"file1"},{"photo_id":"1329529170","filename":"file0"},{"photo_id":"1329529184","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329529188":["hashtag1","hashtag2"]},{"1329529170":["hashtag1","hashtag2"]},{"1329529172":["hashtag1","hashtag2"]},{"1329529184":["hashtag1","hashtag2"]},{"1329529178":["hashtag1","hashtag2"]},{"1329529192":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329529188, 1329529170, 1329529172, 1329529184, 1329529178, 1329529192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.98336601257324 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 18:12:41.984017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/12/image_17012025_18_12_52_6428.jpg', '/media/data/images/17012025/18/12/image_17012025_18_12_46_5208.jpg', '/media/data/images/17012025/18/12/image_17012025_18_12_41_6202.jpg', '/media/data/images/17012025/18/12/image_17012025_18_12_34_6402.jpg', '/media/data/images/17012025/18/12/image_17012025_18_12_28_5175.jpg', '/media/data/images/17012025/18/12/image_17012025_18_12_23_6357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/12/image_17012025_18_12_52_6428.jpg
/media/data/images/17012025/18/12/image_17012025_18_12_46_5208.jpg
/media/data/images/17012025/18/12/image_17012025_18_12_41_6202.jpg
/media/data/images/17012025/18/12/image_17012025_18_12_34_6402.jpg
/media/data/images/17012025/18/12/image_17012025_18_12_28_5175.jpg
/media/data/images/17012025/18/12/image_17012025_18_12_23_6357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329529237","1329529222","1329529225","1329529229","1329529220","1329529214"],"photo_ids_order":["1329529214","1329529220","1329529222","1329529225","1329529229","1329529237"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3371482b2d0dc36f649e52be56ad560a.jpg","text":"TemporaryFile(/tmp/multipartBody3001347268636995988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134043568,"filename":"image_17012025_18_12_23_6357.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e8d3b55dbfacd50d6169ce76571d9d62.jpg","text":"TemporaryFile(/tmp/multipartBody5553519984631259048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134043568,"filename":"image_17012025_18_12_41_6202.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ccd66e0f9c24efd89220ca14cdb9ed0c.jpg","text":"TemporaryFile(/tmp/multipartBody4188128569613256952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134043568,"filename":"image_17012025_18_12_34_6402.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/40774689fc373644b8a1cfdd4e707cd4.jpg","text":"TemporaryFile(/tmp/multipartBody8779176481872088778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134043568,"filename":"image_17012025_18_12_28_5175.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/38f29176a237ecdad8412f25364f8838.jpg","text":"TemporaryFile(/tmp/multipartBody4899238096289146161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134043568,"filename":"image_17012025_18_12_46_5208.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c782ada1ba4073e04c42a01865f871ce.jpg","text":"TemporaryFile(/tmp/multipartBody7427496457976486346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134043568,"filename":"image_17012025_18_12_52_6428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329529222","file1":"1329529220","file0":"1329529214","file4":"1329529229","file5":"1329529237","file3":"1329529225"},"map_files_photo_id_array":[{"photo_id":"1329529237","filename":"file5"},{"photo_id":"1329529222","filename":"file2"},{"photo_id":"1329529229","filename":"file4"},{"photo_id":"1329529220","filename":"file1"},{"photo_id":"1329529214","filename":"file0"},{"photo_id":"1329529225","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329529237":["hashtag1","hashtag2"]},{"1329529222":["hashtag1","hashtag2"]},{"1329529225":["hashtag1","hashtag2"]},{"1329529229":["hashtag1","hashtag2"]},{"1329529220":["hashtag1","hashtag2"]},{"1329529214":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329529237, 1329529222, 1329529225, 1329529229, 1329529220, 1329529214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.213008642196655 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 18:13:42.056246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/13/image_17012025_18_13_53_6390.jpg', '/media/data/images/17012025/18/13/image_17012025_18_13_46_6378.jpg', '/media/data/images/17012025/18/13/image_17012025_18_13_40_5207.jpg', '/media/data/images/17012025/18/13/image_17012025_18_13_35_6428.jpg', '/media/data/images/17012025/18/13/image_17012025_18_13_28_6433.jpg', '/media/data/images/17012025/18/13/image_17012025_18_13_22_5200.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/13/image_17012025_18_13_53_6390.jpg
/media/data/images/17012025/18/13/image_17012025_18_13_46_6378.jpg
/media/data/images/17012025/18/13/image_17012025_18_13_40_5207.jpg
/media/data/images/17012025/18/13/image_17012025_18_13_35_6428.jpg
/media/data/images/17012025/18/13/image_17012025_18_13_28_6433.jpg
/media/data/images/17012025/18/13/image_17012025_18_13_22_5200.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329529276","1329529263","1329529266","1329529271","1329529280","1329529285"],"photo_ids_order":["1329529263","1329529266","1329529271","1329529276","1329529280","1329529285"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c09a237c064bedce9c81598bef9fff9a.jpg","text":"TemporaryFile(/tmp/multipartBody3785739117542216646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134095476,"filename":"image_17012025_18_13_35_6428.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d9ae0d7422a4d24c407d86dcbbf4985a.jpg","text":"TemporaryFile(/tmp/multipartBody5428126364936167822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134095476,"filename":"image_17012025_18_13_53_6390.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0fc0f4c5233646972a66cc94d9db6790.jpg","text":"TemporaryFile(/tmp/multipartBody8464239806886479429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134095476,"filename":"image_17012025_18_13_46_6378.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/63465f149ef308922d493ff64d94f210.jpg","text":"TemporaryFile(/tmp/multipartBody3811867851718644769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134095476,"filename":"image_17012025_18_13_40_5207.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/af8bf881238cec2e78f2b06cf989f827.jpg","text":"TemporaryFile(/tmp/multipartBody714915098939508698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134095476,"filename":"image_17012025_18_13_28_6433.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/72f7dfb950eff3653ce707bb31bea31c.jpg","text":"TemporaryFile(/tmp/multipartBody3193681831457313640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134095476,"filename":"image_17012025_18_13_22_5200.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329529271","file1":"1329529266","file0":"1329529263","file4":"1329529280","file5":"1329529285","file3":"1329529276"},"map_files_photo_id_array":[{"photo_id":"1329529285","filename":"file5"},{"photo_id":"1329529271","filename":"file2"},{"photo_id":"1329529280","filename":"file4"},{"photo_id":"1329529266","filename":"file1"},{"photo_id":"1329529263","filename":"file0"},{"photo_id":"1329529276","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329529276":["hashtag1","hashtag2"]},{"1329529263":["hashtag1","hashtag2"]},{"1329529266":["hashtag1","hashtag2"]},{"1329529271":["hashtag1","hashtag2"]},{"1329529280":["hashtag1","hashtag2"]},{"1329529285":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329529276, 1329529263, 1329529266, 1329529271, 1329529280, 1329529285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.280638694763184 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 18:14:42.159936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/14/image_17012025_18_14_52_5182.jpg', '/media/data/images/17012025/18/14/image_17012025_18_14_47_6409.jpg', '/media/data/images/17012025/18/14/image_17012025_18_14_40_6401.jpg', '/media/data/images/17012025/18/14/image_17012025_18_14_34_5171.jpg', '/media/data/images/17012025/18/14/image_17012025_18_14_29_6372.jpg', '/media/data/images/17012025/18/14/image_17012025_18_14_22_6402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/14/image_17012025_18_14_52_5182.jpg
/media/data/images/17012025/18/14/image_17012025_18_14_47_6409.jpg
/media/data/images/17012025/18/14/image_17012025_18_14_40_6401.jpg
/media/data/images/17012025/18/14/image_17012025_18_14_34_5171.jpg
/media/data/images/17012025/18/14/image_17012025_18_14_29_6372.jpg
/media/data/images/17012025/18/14/image_17012025_18_14_22_6402.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329529603","1329529668","1329529449","1329529521","1329529316","1329529363"],"photo_ids_order":["1329529316","1329529363","1329529449","1329529521","1329529603","1329529668"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c7ed548bd54222a2e0760c85bca4339e.jpg","text":"TemporaryFile(/tmp/multipartBody4561116357767782235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134152067,"filename":"image_17012025_18_14_29_6372.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ed660c48ea7a58ac23ad83cc4894eb89.jpg","text":"TemporaryFile(/tmp/multipartBody7562534541305861742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134152067,"filename":"image_17012025_18_14_22_6402.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/042afbfc0eb8afc5ef23e12edc65f9f8.jpg","text":"TemporaryFile(/tmp/multipartBody5125035425930064437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134152067,"filename":"image_17012025_18_14_40_6401.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/16422b53c69909530e004b7d74b757ce.jpg","text":"TemporaryFile(/tmp/multipartBody1703133991402665779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134152067,"filename":"image_17012025_18_14_34_5171.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ba44233e824463b23ac201e6cb1064ca.jpg","text":"TemporaryFile(/tmp/multipartBody2997277746041449497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134152067,"filename":"image_17012025_18_14_52_5182.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9e8f9ad5188def1e5ae38be132a48436.jpg","text":"TemporaryFile(/tmp/multipartBody2304624768282721592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134152067,"filename":"image_17012025_18_14_47_6409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329529449","file1":"1329529363","file0":"1329529316","file4":"1329529603","file5":"1329529668","file3":"1329529521"},"map_files_photo_id_array":[{"photo_id":"1329529668","filename":"file5"},{"photo_id":"1329529449","filename":"file2"},{"photo_id":"1329529603","filename":"file4"},{"photo_id":"1329529363","filename":"file1"},{"photo_id":"1329529316","filename":"file0"},{"photo_id":"1329529521","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329529603":["hashtag1","hashtag2"]},{"1329529668":["hashtag1","hashtag2"]},{"1329529449":["hashtag1","hashtag2"]},{"1329529521":["hashtag1","hashtag2"]},{"1329529316":["hashtag1","hashtag2"]},{"1329529363":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329529603, 1329529668, 1329529449, 1329529521, 1329529316, 1329529363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.60719347000122 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 18:15:42.261324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/15/image_17012025_18_15_52_6379.jpg', '/media/data/images/17012025/18/15/image_17012025_18_15_46_5190.jpg', '/media/data/images/17012025/18/15/image_17012025_18_15_41_6421.jpg', '/media/data/images/17012025/18/15/image_17012025_18_15_34_6430.jpg', '/media/data/images/17012025/18/15/image_17012025_18_15_28_5183.jpg', '/media/data/images/17012025/18/15/image_17012025_18_15_23_6421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/15/image_17012025_18_15_52_6379.jpg
/media/data/images/17012025/18/15/image_17012025_18_15_46_5190.jpg
/media/data/images/17012025/18/15/image_17012025_18_15_41_6421.jpg
/media/data/images/17012025/18/15/image_17012025_18_15_34_6430.jpg
/media/data/images/17012025/18/15/image_17012025_18_15_28_5183.jpg
/media/data/images/17012025/18/15/image_17012025_18_15_23_6421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329529965","1329529978","1329529972","1329529981","1329529969","1329529960"],"photo_ids_order":["1329529960","1329529965","1329529969","1329529972","1329529978","1329529981"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c9c23bb34e21dfeab0564221db1124c6.jpg","text":"TemporaryFile(/tmp/multipartBody1418356726376135523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134209003,"filename":"image_17012025_18_15_46_5190.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/08feb9c165999e39f8f7642766760f5f.jpg","text":"TemporaryFile(/tmp/multipartBody9141424311037455724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134209003,"filename":"image_17012025_18_15_28_5183.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/60c9e4ba745dac7df956e6abfff91087.jpg","text":"TemporaryFile(/tmp/multipartBody4290123866951467646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134209003,"filename":"image_17012025_18_15_34_6430.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bf1c21dca7c00e3d06fb4b8d159417a1.jpg","text":"TemporaryFile(/tmp/multipartBody2413931534529667863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134209003,"filename":"image_17012025_18_15_23_6421.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4a9c4e741930e5bb729c6257bb912c65.jpg","text":"TemporaryFile(/tmp/multipartBody2377444699664015347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134209003,"filename":"image_17012025_18_15_41_6421.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1ab73fc5a431d2f49e94885e289a080b.jpg","text":"TemporaryFile(/tmp/multipartBody566469417129314698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134209003,"filename":"image_17012025_18_15_52_6379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329529969","file1":"1329529965","file0":"1329529960","file4":"1329529978","file5":"1329529981","file3":"1329529972"},"map_files_photo_id_array":[{"photo_id":"1329529981","filename":"file5"},{"photo_id":"1329529969","filename":"file2"},{"photo_id":"1329529978","filename":"file4"},{"photo_id":"1329529965","filename":"file1"},{"photo_id":"1329529960","filename":"file0"},{"photo_id":"1329529972","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329529965":["hashtag1","hashtag2"]},{"1329529978":["hashtag1","hashtag2"]},{"1329529972":["hashtag1","hashtag2"]},{"1329529981":["hashtag1","hashtag2"]},{"1329529969":["hashtag1","hashtag2"]},{"1329529960":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329529965, 1329529978, 1329529972, 1329529981, 1329529969, 1329529960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.70243310928345 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 18:16:42.399152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/16/image_17012025_18_16_52_6363.jpg', '/media/data/images/17012025/18/16/image_17012025_18_16_46_5179.jpg', '/media/data/images/17012025/18/16/image_17012025_18_16_41_6392.jpg', '/media/data/images/17012025/18/16/image_17012025_18_16_34_6396.jpg', '/media/data/images/17012025/18/16/image_17012025_18_16_28_6375.jpg', '/media/data/images/17012025/18/16/image_17012025_18_16_22_5184.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/16/image_17012025_18_16_52_6363.jpg
/media/data/images/17012025/18/16/image_17012025_18_16_46_5179.jpg
/media/data/images/17012025/18/16/image_17012025_18_16_41_6392.jpg
/media/data/images/17012025/18/16/image_17012025_18_16_34_6396.jpg
/media/data/images/17012025/18/16/image_17012025_18_16_28_6375.jpg
/media/data/images/17012025/18/16/image_17012025_18_16_22_5184.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: 6.111638307571411 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 18:17:02.961059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/16/image_17012025_18_16_52_6363.jpg', '/media/data/images/17012025/18/16/image_17012025_18_16_46_5179.jpg', '/media/data/images/17012025/18/16/image_17012025_18_16_41_6392.jpg', '/media/data/images/17012025/18/16/image_17012025_18_16_34_6396.jpg', '/media/data/images/17012025/18/16/image_17012025_18_16_28_6375.jpg', '/media/data/images/17012025/18/16/image_17012025_18_16_22_5184.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/16/image_17012025_18_16_52_6363.jpg
/media/data/images/17012025/18/16/image_17012025_18_16_46_5179.jpg
/media/data/images/17012025/18/16/image_17012025_18_16_41_6392.jpg
/media/data/images/17012025/18/16/image_17012025_18_16_34_6396.jpg
/media/data/images/17012025/18/16/image_17012025_18_16_28_6375.jpg
/media/data/images/17012025/18/16/image_17012025_18_16_22_5184.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329530743","1329530751","1329530739","1329530754","1329530733","1329530747"],"photo_ids_order":["1329530733","1329530739","1329530743","1329530747","1329530751","1329530754"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c3f75db032b951c6258e70be4ac40f08.jpg","text":"TemporaryFile(/tmp/multipartBody4272415883837303894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134287451,"filename":"image_17012025_18_16_41_6392.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e25380d3bd8ff1339d4abd5c41432eca.jpg","text":"TemporaryFile(/tmp/multipartBody7555144292645033453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134287451,"filename":"image_17012025_18_16_28_6375.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7093e13788c031953c1ef1e978c5adca.jpg","text":"TemporaryFile(/tmp/multipartBody7051593295852152496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134287451,"filename":"image_17012025_18_16_46_5179.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8ee5c742430a15fdc6501716424ab84f.jpg","text":"TemporaryFile(/tmp/multipartBody3283598955185289977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134287451,"filename":"image_17012025_18_16_22_5184.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/444d5aed6b1aa8ef7ed15df661748d00.jpg","text":"TemporaryFile(/tmp/multipartBody1844563494752081969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134287451,"filename":"image_17012025_18_16_52_6363.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8074f6b1a18f8480d35b3201686bed7f.jpg","text":"TemporaryFile(/tmp/multipartBody5446741837551085715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134287451,"filename":"image_17012025_18_16_34_6396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329530743","file1":"1329530739","file0":"1329530733","file4":"1329530751","file5":"1329530754","file3":"1329530747"},"map_files_photo_id_array":[{"photo_id":"1329530754","filename":"file5"},{"photo_id":"1329530743","filename":"file2"},{"photo_id":"1329530751","filename":"file4"},{"photo_id":"1329530739","filename":"file1"},{"photo_id":"1329530733","filename":"file0"},{"photo_id":"1329530747","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329530743":["hashtag1","hashtag2"]},{"1329530751":["hashtag1","hashtag2"]},{"1329530739":["hashtag1","hashtag2"]},{"1329530754":["hashtag1","hashtag2"]},{"1329530733":["hashtag1","hashtag2"]},{"1329530747":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329530743, 1329530751, 1329530739, 1329530754, 1329530733, 1329530747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.54495906829834 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 18:17:42.465697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/17/image_17012025_18_17_53_6399.jpg', '/media/data/images/17012025/18/17/image_17012025_18_17_46_6417.jpg', '/media/data/images/17012025/18/17/image_17012025_18_17_40_5218.jpg', '/media/data/images/17012025/18/17/image_17012025_18_17_35_6420.jpg', '/media/data/images/17012025/18/17/image_17012025_18_17_28_6392.jpg', '/media/data/images/17012025/18/17/image_17012025_18_17_22_5186.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/17/image_17012025_18_17_53_6399.jpg
/media/data/images/17012025/18/17/image_17012025_18_17_46_6417.jpg
/media/data/images/17012025/18/17/image_17012025_18_17_40_5218.jpg
/media/data/images/17012025/18/17/image_17012025_18_17_35_6420.jpg
/media/data/images/17012025/18/17/image_17012025_18_17_28_6392.jpg
/media/data/images/17012025/18/17/image_17012025_18_17_22_5186.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329530983","1329530974","1329530953","1329530979","1329530970","1329530882"],"photo_ids_order":["1329530882","1329530953","1329530970","1329530974","1329530979","1329530983"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cfec2ea6743305ab09b5bb5215b5508c.jpg","text":"TemporaryFile(/tmp/multipartBody7794657417596291036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134327228,"filename":"image_17012025_18_17_22_5186.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1fac76bb24c9af25fc305b466e4389e2.jpg","text":"TemporaryFile(/tmp/multipartBody3051214721283146993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134327228,"filename":"image_17012025_18_17_35_6420.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cb2535a1de0036d6fd6f8e36d5cd25fb.jpg","text":"TemporaryFile(/tmp/multipartBody2977357872158844679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134327228,"filename":"image_17012025_18_17_46_6417.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1e2cab3d9725e03aae6d6d0a60119334.jpg","text":"TemporaryFile(/tmp/multipartBody1428540131089216231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134327228,"filename":"image_17012025_18_17_28_6392.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8a66ad41a05ee789fae5d83a6d2d6acd.jpg","text":"TemporaryFile(/tmp/multipartBody6627711685877709722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134327228,"filename":"image_17012025_18_17_40_5218.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e73acd296e6a94ea2c0cd00b1c50122d.jpg","text":"TemporaryFile(/tmp/multipartBody5023138723738838564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134327228,"filename":"image_17012025_18_17_53_6399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329530970","file1":"1329530953","file0":"1329530882","file4":"1329530979","file5":"1329530983","file3":"1329530974"},"map_files_photo_id_array":[{"photo_id":"1329530983","filename":"file5"},{"photo_id":"1329530970","filename":"file2"},{"photo_id":"1329530979","filename":"file4"},{"photo_id":"1329530953","filename":"file1"},{"photo_id":"1329530882","filename":"file0"},{"photo_id":"1329530974","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329530983":["hashtag1","hashtag2"]},{"1329530974":["hashtag1","hashtag2"]},{"1329530953":["hashtag1","hashtag2"]},{"1329530979":["hashtag1","hashtag2"]},{"1329530970":["hashtag1","hashtag2"]},{"1329530882":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329530983, 1329530974, 1329530953, 1329530979, 1329530970, 1329530882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.114213943481445 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 18:18:42.545585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/18/image_17012025_18_18_52_5200.jpg', '/media/data/images/17012025/18/18/image_17012025_18_18_47_6451.jpg', '/media/data/images/17012025/18/18/image_17012025_18_18_40_6382.jpg', '/media/data/images/17012025/18/18/image_17012025_18_18_34_5180.jpg', '/media/data/images/17012025/18/18/image_17012025_18_18_29_6386.jpg', '/media/data/images/17012025/18/18/image_17012025_18_18_22_6390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/18/image_17012025_18_18_52_5200.jpg
/media/data/images/17012025/18/18/image_17012025_18_18_47_6451.jpg
/media/data/images/17012025/18/18/image_17012025_18_18_40_6382.jpg
/media/data/images/17012025/18/18/image_17012025_18_18_34_5180.jpg
/media/data/images/17012025/18/18/image_17012025_18_18_29_6386.jpg
/media/data/images/17012025/18/18/image_17012025_18_18_22_6390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329531294","1329531303","1329531306","1329531260","1329531107","1329531184"],"photo_ids_order":["1329531107","1329531184","1329531260","1329531294","1329531303","1329531306"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a2c5d31b84e9f84b9a17fa6d2aacc2b9.jpg","text":"TemporaryFile(/tmp/multipartBody7475867757580183853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134387497,"filename":"image_17012025_18_18_34_5180.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c97c2640a5af40e51a1985370b5bf0c8.jpg","text":"TemporaryFile(/tmp/multipartBody3249193307793645235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134387497,"filename":"image_17012025_18_18_29_6386.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d7d417640b0b182148ba17c5219495d6.jpg","text":"TemporaryFile(/tmp/multipartBody4460577646680743558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134387497,"filename":"image_17012025_18_18_22_6390.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/54c0492ec71fb0bde15f9c08317de0bb.jpg","text":"TemporaryFile(/tmp/multipartBody5266661950626740033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134387497,"filename":"image_17012025_18_18_40_6382.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c2fa75808c5ff887fc0e8ca5649bbf3a.jpg","text":"TemporaryFile(/tmp/multipartBody9146641894822557924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134387497,"filename":"image_17012025_18_18_52_5200.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/73fdb63ca2764b34b07f28b0c2548606.jpg","text":"TemporaryFile(/tmp/multipartBody5541829244724516936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134387497,"filename":"image_17012025_18_18_47_6451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329531260","file1":"1329531184","file0":"1329531107","file4":"1329531303","file5":"1329531306","file3":"1329531294"},"map_files_photo_id_array":[{"photo_id":"1329531306","filename":"file5"},{"photo_id":"1329531260","filename":"file2"},{"photo_id":"1329531303","filename":"file4"},{"photo_id":"1329531184","filename":"file1"},{"photo_id":"1329531107","filename":"file0"},{"photo_id":"1329531294","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329531294":["hashtag1","hashtag2"]},{"1329531303":["hashtag1","hashtag2"]},{"1329531306":["hashtag1","hashtag2"]},{"1329531260":["hashtag1","hashtag2"]},{"1329531107":["hashtag1","hashtag2"]},{"1329531184":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329531294, 1329531303, 1329531306, 1329531260, 1329531107, 1329531184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.84972429275513 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 18:19:42.636816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/19/image_17012025_18_19_52_6385.jpg', '/media/data/images/17012025/18/19/image_17012025_18_19_46_5162.jpg', '/media/data/images/17012025/18/19/image_17012025_18_19_40_6415.jpg', '/media/data/images/17012025/18/19/image_17012025_18_19_34_6431.jpg', '/media/data/images/17012025/18/19/image_17012025_18_19_28_5181.jpg', '/media/data/images/17012025/18/19/image_17012025_18_19_22_6389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/19/image_17012025_18_19_52_6385.jpg
/media/data/images/17012025/18/19/image_17012025_18_19_46_5162.jpg
/media/data/images/17012025/18/19/image_17012025_18_19_40_6415.jpg
/media/data/images/17012025/18/19/image_17012025_18_19_34_6431.jpg
/media/data/images/17012025/18/19/image_17012025_18_19_28_5181.jpg
/media/data/images/17012025/18/19/image_17012025_18_19_22_6389.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329531325","1329531333","1329531336","1329531344","1329531329","1329531340"],"photo_ids_order":["1329531325","1329531329","1329531333","1329531336","1329531340","1329531344"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cd3291e2e2b10caae0229fa0ebe60e10.jpg","text":"TemporaryFile(/tmp/multipartBody4621168017453915468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134449218,"filename":"image_17012025_18_19_52_6385.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f204fee1b8bdd038a2c1fd3cf255e024.jpg","text":"TemporaryFile(/tmp/multipartBody7722703002103989968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134449218,"filename":"image_17012025_18_19_40_6415.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/deab82f8aaa439d1492e034c8114dd87.jpg","text":"TemporaryFile(/tmp/multipartBody8974208365947029623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134449218,"filename":"image_17012025_18_19_34_6431.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a1ba93a4ec56e44f7ece67ddd195271b.jpg","text":"TemporaryFile(/tmp/multipartBody4715476300277161587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134449218,"filename":"image_17012025_18_19_22_6389.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ae76b0a74b4d71bba5f58aaf46f7e874.jpg","text":"TemporaryFile(/tmp/multipartBody3957649664685030865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134449218,"filename":"image_17012025_18_19_46_5162.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/903cf6d2f5a90bcc820a0fd8704cc28d.jpg","text":"TemporaryFile(/tmp/multipartBody9111621774869534440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134449218,"filename":"image_17012025_18_19_28_5181.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329531333","file1":"1329531329","file0":"1329531325","file4":"1329531340","file5":"1329531344","file3":"1329531336"},"map_files_photo_id_array":[{"photo_id":"1329531344","filename":"file5"},{"photo_id":"1329531333","filename":"file2"},{"photo_id":"1329531340","filename":"file4"},{"photo_id":"1329531329","filename":"file1"},{"photo_id":"1329531325","filename":"file0"},{"photo_id":"1329531336","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329531325":["hashtag1","hashtag2"]},{"1329531333":["hashtag1","hashtag2"]},{"1329531336":["hashtag1","hashtag2"]},{"1329531344":["hashtag1","hashtag2"]},{"1329531329":["hashtag1","hashtag2"]},{"1329531340":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329531325, 1329531333, 1329531336, 1329531344, 1329531329, 1329531340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.31172466278076 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 18:20:42.717259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/20/image_17012025_18_20_52_6454.jpg', '/media/data/images/17012025/18/20/image_17012025_18_20_46_5223.jpg', '/media/data/images/17012025/18/20/image_17012025_18_20_41_6410.jpg', '/media/data/images/17012025/18/20/image_17012025_18_20_34_6420.jpg', '/media/data/images/17012025/18/20/image_17012025_18_20_28_5183.jpg', '/media/data/images/17012025/18/20/image_17012025_18_20_23_6406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/20/image_17012025_18_20_52_6454.jpg
/media/data/images/17012025/18/20/image_17012025_18_20_46_5223.jpg
/media/data/images/17012025/18/20/image_17012025_18_20_41_6410.jpg
/media/data/images/17012025/18/20/image_17012025_18_20_34_6420.jpg
/media/data/images/17012025/18/20/image_17012025_18_20_28_5183.jpg
/media/data/images/17012025/18/20/image_17012025_18_20_23_6406.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329531415","1329531375","1329531473","1329531638","1329531379","1329531766"],"photo_ids_order":["1329531375","1329531379","1329531415","1329531473","1329531638","1329531766"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c41004014a509c89b3540544a86ca583.jpg","text":"TemporaryFile(/tmp/multipartBody4459003395905447994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134507654,"filename":"image_17012025_18_20_41_6410.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fb1b1809ca1121366fbb047dd614e71e.jpg","text":"TemporaryFile(/tmp/multipartBody7684204697359046917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134507654,"filename":"image_17012025_18_20_52_6454.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3c41c60369ebcd9c4fa9612e33c84d22.jpg","text":"TemporaryFile(/tmp/multipartBody5108757135944472774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134507654,"filename":"image_17012025_18_20_34_6420.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e2c0cfbfc1bd18e6f3dc9b3472cd6b33.jpg","text":"TemporaryFile(/tmp/multipartBody3210531544325455428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134507654,"filename":"image_17012025_18_20_28_5183.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a246316246c5d856cf4f80c8dc7241c9.jpg","text":"TemporaryFile(/tmp/multipartBody8704327511711912967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134507654,"filename":"image_17012025_18_20_46_5223.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2a354af5c7c535560bddda60ef8536fd.jpg","text":"TemporaryFile(/tmp/multipartBody1414180056747853631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134507654,"filename":"image_17012025_18_20_23_6406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329531415","file1":"1329531379","file0":"1329531375","file4":"1329531638","file5":"1329531766","file3":"1329531473"},"map_files_photo_id_array":[{"photo_id":"1329531766","filename":"file5"},{"photo_id":"1329531415","filename":"file2"},{"photo_id":"1329531638","filename":"file4"},{"photo_id":"1329531379","filename":"file1"},{"photo_id":"1329531375","filename":"file0"},{"photo_id":"1329531473","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329531415":["hashtag1","hashtag2"]},{"1329531375":["hashtag1","hashtag2"]},{"1329531473":["hashtag1","hashtag2"]},{"1329531638":["hashtag1","hashtag2"]},{"1329531379":["hashtag1","hashtag2"]},{"1329531766":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329531415, 1329531375, 1329531473, 1329531638, 1329531379, 1329531766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.664008140563965 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 18:21:41.836179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/21/image_17012025_18_21_53_6380.jpg', '/media/data/images/17012025/18/21/image_17012025_18_21_46_6375.jpg', '/media/data/images/17012025/18/21/image_17012025_18_21_40_5191.jpg', '/media/data/images/17012025/18/21/image_17012025_18_21_35_6377.jpg', '/media/data/images/17012025/18/21/image_17012025_18_21_28_6431.jpg', '/media/data/images/17012025/18/21/image_17012025_18_21_22_5164.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/21/image_17012025_18_21_53_6380.jpg
/media/data/images/17012025/18/21/image_17012025_18_21_46_6375.jpg
/media/data/images/17012025/18/21/image_17012025_18_21_40_5191.jpg
/media/data/images/17012025/18/21/image_17012025_18_21_35_6377.jpg
/media/data/images/17012025/18/21/image_17012025_18_21_28_6431.jpg
/media/data/images/17012025/18/21/image_17012025_18_21_22_5164.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329532312","1329532341","1329532337","1329532316","1329532333","1329532339"],"photo_ids_order":["1329532312","1329532316","1329532333","1329532337","1329532339","1329532341"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/297e8031410e97c1275839f5c96b43ec.jpg","text":"TemporaryFile(/tmp/multipartBody6829985920908117270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134568404,"filename":"image_17012025_18_21_53_6380.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fb42fd7e5294f1d0c917eac6e7d5012b.jpg","text":"TemporaryFile(/tmp/multipartBody8763431340927363521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134568404,"filename":"image_17012025_18_21_22_5164.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a63b6e64b13b5d0414410802e2ac14b6.jpg","text":"TemporaryFile(/tmp/multipartBody2499908246764555411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134568404,"filename":"image_17012025_18_21_35_6377.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b8a36acfd403126b8c0a57a6b495aebb.jpg","text":"TemporaryFile(/tmp/multipartBody5907150052924876558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134568404,"filename":"image_17012025_18_21_46_6375.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/57d36d17ec00b9d3f535ee4e6f38ff8b.jpg","text":"TemporaryFile(/tmp/multipartBody577692519520393597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134568404,"filename":"image_17012025_18_21_40_5191.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/eb507cb6208dc54f10180c0cd9e40bcd.jpg","text":"TemporaryFile(/tmp/multipartBody1309501785672955189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134568404,"filename":"image_17012025_18_21_28_6431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329532333","file1":"1329532316","file0":"1329532312","file4":"1329532339","file5":"1329532341","file3":"1329532337"},"map_files_photo_id_array":[{"photo_id":"1329532341","filename":"file5"},{"photo_id":"1329532333","filename":"file2"},{"photo_id":"1329532339","filename":"file4"},{"photo_id":"1329532316","filename":"file1"},{"photo_id":"1329532312","filename":"file0"},{"photo_id":"1329532337","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329532312":["hashtag1","hashtag2"]},{"1329532341":["hashtag1","hashtag2"]},{"1329532337":["hashtag1","hashtag2"]},{"1329532316":["hashtag1","hashtag2"]},{"1329532333":["hashtag1","hashtag2"]},{"1329532339":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329532312, 1329532341, 1329532337, 1329532316, 1329532333, 1329532339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.97816586494446 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 18:22:41.911998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/22/image_17012025_18_22_53_6389.jpg', '/media/data/images/17012025/18/22/image_17012025_18_22_46_6376.jpg', '/media/data/images/17012025/18/22/image_17012025_18_22_40_6407.jpg', '/media/data/images/17012025/18/22/image_17012025_18_22_34_5174.jpg', '/media/data/images/17012025/18/22/image_17012025_18_22_28_6391.jpg', '/media/data/images/17012025/18/22/image_17012025_18_22_22_6389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/22/image_17012025_18_22_53_6389.jpg
/media/data/images/17012025/18/22/image_17012025_18_22_46_6376.jpg
/media/data/images/17012025/18/22/image_17012025_18_22_40_6407.jpg
/media/data/images/17012025/18/22/image_17012025_18_22_34_5174.jpg
/media/data/images/17012025/18/22/image_17012025_18_22_28_6391.jpg
/media/data/images/17012025/18/22/image_17012025_18_22_22_6389.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329532731","1329532682","1329532679","1329532649","1329532738","1329532630"],"photo_ids_order":["1329532630","1329532649","1329532679","1329532682","1329532731","1329532738"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b5a47e9ea3898b2b5a28e2eab8f6af28.jpg","text":"TemporaryFile(/tmp/multipartBody8720606617001556929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134627658,"filename":"image_17012025_18_22_28_6391.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/26de89662ceeea2e434e65c342de2565.jpg","text":"TemporaryFile(/tmp/multipartBody197442740348286912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134627658,"filename":"image_17012025_18_22_34_5174.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/99ad8cc952c5a31346156e2b9f90c314.jpg","text":"TemporaryFile(/tmp/multipartBody4319102588874454105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134627658,"filename":"image_17012025_18_22_40_6407.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3d54ded9f32b7bf4bb4b1ebff4cfb102.jpg","text":"TemporaryFile(/tmp/multipartBody7438840382145168916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134627658,"filename":"image_17012025_18_22_46_6376.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/48eefdc2b9a219939d2948c15212f2d0.jpg","text":"TemporaryFile(/tmp/multipartBody4543390020371795163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134627658,"filename":"image_17012025_18_22_22_6389.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4d3314846154224499f97a16dcb478ad.jpg","text":"TemporaryFile(/tmp/multipartBody8634152045327812365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134627658,"filename":"image_17012025_18_22_53_6389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329532679","file1":"1329532649","file0":"1329532630","file4":"1329532731","file5":"1329532738","file3":"1329532682"},"map_files_photo_id_array":[{"photo_id":"1329532738","filename":"file5"},{"photo_id":"1329532679","filename":"file2"},{"photo_id":"1329532731","filename":"file4"},{"photo_id":"1329532649","filename":"file1"},{"photo_id":"1329532630","filename":"file0"},{"photo_id":"1329532682","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329532731":["hashtag1","hashtag2"]},{"1329532682":["hashtag1","hashtag2"]},{"1329532679":["hashtag1","hashtag2"]},{"1329532649":["hashtag1","hashtag2"]},{"1329532738":["hashtag1","hashtag2"]},{"1329532630":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329532731, 1329532682, 1329532679, 1329532649, 1329532738, 1329532630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.393399477005005 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 18:23:42.009416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/23/image_17012025_18_23_52_5215.jpg', '/media/data/images/17012025/18/23/image_17012025_18_23_47_6420.jpg', '/media/data/images/17012025/18/23/image_17012025_18_23_40_6426.jpg', '/media/data/images/17012025/18/23/image_17012025_18_23_34_5185.jpg', '/media/data/images/17012025/18/23/image_17012025_18_23_29_6389.jpg', '/media/data/images/17012025/18/23/image_17012025_18_23_22_6386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/23/image_17012025_18_23_52_5215.jpg
/media/data/images/17012025/18/23/image_17012025_18_23_47_6420.jpg
/media/data/images/17012025/18/23/image_17012025_18_23_40_6426.jpg
/media/data/images/17012025/18/23/image_17012025_18_23_34_5185.jpg
/media/data/images/17012025/18/23/image_17012025_18_23_29_6389.jpg
/media/data/images/17012025/18/23/image_17012025_18_23_22_6386.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329532794","1329532758","1329532796","1329532775","1329532792","1329532780"],"photo_ids_order":["1329532758","1329532775","1329532780","1329532792","1329532794","1329532796"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1150eaade516bb1ae603b847b27d3973.jpg","text":"TemporaryFile(/tmp/multipartBody5727776546743271732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134686823,"filename":"image_17012025_18_23_29_6389.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/be68f218cd4cc6f663d474c5548cb9b7.jpg","text":"TemporaryFile(/tmp/multipartBody7932654763179774696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134686823,"filename":"image_17012025_18_23_52_5215.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a6dac138f92d4c4c3f02213605f38096.jpg","text":"TemporaryFile(/tmp/multipartBody5895279989531599555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134686823,"filename":"image_17012025_18_23_22_6386.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d332d8c046522eb3f9c16ba42cb21ec8.jpg","text":"TemporaryFile(/tmp/multipartBody6346036161615789962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134686823,"filename":"image_17012025_18_23_47_6420.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/65ec55ffb1d196d41b43b0bbaf55ec0d.jpg","text":"TemporaryFile(/tmp/multipartBody3375162141242014745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134686823,"filename":"image_17012025_18_23_34_5185.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f6a6f58b49f5e1164792e3a1685a77d7.jpg","text":"TemporaryFile(/tmp/multipartBody6319780942172167442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737134686823,"filename":"image_17012025_18_23_40_6426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329532780","file1":"1329532775","file0":"1329532758","file4":"1329532794","file5":"1329532796","file3":"1329532792"},"map_files_photo_id_array":[{"photo_id":"1329532796","filename":"file5"},{"photo_id":"1329532780","filename":"file2"},{"photo_id":"1329532794","filename":"file4"},{"photo_id":"1329532775","filename":"file1"},{"photo_id":"1329532758","filename":"file0"},{"photo_id":"1329532792","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329532794":["hashtag1","hashtag2"]},{"1329532758":["hashtag1","hashtag2"]},{"1329532796":["hashtag1","hashtag2"]},{"1329532775":["hashtag1","hashtag2"]},{"1329532792":["hashtag1","hashtag2"]},{"1329532780":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329532794, 1329532758, 1329532796, 1329532775, 1329532792, 1329532780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.69645881652832 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 18:24:42.098297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/24/image_17012025_18_24_52_6419.jpg', '/media/data/images/17012025/18/24/image_17012025_18_24_46_5209.jpg', '/media/data/images/17012025/18/24/image_17012025_18_24_41_6385.jpg', '/media/data/images/17012025/18/24/image_17012025_18_24_34_6392.jpg', '/media/data/images/17012025/18/24/image_17012025_18_24_28_5189.jpg', '/media/data/images/17012025/18/24/image_17012025_18_24_23_6427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/24/image_17012025_18_24_52_6419.jpg
/media/data/images/17012025/18/24/image_17012025_18_24_46_5209.jpg
/media/data/images/17012025/18/24/image_17012025_18_24_41_6385.jpg
/media/data/images/17012025/18/24/image_17012025_18_24_34_6392.jpg
/media/data/images/17012025/18/24/image_17012025_18_24_28_5189.jpg
/media/data/images/17012025/18/24/image_17012025_18_24_23_6427.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: 6.373475551605225 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 18:25:02.590695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/24/image_17012025_18_24_52_6419.jpg', '/media/data/images/17012025/18/24/image_17012025_18_24_46_5209.jpg', '/media/data/images/17012025/18/24/image_17012025_18_24_41_6385.jpg', '/media/data/images/17012025/18/24/image_17012025_18_24_34_6392.jpg', '/media/data/images/17012025/18/24/image_17012025_18_24_28_5189.jpg', '/media/data/images/17012025/18/24/image_17012025_18_24_23_6427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/24/image_17012025_18_24_52_6419.jpg
/media/data/images/17012025/18/24/image_17012025_18_24_46_5209.jpg
/media/data/images/17012025/18/24/image_17012025_18_24_41_6385.jpg
/media/data/images/17012025/18/24/image_17012025_18_24_34_6392.jpg
/media/data/images/17012025/18/24/image_17012025_18_24_28_5189.jpg
/media/data/images/17012025/18/24/image_17012025_18_24_23_6427.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! 
 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 : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 18:59:03.367388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/58/image_17012025_18_58_53_6576.jpg', '/media/data/images/17012025/18/58/image_17012025_18_58_46_5342.jpg', '/media/data/images/17012025/18/58/image_17012025_18_58_34_5333.jpg', '/media/data/images/17012025/18/58/image_17012025_18_58_29_6574.jpg', '/media/data/images/17012025/18/58/image_17012025_18_58_22_6572.jpg', '/media/data/images/17012025/18/58/image_17012025_18_58_10_6598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/58/image_17012025_18_58_53_6576.jpg
/media/data/images/17012025/18/58/image_17012025_18_58_46_5342.jpg
/media/data/images/17012025/18/58/image_17012025_18_58_34_5333.jpg
/media/data/images/17012025/18/58/image_17012025_18_58_29_6574.jpg
/media/data/images/17012025/18/58/image_17012025_18_58_22_6572.jpg
/media/data/images/17012025/18/58/image_17012025_18_58_10_6598.jpg
2025-01-17 18:59:03.384685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/58/image_17012025_18_58_53_6576.jpg', '/media/data/images/17012025/18/58/image_17012025_18_58_46_5342.jpg', '/media/data/images/17012025/18/58/image_17012025_18_58_34_5333.jpg', '/media/data/images/17012025/18/58/image_17012025_18_58_29_6574.jpg', '/media/data/images/17012025/18/58/image_17012025_18_58_22_6572.jpg', '/media/data/images/17012025/18/58/image_17012025_18_58_10_6598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/58/image_17012025_18_58_53_6576.jpg
/media/data/images/17012025/18/58/image_17012025_18_58_46_5342.jpg
/media/data/images/17012025/18/58/image_17012025_18_58_34_5333.jpg
/media/data/images/17012025/18/58/image_17012025_18_58_29_6574.jpg
/media/data/images/17012025/18/58/image_17012025_18_58_22_6572.jpg
/media/data/images/17012025/18/58/image_17012025_18_58_10_6598.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329537171","1329537180","1329537204","1329537167","1329537175","1329537163"],"photo_ids_order":["1329537163","1329537167","1329537171","1329537175","1329537180","1329537204"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1fcf8256713e890dee7c44c57e3aa755.jpg","text":"TemporaryFile(/tmp/multipartBody1484240835508101883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737136835428,"filename":"image_17012025_18_58_34_5333.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c4459e81647e4cac31025fb3c1141925.jpg","text":"TemporaryFile(/tmp/multipartBody2787116595417560705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737136835428,"filename":"image_17012025_18_58_22_6572.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8cd6afbd7d428fdc3aff0977ed1f3174.jpg","text":"TemporaryFile(/tmp/multipartBody5451879619673761423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737136835428,"filename":"image_17012025_18_58_10_6598.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e864b48dbfa8a53722ca9a1988822bae.jpg","text":"TemporaryFile(/tmp/multipartBody6039617365800767404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737136835428,"filename":"image_17012025_18_58_46_5342.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6846e216d33c1c2616cc3313b1ed3dfb.jpg","text":"TemporaryFile(/tmp/multipartBody2892936699846253932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737136835428,"filename":"image_17012025_18_58_29_6574.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/64ffd9e8707f963b4ec7d42b6f1b57f2.jpg","text":"TemporaryFile(/tmp/multipartBody8666368975208750229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737136835428,"filename":"image_17012025_18_58_53_6576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329537171","file1":"1329537167","file0":"1329537163","file4":"1329537180","file5":"1329537204","file3":"1329537175"},"map_files_photo_id_array":[{"photo_id":"1329537204","filename":"file5"},{"photo_id":"1329537171","filename":"file2"},{"photo_id":"1329537180","filename":"file4"},{"photo_id":"1329537167","filename":"file1"},{"photo_id":"1329537163","filename":"file0"},{"photo_id":"1329537175","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329537171":["hashtag1","hashtag2"]},{"1329537180":["hashtag1","hashtag2"]},{"1329537204":["hashtag1","hashtag2"]},{"1329537167":["hashtag1","hashtag2"]},{"1329537175":["hashtag1","hashtag2"]},{"1329537163":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329537171, 1329537180, 1329537204, 1329537167, 1329537175, 1329537163)","result":[],"list_datou_current":[]}'
Result OK !
<Response [200]>
b'{"photo_ids":["1329537177","1329537162","1329537203","1329537172","1329537166","1329537181"],"photo_ids_order":["1329537162","1329537166","1329537172","1329537177","1329537181","1329537203"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3342cbb5b3ee10815d52356e4ff5ba82.jpg","text":"TemporaryFile(/tmp/multipartBody7369073185640176792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737136835657,"filename":"image_17012025_18_58_29_6574.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b15514d00308f9b7452ad4efb7c51f1b.jpg","text":"TemporaryFile(/tmp/multipartBody2585964259603180772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737136835657,"filename":"image_17012025_18_58_53_6576.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a8d8fb5e21453818b067908bdec57a31.jpg","text":"TemporaryFile(/tmp/multipartBody3801259795716010608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737136835657,"filename":"image_17012025_18_58_10_6598.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c3c374b4507c8292111ae3cb4a65708f.jpg","text":"TemporaryFile(/tmp/multipartBody1408215600664968064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737136835657,"filename":"image_17012025_18_58_34_5333.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/228f52b45da392cb0d43000e7027a470.jpg","text":"TemporaryFile(/tmp/multipartBody5461118703855726036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737136835657,"filename":"image_17012025_18_58_46_5342.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/12b14fc50b77872f856f731a4a70062b.jpg","text":"TemporaryFile(/tmp/multipartBody8850670551287293287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737136835657,"filename":"image_17012025_18_58_22_6572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329537172","file1":"1329537166","file0":"1329537162","file4":"1329537181","file5":"1329537203","file3":"1329537177"},"map_files_photo_id_array":[{"photo_id":"1329537203","filename":"file5"},{"photo_id":"1329537172","filename":"file2"},{"photo_id":"1329537181","filename":"file4"},{"photo_id":"1329537166","filename":"file1"},{"photo_id":"1329537162","filename":"file0"},{"photo_id":"1329537177","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329537177":["hashtag1","hashtag2"]},{"1329537162":["hashtag1","hashtag2"]},{"1329537203":["hashtag1","hashtag2"]},{"1329537172":["hashtag1","hashtag2"]},{"1329537166":["hashtag1","hashtag2"]},{"1329537181":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329537177, 1329537162, 1329537203, 1329537172, 1329537166, 1329537181)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.84727501869202 secondes ---
uploaded 6 photos
time to upload: 66.85706973075867 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:00:21.822368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/00/image_17012025_19_00_46_6573.jpg', '/media/data/images/17012025/19/00/image_17012025_19_00_35_6592.jpg', '/media/data/images/17012025/19/00/image_17012025_19_00_28_5340.jpg', '/media/data/images/17012025/19/00/image_17012025_19_00_16_5335.jpg', '/media/data/images/17012025/18/59/image_17012025_19_00_04_5204.jpg', '/media/data/images/17012025/18/59/image_17012025_18_59_59_6572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/00/image_17012025_19_00_46_6573.jpg
/media/data/images/17012025/19/00/image_17012025_19_00_35_6592.jpg
/media/data/images/17012025/19/00/image_17012025_19_00_28_5340.jpg
/media/data/images/17012025/19/00/image_17012025_19_00_16_5335.jpg
/media/data/images/17012025/18/59/image_17012025_19_00_04_5204.jpg
/media/data/images/17012025/18/59/image_17012025_18_59_59_6572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329537279","1329537273","1329537246","1329537243","1329537269","1329537233"],"photo_ids_order":["1329537233","1329537243","1329537246","1329537269","1329537273","1329537279"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c385685c689d4297a0d380fc8bf7b57e.jpg","text":"TemporaryFile(/tmp/multipartBody829986225406151274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737136906542,"filename":"image_17012025_18_59_59_6572.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0e7949b57bf0a5fb212087cbb77380ee.jpg","text":"TemporaryFile(/tmp/multipartBody3578256520333013020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737136906542,"filename":"image_17012025_19_00_04_5204.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5bae04a47a0382aa0d9408c43a1eb413.jpg","text":"TemporaryFile(/tmp/multipartBody122996531891621090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737136906542,"filename":"image_17012025_19_00_28_5340.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c34a3c3339dc04885fde31b7afeb7797.jpg","text":"TemporaryFile(/tmp/multipartBody3793097922216110310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737136906542,"filename":"image_17012025_19_00_35_6592.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0aec787351a98978b51afd52e73e42db.jpg","text":"TemporaryFile(/tmp/multipartBody8000688136576579291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737136906542,"filename":"image_17012025_19_00_16_5335.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/20c7638377f6b93a448d9ffc41792568.jpg","text":"TemporaryFile(/tmp/multipartBody831031199204112846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737136906542,"filename":"image_17012025_19_00_46_6573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329537246","file1":"1329537243","file0":"1329537233","file4":"1329537273","file5":"1329537279","file3":"1329537269"},"map_files_photo_id_array":[{"photo_id":"1329537279","filename":"file5"},{"photo_id":"1329537246","filename":"file2"},{"photo_id":"1329537273","filename":"file4"},{"photo_id":"1329537243","filename":"file1"},{"photo_id":"1329537233","filename":"file0"},{"photo_id":"1329537269","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329537279":["hashtag1","hashtag2"]},{"1329537273":["hashtag1","hashtag2"]},{"1329537246":["hashtag1","hashtag2"]},{"1329537243":["hashtag1","hashtag2"]},{"1329537269":["hashtag1","hashtag2"]},{"1329537233":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329537279, 1329537273, 1329537246, 1329537243, 1329537269, 1329537233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.68189001083374 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:01:41.882141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/01/image_17012025_19_01_53_6572.jpg', '/media/data/images/17012025/19/01/image_17012025_19_01_29_6608.jpg', '/media/data/images/17012025/19/01/image_17012025_19_01_22_5356.jpg', '/media/data/images/17012025/19/01/image_17012025_19_01_17_6605.jpg', '/media/data/images/17012025/19/01/image_17012025_19_01_10_5393.jpg', '/media/data/images/17012025/19/01/image_17012025_19_01_05_6420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/01/image_17012025_19_01_53_6572.jpg
/media/data/images/17012025/19/01/image_17012025_19_01_29_6608.jpg
/media/data/images/17012025/19/01/image_17012025_19_01_22_5356.jpg
/media/data/images/17012025/19/01/image_17012025_19_01_17_6605.jpg
/media/data/images/17012025/19/01/image_17012025_19_01_10_5393.jpg
/media/data/images/17012025/19/01/image_17012025_19_01_05_6420.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329537310","1329537342","1329537306","1329537338","1329537340","1329537334"],"photo_ids_order":["1329537306","1329537310","1329537334","1329537338","1329537340","1329537342"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/305736da361e50ea18d270e9dd0be4c4.jpg","text":"TemporaryFile(/tmp/multipartBody7879981177972630733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737136976373,"filename":"image_17012025_19_01_29_6608.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ceea59d0d02bf1d951d1d940e31ee475.jpg","text":"TemporaryFile(/tmp/multipartBody6533622912731898596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737136976373,"filename":"image_17012025_19_01_05_6420.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/eccec7ba96567e0da6de20b5d5d3406e.jpg","text":"TemporaryFile(/tmp/multipartBody9018684669831920018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737136976373,"filename":"image_17012025_19_01_53_6572.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f1dde7127346ed9c6d4b30524425da4e.jpg","text":"TemporaryFile(/tmp/multipartBody131312565637593885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737136976373,"filename":"image_17012025_19_01_17_6605.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9cf75a600444e30c90091176e08a1285.jpg","text":"TemporaryFile(/tmp/multipartBody336899958085743471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737136976373,"filename":"image_17012025_19_01_10_5393.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8f9e8fa764e5f1f7d13bd7848b5aab64.jpg","text":"TemporaryFile(/tmp/multipartBody8677930836281484158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737136976373,"filename":"image_17012025_19_01_22_5356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329537334","file1":"1329537310","file0":"1329537306","file4":"1329537340","file5":"1329537342","file3":"1329537338"},"map_files_photo_id_array":[{"photo_id":"1329537342","filename":"file5"},{"photo_id":"1329537334","filename":"file2"},{"photo_id":"1329537340","filename":"file4"},{"photo_id":"1329537310","filename":"file1"},{"photo_id":"1329537306","filename":"file0"},{"photo_id":"1329537338","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329537310":["hashtag1","hashtag2"]},{"1329537342":["hashtag1","hashtag2"]},{"1329537306":["hashtag1","hashtag2"]},{"1329537338":["hashtag1","hashtag2"]},{"1329537340":["hashtag1","hashtag2"]},{"1329537334":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329537310, 1329537342, 1329537306, 1329537338, 1329537340, 1329537334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.38103747367859 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:02:41.982435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/02/image_17012025_19_02_53_6646.jpg', '/media/data/images/17012025/19/02/image_17012025_19_02_46_5343.jpg', '/media/data/images/17012025/19/02/image_17012025_19_02_34_5371.jpg', '/media/data/images/17012025/19/02/image_17012025_19_02_29_6608.jpg', '/media/data/images/17012025/19/02/image_17012025_19_02_10_5369.jpg', '/media/data/images/17012025/19/01/image_17012025_19_01_58_5332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/02/image_17012025_19_02_53_6646.jpg
/media/data/images/17012025/19/02/image_17012025_19_02_46_5343.jpg
/media/data/images/17012025/19/02/image_17012025_19_02_34_5371.jpg
/media/data/images/17012025/19/02/image_17012025_19_02_29_6608.jpg
/media/data/images/17012025/19/02/image_17012025_19_02_10_5369.jpg
/media/data/images/17012025/19/01/image_17012025_19_01_58_5332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329537409","1329537424","1329537416","1329537530","1329537419","1329537413"],"photo_ids_order":["1329537409","1329537413","1329537416","1329537419","1329537424","1329537530"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c95227291bc4a71d2bdcf635b78d3c27.jpg","text":"TemporaryFile(/tmp/multipartBody5014400551651287569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137046730,"filename":"image_17012025_19_02_53_6646.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2f9ef34f8fc6e04bb9097bc5f361b847.jpg","text":"TemporaryFile(/tmp/multipartBody753093792857970386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137046730,"filename":"image_17012025_19_02_10_5369.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b184e3a229753a7518b4c9a75157a828.jpg","text":"TemporaryFile(/tmp/multipartBody5174085801229501067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137046730,"filename":"image_17012025_19_02_34_5371.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7b3fe6ac6165b144ab3111c1ba32c8fd.jpg","text":"TemporaryFile(/tmp/multipartBody3294900562608145205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137046730,"filename":"image_17012025_19_01_58_5332.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/eb0be50bb780c899700067f07de0533b.jpg","text":"TemporaryFile(/tmp/multipartBody7118023666847081069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137046730,"filename":"image_17012025_19_02_29_6608.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/349c598f0195f53fd74a845c924005c4.jpg","text":"TemporaryFile(/tmp/multipartBody3403446824873773751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137046730,"filename":"image_17012025_19_02_46_5343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329537416","file1":"1329537413","file0":"1329537409","file4":"1329537424","file5":"1329537530","file3":"1329537419"},"map_files_photo_id_array":[{"photo_id":"1329537530","filename":"file5"},{"photo_id":"1329537416","filename":"file2"},{"photo_id":"1329537424","filename":"file4"},{"photo_id":"1329537413","filename":"file1"},{"photo_id":"1329537409","filename":"file0"},{"photo_id":"1329537419","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329537409":["hashtag1","hashtag2"]},{"1329537424":["hashtag1","hashtag2"]},{"1329537416":["hashtag1","hashtag2"]},{"1329537530":["hashtag1","hashtag2"]},{"1329537419":["hashtag1","hashtag2"]},{"1329537413":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329537409, 1329537424, 1329537416, 1329537530, 1329537419, 1329537413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.05489945411682 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:03:42.088176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/03/image_17012025_19_03_52_6611.jpg', '/media/data/images/17012025/19/03/image_17012025_19_03_40_6581.jpg', '/media/data/images/17012025/19/03/image_17012025_19_03_34_5364.jpg', '/media/data/images/17012025/19/03/image_17012025_19_03_22_5321.jpg', '/media/data/images/17012025/19/03/image_17012025_19_03_17_6573.jpg', '/media/data/images/17012025/19/02/image_17012025_19_02_58_5432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/03/image_17012025_19_03_52_6611.jpg
/media/data/images/17012025/19/03/image_17012025_19_03_40_6581.jpg
/media/data/images/17012025/19/03/image_17012025_19_03_34_5364.jpg
/media/data/images/17012025/19/03/image_17012025_19_03_22_5321.jpg
/media/data/images/17012025/19/03/image_17012025_19_03_17_6573.jpg
/media/data/images/17012025/19/02/image_17012025_19_02_58_5432.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329537672","1329537801","1329537711","1329537799","1329537688","1329537796"],"photo_ids_order":["1329537672","1329537688","1329537711","1329537796","1329537799","1329537801"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b905e4edb6125e3930665f8a1ed86fa0.jpg","text":"TemporaryFile(/tmp/multipartBody3295682735247627773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137098238,"filename":"image_17012025_19_03_52_6611.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/20ded3424bb851504ef7e1ea97d3f4f5.jpg","text":"TemporaryFile(/tmp/multipartBody535660007918718799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137098238,"filename":"image_17012025_19_02_58_5432.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/70703581db435524980116989d9be5ad.jpg","text":"TemporaryFile(/tmp/multipartBody7491027969856488241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137098238,"filename":"image_17012025_19_03_34_5364.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6e3b4ec087c91cf7b9eb68ee713a7831.jpg","text":"TemporaryFile(/tmp/multipartBody5370724562308258561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137098238,"filename":"image_17012025_19_03_17_6573.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/65bb5edb5caf4c6e60062fde6630db14.jpg","text":"TemporaryFile(/tmp/multipartBody343534968416145936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137098238,"filename":"image_17012025_19_03_40_6581.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f64c551eb4ee5173718323b58f415c7e.jpg","text":"TemporaryFile(/tmp/multipartBody4367404711005743562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137098238,"filename":"image_17012025_19_03_22_5321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329537711","file1":"1329537688","file0":"1329537672","file4":"1329537799","file5":"1329537801","file3":"1329537796"},"map_files_photo_id_array":[{"photo_id":"1329537801","filename":"file5"},{"photo_id":"1329537711","filename":"file2"},{"photo_id":"1329537799","filename":"file4"},{"photo_id":"1329537688","filename":"file1"},{"photo_id":"1329537672","filename":"file0"},{"photo_id":"1329537796","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329537672":["hashtag1","hashtag2"]},{"1329537801":["hashtag1","hashtag2"]},{"1329537711":["hashtag1","hashtag2"]},{"1329537799":["hashtag1","hashtag2"]},{"1329537688":["hashtag1","hashtag2"]},{"1329537796":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329537672, 1329537801, 1329537711, 1329537799, 1329537688, 1329537796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.87236189842224 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:04:42.199021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/04/image_17012025_19_04_52_6583.jpg', '/media/data/images/17012025/19/04/image_17012025_19_04_46_5371.jpg', '/media/data/images/17012025/19/04/image_17012025_19_04_40_6610.jpg', '/media/data/images/17012025/19/04/image_17012025_19_04_22_5362.jpg', '/media/data/images/17012025/19/04/image_17012025_19_04_10_5371.jpg', '/media/data/images/17012025/19/03/image_17012025_19_04_04_6727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/04/image_17012025_19_04_52_6583.jpg
/media/data/images/17012025/19/04/image_17012025_19_04_46_5371.jpg
/media/data/images/17012025/19/04/image_17012025_19_04_40_6610.jpg
/media/data/images/17012025/19/04/image_17012025_19_04_22_5362.jpg
/media/data/images/17012025/19/04/image_17012025_19_04_10_5371.jpg
/media/data/images/17012025/19/03/image_17012025_19_04_04_6727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329537891","1329537885","1329537888","1329537858","1329537871","1329537877"],"photo_ids_order":["1329537858","1329537871","1329537877","1329537885","1329537888","1329537891"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6a8d078175b9da03626c0070076add15.jpg","text":"TemporaryFile(/tmp/multipartBody8782501327940130024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137165024,"filename":"image_17012025_19_04_04_6727.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ce652e855b66021839823271c0594f86.jpg","text":"TemporaryFile(/tmp/multipartBody1631622543409220016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137165024,"filename":"image_17012025_19_04_22_5362.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4dffdc93b54a778eb90d4c86f8e61118.jpg","text":"TemporaryFile(/tmp/multipartBody2033913939427707123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137165024,"filename":"image_17012025_19_04_10_5371.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b8daedb47f310de4956dc1ec84399fae.jpg","text":"TemporaryFile(/tmp/multipartBody573378004674813414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137165024,"filename":"image_17012025_19_04_52_6583.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/272f4ecccaedf5720173b53caf33d021.jpg","text":"TemporaryFile(/tmp/multipartBody500400277754993399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137165024,"filename":"image_17012025_19_04_46_5371.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6505eea774b52fa9518016090e7f5120.jpg","text":"TemporaryFile(/tmp/multipartBody6953329633083975511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137165024,"filename":"image_17012025_19_04_40_6610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329537877","file1":"1329537871","file0":"1329537858","file4":"1329537888","file5":"1329537891","file3":"1329537885"},"map_files_photo_id_array":[{"photo_id":"1329537891","filename":"file5"},{"photo_id":"1329537877","filename":"file2"},{"photo_id":"1329537888","filename":"file4"},{"photo_id":"1329537871","filename":"file1"},{"photo_id":"1329537858","filename":"file0"},{"photo_id":"1329537885","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329537891":["hashtag1","hashtag2"]},{"1329537885":["hashtag1","hashtag2"]},{"1329537888":["hashtag1","hashtag2"]},{"1329537858":["hashtag1","hashtag2"]},{"1329537871":["hashtag1","hashtag2"]},{"1329537877":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329537891, 1329537885, 1329537888, 1329537858, 1329537871, 1329537877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.415383100509644 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:05:42.267170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/05/image_17012025_19_05_47_6588.jpg', '/media/data/images/17012025/19/05/image_17012025_19_05_40_5337.jpg', '/media/data/images/17012025/19/05/image_17012025_19_05_35_6581.jpg', '/media/data/images/17012025/19/05/image_17012025_19_05_28_5334.jpg', '/media/data/images/17012025/19/05/image_17012025_19_05_23_6572.jpg', '/media/data/images/17012025/19/05/image_17012025_19_05_11_6581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/05/image_17012025_19_05_47_6588.jpg
/media/data/images/17012025/19/05/image_17012025_19_05_40_5337.jpg
/media/data/images/17012025/19/05/image_17012025_19_05_35_6581.jpg
/media/data/images/17012025/19/05/image_17012025_19_05_28_5334.jpg
/media/data/images/17012025/19/05/image_17012025_19_05_23_6572.jpg
/media/data/images/17012025/19/05/image_17012025_19_05_11_6581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329537910","1329538071","1329537913","1329537924","1329537918","1329538204"],"photo_ids_order":["1329537910","1329537913","1329537918","1329537924","1329538071","1329538204"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6268dfea50990064ecfe3356c69e738d.jpg","text":"TemporaryFile(/tmp/multipartBody5075457277225191882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137214480,"filename":"image_17012025_19_05_47_6588.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7cac74a3b0d68e4a778e68b7a5c19c7a.jpg","text":"TemporaryFile(/tmp/multipartBody2921126384754445082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137214480,"filename":"image_17012025_19_05_23_6572.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/85ab324f4bdda25a70add9d36cb028da.jpg","text":"TemporaryFile(/tmp/multipartBody4117018535859417827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137214480,"filename":"image_17012025_19_05_40_5337.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f12fd3c4602443db95aaaa872772d78b.jpg","text":"TemporaryFile(/tmp/multipartBody3977122876987192240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137214480,"filename":"image_17012025_19_05_28_5334.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cfc7f8e1cb857a8bca03e2a45a1641a5.jpg","text":"TemporaryFile(/tmp/multipartBody515281432156425389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137214480,"filename":"image_17012025_19_05_35_6581.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0da98580cb4cd1af8e2ef0d2651ca6a0.jpg","text":"TemporaryFile(/tmp/multipartBody2296993018660102049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137214480,"filename":"image_17012025_19_05_11_6581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329537918","file1":"1329537913","file0":"1329537910","file4":"1329538071","file5":"1329538204","file3":"1329537924"},"map_files_photo_id_array":[{"photo_id":"1329538204","filename":"file5"},{"photo_id":"1329537918","filename":"file2"},{"photo_id":"1329538071","filename":"file4"},{"photo_id":"1329537913","filename":"file1"},{"photo_id":"1329537910","filename":"file0"},{"photo_id":"1329537924","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329537910":["hashtag1","hashtag2"]},{"1329538071":["hashtag1","hashtag2"]},{"1329537913":["hashtag1","hashtag2"]},{"1329537924":["hashtag1","hashtag2"]},{"1329537918":["hashtag1","hashtag2"]},{"1329538204":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329537910, 1329538071, 1329537913, 1329537924, 1329537918, 1329538204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.5374550819397 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:06:42.377574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/06/image_17012025_19_06_53_6678.jpg', '/media/data/images/17012025/19/06/image_17012025_19_06_46_5357.jpg', '/media/data/images/17012025/19/06/image_17012025_19_06_34_5338.jpg', '/media/data/images/17012025/19/06/image_17012025_19_06_29_6585.jpg', '/media/data/images/17012025/19/06/image_17012025_19_06_22_5333.jpg', '/media/data/images/17012025/19/06/image_17012025_19_06_17_6590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/06/image_17012025_19_06_53_6678.jpg
/media/data/images/17012025/19/06/image_17012025_19_06_46_5357.jpg
/media/data/images/17012025/19/06/image_17012025_19_06_34_5338.jpg
/media/data/images/17012025/19/06/image_17012025_19_06_29_6585.jpg
/media/data/images/17012025/19/06/image_17012025_19_06_22_5333.jpg
/media/data/images/17012025/19/06/image_17012025_19_06_17_6590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329538665","1329538659","1329538674","1329538653","1329538661","1329538669"],"photo_ids_order":["1329538653","1329538659","1329538661","1329538665","1329538669","1329538674"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d59230cd0927f26921abd68d9451b683.jpg","text":"TemporaryFile(/tmp/multipartBody883806514690903455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137282069,"filename":"image_17012025_19_06_29_6585.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0a8a36b8c44822064e2b7ae29fa18fb1.jpg","text":"TemporaryFile(/tmp/multipartBody5421435674611977230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137282069,"filename":"image_17012025_19_06_46_5357.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/437600a2b235240e80fdf67169136339.jpg","text":"TemporaryFile(/tmp/multipartBody6498994933312023181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137282069,"filename":"image_17012025_19_06_17_6590.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c95a0f0cd61eb8c59098c5b1000d3f58.jpg","text":"TemporaryFile(/tmp/multipartBody2941402449252316677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137282069,"filename":"image_17012025_19_06_53_6678.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9303e1d8fe4509f4ea8cc883183e7b92.jpg","text":"TemporaryFile(/tmp/multipartBody4707043326186601308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137282069,"filename":"image_17012025_19_06_34_5338.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d0075f9aeda93e570305284936d2d336.jpg","text":"TemporaryFile(/tmp/multipartBody3624654526466218099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137282069,"filename":"image_17012025_19_06_22_5333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329538661","file1":"1329538659","file0":"1329538653","file4":"1329538669","file5":"1329538674","file3":"1329538665"},"map_files_photo_id_array":[{"photo_id":"1329538674","filename":"file5"},{"photo_id":"1329538661","filename":"file2"},{"photo_id":"1329538669","filename":"file4"},{"photo_id":"1329538659","filename":"file1"},{"photo_id":"1329538653","filename":"file0"},{"photo_id":"1329538665","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329538665":["hashtag1","hashtag2"]},{"1329538659":["hashtag1","hashtag2"]},{"1329538674":["hashtag1","hashtag2"]},{"1329538653":["hashtag1","hashtag2"]},{"1329538661":["hashtag1","hashtag2"]},{"1329538669":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329538665, 1329538659, 1329538674, 1329538653, 1329538661, 1329538669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.3758499622345 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:08:02.799553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/07/image_17012025_19_07_53_6596.jpg', '/media/data/images/17012025/19/07/image_17012025_19_07_46_5373.jpg', '/media/data/images/17012025/19/07/image_17012025_19_07_41_6610.jpg', '/media/data/images/17012025/19/07/image_17012025_19_07_29_6585.jpg', '/media/data/images/17012025/19/07/image_17012025_19_07_17_6609.jpg', '/media/data/images/17012025/19/07/image_17012025_19_07_10_5387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/07/image_17012025_19_07_53_6596.jpg
/media/data/images/17012025/19/07/image_17012025_19_07_46_5373.jpg
/media/data/images/17012025/19/07/image_17012025_19_07_41_6610.jpg
/media/data/images/17012025/19/07/image_17012025_19_07_29_6585.jpg
/media/data/images/17012025/19/07/image_17012025_19_07_17_6609.jpg
/media/data/images/17012025/19/07/image_17012025_19_07_10_5387.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":["1329539177","1329539132","1329539188","1329539140","1329539094","1329539154"],"photo_ids_order":["1329539094","1329539132","1329539140","1329539154","1329539177","1329539188"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c59a85455405ed88154029862163f0af.jpg","text":"TemporaryFile(/tmp/multipartBody163151381949757568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137362646,"filename":"image_17012025_19_07_17_6609.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/463c3bf521643a5e470205733f95d080.jpg","text":"TemporaryFile(/tmp/multipartBody2190016188578245738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137362646,"filename":"image_17012025_19_07_46_5373.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/da6cef0aec6648c931745f01c70c50fe.jpg","text":"TemporaryFile(/tmp/multipartBody485649339337613018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137362646,"filename":"image_17012025_19_07_10_5387.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ea8274311681bab0c94127ab8e7ad6fb.jpg","text":"TemporaryFile(/tmp/multipartBody2371937916392863945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137362646,"filename":"image_17012025_19_07_41_6610.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a9e64858d6be9a179fa458b7565988be.jpg","text":"TemporaryFile(/tmp/multipartBody5112135424080752428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137362646,"filename":"image_17012025_19_07_53_6596.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0b4f9c4668133e726a652010eab545e3.jpg","text":"TemporaryFile(/tmp/multipartBody8050127832312855351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137362646,"filename":"image_17012025_19_07_29_6585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329539140","file1":"1329539132","file0":"1329539094","file4":"1329539177","file5":"1329539188","file3":"1329539154"},"map_files_photo_id_array":[{"photo_id":"1329539188","filename":"file5"},{"photo_id":"1329539140","filename":"file2"},{"photo_id":"1329539177","filename":"file4"},{"photo_id":"1329539132","filename":"file1"},{"photo_id":"1329539094","filename":"file0"},{"photo_id":"1329539154","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329539177":["hashtag1","hashtag2"]},{"1329539132":["hashtag1","hashtag2"]},{"1329539188":["hashtag1","hashtag2"]},{"1329539140":["hashtag1","hashtag2"]},{"1329539094":["hashtag1","hashtag2"]},{"1329539154":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329539177, 1329539132, 1329539188, 1329539140, 1329539094, 1329539154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.93145728111267 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:09:22.623081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/09/image_17012025_19_09_52_5334.jpg', '/media/data/images/17012025/19/09/image_17012025_19_09_34_5329.jpg', '/media/data/images/17012025/19/09/image_17012025_19_09_10_5351.jpg', '/media/data/images/17012025/19/08/image_17012025_19_09_05_6642.jpg', '/media/data/images/17012025/19/08/image_17012025_19_08_58_5364.jpg', '/media/data/images/17012025/19/08/image_17012025_19_08_41_6578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/09/image_17012025_19_09_52_5334.jpg
/media/data/images/17012025/19/09/image_17012025_19_09_34_5329.jpg
/media/data/images/17012025/19/09/image_17012025_19_09_10_5351.jpg
/media/data/images/17012025/19/08/image_17012025_19_09_05_6642.jpg
/media/data/images/17012025/19/08/image_17012025_19_08_58_5364.jpg
/media/data/images/17012025/19/08/image_17012025_19_08_41_6578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329539304","1329539318","1329539287","1329539295","1329539314","1329539308"],"photo_ids_order":["1329539287","1329539295","1329539304","1329539308","1329539314","1329539318"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/84088e3444355befd7960801d5916f30.jpg","text":"TemporaryFile(/tmp/multipartBody2775349045907410451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137440463,"filename":"image_17012025_19_09_10_5351.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/17c0274fbea13034495665af6e2eaeb9.jpg","text":"TemporaryFile(/tmp/multipartBody5319767226135318607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137440463,"filename":"image_17012025_19_08_41_6578.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/01b0f0af68c1dc4b3eaaedf11f7404dc.jpg","text":"TemporaryFile(/tmp/multipartBody1854048540652831474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137440463,"filename":"image_17012025_19_09_52_5334.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0304b6e64c3801a70f15f6c81c0b9138.jpg","text":"TemporaryFile(/tmp/multipartBody7739437983324833802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137440463,"filename":"image_17012025_19_09_34_5329.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/923f94a1c415a929ffc0a54195f9b046.jpg","text":"TemporaryFile(/tmp/multipartBody6758138224214798558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137440463,"filename":"image_17012025_19_08_58_5364.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ed0744641089fb5113a4cd24b32ea67c.jpg","text":"TemporaryFile(/tmp/multipartBody5318586880112024920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137440463,"filename":"image_17012025_19_09_05_6642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329539304","file1":"1329539295","file0":"1329539287","file4":"1329539314","file5":"1329539318","file3":"1329539308"},"map_files_photo_id_array":[{"photo_id":"1329539318","filename":"file5"},{"photo_id":"1329539304","filename":"file2"},{"photo_id":"1329539314","filename":"file4"},{"photo_id":"1329539295","filename":"file1"},{"photo_id":"1329539287","filename":"file0"},{"photo_id":"1329539308","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329539304":["hashtag1","hashtag2"]},{"1329539318":["hashtag1","hashtag2"]},{"1329539287":["hashtag1","hashtag2"]},{"1329539295":["hashtag1","hashtag2"]},{"1329539314":["hashtag1","hashtag2"]},{"1329539308":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329539304, 1329539318, 1329539287, 1329539295, 1329539314, 1329539308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.45361566543579 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:10:21.776835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/10/image_17012025_19_10_53_6576.jpg', '/media/data/images/17012025/19/10/image_17012025_19_10_41_6574.jpg', '/media/data/images/17012025/19/10/image_17012025_19_10_34_6573.jpg', '/media/data/images/17012025/19/10/image_17012025_19_10_22_6591.jpg', '/media/data/images/17012025/19/10/image_17012025_19_10_16_5338.jpg', '/media/data/images/17012025/19/10/image_17012025_19_10_10_6601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/10/image_17012025_19_10_53_6576.jpg
/media/data/images/17012025/19/10/image_17012025_19_10_41_6574.jpg
/media/data/images/17012025/19/10/image_17012025_19_10_34_6573.jpg
/media/data/images/17012025/19/10/image_17012025_19_10_22_6591.jpg
/media/data/images/17012025/19/10/image_17012025_19_10_16_5338.jpg
/media/data/images/17012025/19/10/image_17012025_19_10_10_6601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329539535","1329539519","1329539515","1329539458","1329539431","1329539379"],"photo_ids_order":["1329539379","1329539431","1329539458","1329539515","1329539519","1329539535"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/01e0ccdf6a2d02f9d2c35ef3ff6ed47f.jpg","text":"TemporaryFile(/tmp/multipartBody8796452654856663781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137496274,"filename":"image_17012025_19_10_10_6601.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2d5518d63014b2e0d369338662432b9f.jpg","text":"TemporaryFile(/tmp/multipartBody7024475390730747456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137496274,"filename":"image_17012025_19_10_16_5338.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bcf980ddf2d3485ca8d240bdabb7cb37.jpg","text":"TemporaryFile(/tmp/multipartBody5424158527169672521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137496274,"filename":"image_17012025_19_10_22_6591.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/91481cb034a5924aeb6f9d0d672f15af.jpg","text":"TemporaryFile(/tmp/multipartBody5891988989420415125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137496274,"filename":"image_17012025_19_10_34_6573.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/759b39a111a9327087b9d74f18c64084.jpg","text":"TemporaryFile(/tmp/multipartBody4792070174825381208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137496274,"filename":"image_17012025_19_10_41_6574.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/30c47fa929cdee70cff091e2e7fd280b.jpg","text":"TemporaryFile(/tmp/multipartBody4047274046446854528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137496274,"filename":"image_17012025_19_10_53_6576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329539458","file1":"1329539431","file0":"1329539379","file4":"1329539519","file5":"1329539535","file3":"1329539515"},"map_files_photo_id_array":[{"photo_id":"1329539535","filename":"file5"},{"photo_id":"1329539458","filename":"file2"},{"photo_id":"1329539519","filename":"file4"},{"photo_id":"1329539431","filename":"file1"},{"photo_id":"1329539379","filename":"file0"},{"photo_id":"1329539515","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329539535":["hashtag1","hashtag2"]},{"1329539519":["hashtag1","hashtag2"]},{"1329539515":["hashtag1","hashtag2"]},{"1329539458":["hashtag1","hashtag2"]},{"1329539431":["hashtag1","hashtag2"]},{"1329539379":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329539535, 1329539519, 1329539515, 1329539458, 1329539431, 1329539379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.74422287940979 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:11:21.831631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/11/image_17012025_19_11_52_6488.jpg', '/media/data/images/17012025/19/11/image_17012025_19_11_46_5329.jpg', '/media/data/images/17012025/19/11/image_17012025_19_11_40_6576.jpg', '/media/data/images/17012025/19/11/image_17012025_19_11_34_5335.jpg', '/media/data/images/17012025/19/11/image_17012025_19_11_29_6574.jpg', '/media/data/images/17012025/19/11/image_17012025_19_11_22_5338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/11/image_17012025_19_11_52_6488.jpg
/media/data/images/17012025/19/11/image_17012025_19_11_46_5329.jpg
/media/data/images/17012025/19/11/image_17012025_19_11_40_6576.jpg
/media/data/images/17012025/19/11/image_17012025_19_11_34_5335.jpg
/media/data/images/17012025/19/11/image_17012025_19_11_29_6574.jpg
/media/data/images/17012025/19/11/image_17012025_19_11_22_5338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329539585","1329539603","1329539575","1329539608","1329539592","1329539605"],"photo_ids_order":["1329539575","1329539585","1329539592","1329539603","1329539605","1329539608"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a7544e2471354979032505df3903731d.jpg","text":"TemporaryFile(/tmp/multipartBody5193107993474151114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137556355,"filename":"image_17012025_19_11_46_5329.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7952e10f33d06ae2faae8fb52a42ec4e.jpg","text":"TemporaryFile(/tmp/multipartBody6347454876071477205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137556355,"filename":"image_17012025_19_11_34_5335.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c6b552743aca2d361e4d5517b45f46d5.jpg","text":"TemporaryFile(/tmp/multipartBody3891455156318121805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137556355,"filename":"image_17012025_19_11_52_6488.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2853cb2fc11a7a83e1f343b2f1afba7a.jpg","text":"TemporaryFile(/tmp/multipartBody2923973691179627077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137556355,"filename":"image_17012025_19_11_22_5338.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5be2c90fe71dab7d0a7952a622513981.jpg","text":"TemporaryFile(/tmp/multipartBody8726977563270395943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137556355,"filename":"image_17012025_19_11_40_6576.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dc8f569f60a19c4fca12a17f2fe8ea92.jpg","text":"TemporaryFile(/tmp/multipartBody5784222236345017981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137556355,"filename":"image_17012025_19_11_29_6574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329539592","file1":"1329539585","file0":"1329539575","file4":"1329539605","file5":"1329539608","file3":"1329539603"},"map_files_photo_id_array":[{"photo_id":"1329539608","filename":"file5"},{"photo_id":"1329539592","filename":"file2"},{"photo_id":"1329539605","filename":"file4"},{"photo_id":"1329539585","filename":"file1"},{"photo_id":"1329539575","filename":"file0"},{"photo_id":"1329539603","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329539585":["hashtag1","hashtag2"]},{"1329539603":["hashtag1","hashtag2"]},{"1329539575":["hashtag1","hashtag2"]},{"1329539608":["hashtag1","hashtag2"]},{"1329539592":["hashtag1","hashtag2"]},{"1329539605":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329539585, 1329539603, 1329539575, 1329539608, 1329539592, 1329539605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.758333683013916 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:12:21.941290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/12/image_17012025_19_12_52_6526.jpg', '/media/data/images/17012025/19/12/image_17012025_19_12_46_5148.jpg', '/media/data/images/17012025/19/12/image_17012025_19_12_41_6372.jpg', '/media/data/images/17012025/19/12/image_17012025_19_12_34_6341.jpg', '/media/data/images/17012025/19/12/image_17012025_19_12_28_6355.jpg', '/media/data/images/17012025/19/12/image_17012025_19_12_22_5161.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/12/image_17012025_19_12_52_6526.jpg
/media/data/images/17012025/19/12/image_17012025_19_12_46_5148.jpg
/media/data/images/17012025/19/12/image_17012025_19_12_41_6372.jpg
/media/data/images/17012025/19/12/image_17012025_19_12_34_6341.jpg
/media/data/images/17012025/19/12/image_17012025_19_12_28_6355.jpg
/media/data/images/17012025/19/12/image_17012025_19_12_22_5161.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329539627","1329539641","1329539629","1329539652","1329539631","1329539625"],"photo_ids_order":["1329539625","1329539627","1329539629","1329539631","1329539641","1329539652"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f263a3c59789f56927c88dc8355cdf72.jpg","text":"TemporaryFile(/tmp/multipartBody7153173406866304886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137612968,"filename":"image_17012025_19_12_46_5148.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/13927be87049d42da21b4721f0c8264e.jpg","text":"TemporaryFile(/tmp/multipartBody5378840225755702712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137612968,"filename":"image_17012025_19_12_28_6355.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dbadb41d397ad74a3cea34b88f59947c.jpg","text":"TemporaryFile(/tmp/multipartBody1724355770744430010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137612968,"filename":"image_17012025_19_12_41_6372.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8e5da58e67cc2d6fa19ce114c97d34b5.jpg","text":"TemporaryFile(/tmp/multipartBody6167032292035659094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137612968,"filename":"image_17012025_19_12_22_5161.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/30edbdea0f1c8584e014aa9f78217ba8.jpg","text":"TemporaryFile(/tmp/multipartBody6356930536904229245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137612968,"filename":"image_17012025_19_12_34_6341.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/50f85b9a63a80662a425ee70fc14c8da.jpg","text":"TemporaryFile(/tmp/multipartBody1692777009042432166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137612968,"filename":"image_17012025_19_12_52_6526.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329539629","file1":"1329539627","file0":"1329539625","file4":"1329539641","file5":"1329539652","file3":"1329539631"},"map_files_photo_id_array":[{"photo_id":"1329539652","filename":"file5"},{"photo_id":"1329539629","filename":"file2"},{"photo_id":"1329539641","filename":"file4"},{"photo_id":"1329539627","filename":"file1"},{"photo_id":"1329539625","filename":"file0"},{"photo_id":"1329539631","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329539627":["hashtag1","hashtag2"]},{"1329539641":["hashtag1","hashtag2"]},{"1329539629":["hashtag1","hashtag2"]},{"1329539652":["hashtag1","hashtag2"]},{"1329539631":["hashtag1","hashtag2"]},{"1329539625":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329539627, 1329539641, 1329539629, 1329539652, 1329539631, 1329539625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.8421471118927 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:13:22.107629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/13/image_17012025_19_13_53_6467.jpg', '/media/data/images/17012025/19/13/image_17012025_19_13_46_6440.jpg', '/media/data/images/17012025/19/13/image_17012025_19_13_40_5203.jpg', '/media/data/images/17012025/19/13/image_17012025_19_13_35_6406.jpg', '/media/data/images/17012025/19/13/image_17012025_19_13_28_6436.jpg', '/media/data/images/17012025/19/13/image_17012025_19_13_22_5212.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/13/image_17012025_19_13_53_6467.jpg
/media/data/images/17012025/19/13/image_17012025_19_13_46_6440.jpg
/media/data/images/17012025/19/13/image_17012025_19_13_40_5203.jpg
/media/data/images/17012025/19/13/image_17012025_19_13_35_6406.jpg
/media/data/images/17012025/19/13/image_17012025_19_13_28_6436.jpg
/media/data/images/17012025/19/13/image_17012025_19_13_22_5212.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329539706","1329539703","1329539714","1329539723","1329539710","1329539718"],"photo_ids_order":["1329539703","1329539706","1329539710","1329539714","1329539718","1329539723"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/722ec1c229a5e5bdcf0471e14aa74ca9.jpg","text":"TemporaryFile(/tmp/multipartBody7681814719749435732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137684623,"filename":"image_17012025_19_13_46_6440.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/014350e84d9f2cf8c017adc9454fe14e.jpg","text":"TemporaryFile(/tmp/multipartBody1614470315243720334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137684623,"filename":"image_17012025_19_13_53_6467.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/92804dee6da2ce2be1812570ef6dae40.jpg","text":"TemporaryFile(/tmp/multipartBody6922430448619654280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137684623,"filename":"image_17012025_19_13_35_6406.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/eae282cab91a9a0c16823e1dddbafe93.jpg","text":"TemporaryFile(/tmp/multipartBody5667785435546948307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137684623,"filename":"image_17012025_19_13_22_5212.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9955ae69ad5c8971a9b152eb79b78bcf.jpg","text":"TemporaryFile(/tmp/multipartBody6232380466237637629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137684623,"filename":"image_17012025_19_13_40_5203.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/861221c694fbf9c27c579130eb84682a.jpg","text":"TemporaryFile(/tmp/multipartBody4122529306515334138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137684623,"filename":"image_17012025_19_13_28_6436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329539710","file1":"1329539706","file0":"1329539703","file4":"1329539718","file5":"1329539723","file3":"1329539714"},"map_files_photo_id_array":[{"photo_id":"1329539723","filename":"file5"},{"photo_id":"1329539710","filename":"file2"},{"photo_id":"1329539718","filename":"file4"},{"photo_id":"1329539706","filename":"file1"},{"photo_id":"1329539703","filename":"file0"},{"photo_id":"1329539714","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329539706":["hashtag1","hashtag2"]},{"1329539703":["hashtag1","hashtag2"]},{"1329539714":["hashtag1","hashtag2"]},{"1329539723":["hashtag1","hashtag2"]},{"1329539710":["hashtag1","hashtag2"]},{"1329539718":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329539706, 1329539703, 1329539714, 1329539723, 1329539710, 1329539718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.37507247924805 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:14:22.127702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/14/image_17012025_19_14_53_6515.jpg', '/media/data/images/17012025/19/14/image_17012025_19_14_46_6480.jpg', '/media/data/images/17012025/19/14/image_17012025_19_14_40_5267.jpg', '/media/data/images/17012025/19/14/image_17012025_19_14_34_6450.jpg', '/media/data/images/17012025/19/14/image_17012025_19_14_28_5252.jpg', '/media/data/images/17012025/19/14/image_17012025_19_14_23_6490.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/14/image_17012025_19_14_53_6515.jpg
/media/data/images/17012025/19/14/image_17012025_19_14_46_6480.jpg
/media/data/images/17012025/19/14/image_17012025_19_14_40_5267.jpg
/media/data/images/17012025/19/14/image_17012025_19_14_34_6450.jpg
/media/data/images/17012025/19/14/image_17012025_19_14_28_5252.jpg
/media/data/images/17012025/19/14/image_17012025_19_14_23_6490.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329539748","1329539759","1329539767","1329539754","1329539763","1329539742"],"photo_ids_order":["1329539742","1329539748","1329539754","1329539759","1329539763","1329539767"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9a63b1f0b2a3cd93340960104e9bd7cf.jpg","text":"TemporaryFile(/tmp/multipartBody6955031542651757983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137746568,"filename":"image_17012025_19_14_46_6480.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/33c3788648b3376468e8a7b5f16abb14.jpg","text":"TemporaryFile(/tmp/multipartBody9118382296158609117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137746568,"filename":"image_17012025_19_14_34_6450.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/efea35697df18f60e67cdecc45d5043a.jpg","text":"TemporaryFile(/tmp/multipartBody7327568708998426543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137746568,"filename":"image_17012025_19_14_23_6490.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/91bcbe5148b4934734a7d1c5b2085b84.jpg","text":"TemporaryFile(/tmp/multipartBody5302009689026542658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137746568,"filename":"image_17012025_19_14_40_5267.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/be7ca15c317f2ab6d7ecb8720d36a8d0.jpg","text":"TemporaryFile(/tmp/multipartBody1855654676918570200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137746568,"filename":"image_17012025_19_14_28_5252.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/83c76b8d998bc777a290f36d277d76a3.jpg","text":"TemporaryFile(/tmp/multipartBody1327741116522385942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137746568,"filename":"image_17012025_19_14_53_6515.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329539754","file1":"1329539748","file0":"1329539742","file4":"1329539763","file5":"1329539767","file3":"1329539759"},"map_files_photo_id_array":[{"photo_id":"1329539767","filename":"file5"},{"photo_id":"1329539754","filename":"file2"},{"photo_id":"1329539763","filename":"file4"},{"photo_id":"1329539748","filename":"file1"},{"photo_id":"1329539742","filename":"file0"},{"photo_id":"1329539759","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329539748":["hashtag1","hashtag2"]},{"1329539759":["hashtag1","hashtag2"]},{"1329539767":["hashtag1","hashtag2"]},{"1329539754":["hashtag1","hashtag2"]},{"1329539763":["hashtag1","hashtag2"]},{"1329539742":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329539748, 1329539759, 1329539767, 1329539754, 1329539763, 1329539742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.08376359939575 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:15:22.231520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/15/image_17012025_19_15_52_5281.jpg', '/media/data/images/17012025/19/15/image_17012025_19_15_46_6573.jpg', '/media/data/images/17012025/19/15/image_17012025_19_15_40_5327.jpg', '/media/data/images/17012025/19/15/image_17012025_19_15_35_6497.jpg', '/media/data/images/17012025/19/15/image_17012025_19_15_28_5280.jpg', '/media/data/images/17012025/19/15/image_17012025_19_15_23_6518.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/15/image_17012025_19_15_52_5281.jpg
/media/data/images/17012025/19/15/image_17012025_19_15_46_6573.jpg
/media/data/images/17012025/19/15/image_17012025_19_15_40_5327.jpg
/media/data/images/17012025/19/15/image_17012025_19_15_35_6497.jpg
/media/data/images/17012025/19/15/image_17012025_19_15_28_5280.jpg
/media/data/images/17012025/19/15/image_17012025_19_15_23_6518.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329539805","1329539831","1329539837","1329539801","1329539787","1329539835"],"photo_ids_order":["1329539787","1329539801","1329539805","1329539831","1329539835","1329539837"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/73ffc2fbb8255d057b0fdfc9cb77303b.jpg","text":"TemporaryFile(/tmp/multipartBody1975648091061128123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137800046,"filename":"image_17012025_19_15_40_5327.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a2f138d53eee88ed6c5e1c3238d66b45.jpg","text":"TemporaryFile(/tmp/multipartBody9028723275266443031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137800046,"filename":"image_17012025_19_15_35_6497.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1ff98f8b274b30c284db06bd61df08a6.jpg","text":"TemporaryFile(/tmp/multipartBody2187100398540024825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137800046,"filename":"image_17012025_19_15_23_6518.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fb08ebc8d25dcb86179e3f6a9d0591c7.jpg","text":"TemporaryFile(/tmp/multipartBody2516373158827127333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137800046,"filename":"image_17012025_19_15_46_6573.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bd8160b16814e35e43ded646ee8707fd.jpg","text":"TemporaryFile(/tmp/multipartBody3752022498730732433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137800046,"filename":"image_17012025_19_15_52_5281.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ff0c61c0a3a9d950e0c25f7531314703.jpg","text":"TemporaryFile(/tmp/multipartBody8671494316304615073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137800046,"filename":"image_17012025_19_15_28_5280.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329539805","file1":"1329539801","file0":"1329539787","file4":"1329539835","file5":"1329539837","file3":"1329539831"},"map_files_photo_id_array":[{"photo_id":"1329539837","filename":"file5"},{"photo_id":"1329539805","filename":"file2"},{"photo_id":"1329539835","filename":"file4"},{"photo_id":"1329539801","filename":"file1"},{"photo_id":"1329539787","filename":"file0"},{"photo_id":"1329539831","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329539805":["hashtag1","hashtag2"]},{"1329539831":["hashtag1","hashtag2"]},{"1329539837":["hashtag1","hashtag2"]},{"1329539801":["hashtag1","hashtag2"]},{"1329539787":["hashtag1","hashtag2"]},{"1329539835":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329539805, 1329539831, 1329539837, 1329539801, 1329539787, 1329539835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.59303379058838 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:16:22.321163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/16/image_17012025_19_16_40_5240.jpg', '/media/data/images/17012025/19/16/image_17012025_19_16_35_6510.jpg', '/media/data/images/17012025/19/16/image_17012025_19_16_28_5300.jpg', '/media/data/images/17012025/19/16/image_17012025_19_16_23_6529.jpg', '/media/data/images/17012025/19/16/image_17012025_19_16_16_6519.jpg', '/media/data/images/17012025/19/16/image_17012025_19_16_10_5262.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/16/image_17012025_19_16_40_5240.jpg
/media/data/images/17012025/19/16/image_17012025_19_16_35_6510.jpg
/media/data/images/17012025/19/16/image_17012025_19_16_28_5300.jpg
/media/data/images/17012025/19/16/image_17012025_19_16_23_6529.jpg
/media/data/images/17012025/19/16/image_17012025_19_16_16_6519.jpg
/media/data/images/17012025/19/16/image_17012025_19_16_10_5262.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329539876","1329539852","1329539855","1329539849","1329539887","1329539865"],"photo_ids_order":["1329539849","1329539852","1329539855","1329539865","1329539876","1329539887"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7882ebc89039a26a89dc8d2033ec7d4f.jpg","text":"TemporaryFile(/tmp/multipartBody73984515886576668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137853308,"filename":"image_17012025_19_16_16_6519.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f56dc50b49f3a97a0023602018317e34.jpg","text":"TemporaryFile(/tmp/multipartBody1423871975906377866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137853308,"filename":"image_17012025_19_16_35_6510.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c29a4612ae746304ea883c196d43727c.jpg","text":"TemporaryFile(/tmp/multipartBody5431801147560438324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137853308,"filename":"image_17012025_19_16_28_5300.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c80e92f0482b9b1dd602dfee638f4029.jpg","text":"TemporaryFile(/tmp/multipartBody5471115721124629146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137853308,"filename":"image_17012025_19_16_40_5240.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d448f411f038869552866b57042da16c.jpg","text":"TemporaryFile(/tmp/multipartBody3271119062523189029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137853308,"filename":"image_17012025_19_16_10_5262.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bca6da575d09f3dec28702e94e6a7530.jpg","text":"TemporaryFile(/tmp/multipartBody7288225835567488227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137853308,"filename":"image_17012025_19_16_23_6529.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329539855","file1":"1329539852","file0":"1329539849","file4":"1329539876","file5":"1329539887","file3":"1329539865"},"map_files_photo_id_array":[{"photo_id":"1329539887","filename":"file5"},{"photo_id":"1329539855","filename":"file2"},{"photo_id":"1329539876","filename":"file4"},{"photo_id":"1329539852","filename":"file1"},{"photo_id":"1329539849","filename":"file0"},{"photo_id":"1329539865","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329539876":["hashtag1","hashtag2"]},{"1329539852":["hashtag1","hashtag2"]},{"1329539855":["hashtag1","hashtag2"]},{"1329539849":["hashtag1","hashtag2"]},{"1329539887":["hashtag1","hashtag2"]},{"1329539865":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329539876, 1329539852, 1329539855, 1329539849, 1329539887, 1329539865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.512484312057495 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:17:22.445066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/17/image_17012025_19_17_52_5263.jpg', '/media/data/images/17012025/19/17/image_17012025_19_17_47_6466.jpg', '/media/data/images/17012025/19/17/image_17012025_19_17_40_6506.jpg', '/media/data/images/17012025/19/17/image_17012025_19_17_34_5258.jpg', '/media/data/images/17012025/19/17/image_17012025_19_17_28_6498.jpg', '/media/data/images/17012025/19/17/image_17012025_19_17_22_5266.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/17/image_17012025_19_17_52_5263.jpg
/media/data/images/17012025/19/17/image_17012025_19_17_47_6466.jpg
/media/data/images/17012025/19/17/image_17012025_19_17_40_6506.jpg
/media/data/images/17012025/19/17/image_17012025_19_17_34_5258.jpg
/media/data/images/17012025/19/17/image_17012025_19_17_28_6498.jpg
/media/data/images/17012025/19/17/image_17012025_19_17_22_5266.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329540004","1329539939","1329539989","1329539950","1329540010","1329539946"],"photo_ids_order":["1329539939","1329539946","1329539950","1329539989","1329540004","1329540010"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/217446baef6c494874349552e76fd34d.jpg","text":"TemporaryFile(/tmp/multipartBody2062967189008680514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137913418,"filename":"image_17012025_19_17_28_6498.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9ff484e6aff2d90fddc2e301288e33f3.jpg","text":"TemporaryFile(/tmp/multipartBody8255370876318951918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137913418,"filename":"image_17012025_19_17_52_5263.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7fc0e2c6c3014dc7504143114d563bcc.jpg","text":"TemporaryFile(/tmp/multipartBody8654514192128626602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137913418,"filename":"image_17012025_19_17_34_5258.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9bbc8824dc12d021d6b63382fe72d911.jpg","text":"TemporaryFile(/tmp/multipartBody5332960899174026752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137913418,"filename":"image_17012025_19_17_40_6506.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dd8498d338a839ff15f5f0bac6428748.jpg","text":"TemporaryFile(/tmp/multipartBody4739270982751478553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137913418,"filename":"image_17012025_19_17_22_5266.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/493cd3e6eb5ff55071e90ad8ee110d46.jpg","text":"TemporaryFile(/tmp/multipartBody4649506717563637223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137913418,"filename":"image_17012025_19_17_47_6466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329539950","file1":"1329539946","file0":"1329539939","file4":"1329540004","file5":"1329540010","file3":"1329539989"},"map_files_photo_id_array":[{"photo_id":"1329540010","filename":"file5"},{"photo_id":"1329539950","filename":"file2"},{"photo_id":"1329540004","filename":"file4"},{"photo_id":"1329539946","filename":"file1"},{"photo_id":"1329539939","filename":"file0"},{"photo_id":"1329539989","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329540004":["hashtag1","hashtag2"]},{"1329539939":["hashtag1","hashtag2"]},{"1329539989":["hashtag1","hashtag2"]},{"1329539950":["hashtag1","hashtag2"]},{"1329540010":["hashtag1","hashtag2"]},{"1329539946":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329540004, 1329539939, 1329539989, 1329539950, 1329540010, 1329539946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.67182755470276 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:18:22.550488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/18/image_17012025_19_18_52_6398.jpg', '/media/data/images/17012025/19/18/image_17012025_19_18_46_5155.jpg', '/media/data/images/17012025/19/18/image_17012025_19_18_41_6441.jpg', '/media/data/images/17012025/19/18/image_17012025_19_18_34_6210.jpg', '/media/data/images/17012025/19/18/image_17012025_19_18_28_5245.jpg', '/media/data/images/17012025/19/18/image_17012025_19_18_23_6404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/18/image_17012025_19_18_52_6398.jpg
/media/data/images/17012025/19/18/image_17012025_19_18_46_5155.jpg
/media/data/images/17012025/19/18/image_17012025_19_18_41_6441.jpg
/media/data/images/17012025/19/18/image_17012025_19_18_34_6210.jpg
/media/data/images/17012025/19/18/image_17012025_19_18_28_5245.jpg
/media/data/images/17012025/19/18/image_17012025_19_18_23_6404.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329540063","1329540057","1329540053","1329540067","1329540061","1329540049"],"photo_ids_order":["1329540049","1329540053","1329540057","1329540061","1329540063","1329540067"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a1cf7f4c13f6185cdba8a4f6e50330a7.jpg","text":"TemporaryFile(/tmp/multipartBody4027164077025469217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137978915,"filename":"image_17012025_19_18_28_5245.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c7e1d5f7b1f7f270ea36146edf09fa8c.jpg","text":"TemporaryFile(/tmp/multipartBody6173996324180997563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137978915,"filename":"image_17012025_19_18_41_6441.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/eccdc05bda96b01fff16e900ee5a16fa.jpg","text":"TemporaryFile(/tmp/multipartBody2384745932222653241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137978915,"filename":"image_17012025_19_18_46_5155.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b58a40108cba7e2abd5f9b93a7c42efa.jpg","text":"TemporaryFile(/tmp/multipartBody5013909586494142873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137978915,"filename":"image_17012025_19_18_23_6404.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6a36e22077b7712ede293e38582fe4b2.jpg","text":"TemporaryFile(/tmp/multipartBody6997246086298395037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137978915,"filename":"image_17012025_19_18_34_6210.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/135b1c9f7d18fa8ee0af66a06ffbda61.jpg","text":"TemporaryFile(/tmp/multipartBody3780517348967866345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737137978915,"filename":"image_17012025_19_18_52_6398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329540057","file1":"1329540053","file0":"1329540049","file4":"1329540063","file5":"1329540067","file3":"1329540061"},"map_files_photo_id_array":[{"photo_id":"1329540067","filename":"file5"},{"photo_id":"1329540057","filename":"file2"},{"photo_id":"1329540063","filename":"file4"},{"photo_id":"1329540053","filename":"file1"},{"photo_id":"1329540049","filename":"file0"},{"photo_id":"1329540061","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329540063":["hashtag1","hashtag2"]},{"1329540057":["hashtag1","hashtag2"]},{"1329540053":["hashtag1","hashtag2"]},{"1329540067":["hashtag1","hashtag2"]},{"1329540061":["hashtag1","hashtag2"]},{"1329540049":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329540063, 1329540057, 1329540053, 1329540067, 1329540061, 1329540049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.67386865615845 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:19:22.612312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/19/image_17012025_19_19_52_6370.jpg', '/media/data/images/17012025/19/19/image_17012025_19_19_46_5160.jpg', '/media/data/images/17012025/19/19/image_17012025_19_19_41_6341.jpg', '/media/data/images/17012025/19/19/image_17012025_19_19_34_6348.jpg', '/media/data/images/17012025/19/19/image_17012025_19_19_28_6395.jpg', '/media/data/images/17012025/19/19/image_17012025_19_19_22_5167.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/19/image_17012025_19_19_52_6370.jpg
/media/data/images/17012025/19/19/image_17012025_19_19_46_5160.jpg
/media/data/images/17012025/19/19/image_17012025_19_19_41_6341.jpg
/media/data/images/17012025/19/19/image_17012025_19_19_34_6348.jpg
/media/data/images/17012025/19/19/image_17012025_19_19_28_6395.jpg
/media/data/images/17012025/19/19/image_17012025_19_19_22_5167.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329540101","1329540094","1329540088","1329540106","1329540099","1329540090"],"photo_ids_order":["1329540088","1329540090","1329540094","1329540099","1329540101","1329540106"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0b941be1ebe83b914f07e2e23c3ab687.jpg","text":"TemporaryFile(/tmp/multipartBody3275902468996599027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138030295,"filename":"image_17012025_19_19_28_6395.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/55d1eefca88b77feda7be13baf9fb751.jpg","text":"TemporaryFile(/tmp/multipartBody8678222575299897584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138030295,"filename":"image_17012025_19_19_41_6341.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fbfbb4c07237246e897ef068701459f2.jpg","text":"TemporaryFile(/tmp/multipartBody3716237195317994413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138030295,"filename":"image_17012025_19_19_52_6370.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0d478f452c8d0d49ed9bf5f76d7cddc5.jpg","text":"TemporaryFile(/tmp/multipartBody5873221315577973906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138030295,"filename":"image_17012025_19_19_22_5167.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3b0033228d679b7ef642cb696c4e0348.jpg","text":"TemporaryFile(/tmp/multipartBody4496353262277948714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138030295,"filename":"image_17012025_19_19_34_6348.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5669f0bb53ae9c72bf88cae0bd69c356.jpg","text":"TemporaryFile(/tmp/multipartBody2089669993370986927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138030295,"filename":"image_17012025_19_19_46_5160.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329540094","file1":"1329540090","file0":"1329540088","file4":"1329540101","file5":"1329540106","file3":"1329540099"},"map_files_photo_id_array":[{"photo_id":"1329540106","filename":"file5"},{"photo_id":"1329540094","filename":"file2"},{"photo_id":"1329540101","filename":"file4"},{"photo_id":"1329540090","filename":"file1"},{"photo_id":"1329540088","filename":"file0"},{"photo_id":"1329540099","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329540101":["hashtag1","hashtag2"]},{"1329540094":["hashtag1","hashtag2"]},{"1329540088":["hashtag1","hashtag2"]},{"1329540106":["hashtag1","hashtag2"]},{"1329540099":["hashtag1","hashtag2"]},{"1329540090":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329540101, 1329540094, 1329540088, 1329540106, 1329540099, 1329540090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.93265676498413 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:20:22.688589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/20/image_17012025_19_20_52_6367.jpg', '/media/data/images/17012025/19/20/image_17012025_19_20_46_5169.jpg', '/media/data/images/17012025/19/20/image_17012025_19_20_41_6360.jpg', '/media/data/images/17012025/19/20/image_17012025_19_20_34_6408.jpg', '/media/data/images/17012025/19/20/image_17012025_19_20_28_5147.jpg', '/media/data/images/17012025/19/20/image_17012025_19_20_23_6366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/20/image_17012025_19_20_52_6367.jpg
/media/data/images/17012025/19/20/image_17012025_19_20_46_5169.jpg
/media/data/images/17012025/19/20/image_17012025_19_20_41_6360.jpg
/media/data/images/17012025/19/20/image_17012025_19_20_34_6408.jpg
/media/data/images/17012025/19/20/image_17012025_19_20_28_5147.jpg
/media/data/images/17012025/19/20/image_17012025_19_20_23_6366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329540237","1329540176","1329540179","1329540172","1329540244","1329540183"],"photo_ids_order":["1329540172","1329540176","1329540179","1329540183","1329540237","1329540244"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1b103e926db35b0ad12e45bd129124d5.jpg","text":"TemporaryFile(/tmp/multipartBody6028939670119877349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138104276,"filename":"image_17012025_19_20_28_5147.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/648525aa041bfe29040fa138ae448a52.jpg","text":"TemporaryFile(/tmp/multipartBody8885606718089509205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138104276,"filename":"image_17012025_19_20_46_5169.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3cb1e2d3fb8856ae45f7bb60579dcf2e.jpg","text":"TemporaryFile(/tmp/multipartBody4511117440640391160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138104276,"filename":"image_17012025_19_20_41_6360.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2b336bc9b16ae9dd523bd3226ea5db90.jpg","text":"TemporaryFile(/tmp/multipartBody5969043012532338093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138104276,"filename":"image_17012025_19_20_52_6367.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1f66b3c7df5a29412d70ec11dd6c1422.jpg","text":"TemporaryFile(/tmp/multipartBody7830774968997834573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138104276,"filename":"image_17012025_19_20_23_6366.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c5d1fe5524d31554c068f30a620f47c5.jpg","text":"TemporaryFile(/tmp/multipartBody7702904164786379186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138104276,"filename":"image_17012025_19_20_34_6408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329540179","file1":"1329540176","file0":"1329540172","file4":"1329540237","file5":"1329540244","file3":"1329540183"},"map_files_photo_id_array":[{"photo_id":"1329540244","filename":"file5"},{"photo_id":"1329540179","filename":"file2"},{"photo_id":"1329540237","filename":"file4"},{"photo_id":"1329540176","filename":"file1"},{"photo_id":"1329540172","filename":"file0"},{"photo_id":"1329540183","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329540237":["hashtag1","hashtag2"]},{"1329540176":["hashtag1","hashtag2"]},{"1329540179":["hashtag1","hashtag2"]},{"1329540172":["hashtag1","hashtag2"]},{"1329540244":["hashtag1","hashtag2"]},{"1329540183":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329540237, 1329540176, 1329540179, 1329540172, 1329540244, 1329540183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.59380769729614 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:21:21.772119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/21/image_17012025_19_21_52_6380.jpg', '/media/data/images/17012025/19/21/image_17012025_19_21_46_5173.jpg', '/media/data/images/17012025/19/21/image_17012025_19_21_41_6380.jpg', '/media/data/images/17012025/19/21/image_17012025_19_21_34_6407.jpg', '/media/data/images/17012025/19/21/image_17012025_19_21_28_5136.jpg', '/media/data/images/17012025/19/21/image_17012025_19_21_23_6371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/21/image_17012025_19_21_52_6380.jpg
/media/data/images/17012025/19/21/image_17012025_19_21_46_5173.jpg
/media/data/images/17012025/19/21/image_17012025_19_21_41_6380.jpg
/media/data/images/17012025/19/21/image_17012025_19_21_34_6407.jpg
/media/data/images/17012025/19/21/image_17012025_19_21_28_5136.jpg
/media/data/images/17012025/19/21/image_17012025_19_21_23_6371.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329540285","1329540264","1329540254","1329540277","1329540256","1329540282"],"photo_ids_order":["1329540254","1329540256","1329540264","1329540277","1329540282","1329540285"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/38f2caef4b476659a04daaf2602769eb.jpg","text":"TemporaryFile(/tmp/multipartBody2514116375477480421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138146501,"filename":"image_17012025_19_21_23_6371.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f1b8d7cba99d7a405b72ee3a444f64b1.jpg","text":"TemporaryFile(/tmp/multipartBody3173528631391883127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138146501,"filename":"image_17012025_19_21_41_6380.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a1e465f625dcb539ba1c83ea5aa21b1e.jpg","text":"TemporaryFile(/tmp/multipartBody2664297113383621549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138146501,"filename":"image_17012025_19_21_52_6380.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ffecff21f87df553dd587ca8340141a4.jpg","text":"TemporaryFile(/tmp/multipartBody6144400409361016816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138146501,"filename":"image_17012025_19_21_34_6407.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7925e0831e54851ddbbbb8248078ff64.jpg","text":"TemporaryFile(/tmp/multipartBody2746523634807509288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138146501,"filename":"image_17012025_19_21_46_5173.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c1d619879f462e85a71284362eb414a2.jpg","text":"TemporaryFile(/tmp/multipartBody6446119752835534116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138146501,"filename":"image_17012025_19_21_28_5136.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329540264","file1":"1329540256","file0":"1329540254","file4":"1329540282","file5":"1329540285","file3":"1329540277"},"map_files_photo_id_array":[{"photo_id":"1329540285","filename":"file5"},{"photo_id":"1329540264","filename":"file2"},{"photo_id":"1329540282","filename":"file4"},{"photo_id":"1329540256","filename":"file1"},{"photo_id":"1329540254","filename":"file0"},{"photo_id":"1329540277","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329540285":["hashtag1","hashtag2"]},{"1329540264":["hashtag1","hashtag2"]},{"1329540254":["hashtag1","hashtag2"]},{"1329540277":["hashtag1","hashtag2"]},{"1329540256":["hashtag1","hashtag2"]},{"1329540282":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329540285, 1329540264, 1329540254, 1329540277, 1329540256, 1329540282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.12780809402466 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:22:02.111692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/21/image_17012025_19_21_16_6399.jpg', '/media/data/images/17012025/19/21/image_17012025_19_21_10_5184.jpg', '/media/data/images/17012025/19/21/image_17012025_19_21_05_6124.jpg', '/media/data/images/17012025/19/20/image_17012025_19_20_59_6403.jpg', '/media/data/images/17012025/19/20/image_17012025_19_20_16_6383.jpg', '/media/data/images/17012025/19/20/image_17012025_19_20_10_6390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/21/image_17012025_19_21_16_6399.jpg
/media/data/images/17012025/19/21/image_17012025_19_21_10_5184.jpg
/media/data/images/17012025/19/21/image_17012025_19_21_05_6124.jpg
/media/data/images/17012025/19/20/image_17012025_19_20_59_6403.jpg
/media/data/images/17012025/19/20/image_17012025_19_20_16_6383.jpg
/media/data/images/17012025/19/20/image_17012025_19_20_10_6390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329540300","1329540318","1329540303","1329540306","1329540308","1329540337"],"photo_ids_order":["1329540300","1329540303","1329540306","1329540308","1329540318","1329540337"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4c5309091f31001155e98312d6dd14ad.jpg","text":"TemporaryFile(/tmp/multipartBody4908907865454544672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138189838,"filename":"image_17012025_19_21_16_6399.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dfdd5fb79e0337c16d81b40f3c96b11f.jpg","text":"TemporaryFile(/tmp/multipartBody5886561436822461727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138189838,"filename":"image_17012025_19_20_16_6383.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4fb5c4c11348c474c096bfb95ae0239e.jpg","text":"TemporaryFile(/tmp/multipartBody5073404152754924939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138189838,"filename":"image_17012025_19_21_10_5184.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/08b9f0c372d301b8abf5882b2530399a.jpg","text":"TemporaryFile(/tmp/multipartBody4197069921877717816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138189838,"filename":"image_17012025_19_21_05_6124.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0cf90057caac7b5292a4963bb4182e6f.jpg","text":"TemporaryFile(/tmp/multipartBody7166531900968831675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138189838,"filename":"image_17012025_19_20_59_6403.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6e0529da7bd109e6ca05260bc66f8835.jpg","text":"TemporaryFile(/tmp/multipartBody673492526313260355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138189838,"filename":"image_17012025_19_20_10_6390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329540306","file1":"1329540303","file0":"1329540300","file4":"1329540318","file5":"1329540337","file3":"1329540308"},"map_files_photo_id_array":[{"photo_id":"1329540337","filename":"file5"},{"photo_id":"1329540306","filename":"file2"},{"photo_id":"1329540318","filename":"file4"},{"photo_id":"1329540303","filename":"file1"},{"photo_id":"1329540300","filename":"file0"},{"photo_id":"1329540308","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329540300":["hashtag1","hashtag2"]},{"1329540318":["hashtag1","hashtag2"]},{"1329540303":["hashtag1","hashtag2"]},{"1329540306":["hashtag1","hashtag2"]},{"1329540308":["hashtag1","hashtag2"]},{"1329540337":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329540300, 1329540318, 1329540303, 1329540306, 1329540308, 1329540337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.02235674858093 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:23:02.292210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/22/image_17012025_19_22_52_6354.jpg', '/media/data/images/17012025/19/22/image_17012025_19_22_46_6389.jpg', '/media/data/images/17012025/19/22/image_17012025_19_22_40_5200.jpg', '/media/data/images/17012025/19/22/image_17012025_19_22_34_6403.jpg', '/media/data/images/17012025/19/22/image_17012025_19_22_28_6408.jpg', '/media/data/images/17012025/19/22/image_17012025_19_22_22_5174.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/22/image_17012025_19_22_52_6354.jpg
/media/data/images/17012025/19/22/image_17012025_19_22_46_6389.jpg
/media/data/images/17012025/19/22/image_17012025_19_22_40_5200.jpg
/media/data/images/17012025/19/22/image_17012025_19_22_34_6403.jpg
/media/data/images/17012025/19/22/image_17012025_19_22_28_6408.jpg
/media/data/images/17012025/19/22/image_17012025_19_22_22_5174.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329540399","1329540437","1329540416","1329540433","1329540403","1329540412"],"photo_ids_order":["1329540399","1329540403","1329540412","1329540416","1329540433","1329540437"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6d0cadeeafd73fc08b466869ef2a7cd3.jpg","text":"TemporaryFile(/tmp/multipartBody6373049702879122294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138249704,"filename":"image_17012025_19_22_52_6354.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e84a05cb37a72274f8a53023e23c4a21.jpg","text":"TemporaryFile(/tmp/multipartBody6912472445361288690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138249704,"filename":"image_17012025_19_22_22_5174.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/42137950704899c95529965b49d71a94.jpg","text":"TemporaryFile(/tmp/multipartBody5774169807330944711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138249704,"filename":"image_17012025_19_22_34_6403.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a59b6d8ce49899f7219fdfc59ac2f960.jpg","text":"TemporaryFile(/tmp/multipartBody5589595069588759450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138249704,"filename":"image_17012025_19_22_28_6408.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/db8b45bda254050a9fe395257ee2192b.jpg","text":"TemporaryFile(/tmp/multipartBody5406894452062387014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138249704,"filename":"image_17012025_19_22_46_6389.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0f894d573f4d1864884f9ff0017160ac.jpg","text":"TemporaryFile(/tmp/multipartBody3100601589917122116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138249704,"filename":"image_17012025_19_22_40_5200.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329540412","file1":"1329540403","file0":"1329540399","file4":"1329540433","file5":"1329540437","file3":"1329540416"},"map_files_photo_id_array":[{"photo_id":"1329540437","filename":"file5"},{"photo_id":"1329540412","filename":"file2"},{"photo_id":"1329540433","filename":"file4"},{"photo_id":"1329540403","filename":"file1"},{"photo_id":"1329540399","filename":"file0"},{"photo_id":"1329540416","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329540399":["hashtag1","hashtag2"]},{"1329540437":["hashtag1","hashtag2"]},{"1329540416":["hashtag1","hashtag2"]},{"1329540433":["hashtag1","hashtag2"]},{"1329540403":["hashtag1","hashtag2"]},{"1329540412":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329540399, 1329540437, 1329540416, 1329540433, 1329540403, 1329540412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.59923768043518 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:24:02.490345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/23/image_17012025_19_23_52_6383.jpg', '/media/data/images/17012025/19/23/image_17012025_19_23_46_6450.jpg', '/media/data/images/17012025/19/23/image_17012025_19_23_40_5194.jpg', '/media/data/images/17012025/19/23/image_17012025_19_23_34_6414.jpg', '/media/data/images/17012025/19/23/image_17012025_19_23_28_6416.jpg', '/media/data/images/17012025/19/23/image_17012025_19_23_22_5157.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/23/image_17012025_19_23_52_6383.jpg
/media/data/images/17012025/19/23/image_17012025_19_23_46_6450.jpg
/media/data/images/17012025/19/23/image_17012025_19_23_40_5194.jpg
/media/data/images/17012025/19/23/image_17012025_19_23_34_6414.jpg
/media/data/images/17012025/19/23/image_17012025_19_23_28_6416.jpg
/media/data/images/17012025/19/23/image_17012025_19_23_22_5157.jpg
2025-01-17 19:24:02.580142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/23/image_17012025_19_23_52_6383.jpg', '/media/data/images/17012025/19/23/image_17012025_19_23_46_6450.jpg', '/media/data/images/17012025/19/23/image_17012025_19_23_40_5194.jpg', '/media/data/images/17012025/19/23/image_17012025_19_23_34_6414.jpg', '/media/data/images/17012025/19/23/image_17012025_19_23_28_6416.jpg', '/media/data/images/17012025/19/23/image_17012025_19_23_22_5157.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/23/image_17012025_19_23_52_6383.jpg
/media/data/images/17012025/19/23/image_17012025_19_23_46_6450.jpg
/media/data/images/17012025/19/23/image_17012025_19_23_40_5194.jpg
/media/data/images/17012025/19/23/image_17012025_19_23_34_6414.jpg
/media/data/images/17012025/19/23/image_17012025_19_23_28_6416.jpg
/media/data/images/17012025/19/23/image_17012025_19_23_22_5157.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329541661","1329541390","1329541453","1329541534","1329541222","1329541731"],"photo_ids_order":["1329541222","1329541390","1329541453","1329541534","1329541661","1329541731"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e6f0879edb1389909c4d76f93b389525.jpg","text":"TemporaryFile(/tmp/multipartBody5127177401277538873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138316222,"filename":"image_17012025_19_23_28_6416.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ecf2a57f0a74747577a155f5d063db46.jpg","text":"TemporaryFile(/tmp/multipartBody1656248328687787804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138316222,"filename":"image_17012025_19_23_46_6450.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c1ed117a018c694bf6a92cae6ee5bfd6.jpg","text":"TemporaryFile(/tmp/multipartBody2268324133182721708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138316222,"filename":"image_17012025_19_23_40_5194.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/97a5b4700bc2347b87e32da8e7fa53cf.jpg","text":"TemporaryFile(/tmp/multipartBody1479100122129492485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138316222,"filename":"image_17012025_19_23_34_6414.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/83acccde79b20d9b26df99e2c692d767.jpg","text":"TemporaryFile(/tmp/multipartBody1464277386348085936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138316222,"filename":"image_17012025_19_23_52_6383.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8228f3ebca9a627928fc19fb154c4911.jpg","text":"TemporaryFile(/tmp/multipartBody8011411894932227817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138316222,"filename":"image_17012025_19_23_22_5157.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329541453","file1":"1329541390","file0":"1329541222","file4":"1329541661","file5":"1329541731","file3":"1329541534"},"map_files_photo_id_array":[{"photo_id":"1329541731","filename":"file5"},{"photo_id":"1329541453","filename":"file2"},{"photo_id":"1329541661","filename":"file4"},{"photo_id":"1329541390","filename":"file1"},{"photo_id":"1329541222","filename":"file0"},{"photo_id":"1329541534","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329541661":["hashtag1","hashtag2"]},{"1329541390":["hashtag1","hashtag2"]},{"1329541453":["hashtag1","hashtag2"]},{"1329541534":["hashtag1","hashtag2"]},{"1329541222":["hashtag1","hashtag2"]},{"1329541731":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329541661, 1329541390, 1329541453, 1329541534, 1329541222, 1329541731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.67495369911194 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329541329","1329541664","1329541732","1329541452","1329541536","1329541167"],"photo_ids_order":["1329541167","1329541329","1329541452","1329541536","1329541664","1329541732"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f6949b9cfc1dce315dd6f4619128a6c0.jpg","text":"TemporaryFile(/tmp/multipartBody7588099127070203631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138316079,"filename":"image_17012025_19_23_46_6450.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7c4ddb8b9c9a885092d12c922f55f87c.jpg","text":"TemporaryFile(/tmp/multipartBody7198952025887342848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138316079,"filename":"image_17012025_19_23_28_6416.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/21f74b63620c1a39375950772628dbc7.jpg","text":"TemporaryFile(/tmp/multipartBody7258099452586203820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138316079,"filename":"image_17012025_19_23_22_5157.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b09aca811832b3c2ae02925391f10714.jpg","text":"TemporaryFile(/tmp/multipartBody6029603199582727159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138316079,"filename":"image_17012025_19_23_40_5194.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/26e5db8529a50cbffd257b0dbbd3de08.jpg","text":"TemporaryFile(/tmp/multipartBody1933926831722091137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138316079,"filename":"image_17012025_19_23_34_6414.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4c3c25ec0c46abb3d27ba0b48cad7845.jpg","text":"TemporaryFile(/tmp/multipartBody2821727829864371102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138316079,"filename":"image_17012025_19_23_52_6383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329541452","file1":"1329541329","file0":"1329541167","file4":"1329541664","file5":"1329541732","file3":"1329541536"},"map_files_photo_id_array":[{"photo_id":"1329541732","filename":"file5"},{"photo_id":"1329541452","filename":"file2"},{"photo_id":"1329541664","filename":"file4"},{"photo_id":"1329541329","filename":"file1"},{"photo_id":"1329541167","filename":"file0"},{"photo_id":"1329541536","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329541329":["hashtag1","hashtag2"]},{"1329541664":["hashtag1","hashtag2"]},{"1329541732":["hashtag1","hashtag2"]},{"1329541452":["hashtag1","hashtag2"]},{"1329541536":["hashtag1","hashtag2"]},{"1329541167":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329541329, 1329541664, 1329541732, 1329541452, 1329541536, 1329541167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.92181634902954 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:25:02.615335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/24/image_17012025_19_24_53_6369.jpg', '/media/data/images/17012025/19/24/image_17012025_19_24_46_6378.jpg', '/media/data/images/17012025/19/24/image_17012025_19_24_40_6375.jpg', '/media/data/images/17012025/19/24/image_17012025_19_24_34_5178.jpg', '/media/data/images/17012025/19/24/image_17012025_19_24_29_6357.jpg', '/media/data/images/17012025/19/24/image_17012025_19_24_22_6365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/24/image_17012025_19_24_53_6369.jpg
/media/data/images/17012025/19/24/image_17012025_19_24_46_6378.jpg
/media/data/images/17012025/19/24/image_17012025_19_24_40_6375.jpg
/media/data/images/17012025/19/24/image_17012025_19_24_34_5178.jpg
/media/data/images/17012025/19/24/image_17012025_19_24_29_6357.jpg
/media/data/images/17012025/19/24/image_17012025_19_24_22_6365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329541799","1329541781","1329541766","1329541771","1329541788","1329541761"],"photo_ids_order":["1329541761","1329541766","1329541771","1329541781","1329541788","1329541799"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0a4cd71e458cb61bfc7f92ae9f34e71d.jpg","text":"TemporaryFile(/tmp/multipartBody4326989083143304687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138368658,"filename":"image_17012025_19_24_22_6365.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c30eef7f163ea312e61ae3c0169d4dfb.jpg","text":"TemporaryFile(/tmp/multipartBody1741373890448523044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138368658,"filename":"image_17012025_19_24_34_5178.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b89bd04be131191296d2d8c55656d228.jpg","text":"TemporaryFile(/tmp/multipartBody4715949201273094307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138368658,"filename":"image_17012025_19_24_46_6378.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/56f78046dec95f8d528f62204c1800e9.jpg","text":"TemporaryFile(/tmp/multipartBody4116652723900289893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138368658,"filename":"image_17012025_19_24_40_6375.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/12cbeeb0ce2ac983b08abd9a77c89d19.jpg","text":"TemporaryFile(/tmp/multipartBody7312318717794136747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138368658,"filename":"image_17012025_19_24_29_6357.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/49cac78533bffad4d4637b6054c10455.jpg","text":"TemporaryFile(/tmp/multipartBody5332627585548154203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138368658,"filename":"image_17012025_19_24_53_6369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329541771","file1":"1329541766","file0":"1329541761","file4":"1329541788","file5":"1329541799","file3":"1329541781"},"map_files_photo_id_array":[{"photo_id":"1329541799","filename":"file5"},{"photo_id":"1329541771","filename":"file2"},{"photo_id":"1329541788","filename":"file4"},{"photo_id":"1329541766","filename":"file1"},{"photo_id":"1329541761","filename":"file0"},{"photo_id":"1329541781","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329541799":["hashtag1","hashtag2"]},{"1329541781":["hashtag1","hashtag2"]},{"1329541766":["hashtag1","hashtag2"]},{"1329541771":["hashtag1","hashtag2"]},{"1329541788":["hashtag1","hashtag2"]},{"1329541761":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329541799, 1329541781, 1329541766, 1329541771, 1329541788, 1329541761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.72822165489197 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:26:02.507285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/25/image_17012025_19_25_52_5171.jpg', '/media/data/images/17012025/19/25/image_17012025_19_25_47_6396.jpg', '/media/data/images/17012025/19/25/image_17012025_19_25_40_6366.jpg', '/media/data/images/17012025/19/25/image_17012025_19_25_34_5151.jpg', '/media/data/images/17012025/19/25/image_17012025_19_25_29_6359.jpg', '/media/data/images/17012025/19/25/image_17012025_19_25_22_6372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/25/image_17012025_19_25_52_5171.jpg
/media/data/images/17012025/19/25/image_17012025_19_25_47_6396.jpg
/media/data/images/17012025/19/25/image_17012025_19_25_40_6366.jpg
/media/data/images/17012025/19/25/image_17012025_19_25_34_5151.jpg
/media/data/images/17012025/19/25/image_17012025_19_25_29_6359.jpg
/media/data/images/17012025/19/25/image_17012025_19_25_22_6372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329542057","1329542224","1329542206","1329541860","1329542217","1329542214"],"photo_ids_order":["1329541860","1329542057","1329542206","1329542214","1329542217","1329542224"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/acf0ddee72774c530a78ee4943babb15.jpg","text":"TemporaryFile(/tmp/multipartBody1007149471975227163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138430628,"filename":"image_17012025_19_25_47_6396.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c2f24cfa320a2fc329f356adf03eb8bc.jpg","text":"TemporaryFile(/tmp/multipartBody8127418251914643127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138430628,"filename":"image_17012025_19_25_22_6372.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5031de8d6ce4d0842ccabc84a08beda1.jpg","text":"TemporaryFile(/tmp/multipartBody4975648408066855176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138430628,"filename":"image_17012025_19_25_40_6366.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/01612dac0b96255076236ccb3177e829.jpg","text":"TemporaryFile(/tmp/multipartBody5817001805626125918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138430628,"filename":"image_17012025_19_25_52_5171.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/491c147911c6ec44312e3e903794dbba.jpg","text":"TemporaryFile(/tmp/multipartBody902104339815960520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138430628,"filename":"image_17012025_19_25_29_6359.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/857f1c09d432cb90da3248216691e3f6.jpg","text":"TemporaryFile(/tmp/multipartBody9055941845346986336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138430628,"filename":"image_17012025_19_25_34_5151.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329542206","file1":"1329542057","file0":"1329541860","file4":"1329542217","file5":"1329542224","file3":"1329542214"},"map_files_photo_id_array":[{"photo_id":"1329542224","filename":"file5"},{"photo_id":"1329542206","filename":"file2"},{"photo_id":"1329542217","filename":"file4"},{"photo_id":"1329542057","filename":"file1"},{"photo_id":"1329541860","filename":"file0"},{"photo_id":"1329542214","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329542057":["hashtag1","hashtag2"]},{"1329542224":["hashtag1","hashtag2"]},{"1329542206":["hashtag1","hashtag2"]},{"1329541860":["hashtag1","hashtag2"]},{"1329542217":["hashtag1","hashtag2"]},{"1329542214":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329542057, 1329542224, 1329542206, 1329541860, 1329542217, 1329542214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.911680936813354 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:27:02.850067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/26/image_17012025_19_26_52_5113.jpg', '/media/data/images/17012025/19/26/image_17012025_19_26_47_6341.jpg', '/media/data/images/17012025/19/26/image_17012025_19_26_40_6341.jpg', '/media/data/images/17012025/19/26/image_17012025_19_26_34_6363.jpg', '/media/data/images/17012025/19/26/image_17012025_19_26_28_5172.jpg', '/media/data/images/17012025/19/26/image_17012025_19_26_23_6330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/26/image_17012025_19_26_52_5113.jpg
/media/data/images/17012025/19/26/image_17012025_19_26_47_6341.jpg
/media/data/images/17012025/19/26/image_17012025_19_26_40_6341.jpg
/media/data/images/17012025/19/26/image_17012025_19_26_34_6363.jpg
/media/data/images/17012025/19/26/image_17012025_19_26_28_5172.jpg
/media/data/images/17012025/19/26/image_17012025_19_26_23_6330.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329542380","1329542356","1329542365","1329542350","1329542361","1329542369"],"photo_ids_order":["1329542350","1329542356","1329542361","1329542365","1329542369","1329542380"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f7110f2605fe59e25ae3b1daad733614.jpg","text":"TemporaryFile(/tmp/multipartBody8230548933396444347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138488036,"filename":"image_17012025_19_26_23_6330.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/65d59b7aa9d147859e42ef59059870cc.jpg","text":"TemporaryFile(/tmp/multipartBody996574465941859985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138488036,"filename":"image_17012025_19_26_47_6341.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/50d818c4b33d5bb03de7f8579f921eec.jpg","text":"TemporaryFile(/tmp/multipartBody2744676977672760767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138488036,"filename":"image_17012025_19_26_34_6363.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/baab0da37c182dcc8d1f81b9b998494e.jpg","text":"TemporaryFile(/tmp/multipartBody6778652507810861991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138488036,"filename":"image_17012025_19_26_52_5113.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dd731c44592f89392b97fb20e04e7aaf.jpg","text":"TemporaryFile(/tmp/multipartBody6743091811011760035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138488036,"filename":"image_17012025_19_26_40_6341.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d359e1006e3291f62733747e5377cfc2.jpg","text":"TemporaryFile(/tmp/multipartBody466779504901810199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138488036,"filename":"image_17012025_19_26_28_5172.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329542361","file1":"1329542356","file0":"1329542350","file4":"1329542369","file5":"1329542380","file3":"1329542365"},"map_files_photo_id_array":[{"photo_id":"1329542380","filename":"file5"},{"photo_id":"1329542361","filename":"file2"},{"photo_id":"1329542369","filename":"file4"},{"photo_id":"1329542356","filename":"file1"},{"photo_id":"1329542350","filename":"file0"},{"photo_id":"1329542365","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329542380":["hashtag1","hashtag2"]},{"1329542356":["hashtag1","hashtag2"]},{"1329542365":["hashtag1","hashtag2"]},{"1329542350":["hashtag1","hashtag2"]},{"1329542361":["hashtag1","hashtag2"]},{"1329542369":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329542380, 1329542356, 1329542365, 1329542350, 1329542361, 1329542369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.25434875488281 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:27:42.348486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/27/image_17012025_19_27_52_5166.jpg', '/media/data/images/17012025/19/27/image_17012025_19_27_47_6368.jpg', '/media/data/images/17012025/19/27/image_17012025_19_27_40_6352.jpg', '/media/data/images/17012025/19/27/image_17012025_19_27_34_6361.jpg', '/media/data/images/17012025/19/27/image_17012025_19_27_28_5167.jpg', '/media/data/images/17012025/19/27/image_17012025_19_27_22_6409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/27/image_17012025_19_27_52_5166.jpg
/media/data/images/17012025/19/27/image_17012025_19_27_47_6368.jpg
/media/data/images/17012025/19/27/image_17012025_19_27_40_6352.jpg
/media/data/images/17012025/19/27/image_17012025_19_27_34_6361.jpg
/media/data/images/17012025/19/27/image_17012025_19_27_28_5167.jpg
/media/data/images/17012025/19/27/image_17012025_19_27_22_6409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329542444","1329542411","1329542435","1329542449","1329542439","1329542409"],"photo_ids_order":["1329542409","1329542411","1329542435","1329542439","1329542444","1329542449"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bee9e86f1d85d85601ac8c00a091508f.jpg","text":"TemporaryFile(/tmp/multipartBody1419771888568077660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138530365,"filename":"image_17012025_19_27_28_5167.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ee5925c68f95371380eed648a44e3314.jpg","text":"TemporaryFile(/tmp/multipartBody1150801645907647755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138530365,"filename":"image_17012025_19_27_47_6368.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/296e71959cd3d65769f3fa07fb5616fc.jpg","text":"TemporaryFile(/tmp/multipartBody6851037691409628233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138530365,"filename":"image_17012025_19_27_40_6352.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cba5fed91aa202abe4cc0a8f9168101a.jpg","text":"TemporaryFile(/tmp/multipartBody1409651019706802644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138530365,"filename":"image_17012025_19_27_22_6409.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3191b2a6f8a3be312d0bfd860b928c4b.jpg","text":"TemporaryFile(/tmp/multipartBody4160230679086236249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138530365,"filename":"image_17012025_19_27_34_6361.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/22d9c6e9c2dabaea8634ea89cf9b2830.jpg","text":"TemporaryFile(/tmp/multipartBody6634318469030446162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138530365,"filename":"image_17012025_19_27_52_5166.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329542435","file1":"1329542411","file0":"1329542409","file4":"1329542444","file5":"1329542449","file3":"1329542439"},"map_files_photo_id_array":[{"photo_id":"1329542449","filename":"file5"},{"photo_id":"1329542435","filename":"file2"},{"photo_id":"1329542444","filename":"file4"},{"photo_id":"1329542411","filename":"file1"},{"photo_id":"1329542409","filename":"file0"},{"photo_id":"1329542439","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329542444":["hashtag1","hashtag2"]},{"1329542411":["hashtag1","hashtag2"]},{"1329542435":["hashtag1","hashtag2"]},{"1329542449":["hashtag1","hashtag2"]},{"1329542439":["hashtag1","hashtag2"]},{"1329542409":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329542444, 1329542411, 1329542435, 1329542449, 1329542439, 1329542409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.56830191612244 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:28:42.452926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/28/image_17012025_19_28_52_6399.jpg', '/media/data/images/17012025/19/28/image_17012025_19_28_46_5175.jpg', '/media/data/images/17012025/19/28/image_17012025_19_28_40_6388.jpg', '/media/data/images/17012025/19/28/image_17012025_19_28_34_6398.jpg', '/media/data/images/17012025/19/28/image_17012025_19_28_28_5185.jpg', '/media/data/images/17012025/19/28/image_17012025_19_28_23_6368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/28/image_17012025_19_28_52_6399.jpg
/media/data/images/17012025/19/28/image_17012025_19_28_46_5175.jpg
/media/data/images/17012025/19/28/image_17012025_19_28_40_6388.jpg
/media/data/images/17012025/19/28/image_17012025_19_28_34_6398.jpg
/media/data/images/17012025/19/28/image_17012025_19_28_28_5185.jpg
/media/data/images/17012025/19/28/image_17012025_19_28_23_6368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329542477","1329542473","1329542626","1329542481","1329542487","1329542601"],"photo_ids_order":["1329542473","1329542477","1329542481","1329542487","1329542601","1329542626"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9fe82f65136b2617644bce3d31254531.jpg","text":"TemporaryFile(/tmp/multipartBody4844817106173134210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138587466,"filename":"image_17012025_19_28_46_5175.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a0d5f416054f836b16d7f20efb5955ec.jpg","text":"TemporaryFile(/tmp/multipartBody3963488431857559672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138587466,"filename":"image_17012025_19_28_52_6399.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1e4e4fdb9149924b90aa1225950c1273.jpg","text":"TemporaryFile(/tmp/multipartBody9210696551473100184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138587466,"filename":"image_17012025_19_28_23_6368.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d7058e80bede9f85e34bb9ec00554191.jpg","text":"TemporaryFile(/tmp/multipartBody4114455441660290270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138587466,"filename":"image_17012025_19_28_40_6388.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d38fadb88081ebacd35b0e829e1a7569.jpg","text":"TemporaryFile(/tmp/multipartBody2394466878946762695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138587466,"filename":"image_17012025_19_28_34_6398.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b89cd44cbf8bd8060edae1049e0d9fed.jpg","text":"TemporaryFile(/tmp/multipartBody617679410479795147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138587466,"filename":"image_17012025_19_28_28_5185.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329542481","file1":"1329542477","file0":"1329542473","file4":"1329542601","file5":"1329542626","file3":"1329542487"},"map_files_photo_id_array":[{"photo_id":"1329542626","filename":"file5"},{"photo_id":"1329542481","filename":"file2"},{"photo_id":"1329542601","filename":"file4"},{"photo_id":"1329542477","filename":"file1"},{"photo_id":"1329542473","filename":"file0"},{"photo_id":"1329542487","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329542477":["hashtag1","hashtag2"]},{"1329542473":["hashtag1","hashtag2"]},{"1329542626":["hashtag1","hashtag2"]},{"1329542481":["hashtag1","hashtag2"]},{"1329542487":["hashtag1","hashtag2"]},{"1329542601":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329542477, 1329542473, 1329542626, 1329542481, 1329542487, 1329542601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.11042070388794 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:29:22.640534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/29/image_17012025_19_29_52_5149.jpg', '/media/data/images/17012025/19/29/image_17012025_19_29_47_6377.jpg', '/media/data/images/17012025/19/29/image_17012025_19_29_40_6360.jpg', '/media/data/images/17012025/19/29/image_17012025_19_29_34_6353.jpg', '/media/data/images/17012025/19/29/image_17012025_19_29_28_5168.jpg', '/media/data/images/17012025/19/29/image_17012025_19_29_23_6391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/29/image_17012025_19_29_52_5149.jpg
/media/data/images/17012025/19/29/image_17012025_19_29_47_6377.jpg
/media/data/images/17012025/19/29/image_17012025_19_29_40_6360.jpg
/media/data/images/17012025/19/29/image_17012025_19_29_34_6353.jpg
/media/data/images/17012025/19/29/image_17012025_19_29_28_5168.jpg
/media/data/images/17012025/19/29/image_17012025_19_29_23_6391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329542660","1329542653","1329542656","1329542646","1329542699","1329542693"],"photo_ids_order":["1329542646","1329542653","1329542656","1329542660","1329542693","1329542699"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/26cb1bf5798ce498bfd7953a8191cc61.jpg","text":"TemporaryFile(/tmp/multipartBody3707762203762711335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138627775,"filename":"image_17012025_19_29_34_6353.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f9307f625f6e2c87be6869cf36a52a36.jpg","text":"TemporaryFile(/tmp/multipartBody372948907926154776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138627775,"filename":"image_17012025_19_29_47_6377.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d93c1b75abeb8c55ef943dcc88007835.jpg","text":"TemporaryFile(/tmp/multipartBody2122653948848596635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138627775,"filename":"image_17012025_19_29_40_6360.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5c790d3a12581a9117e88455badd2dcf.jpg","text":"TemporaryFile(/tmp/multipartBody5601369834301776170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138627775,"filename":"image_17012025_19_29_52_5149.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/465e90ae8c94a94a34141cf0b2946f79.jpg","text":"TemporaryFile(/tmp/multipartBody6248565733868742062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138627775,"filename":"image_17012025_19_29_23_6391.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/47c316f801670165b91155fe02fc9953.jpg","text":"TemporaryFile(/tmp/multipartBody2107936754082990248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138627775,"filename":"image_17012025_19_29_28_5168.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329542656","file1":"1329542653","file0":"1329542646","file4":"1329542693","file5":"1329542699","file3":"1329542660"},"map_files_photo_id_array":[{"photo_id":"1329542699","filename":"file5"},{"photo_id":"1329542656","filename":"file2"},{"photo_id":"1329542693","filename":"file4"},{"photo_id":"1329542653","filename":"file1"},{"photo_id":"1329542646","filename":"file0"},{"photo_id":"1329542660","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329542660":["hashtag1","hashtag2"]},{"1329542653":["hashtag1","hashtag2"]},{"1329542656":["hashtag1","hashtag2"]},{"1329542646":["hashtag1","hashtag2"]},{"1329542699":["hashtag1","hashtag2"]},{"1329542693":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329542660, 1329542653, 1329542656, 1329542646, 1329542699, 1329542693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.6607928276062 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:30:21.745646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/30/image_17012025_19_30_52_5214.jpg', '/media/data/images/17012025/19/30/image_17012025_19_30_47_6352.jpg', '/media/data/images/17012025/19/30/image_17012025_19_30_40_6365.jpg', '/media/data/images/17012025/19/30/image_17012025_19_30_34_5174.jpg', '/media/data/images/17012025/19/30/image_17012025_19_30_29_6357.jpg', '/media/data/images/17012025/19/30/image_17012025_19_30_22_6374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/30/image_17012025_19_30_52_5214.jpg
/media/data/images/17012025/19/30/image_17012025_19_30_47_6352.jpg
/media/data/images/17012025/19/30/image_17012025_19_30_40_6365.jpg
/media/data/images/17012025/19/30/image_17012025_19_30_34_5174.jpg
/media/data/images/17012025/19/30/image_17012025_19_30_29_6357.jpg
/media/data/images/17012025/19/30/image_17012025_19_30_22_6374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329542762","1329542729","1329542732","1329542781","1329542757","1329542751"],"photo_ids_order":["1329542729","1329542732","1329542751","1329542757","1329542762","1329542781"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8428c466523fb47caf1b26bc048d656a.jpg","text":"TemporaryFile(/tmp/multipartBody6749900965706424437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138691327,"filename":"image_17012025_19_30_29_6357.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/15a2dc630b40057cf5a6d4c3c9db2b23.jpg","text":"TemporaryFile(/tmp/multipartBody3127404096734921714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138691327,"filename":"image_17012025_19_30_52_5214.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/76f3a9b17b23d307b981f4f227272499.jpg","text":"TemporaryFile(/tmp/multipartBody7879962810941136217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138691327,"filename":"image_17012025_19_30_47_6352.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ea2878a9da79493732b5cc06250b1256.jpg","text":"TemporaryFile(/tmp/multipartBody1639242971589906916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138691327,"filename":"image_17012025_19_30_22_6374.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/741f99b99aec0e0127a499e7ca9fac4d.jpg","text":"TemporaryFile(/tmp/multipartBody3241739250098456980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138691327,"filename":"image_17012025_19_30_34_5174.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/de4707a2309b424ab235f9ddeea9a490.jpg","text":"TemporaryFile(/tmp/multipartBody125001081997809618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138691327,"filename":"image_17012025_19_30_40_6365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329542751","file1":"1329542732","file0":"1329542729","file4":"1329542762","file5":"1329542781","file3":"1329542757"},"map_files_photo_id_array":[{"photo_id":"1329542781","filename":"file5"},{"photo_id":"1329542751","filename":"file2"},{"photo_id":"1329542762","filename":"file4"},{"photo_id":"1329542732","filename":"file1"},{"photo_id":"1329542729","filename":"file0"},{"photo_id":"1329542757","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329542762":["hashtag1","hashtag2"]},{"1329542729":["hashtag1","hashtag2"]},{"1329542732":["hashtag1","hashtag2"]},{"1329542781":["hashtag1","hashtag2"]},{"1329542757":["hashtag1","hashtag2"]},{"1329542751":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329542762, 1329542729, 1329542732, 1329542781, 1329542757, 1329542751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.617520809173584 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:31:21.865522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/31/image_17012025_19_31_52_6013.jpg', '/media/data/images/17012025/19/31/image_17012025_19_31_46_5196.jpg', '/media/data/images/17012025/19/31/image_17012025_19_31_41_6359.jpg', '/media/data/images/17012025/19/31/image_17012025_19_31_34_6418.jpg', '/media/data/images/17012025/19/31/image_17012025_19_31_28_5150.jpg', '/media/data/images/17012025/19/31/image_17012025_19_31_23_6376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/31/image_17012025_19_31_52_6013.jpg
/media/data/images/17012025/19/31/image_17012025_19_31_46_5196.jpg
/media/data/images/17012025/19/31/image_17012025_19_31_41_6359.jpg
/media/data/images/17012025/19/31/image_17012025_19_31_34_6418.jpg
/media/data/images/17012025/19/31/image_17012025_19_31_28_5150.jpg
/media/data/images/17012025/19/31/image_17012025_19_31_23_6376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329542819","1329542810","1329542807","1329542830","1329542824","1329542814"],"photo_ids_order":["1329542807","1329542810","1329542814","1329542819","1329542824","1329542830"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b70ffbb825aff5350ec49f1904bc87af.jpg","text":"TemporaryFile(/tmp/multipartBody3333047294878956327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138748484,"filename":"image_17012025_19_31_34_6418.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/22e4a249d9c2bbd32e483d9316af6656.jpg","text":"TemporaryFile(/tmp/multipartBody2615659741207310407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138748484,"filename":"image_17012025_19_31_46_5196.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2639185c9e5dcedb095f273cc67e1fb7.jpg","text":"TemporaryFile(/tmp/multipartBody6036269537813024749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138748484,"filename":"image_17012025_19_31_52_6013.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6fd304142cf7d2c753735faa35ab5f9e.jpg","text":"TemporaryFile(/tmp/multipartBody3582061859193045938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138748484,"filename":"image_17012025_19_31_23_6376.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/65224d2c9a159947269ee548ec67e2b6.jpg","text":"TemporaryFile(/tmp/multipartBody4665115832570735669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138748484,"filename":"image_17012025_19_31_28_5150.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cdd12df56c1161b36a6134c1a3b7b0cf.jpg","text":"TemporaryFile(/tmp/multipartBody276291344028284323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138748484,"filename":"image_17012025_19_31_41_6359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329542814","file1":"1329542810","file0":"1329542807","file4":"1329542824","file5":"1329542830","file3":"1329542819"},"map_files_photo_id_array":[{"photo_id":"1329542830","filename":"file5"},{"photo_id":"1329542814","filename":"file2"},{"photo_id":"1329542824","filename":"file4"},{"photo_id":"1329542810","filename":"file1"},{"photo_id":"1329542807","filename":"file0"},{"photo_id":"1329542819","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329542819":["hashtag1","hashtag2"]},{"1329542810":["hashtag1","hashtag2"]},{"1329542807":["hashtag1","hashtag2"]},{"1329542830":["hashtag1","hashtag2"]},{"1329542824":["hashtag1","hashtag2"]},{"1329542814":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329542819, 1329542810, 1329542807, 1329542830, 1329542824, 1329542814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.73811197280884 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:32:21.910199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/32/image_17012025_19_32_52_6179.jpg', '/media/data/images/17012025/19/32/image_17012025_19_32_46_5210.jpg', '/media/data/images/17012025/19/32/image_17012025_19_32_41_6436.jpg', '/media/data/images/17012025/19/32/image_17012025_19_32_34_6390.jpg', '/media/data/images/17012025/19/32/image_17012025_19_32_28_5208.jpg', '/media/data/images/17012025/19/32/image_17012025_19_32_23_6434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/32/image_17012025_19_32_52_6179.jpg
/media/data/images/17012025/19/32/image_17012025_19_32_46_5210.jpg
/media/data/images/17012025/19/32/image_17012025_19_32_41_6436.jpg
/media/data/images/17012025/19/32/image_17012025_19_32_34_6390.jpg
/media/data/images/17012025/19/32/image_17012025_19_32_28_5208.jpg
/media/data/images/17012025/19/32/image_17012025_19_32_23_6434.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329542875","1329542884","1329542857","1329542880","1329542870","1329542864"],"photo_ids_order":["1329542857","1329542864","1329542870","1329542875","1329542880","1329542884"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5a159cd83addffce157ea7d85e88b056.jpg","text":"TemporaryFile(/tmp/multipartBody5398768776003656538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138824225,"filename":"image_17012025_19_32_34_6390.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/baf35db71cf8e51f4b863a353d14da4c.jpg","text":"TemporaryFile(/tmp/multipartBody4472230051267724816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138824225,"filename":"image_17012025_19_32_23_6434.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/22f6c02af13ff9750e54789bf4a78027.jpg","text":"TemporaryFile(/tmp/multipartBody8052578945749508913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138824225,"filename":"image_17012025_19_32_52_6179.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6d7f9275eeb8fb2367ed221693963a32.jpg","text":"TemporaryFile(/tmp/multipartBody3575413624555970033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138824225,"filename":"image_17012025_19_32_28_5208.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fffae1fa6ffa496da047d4c6fe36f04d.jpg","text":"TemporaryFile(/tmp/multipartBody3234231095895140040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138824225,"filename":"image_17012025_19_32_41_6436.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0d98458b909c13f9ada58f9ec96d3097.jpg","text":"TemporaryFile(/tmp/multipartBody2644551751669032492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138824225,"filename":"image_17012025_19_32_46_5210.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329542870","file1":"1329542864","file0":"1329542857","file4":"1329542880","file5":"1329542884","file3":"1329542875"},"map_files_photo_id_array":[{"photo_id":"1329542884","filename":"file5"},{"photo_id":"1329542870","filename":"file2"},{"photo_id":"1329542880","filename":"file4"},{"photo_id":"1329542864","filename":"file1"},{"photo_id":"1329542857","filename":"file0"},{"photo_id":"1329542875","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329542875":["hashtag1","hashtag2"]},{"1329542884":["hashtag1","hashtag2"]},{"1329542857":["hashtag1","hashtag2"]},{"1329542880":["hashtag1","hashtag2"]},{"1329542870":["hashtag1","hashtag2"]},{"1329542864":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329542875, 1329542884, 1329542857, 1329542880, 1329542870, 1329542864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.52475166320801 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:33:22.040819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/33/image_17012025_19_33_47_6510.jpg', '/media/data/images/17012025/19/33/image_17012025_19_33_40_6522.jpg', '/media/data/images/17012025/19/33/image_17012025_19_33_28_6528.jpg', '/media/data/images/17012025/19/33/image_17012025_19_33_22_5252.jpg', '/media/data/images/17012025/19/33/image_17012025_19_33_17_6475.jpg', '/media/data/images/17012025/19/33/image_17012025_19_33_10_5257.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/33/image_17012025_19_33_47_6510.jpg
/media/data/images/17012025/19/33/image_17012025_19_33_40_6522.jpg
/media/data/images/17012025/19/33/image_17012025_19_33_28_6528.jpg
/media/data/images/17012025/19/33/image_17012025_19_33_22_5252.jpg
/media/data/images/17012025/19/33/image_17012025_19_33_17_6475.jpg
/media/data/images/17012025/19/33/image_17012025_19_33_10_5257.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329542966","1329542939","1329542985","1329542955","1329542981","1329542975"],"photo_ids_order":["1329542939","1329542955","1329542966","1329542975","1329542981","1329542985"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/55bbacfde1f30fd80da9e296c7cf5dcc.jpg","text":"TemporaryFile(/tmp/multipartBody284568911579826111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138881204,"filename":"image_17012025_19_33_28_6528.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d045c7bf1bb21442d8f689c96fadee41.jpg","text":"TemporaryFile(/tmp/multipartBody3115023297826751256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138881204,"filename":"image_17012025_19_33_47_6510.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/832bb248e580824fa82c285b1ef23891.jpg","text":"TemporaryFile(/tmp/multipartBody5091585050834665576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138881204,"filename":"image_17012025_19_33_10_5257.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a803bff2b922dbbd0805ef24072ada6d.jpg","text":"TemporaryFile(/tmp/multipartBody4228532916499482633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138881204,"filename":"image_17012025_19_33_40_6522.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7a22ca3a5bceed174d2d1a5619a6b245.jpg","text":"TemporaryFile(/tmp/multipartBody3492847524583763522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138881204,"filename":"image_17012025_19_33_17_6475.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/22565f8d35bff36c4e0ccc24b550997e.jpg","text":"TemporaryFile(/tmp/multipartBody3663828798264544924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138881204,"filename":"image_17012025_19_33_22_5252.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329542966","file1":"1329542955","file0":"1329542939","file4":"1329542981","file5":"1329542985","file3":"1329542975"},"map_files_photo_id_array":[{"photo_id":"1329542985","filename":"file5"},{"photo_id":"1329542966","filename":"file2"},{"photo_id":"1329542981","filename":"file4"},{"photo_id":"1329542955","filename":"file1"},{"photo_id":"1329542939","filename":"file0"},{"photo_id":"1329542975","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329542966":["hashtag1","hashtag2"]},{"1329542939":["hashtag1","hashtag2"]},{"1329542985":["hashtag1","hashtag2"]},{"1329542955":["hashtag1","hashtag2"]},{"1329542981":["hashtag1","hashtag2"]},{"1329542975":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329542966, 1329542939, 1329542985, 1329542955, 1329542981, 1329542975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.907307624816895 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:34:22.138681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/34/image_17012025_19_34_47_6403.jpg', '/media/data/images/17012025/19/34/image_17012025_19_34_40_6446.jpg', '/media/data/images/17012025/19/34/image_17012025_19_34_34_5224.jpg', '/media/data/images/17012025/19/34/image_17012025_19_34_28_6446.jpg', '/media/data/images/17012025/19/34/image_17012025_19_34_22_5190.jpg', '/media/data/images/17012025/19/34/image_17012025_19_34_17_6468.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/34/image_17012025_19_34_47_6403.jpg
/media/data/images/17012025/19/34/image_17012025_19_34_40_6446.jpg
/media/data/images/17012025/19/34/image_17012025_19_34_34_5224.jpg
/media/data/images/17012025/19/34/image_17012025_19_34_28_6446.jpg
/media/data/images/17012025/19/34/image_17012025_19_34_22_5190.jpg
/media/data/images/17012025/19/34/image_17012025_19_34_17_6468.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: 10.51679015159607 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:34:42.134163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/34/image_17012025_19_34_47_6403.jpg', '/media/data/images/17012025/19/34/image_17012025_19_34_40_6446.jpg', '/media/data/images/17012025/19/34/image_17012025_19_34_34_5224.jpg', '/media/data/images/17012025/19/34/image_17012025_19_34_28_6446.jpg', '/media/data/images/17012025/19/34/image_17012025_19_34_22_5190.jpg', '/media/data/images/17012025/19/34/image_17012025_19_34_17_6468.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/34/image_17012025_19_34_47_6403.jpg
/media/data/images/17012025/19/34/image_17012025_19_34_40_6446.jpg
/media/data/images/17012025/19/34/image_17012025_19_34_34_5224.jpg
/media/data/images/17012025/19/34/image_17012025_19_34_28_6446.jpg
/media/data/images/17012025/19/34/image_17012025_19_34_22_5190.jpg
/media/data/images/17012025/19/34/image_17012025_19_34_17_6468.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329543076","1329543061","1329543072","1329543048","1329543074","1329543068"],"photo_ids_order":["1329543048","1329543061","1329543068","1329543072","1329543074","1329543076"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ac6ab61b8eecc89bf25e0727771ff86e.jpg","text":"TemporaryFile(/tmp/multipartBody7543887572315070904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138955147,"filename":"image_17012025_19_34_17_6468.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c6b5b0cf44f11a0200b86a91380ddb5a.jpg","text":"TemporaryFile(/tmp/multipartBody3534347013965403243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138955147,"filename":"image_17012025_19_34_40_6446.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b55006bf5ea2f735910bcf9eb50f91b5.jpg","text":"TemporaryFile(/tmp/multipartBody6391594588735064687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138955147,"filename":"image_17012025_19_34_28_6446.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1490f3a0650d27be1d21077c8bec9211.jpg","text":"TemporaryFile(/tmp/multipartBody7525198474565029781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138955147,"filename":"image_17012025_19_34_47_6403.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b76d735a1fe66e2810d35a857598d2b5.jpg","text":"TemporaryFile(/tmp/multipartBody3906385847924679179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138955147,"filename":"image_17012025_19_34_22_5190.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/be984aab3ea658bc9c38e7f4fc1769ce.jpg","text":"TemporaryFile(/tmp/multipartBody3746685376468998194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737138955147,"filename":"image_17012025_19_34_34_5224.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329543068","file1":"1329543061","file0":"1329543048","file4":"1329543074","file5":"1329543076","file3":"1329543072"},"map_files_photo_id_array":[{"photo_id":"1329543076","filename":"file5"},{"photo_id":"1329543068","filename":"file2"},{"photo_id":"1329543074","filename":"file4"},{"photo_id":"1329543061","filename":"file1"},{"photo_id":"1329543048","filename":"file0"},{"photo_id":"1329543072","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329543076":["hashtag1","hashtag2"]},{"1329543061":["hashtag1","hashtag2"]},{"1329543072":["hashtag1","hashtag2"]},{"1329543048":["hashtag1","hashtag2"]},{"1329543074":["hashtag1","hashtag2"]},{"1329543068":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329543076, 1329543061, 1329543072, 1329543048, 1329543074, 1329543068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.7952024936676 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:35:42.212098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/35/image_17012025_19_35_52_5134.jpg', '/media/data/images/17012025/19/35/image_17012025_19_35_47_6528.jpg', '/media/data/images/17012025/19/35/image_17012025_19_35_35_6578.jpg', '/media/data/images/17012025/19/35/image_17012025_19_35_23_6564.jpg', '/media/data/images/17012025/19/35/image_17012025_19_35_16_6557.jpg', '/media/data/images/17012025/19/35/image_17012025_19_35_10_5215.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/35/image_17012025_19_35_52_5134.jpg
/media/data/images/17012025/19/35/image_17012025_19_35_47_6528.jpg
/media/data/images/17012025/19/35/image_17012025_19_35_35_6578.jpg
/media/data/images/17012025/19/35/image_17012025_19_35_23_6564.jpg
/media/data/images/17012025/19/35/image_17012025_19_35_16_6557.jpg
/media/data/images/17012025/19/35/image_17012025_19_35_10_5215.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329543140","1329543142","1329543132","1329543138","1329543111","1329543119"],"photo_ids_order":["1329543111","1329543119","1329543132","1329543138","1329543140","1329543142"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8b92210e609ab900cc3a3849908ebecc.jpg","text":"TemporaryFile(/tmp/multipartBody1053786337073691526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139015860,"filename":"image_17012025_19_35_16_6557.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dd319d1ddc53e77b212377d215d08c1d.jpg","text":"TemporaryFile(/tmp/multipartBody3137598738406766586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139015860,"filename":"image_17012025_19_35_10_5215.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fb7bf7e7159a14ccba10eb6d24fd08dc.jpg","text":"TemporaryFile(/tmp/multipartBody7289798818763155716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139015860,"filename":"image_17012025_19_35_35_6578.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4e2c88fd95de698414b4c59c3f9b23f3.jpg","text":"TemporaryFile(/tmp/multipartBody2813303692229463656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139015860,"filename":"image_17012025_19_35_23_6564.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f0a6cd0c72d2d5fe2e1e1333223a418c.jpg","text":"TemporaryFile(/tmp/multipartBody7565329526510646190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139015860,"filename":"image_17012025_19_35_52_5134.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e8966ac17398b43eeed608c6407e457e.jpg","text":"TemporaryFile(/tmp/multipartBody2448230458512317300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139015860,"filename":"image_17012025_19_35_47_6528.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329543132","file1":"1329543119","file0":"1329543111","file4":"1329543140","file5":"1329543142","file3":"1329543138"},"map_files_photo_id_array":[{"photo_id":"1329543142","filename":"file5"},{"photo_id":"1329543132","filename":"file2"},{"photo_id":"1329543140","filename":"file4"},{"photo_id":"1329543119","filename":"file1"},{"photo_id":"1329543111","filename":"file0"},{"photo_id":"1329543138","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329543140":["hashtag1","hashtag2"]},{"1329543142":["hashtag1","hashtag2"]},{"1329543132":["hashtag1","hashtag2"]},{"1329543138":["hashtag1","hashtag2"]},{"1329543111":["hashtag1","hashtag2"]},{"1329543119":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329543140, 1329543142, 1329543132, 1329543138, 1329543111, 1329543119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.39499521255493 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:36:42.305358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/36/image_17012025_19_36_46_5285.jpg', '/media/data/images/17012025/19/36/image_17012025_19_36_34_6455.jpg', '/media/data/images/17012025/19/36/image_17012025_19_36_28_5216.jpg', '/media/data/images/17012025/19/36/image_17012025_19_36_23_6393.jpg', '/media/data/images/17012025/19/36/image_17012025_19_36_16_6414.jpg', '/media/data/images/17012025/19/36/image_17012025_19_36_10_5266.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/36/image_17012025_19_36_46_5285.jpg
/media/data/images/17012025/19/36/image_17012025_19_36_34_6455.jpg
/media/data/images/17012025/19/36/image_17012025_19_36_28_5216.jpg
/media/data/images/17012025/19/36/image_17012025_19_36_23_6393.jpg
/media/data/images/17012025/19/36/image_17012025_19_36_16_6414.jpg
/media/data/images/17012025/19/36/image_17012025_19_36_10_5266.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: 16.525176525115967 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:37:02.755923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/36/image_17012025_19_36_46_5285.jpg', '/media/data/images/17012025/19/36/image_17012025_19_36_34_6455.jpg', '/media/data/images/17012025/19/36/image_17012025_19_36_28_5216.jpg', '/media/data/images/17012025/19/36/image_17012025_19_36_23_6393.jpg', '/media/data/images/17012025/19/36/image_17012025_19_36_16_6414.jpg', '/media/data/images/17012025/19/36/image_17012025_19_36_10_5266.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/36/image_17012025_19_36_46_5285.jpg
/media/data/images/17012025/19/36/image_17012025_19_36_34_6455.jpg
/media/data/images/17012025/19/36/image_17012025_19_36_28_5216.jpg
/media/data/images/17012025/19/36/image_17012025_19_36_23_6393.jpg
/media/data/images/17012025/19/36/image_17012025_19_36_16_6414.jpg
/media/data/images/17012025/19/36/image_17012025_19_36_10_5266.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329543748","1329543586","1329544224","1329544107","1329543974","1329544096"],"photo_ids_order":["1329543586","1329543748","1329543974","1329544096","1329544107","1329544224"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7633ddd999164bd7f0b68f5c148e59cd.jpg","text":"TemporaryFile(/tmp/multipartBody7577575258252521481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139102189,"filename":"image_17012025_19_36_34_6455.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/323ebfe634e757c9bdc0fbf6ee2a06e3.jpg","text":"TemporaryFile(/tmp/multipartBody4677756558903092563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139102189,"filename":"image_17012025_19_36_46_5285.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c57ec2f8dbcf4187bed242f4a2fa6245.jpg","text":"TemporaryFile(/tmp/multipartBody610821953457498160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139102189,"filename":"image_17012025_19_36_10_5266.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cfcc4ba2ad576071d6f7a3996a8b5cc3.jpg","text":"TemporaryFile(/tmp/multipartBody1006536933334454667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139102189,"filename":"image_17012025_19_36_16_6414.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a67e3ade6f8db8bbb1dc93739af4d410.jpg","text":"TemporaryFile(/tmp/multipartBody4053841174711532356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139102189,"filename":"image_17012025_19_36_28_5216.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ddceae80e5af1afd27e2d3663586b60e.jpg","text":"TemporaryFile(/tmp/multipartBody1794245933939607936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139102189,"filename":"image_17012025_19_36_23_6393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329543974","file1":"1329543748","file0":"1329543586","file4":"1329544107","file5":"1329544224","file3":"1329544096"},"map_files_photo_id_array":[{"photo_id":"1329544224","filename":"file5"},{"photo_id":"1329543974","filename":"file2"},{"photo_id":"1329544107","filename":"file4"},{"photo_id":"1329543748","filename":"file1"},{"photo_id":"1329543586","filename":"file0"},{"photo_id":"1329544096","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329543748":["hashtag1","hashtag2"]},{"1329543586":["hashtag1","hashtag2"]},{"1329544224":["hashtag1","hashtag2"]},{"1329544107":["hashtag1","hashtag2"]},{"1329543974":["hashtag1","hashtag2"]},{"1329544096":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329543748, 1329543586, 1329544224, 1329544107, 1329543974, 1329544096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 70.03667259216309 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:38:22.514193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/38/image_17012025_19_38_47_6473.jpg', '/media/data/images/17012025/19/38/image_17012025_19_38_40_6485.jpg', '/media/data/images/17012025/19/38/image_17012025_19_38_34_5227.jpg', '/media/data/images/17012025/19/38/image_17012025_19_38_10_6479.jpg', '/media/data/images/17012025/19/38/image_17012025_19_38_04_5059.jpg', '/media/data/images/17012025/19/37/image_17012025_19_37_59_6432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/38/image_17012025_19_38_47_6473.jpg
/media/data/images/17012025/19/38/image_17012025_19_38_40_6485.jpg
/media/data/images/17012025/19/38/image_17012025_19_38_34_5227.jpg
/media/data/images/17012025/19/38/image_17012025_19_38_10_6479.jpg
/media/data/images/17012025/19/38/image_17012025_19_38_04_5059.jpg
/media/data/images/17012025/19/37/image_17012025_19_37_59_6432.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329544284","1329544296","1329544329","1329544292","1329544256","1329544288"],"photo_ids_order":["1329544256","1329544284","1329544288","1329544292","1329544296","1329544329"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/173332342a720547d4cf74431e0b1a2b.jpg","text":"TemporaryFile(/tmp/multipartBody5327943232340126325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139172153,"filename":"image_17012025_19_38_40_6485.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b720a657d7df285743b0abae1483e1e8.jpg","text":"TemporaryFile(/tmp/multipartBody3810763204551831987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139172153,"filename":"image_17012025_19_38_04_5059.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a82b88b8992470a98dd118427cb960f2.jpg","text":"TemporaryFile(/tmp/multipartBody2866415670946556874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139172153,"filename":"image_17012025_19_37_59_6432.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c624f41f399ec752a537be416342572f.jpg","text":"TemporaryFile(/tmp/multipartBody9191645792229967663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139172153,"filename":"image_17012025_19_38_10_6479.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b96a9094bffd29b1a666cb483cd84603.jpg","text":"TemporaryFile(/tmp/multipartBody7254667350630977915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139172153,"filename":"image_17012025_19_38_47_6473.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0c6e313557efb83c0064f9a93eb0f39f.jpg","text":"TemporaryFile(/tmp/multipartBody5106059865264563484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139172153,"filename":"image_17012025_19_38_34_5227.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329544288","file1":"1329544284","file0":"1329544256","file4":"1329544296","file5":"1329544329","file3":"1329544292"},"map_files_photo_id_array":[{"photo_id":"1329544329","filename":"file5"},{"photo_id":"1329544288","filename":"file2"},{"photo_id":"1329544296","filename":"file4"},{"photo_id":"1329544284","filename":"file1"},{"photo_id":"1329544256","filename":"file0"},{"photo_id":"1329544292","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329544284":["hashtag1","hashtag2"]},{"1329544296":["hashtag1","hashtag2"]},{"1329544329":["hashtag1","hashtag2"]},{"1329544292":["hashtag1","hashtag2"]},{"1329544256":["hashtag1","hashtag2"]},{"1329544288":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329544284, 1329544296, 1329544329, 1329544292, 1329544256, 1329544288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.0652756690979 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:39:22.618814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/39/image_17012025_19_39_52_6401.jpg', '/media/data/images/17012025/19/39/image_17012025_19_39_46_5182.jpg', '/media/data/images/17012025/19/39/image_17012025_19_39_41_6386.jpg', '/media/data/images/17012025/19/39/image_17012025_19_39_34_6392.jpg', '/media/data/images/17012025/19/39/image_17012025_19_39_28_6388.jpg', '/media/data/images/17012025/19/39/image_17012025_19_39_22_5169.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/39/image_17012025_19_39_52_6401.jpg
/media/data/images/17012025/19/39/image_17012025_19_39_46_5182.jpg
/media/data/images/17012025/19/39/image_17012025_19_39_41_6386.jpg
/media/data/images/17012025/19/39/image_17012025_19_39_34_6392.jpg
/media/data/images/17012025/19/39/image_17012025_19_39_28_6388.jpg
/media/data/images/17012025/19/39/image_17012025_19_39_22_5169.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329544561","1329544849","1329544392","1329544847","1329544778","1329544388"],"photo_ids_order":["1329544388","1329544392","1329544561","1329544778","1329544847","1329544849"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1a7f252759fc0001f3cb5bef33abec5e.jpg","text":"TemporaryFile(/tmp/multipartBody5990174897735985419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139239559,"filename":"image_17012025_19_39_41_6386.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e23475fbaf7efd6b1744a0ce7e806b8f.jpg","text":"TemporaryFile(/tmp/multipartBody3265481779105520747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139239559,"filename":"image_17012025_19_39_22_5169.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/16550c8aebfa827f5ff91c0d30e69f6e.jpg","text":"TemporaryFile(/tmp/multipartBody2138566446318043887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139239559,"filename":"image_17012025_19_39_46_5182.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4e45481bbf3dac25b5aa6b510348173a.jpg","text":"TemporaryFile(/tmp/multipartBody1063541923531414718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139239559,"filename":"image_17012025_19_39_28_6388.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5dabd6e21b77706dfbddd0a3d6c9cf89.jpg","text":"TemporaryFile(/tmp/multipartBody4317984033799021238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139239559,"filename":"image_17012025_19_39_34_6392.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/93906446577907192e1873a7bd119353.jpg","text":"TemporaryFile(/tmp/multipartBody1222783930975122632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139239559,"filename":"image_17012025_19_39_52_6401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329544561","file1":"1329544392","file0":"1329544388","file4":"1329544847","file5":"1329544849","file3":"1329544778"},"map_files_photo_id_array":[{"photo_id":"1329544849","filename":"file5"},{"photo_id":"1329544561","filename":"file2"},{"photo_id":"1329544847","filename":"file4"},{"photo_id":"1329544392","filename":"file1"},{"photo_id":"1329544388","filename":"file0"},{"photo_id":"1329544778","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329544561":["hashtag1","hashtag2"]},{"1329544849":["hashtag1","hashtag2"]},{"1329544392":["hashtag1","hashtag2"]},{"1329544847":["hashtag1","hashtag2"]},{"1329544778":["hashtag1","hashtag2"]},{"1329544388":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329544561, 1329544849, 1329544392, 1329544847, 1329544778, 1329544388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.48759126663208 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:40:22.716457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/40/image_17012025_19_40_52_6415.jpg', '/media/data/images/17012025/19/40/image_17012025_19_40_46_5190.jpg', '/media/data/images/17012025/19/40/image_17012025_19_40_41_6340.jpg', '/media/data/images/17012025/19/40/image_17012025_19_40_34_6373.jpg', '/media/data/images/17012025/19/40/image_17012025_19_40_28_6358.jpg', '/media/data/images/17012025/19/40/image_17012025_19_40_22_5175.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/40/image_17012025_19_40_52_6415.jpg
/media/data/images/17012025/19/40/image_17012025_19_40_46_5190.jpg
/media/data/images/17012025/19/40/image_17012025_19_40_41_6340.jpg
/media/data/images/17012025/19/40/image_17012025_19_40_34_6373.jpg
/media/data/images/17012025/19/40/image_17012025_19_40_28_6358.jpg
/media/data/images/17012025/19/40/image_17012025_19_40_22_5175.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329545002","1329544971","1329544989","1329544997","1329544973","1329544976"],"photo_ids_order":["1329544971","1329544973","1329544976","1329544989","1329544997","1329545002"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f6a20f034b0c16fc08664503d5028498.jpg","text":"TemporaryFile(/tmp/multipartBody2078645751841180918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139287487,"filename":"image_17012025_19_40_22_5175.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d91955a51dcc6c6bdd9a002dec81be50.jpg","text":"TemporaryFile(/tmp/multipartBody473257074263369626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139287487,"filename":"image_17012025_19_40_52_6415.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a9e9bd96d42536eb08b2de4f3611f987.jpg","text":"TemporaryFile(/tmp/multipartBody7579703781280731718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139287487,"filename":"image_17012025_19_40_34_6373.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bc442fdbd211102de1cda6cbd8e1fc16.jpg","text":"TemporaryFile(/tmp/multipartBody4950359047300453613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139287487,"filename":"image_17012025_19_40_28_6358.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e792eaf5b62c2286fa08010116eeb4e2.jpg","text":"TemporaryFile(/tmp/multipartBody2462580925607212758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139287487,"filename":"image_17012025_19_40_46_5190.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/15b32e4edc8225c79b2fcf8874f6d830.jpg","text":"TemporaryFile(/tmp/multipartBody5455805605988436227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139287487,"filename":"image_17012025_19_40_41_6340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329544976","file1":"1329544973","file0":"1329544971","file4":"1329544997","file5":"1329545002","file3":"1329544989"},"map_files_photo_id_array":[{"photo_id":"1329545002","filename":"file5"},{"photo_id":"1329544976","filename":"file2"},{"photo_id":"1329544997","filename":"file4"},{"photo_id":"1329544973","filename":"file1"},{"photo_id":"1329544971","filename":"file0"},{"photo_id":"1329544989","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329545002":["hashtag1","hashtag2"]},{"1329544971":["hashtag1","hashtag2"]},{"1329544989":["hashtag1","hashtag2"]},{"1329544997":["hashtag1","hashtag2"]},{"1329544973":["hashtag1","hashtag2"]},{"1329544976":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329545002, 1329544971, 1329544989, 1329544997, 1329544973, 1329544976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.83131432533264 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:41:21.784109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/41/image_17012025_19_41_53_6430.jpg', '/media/data/images/17012025/19/41/image_17012025_19_41_46_6409.jpg', '/media/data/images/17012025/19/41/image_17012025_19_41_40_5169.jpg', '/media/data/images/17012025/19/41/image_17012025_19_41_35_6391.jpg', '/media/data/images/17012025/19/41/image_17012025_19_41_28_6409.jpg', '/media/data/images/17012025/19/41/image_17012025_19_41_22_5173.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/41/image_17012025_19_41_53_6430.jpg
/media/data/images/17012025/19/41/image_17012025_19_41_46_6409.jpg
/media/data/images/17012025/19/41/image_17012025_19_41_40_5169.jpg
/media/data/images/17012025/19/41/image_17012025_19_41_35_6391.jpg
/media/data/images/17012025/19/41/image_17012025_19_41_28_6409.jpg
/media/data/images/17012025/19/41/image_17012025_19_41_22_5173.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329545070","1329545064","1329545060","1329545054","1329545056","1329545068"],"photo_ids_order":["1329545054","1329545056","1329545060","1329545064","1329545068","1329545070"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c3c994c0855434b412d5e9abff3b4229.jpg","text":"TemporaryFile(/tmp/multipartBody4344118228451836605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139351396,"filename":"image_17012025_19_41_22_5173.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2eb6678502fa9f8140e3c7056c84f3d8.jpg","text":"TemporaryFile(/tmp/multipartBody2474326137072427433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139351396,"filename":"image_17012025_19_41_35_6391.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5047ea915efe8260dc674b12d88f3ab1.jpg","text":"TemporaryFile(/tmp/multipartBody1716590430842628587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139351396,"filename":"image_17012025_19_41_40_5169.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/143201e99650ef86d40a70aa4a4b2bfb.jpg","text":"TemporaryFile(/tmp/multipartBody2565390662748828231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139351396,"filename":"image_17012025_19_41_53_6430.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/beaf8e59f971853d7ffec6ad812daf3e.jpg","text":"TemporaryFile(/tmp/multipartBody3054456254109017196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139351396,"filename":"image_17012025_19_41_46_6409.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6d074bca7140da70a273356ea518e85f.jpg","text":"TemporaryFile(/tmp/multipartBody5417770939029398773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139351396,"filename":"image_17012025_19_41_28_6409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329545060","file1":"1329545056","file0":"1329545054","file4":"1329545068","file5":"1329545070","file3":"1329545064"},"map_files_photo_id_array":[{"photo_id":"1329545070","filename":"file5"},{"photo_id":"1329545060","filename":"file2"},{"photo_id":"1329545068","filename":"file4"},{"photo_id":"1329545056","filename":"file1"},{"photo_id":"1329545054","filename":"file0"},{"photo_id":"1329545064","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329545070":["hashtag1","hashtag2"]},{"1329545064":["hashtag1","hashtag2"]},{"1329545060":["hashtag1","hashtag2"]},{"1329545054":["hashtag1","hashtag2"]},{"1329545056":["hashtag1","hashtag2"]},{"1329545068":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329545070, 1329545064, 1329545060, 1329545054, 1329545056, 1329545068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.07751822471619 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:42:21.913479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/42/image_17012025_19_42_52_6394.jpg', '/media/data/images/17012025/19/42/image_17012025_19_42_46_5182.jpg', '/media/data/images/17012025/19/42/image_17012025_19_42_41_6418.jpg', '/media/data/images/17012025/19/42/image_17012025_19_42_34_6600.jpg', '/media/data/images/17012025/19/42/image_17012025_19_42_28_5368.jpg', '/media/data/images/17012025/19/42/image_17012025_19_42_22_6390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/42/image_17012025_19_42_52_6394.jpg
/media/data/images/17012025/19/42/image_17012025_19_42_46_5182.jpg
/media/data/images/17012025/19/42/image_17012025_19_42_41_6418.jpg
/media/data/images/17012025/19/42/image_17012025_19_42_34_6600.jpg
/media/data/images/17012025/19/42/image_17012025_19_42_28_5368.jpg
/media/data/images/17012025/19/42/image_17012025_19_42_22_6390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329545142","1329545150","1329545132","1329545137","1329545146","1329545125"],"photo_ids_order":["1329545125","1329545132","1329545137","1329545142","1329545146","1329545150"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2c76c659c44af7e329d306427c8e086f.jpg","text":"TemporaryFile(/tmp/multipartBody6604542125155209349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139420172,"filename":"image_17012025_19_42_34_6600.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/096a19a0d683c92224eefae65697c523.jpg","text":"TemporaryFile(/tmp/multipartBody3616864136357695407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139420172,"filename":"image_17012025_19_42_22_6390.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7ae4e4cdcda56987934b049fd61a12f4.jpg","text":"TemporaryFile(/tmp/multipartBody2047199608421648712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139420172,"filename":"image_17012025_19_42_46_5182.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a9b5ce42f6d75b8019f8d91c01ebf3ff.jpg","text":"TemporaryFile(/tmp/multipartBody2572416471314815333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139420172,"filename":"image_17012025_19_42_41_6418.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1e911c3536226b626620bcb11a5f7d1b.jpg","text":"TemporaryFile(/tmp/multipartBody8130028573929371797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139420172,"filename":"image_17012025_19_42_28_5368.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/182a3a28cba6fa1b66d995de649fc03f.jpg","text":"TemporaryFile(/tmp/multipartBody1615177292504453633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139420172,"filename":"image_17012025_19_42_52_6394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329545137","file1":"1329545132","file0":"1329545125","file4":"1329545146","file5":"1329545150","file3":"1329545142"},"map_files_photo_id_array":[{"photo_id":"1329545150","filename":"file5"},{"photo_id":"1329545137","filename":"file2"},{"photo_id":"1329545146","filename":"file4"},{"photo_id":"1329545132","filename":"file1"},{"photo_id":"1329545125","filename":"file0"},{"photo_id":"1329545142","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329545142":["hashtag1","hashtag2"]},{"1329545150":["hashtag1","hashtag2"]},{"1329545132":["hashtag1","hashtag2"]},{"1329545137":["hashtag1","hashtag2"]},{"1329545146":["hashtag1","hashtag2"]},{"1329545125":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329545142, 1329545150, 1329545132, 1329545137, 1329545146, 1329545125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.10369086265564 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:43:22.010784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/43/image_17012025_19_43_53_6415.jpg', '/media/data/images/17012025/19/43/image_17012025_19_43_46_6415.jpg', '/media/data/images/17012025/19/43/image_17012025_19_43_40_5213.jpg', '/media/data/images/17012025/19/43/image_17012025_19_43_35_6428.jpg', '/media/data/images/17012025/19/43/image_17012025_19_43_28_6428.jpg', '/media/data/images/17012025/19/43/image_17012025_19_43_22_5187.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/43/image_17012025_19_43_53_6415.jpg
/media/data/images/17012025/19/43/image_17012025_19_43_46_6415.jpg
/media/data/images/17012025/19/43/image_17012025_19_43_40_5213.jpg
/media/data/images/17012025/19/43/image_17012025_19_43_35_6428.jpg
/media/data/images/17012025/19/43/image_17012025_19_43_28_6428.jpg
/media/data/images/17012025/19/43/image_17012025_19_43_22_5187.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329545215","1329545187","1329545181","1329545159","1329545207","1329545173"],"photo_ids_order":["1329545159","1329545173","1329545181","1329545187","1329545207","1329545215"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/747d4e73acd2a99303456a75ce1809cf.jpg","text":"TemporaryFile(/tmp/multipartBody2957400354871311652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139472448,"filename":"image_17012025_19_43_22_5187.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/89e11e050acc5e932970ffb88cf4a938.jpg","text":"TemporaryFile(/tmp/multipartBody341631852472887348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139472448,"filename":"image_17012025_19_43_35_6428.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8276b97f5aee346d440a801ad30b6615.jpg","text":"TemporaryFile(/tmp/multipartBody1095954797265883440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139472448,"filename":"image_17012025_19_43_40_5213.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b70ad57d3f13e1cd3d4f1882c4195e15.jpg","text":"TemporaryFile(/tmp/multipartBody7753715581900872212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139472448,"filename":"image_17012025_19_43_53_6415.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/62d4a21735cc43d13be626bd077a4e81.jpg","text":"TemporaryFile(/tmp/multipartBody2972149914040882994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139472448,"filename":"image_17012025_19_43_28_6428.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d3fc5ed0fff02022a0b220243bd26690.jpg","text":"TemporaryFile(/tmp/multipartBody2781084365026354592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139472448,"filename":"image_17012025_19_43_46_6415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329545181","file1":"1329545173","file0":"1329545159","file4":"1329545207","file5":"1329545215","file3":"1329545187"},"map_files_photo_id_array":[{"photo_id":"1329545215","filename":"file5"},{"photo_id":"1329545181","filename":"file2"},{"photo_id":"1329545207","filename":"file4"},{"photo_id":"1329545173","filename":"file1"},{"photo_id":"1329545159","filename":"file0"},{"photo_id":"1329545187","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329545215":["hashtag1","hashtag2"]},{"1329545187":["hashtag1","hashtag2"]},{"1329545181":["hashtag1","hashtag2"]},{"1329545159":["hashtag1","hashtag2"]},{"1329545207":["hashtag1","hashtag2"]},{"1329545173":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329545215, 1329545187, 1329545181, 1329545159, 1329545207, 1329545173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.16116499900818 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:44:22.177963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/44/image_17012025_19_44_52_5171.jpg', '/media/data/images/17012025/19/44/image_17012025_19_44_47_6384.jpg', '/media/data/images/17012025/19/44/image_17012025_19_44_40_6398.jpg', '/media/data/images/17012025/19/44/image_17012025_19_44_34_5197.jpg', '/media/data/images/17012025/19/44/image_17012025_19_44_29_6398.jpg', '/media/data/images/17012025/19/44/image_17012025_19_44_22_6389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/44/image_17012025_19_44_52_5171.jpg
/media/data/images/17012025/19/44/image_17012025_19_44_47_6384.jpg
/media/data/images/17012025/19/44/image_17012025_19_44_40_6398.jpg
/media/data/images/17012025/19/44/image_17012025_19_44_34_5197.jpg
/media/data/images/17012025/19/44/image_17012025_19_44_29_6398.jpg
/media/data/images/17012025/19/44/image_17012025_19_44_22_6389.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329545259","1329545247","1329545243","1329545246","1329545255","1329545251"],"photo_ids_order":["1329545243","1329545246","1329545247","1329545251","1329545255","1329545259"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/de719c5f0834e41d0de7dcba88ca67ae.jpg","text":"TemporaryFile(/tmp/multipartBody1295175817557593511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139532650,"filename":"image_17012025_19_44_22_6389.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f9e8e8fa30545a875efb7c4b67d5be64.jpg","text":"TemporaryFile(/tmp/multipartBody6765789819111371694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139532650,"filename":"image_17012025_19_44_40_6398.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3355e7dca29f6de01412532f301182e6.jpg","text":"TemporaryFile(/tmp/multipartBody3919958670928926507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139532650,"filename":"image_17012025_19_44_52_5171.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/edfab4b935f88a141eb4dd017b219b7a.jpg","text":"TemporaryFile(/tmp/multipartBody2549470474249176496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139532650,"filename":"image_17012025_19_44_47_6384.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/79e2a9ef4f722ad3a8a6beed824c409d.jpg","text":"TemporaryFile(/tmp/multipartBody3205656490565569120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139532650,"filename":"image_17012025_19_44_29_6398.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/32330d235f9490c0c5156ac8597baa19.jpg","text":"TemporaryFile(/tmp/multipartBody3457586844889760031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139532650,"filename":"image_17012025_19_44_34_5197.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329545247","file1":"1329545246","file0":"1329545243","file4":"1329545255","file5":"1329545259","file3":"1329545251"},"map_files_photo_id_array":[{"photo_id":"1329545259","filename":"file5"},{"photo_id":"1329545247","filename":"file2"},{"photo_id":"1329545255","filename":"file4"},{"photo_id":"1329545246","filename":"file1"},{"photo_id":"1329545243","filename":"file0"},{"photo_id":"1329545251","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329545259":["hashtag1","hashtag2"]},{"1329545247":["hashtag1","hashtag2"]},{"1329545243":["hashtag1","hashtag2"]},{"1329545246":["hashtag1","hashtag2"]},{"1329545255":["hashtag1","hashtag2"]},{"1329545251":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329545259, 1329545247, 1329545243, 1329545246, 1329545255, 1329545251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.79424071311951 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:45:22.230135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/45/image_17012025_19_45_52_5174.jpg', '/media/data/images/17012025/19/45/image_17012025_19_45_47_6385.jpg', '/media/data/images/17012025/19/45/image_17012025_19_45_40_6413.jpg', '/media/data/images/17012025/19/45/image_17012025_19_45_34_5178.jpg', '/media/data/images/17012025/19/45/image_17012025_19_45_29_6383.jpg', '/media/data/images/17012025/19/45/image_17012025_19_45_22_6387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/45/image_17012025_19_45_52_5174.jpg
/media/data/images/17012025/19/45/image_17012025_19_45_47_6385.jpg
/media/data/images/17012025/19/45/image_17012025_19_45_40_6413.jpg
/media/data/images/17012025/19/45/image_17012025_19_45_34_5178.jpg
/media/data/images/17012025/19/45/image_17012025_19_45_29_6383.jpg
/media/data/images/17012025/19/45/image_17012025_19_45_22_6387.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329545292","1329545289","1329545424","1329545294","1329545438","1329545287"],"photo_ids_order":["1329545287","1329545289","1329545292","1329545294","1329545424","1329545438"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/12ea9c3505292407dad2284bc2e5130d.jpg","text":"TemporaryFile(/tmp/multipartBody4792496777853539452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139587747,"filename":"image_17012025_19_45_40_6413.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b02b97ec91a665b73c630350d04a5679.jpg","text":"TemporaryFile(/tmp/multipartBody1209911366204245073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139587747,"filename":"image_17012025_19_45_47_6385.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7080c3c663ee3fccfd744d983e798d7d.jpg","text":"TemporaryFile(/tmp/multipartBody610843196774423723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139587747,"filename":"image_17012025_19_45_29_6383.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c18daf44dac32b1620acd5c2bbb2d3db.jpg","text":"TemporaryFile(/tmp/multipartBody3880917110383511812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139587747,"filename":"image_17012025_19_45_34_5178.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4f5c670f5fcaf11464e78cc8450e3a66.jpg","text":"TemporaryFile(/tmp/multipartBody659647458020316355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139587747,"filename":"image_17012025_19_45_22_6387.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/49a8e99974a966f99b5ab61b0b759ee4.jpg","text":"TemporaryFile(/tmp/multipartBody2497703363940931961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139587747,"filename":"image_17012025_19_45_52_5174.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329545292","file1":"1329545289","file0":"1329545287","file4":"1329545424","file5":"1329545438","file3":"1329545294"},"map_files_photo_id_array":[{"photo_id":"1329545438","filename":"file5"},{"photo_id":"1329545292","filename":"file2"},{"photo_id":"1329545424","filename":"file4"},{"photo_id":"1329545289","filename":"file1"},{"photo_id":"1329545287","filename":"file0"},{"photo_id":"1329545294","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329545292":["hashtag1","hashtag2"]},{"1329545289":["hashtag1","hashtag2"]},{"1329545424":["hashtag1","hashtag2"]},{"1329545294":["hashtag1","hashtag2"]},{"1329545438":["hashtag1","hashtag2"]},{"1329545287":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329545292, 1329545289, 1329545424, 1329545294, 1329545438, 1329545287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.961183071136475 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:46:02.449039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/45/image_17012025_19_45_16_6345.jpg', '/media/data/images/17012025/19/45/image_17012025_19_45_10_5197.jpg', '/media/data/images/17012025/19/44/image_17012025_19_45_04_6379.jpg', '/media/data/images/17012025/19/44/image_17012025_19_44_58_6407.jpg', '/media/data/images/17012025/19/44/image_17012025_19_44_16_5192.jpg', '/media/data/images/17012025/19/44/image_17012025_19_44_11_6407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/45/image_17012025_19_45_16_6345.jpg
/media/data/images/17012025/19/45/image_17012025_19_45_10_5197.jpg
/media/data/images/17012025/19/44/image_17012025_19_45_04_6379.jpg
/media/data/images/17012025/19/44/image_17012025_19_44_58_6407.jpg
/media/data/images/17012025/19/44/image_17012025_19_44_16_5192.jpg
/media/data/images/17012025/19/44/image_17012025_19_44_11_6407.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329545539","1329545562","1329545556","1329545559","1329545550","1329545507"],"photo_ids_order":["1329545507","1329545539","1329545550","1329545556","1329545559","1329545562"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5983d7bc055c85390c645586075f0b59.jpg","text":"TemporaryFile(/tmp/multipartBody5064889504322824541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139627290,"filename":"image_17012025_19_45_10_5197.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f5e8fb8e2630093b35ebccbd59e7b40c.jpg","text":"TemporaryFile(/tmp/multipartBody4620601275966186183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139627290,"filename":"image_17012025_19_44_11_6407.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0a4813667c64967867270b57dd237bce.jpg","text":"TemporaryFile(/tmp/multipartBody8443512702064812269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139627290,"filename":"image_17012025_19_44_58_6407.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d2df15e03eb49153cdc987cc93ba86b9.jpg","text":"TemporaryFile(/tmp/multipartBody8799007844118761182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139627290,"filename":"image_17012025_19_44_16_5192.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a86f41147c35926a8905f632812b38a0.jpg","text":"TemporaryFile(/tmp/multipartBody3200799757434177017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139627290,"filename":"image_17012025_19_45_04_6379.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/66e8b1fa47ecd2fcd4a28118c468cf9d.jpg","text":"TemporaryFile(/tmp/multipartBody4120654732876950549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139627290,"filename":"image_17012025_19_45_16_6345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329545550","file1":"1329545539","file0":"1329545507","file4":"1329545559","file5":"1329545562","file3":"1329545556"},"map_files_photo_id_array":[{"photo_id":"1329545562","filename":"file5"},{"photo_id":"1329545550","filename":"file2"},{"photo_id":"1329545559","filename":"file4"},{"photo_id":"1329545539","filename":"file1"},{"photo_id":"1329545507","filename":"file0"},{"photo_id":"1329545556","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329545539":["hashtag1","hashtag2"]},{"1329545562":["hashtag1","hashtag2"]},{"1329545556":["hashtag1","hashtag2"]},{"1329545559":["hashtag1","hashtag2"]},{"1329545550":["hashtag1","hashtag2"]},{"1329545507":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329545539, 1329545562, 1329545556, 1329545559, 1329545550, 1329545507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7615008354187 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:46:42.288242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/46/image_17012025_19_46_52_5176.jpg', '/media/data/images/17012025/19/46/image_17012025_19_46_47_6386.jpg', '/media/data/images/17012025/19/46/image_17012025_19_46_40_6380.jpg', '/media/data/images/17012025/19/46/image_17012025_19_46_34_6367.jpg', '/media/data/images/17012025/19/46/image_17012025_19_46_28_5183.jpg', '/media/data/images/17012025/19/46/image_17012025_19_46_23_6377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/46/image_17012025_19_46_52_5176.jpg
/media/data/images/17012025/19/46/image_17012025_19_46_47_6386.jpg
/media/data/images/17012025/19/46/image_17012025_19_46_40_6380.jpg
/media/data/images/17012025/19/46/image_17012025_19_46_34_6367.jpg
/media/data/images/17012025/19/46/image_17012025_19_46_28_5183.jpg
/media/data/images/17012025/19/46/image_17012025_19_46_23_6377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329545586","1329545583","1329545577","1329545596","1329545581","1329545590"],"photo_ids_order":["1329545577","1329545581","1329545583","1329545586","1329545590","1329545596"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0ffcae8a78780f7c6642f7484290456f.jpg","text":"TemporaryFile(/tmp/multipartBody5079018556655608519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139670160,"filename":"image_17012025_19_46_34_6367.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c4e508f3ba7249935315b21374ceae46.jpg","text":"TemporaryFile(/tmp/multipartBody96447884363656560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139670160,"filename":"image_17012025_19_46_40_6380.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/be63f48b1de32081af51e2664303464b.jpg","text":"TemporaryFile(/tmp/multipartBody4247182734730525451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139670160,"filename":"image_17012025_19_46_52_5176.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f3644956724d25c7d47f4ed738e8add7.jpg","text":"TemporaryFile(/tmp/multipartBody1091399499683832013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139670160,"filename":"image_17012025_19_46_23_6377.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/45133e0eda39f4f1692ab8c5dc49eaea.jpg","text":"TemporaryFile(/tmp/multipartBody3454383898851707326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139670160,"filename":"image_17012025_19_46_47_6386.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a469eefb25fd08b7f1902041e7563df0.jpg","text":"TemporaryFile(/tmp/multipartBody6523232294009995710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139670160,"filename":"image_17012025_19_46_28_5183.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329545583","file1":"1329545581","file0":"1329545577","file4":"1329545590","file5":"1329545596","file3":"1329545586"},"map_files_photo_id_array":[{"photo_id":"1329545596","filename":"file5"},{"photo_id":"1329545583","filename":"file2"},{"photo_id":"1329545590","filename":"file4"},{"photo_id":"1329545581","filename":"file1"},{"photo_id":"1329545577","filename":"file0"},{"photo_id":"1329545586","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329545586":["hashtag1","hashtag2"]},{"1329545583":["hashtag1","hashtag2"]},{"1329545577":["hashtag1","hashtag2"]},{"1329545596":["hashtag1","hashtag2"]},{"1329545581":["hashtag1","hashtag2"]},{"1329545590":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329545586, 1329545583, 1329545577, 1329545596, 1329545581, 1329545590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.90762519836426 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:47:42.373928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/47/image_17012025_19_47_52_6418.jpg', '/media/data/images/17012025/19/47/image_17012025_19_47_46_5144.jpg', '/media/data/images/17012025/19/47/image_17012025_19_47_41_6359.jpg', '/media/data/images/17012025/19/47/image_17012025_19_47_34_6396.jpg', '/media/data/images/17012025/19/47/image_17012025_19_47_28_5214.jpg', '/media/data/images/17012025/19/47/image_17012025_19_47_23_6427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/47/image_17012025_19_47_52_6418.jpg
/media/data/images/17012025/19/47/image_17012025_19_47_46_5144.jpg
/media/data/images/17012025/19/47/image_17012025_19_47_41_6359.jpg
/media/data/images/17012025/19/47/image_17012025_19_47_34_6396.jpg
/media/data/images/17012025/19/47/image_17012025_19_47_28_5214.jpg
/media/data/images/17012025/19/47/image_17012025_19_47_23_6427.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329545691","1329545694","1329545697","1329545699","1329545675","1329545654"],"photo_ids_order":["1329545654","1329545675","1329545691","1329545694","1329545697","1329545699"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ab323268d6e869f905a552c0ca862ebe.jpg","text":"TemporaryFile(/tmp/multipartBody6090991174072548782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139728177,"filename":"image_17012025_19_47_41_6359.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7aa393edbd70bee6db285d7320f462fd.jpg","text":"TemporaryFile(/tmp/multipartBody192986181900417349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139728177,"filename":"image_17012025_19_47_34_6396.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3acdc40fc2f182cf5f6a93fb0316db9c.jpg","text":"TemporaryFile(/tmp/multipartBody2948999728381834095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139728177,"filename":"image_17012025_19_47_28_5214.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d460242226ae2d3d460fd30e29c4bfcc.jpg","text":"TemporaryFile(/tmp/multipartBody2102048910460728705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139728177,"filename":"image_17012025_19_47_23_6427.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dda4a74f6f2f5db2e0462cbd7afdcb5b.jpg","text":"TemporaryFile(/tmp/multipartBody2450888228919462142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139728177,"filename":"image_17012025_19_47_46_5144.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1c9fccd61d04505ce125dd9ff8d572e5.jpg","text":"TemporaryFile(/tmp/multipartBody3620020612646542843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139728177,"filename":"image_17012025_19_47_52_6418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329545691","file1":"1329545675","file0":"1329545654","file4":"1329545697","file5":"1329545699","file3":"1329545694"},"map_files_photo_id_array":[{"photo_id":"1329545699","filename":"file5"},{"photo_id":"1329545691","filename":"file2"},{"photo_id":"1329545697","filename":"file4"},{"photo_id":"1329545675","filename":"file1"},{"photo_id":"1329545654","filename":"file0"},{"photo_id":"1329545694","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329545691":["hashtag1","hashtag2"]},{"1329545694":["hashtag1","hashtag2"]},{"1329545697":["hashtag1","hashtag2"]},{"1329545699":["hashtag1","hashtag2"]},{"1329545675":["hashtag1","hashtag2"]},{"1329545654":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329545691, 1329545694, 1329545697, 1329545699, 1329545675, 1329545654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.83444809913635 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:48:42.472658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/48/image_17012025_19_48_52_6382.jpg', '/media/data/images/17012025/19/48/image_17012025_19_48_46_5182.jpg', '/media/data/images/17012025/19/48/image_17012025_19_48_40_6377.jpg', '/media/data/images/17012025/19/48/image_17012025_19_48_34_6376.jpg', '/media/data/images/17012025/19/48/image_17012025_19_48_28_5139.jpg', '/media/data/images/17012025/19/48/image_17012025_19_48_23_6352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/48/image_17012025_19_48_52_6382.jpg
/media/data/images/17012025/19/48/image_17012025_19_48_46_5182.jpg
/media/data/images/17012025/19/48/image_17012025_19_48_40_6377.jpg
/media/data/images/17012025/19/48/image_17012025_19_48_34_6376.jpg
/media/data/images/17012025/19/48/image_17012025_19_48_28_5139.jpg
/media/data/images/17012025/19/48/image_17012025_19_48_23_6352.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: 4.2966156005859375 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:49:03.043748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/48/image_17012025_19_48_52_6382.jpg', '/media/data/images/17012025/19/48/image_17012025_19_48_46_5182.jpg', '/media/data/images/17012025/19/48/image_17012025_19_48_40_6377.jpg', '/media/data/images/17012025/19/48/image_17012025_19_48_34_6376.jpg', '/media/data/images/17012025/19/48/image_17012025_19_48_28_5139.jpg', '/media/data/images/17012025/19/48/image_17012025_19_48_23_6352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/48/image_17012025_19_48_52_6382.jpg
/media/data/images/17012025/19/48/image_17012025_19_48_46_5182.jpg
/media/data/images/17012025/19/48/image_17012025_19_48_40_6377.jpg
/media/data/images/17012025/19/48/image_17012025_19_48_34_6376.jpg
/media/data/images/17012025/19/48/image_17012025_19_48_28_5139.jpg
/media/data/images/17012025/19/48/image_17012025_19_48_23_6352.jpg
2025-01-17 19:49:03.204997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/48/image_17012025_19_48_52_6382.jpg', '/media/data/images/17012025/19/48/image_17012025_19_48_46_5182.jpg', '/media/data/images/17012025/19/48/image_17012025_19_48_40_6377.jpg', '/media/data/images/17012025/19/48/image_17012025_19_48_34_6376.jpg', '/media/data/images/17012025/19/48/image_17012025_19_48_28_5139.jpg', '/media/data/images/17012025/19/48/image_17012025_19_48_23_6352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/48/image_17012025_19_48_52_6382.jpg
/media/data/images/17012025/19/48/image_17012025_19_48_46_5182.jpg
/media/data/images/17012025/19/48/image_17012025_19_48_40_6377.jpg
/media/data/images/17012025/19/48/image_17012025_19_48_34_6376.jpg
/media/data/images/17012025/19/48/image_17012025_19_48_28_5139.jpg
/media/data/images/17012025/19/48/image_17012025_19_48_23_6352.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329545763","1329545783","1329545750","1329545780","1329545788","1329545776"],"photo_ids_order":["1329545750","1329545763","1329545776","1329545780","1329545783","1329545788"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d0c8dcfc4424835ec6d10e1516483cd4.jpg","text":"TemporaryFile(/tmp/multipartBody7573365427367746265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139814834,"filename":"image_17012025_19_48_46_5182.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/423af4de1f209deb927170342deae26a.jpg","text":"TemporaryFile(/tmp/multipartBody1097315061408700689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139814834,"filename":"image_17012025_19_48_28_5139.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1d0601689494f5e7115bc904f014ec87.jpg","text":"TemporaryFile(/tmp/multipartBody5321511808903922942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139814834,"filename":"image_17012025_19_48_52_6382.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c2efada68e243b6cc7098ad8a4a15371.jpg","text":"TemporaryFile(/tmp/multipartBody8985669609913921566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139814834,"filename":"image_17012025_19_48_34_6376.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b9918c50e0a5d718171439986b6cdc80.jpg","text":"TemporaryFile(/tmp/multipartBody3129717081868956848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139814834,"filename":"image_17012025_19_48_23_6352.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d1c9541e1c491484c3b2ef93d6c04025.jpg","text":"TemporaryFile(/tmp/multipartBody8242404598872656662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139814834,"filename":"image_17012025_19_48_40_6377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329545776","file1":"1329545763","file0":"1329545750","file4":"1329545783","file5":"1329545788","file3":"1329545780"},"map_files_photo_id_array":[{"photo_id":"1329545788","filename":"file5"},{"photo_id":"1329545776","filename":"file2"},{"photo_id":"1329545783","filename":"file4"},{"photo_id":"1329545763","filename":"file1"},{"photo_id":"1329545750","filename":"file0"},{"photo_id":"1329545780","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329545763":["hashtag1","hashtag2"]},{"1329545783":["hashtag1","hashtag2"]},{"1329545750":["hashtag1","hashtag2"]},{"1329545780":["hashtag1","hashtag2"]},{"1329545788":["hashtag1","hashtag2"]},{"1329545776":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329545763, 1329545783, 1329545750, 1329545780, 1329545788, 1329545776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.362935304641724 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329545784","1329545781","1329545778","1329545789","1329545765","1329545753"],"photo_ids_order":["1329545753","1329545765","1329545778","1329545781","1329545784","1329545789"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/87255093971a662b3f8250835fb9735a.jpg","text":"TemporaryFile(/tmp/multipartBody3026102483078670209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139816532,"filename":"image_17012025_19_48_28_5139.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a2bb0a3a527035193d39e685abe1a390.jpg","text":"TemporaryFile(/tmp/multipartBody4343941843305899462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139816532,"filename":"image_17012025_19_48_34_6376.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6f6c7f1051d2655764bde33d9c7b2e10.jpg","text":"TemporaryFile(/tmp/multipartBody1491155481460038539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139816532,"filename":"image_17012025_19_48_40_6377.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/28c41d1907c1191723fda23b52608df3.jpg","text":"TemporaryFile(/tmp/multipartBody4281582953496146451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139816532,"filename":"image_17012025_19_48_23_6352.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/90328d74be0228197694825e230e76c4.jpg","text":"TemporaryFile(/tmp/multipartBody5647180792288115393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139816532,"filename":"image_17012025_19_48_46_5182.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a58ac949784734edaee87ec63fef10d4.jpg","text":"TemporaryFile(/tmp/multipartBody1423266688545962400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139816532,"filename":"image_17012025_19_48_52_6382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329545778","file1":"1329545765","file0":"1329545753","file4":"1329545784","file5":"1329545789","file3":"1329545781"},"map_files_photo_id_array":[{"photo_id":"1329545789","filename":"file5"},{"photo_id":"1329545778","filename":"file2"},{"photo_id":"1329545784","filename":"file4"},{"photo_id":"1329545765","filename":"file1"},{"photo_id":"1329545753","filename":"file0"},{"photo_id":"1329545781","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329545784":["hashtag1","hashtag2"]},{"1329545781":["hashtag1","hashtag2"]},{"1329545778":["hashtag1","hashtag2"]},{"1329545789":["hashtag1","hashtag2"]},{"1329545765":["hashtag1","hashtag2"]},{"1329545753":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329545784, 1329545781, 1329545778, 1329545789, 1329545765, 1329545753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.94074296951294 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:50:02.917549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/49/image_17012025_19_49_52_5146.jpg', '/media/data/images/17012025/19/49/image_17012025_19_49_47_6360.jpg', '/media/data/images/17012025/19/49/image_17012025_19_49_40_6342.jpg', '/media/data/images/17012025/19/49/image_17012025_19_49_34_5145.jpg', '/media/data/images/17012025/19/49/image_17012025_19_49_29_6344.jpg', '/media/data/images/17012025/19/49/image_17012025_19_49_22_6348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/49/image_17012025_19_49_52_5146.jpg
/media/data/images/17012025/19/49/image_17012025_19_49_47_6360.jpg
/media/data/images/17012025/19/49/image_17012025_19_49_40_6342.jpg
/media/data/images/17012025/19/49/image_17012025_19_49_34_5145.jpg
/media/data/images/17012025/19/49/image_17012025_19_49_29_6344.jpg
/media/data/images/17012025/19/49/image_17012025_19_49_22_6348.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: 6.285557508468628 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:50:22.662385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/50/image_17012025_19_50_52_6348.jpg', '/media/data/images/17012025/19/50/image_17012025_19_50_46_5148.jpg', '/media/data/images/17012025/19/50/image_17012025_19_50_41_6349.jpg', '/media/data/images/17012025/19/50/image_17012025_19_50_34_6348.jpg', '/media/data/images/17012025/19/50/image_17012025_19_50_28_5153.jpg', '/media/data/images/17012025/19/50/image_17012025_19_50_23_6362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/50/image_17012025_19_50_52_6348.jpg
/media/data/images/17012025/19/50/image_17012025_19_50_46_5148.jpg
/media/data/images/17012025/19/50/image_17012025_19_50_41_6349.jpg
/media/data/images/17012025/19/50/image_17012025_19_50_34_6348.jpg
/media/data/images/17012025/19/50/image_17012025_19_50_28_5153.jpg
/media/data/images/17012025/19/50/image_17012025_19_50_23_6362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329545871","1329545847","1329545835","1329545829","1329545852","1329545842"],"photo_ids_order":["1329545829","1329545835","1329545842","1329545847","1329545852","1329545871"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/95cd309f02db06b954d7fc4eceffdfd0.jpg","text":"TemporaryFile(/tmp/multipartBody8271575873414719338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139894026,"filename":"image_17012025_19_50_23_6362.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5f1019814ab80d4c76f4becbde824791.jpg","text":"TemporaryFile(/tmp/multipartBody7228620611552950014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139894026,"filename":"image_17012025_19_50_34_6348.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/445b4e1cf948fd8897711ea8bc9530d5.jpg","text":"TemporaryFile(/tmp/multipartBody7726090121899531478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139894026,"filename":"image_17012025_19_50_46_5148.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a8e55f4c1aa8ac1caa6a93fc82754b57.jpg","text":"TemporaryFile(/tmp/multipartBody7974654901373448915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139894026,"filename":"image_17012025_19_50_52_6348.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/755be3b8abd9ad2cafac9a066aee68e7.jpg","text":"TemporaryFile(/tmp/multipartBody9088396011024136445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139894026,"filename":"image_17012025_19_50_28_5153.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e6f46cf0068f0eabc965672845f66878.jpg","text":"TemporaryFile(/tmp/multipartBody3174852205470203230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139894026,"filename":"image_17012025_19_50_41_6349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329545842","file1":"1329545835","file0":"1329545829","file4":"1329545852","file5":"1329545871","file3":"1329545847"},"map_files_photo_id_array":[{"photo_id":"1329545871","filename":"file5"},{"photo_id":"1329545842","filename":"file2"},{"photo_id":"1329545852","filename":"file4"},{"photo_id":"1329545835","filename":"file1"},{"photo_id":"1329545829","filename":"file0"},{"photo_id":"1329545847","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329545871":["hashtag1","hashtag2"]},{"1329545847":["hashtag1","hashtag2"]},{"1329545835":["hashtag1","hashtag2"]},{"1329545829":["hashtag1","hashtag2"]},{"1329545852":["hashtag1","hashtag2"]},{"1329545842":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329545871, 1329545847, 1329545835, 1329545829, 1329545852, 1329545842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.764387130737305 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:51:21.777195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/51/image_17012025_19_51_52_5182.jpg', '/media/data/images/17012025/19/51/image_17012025_19_51_47_6380.jpg', '/media/data/images/17012025/19/51/image_17012025_19_51_40_6375.jpg', '/media/data/images/17012025/19/51/image_17012025_19_51_34_5141.jpg', '/media/data/images/17012025/19/51/image_17012025_19_51_29_6353.jpg', '/media/data/images/17012025/19/51/image_17012025_19_51_22_6344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/51/image_17012025_19_51_52_5182.jpg
/media/data/images/17012025/19/51/image_17012025_19_51_47_6380.jpg
/media/data/images/17012025/19/51/image_17012025_19_51_40_6375.jpg
/media/data/images/17012025/19/51/image_17012025_19_51_34_5141.jpg
/media/data/images/17012025/19/51/image_17012025_19_51_29_6353.jpg
/media/data/images/17012025/19/51/image_17012025_19_51_22_6344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329546192","1329546240","1329546188","1329546131","1329546125","1329546184"],"photo_ids_order":["1329546125","1329546131","1329546184","1329546188","1329546192","1329546240"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/96c3fd73dd4ce2f52ec834646d70dd57.jpg","text":"TemporaryFile(/tmp/multipartBody6376398961454511138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139955932,"filename":"image_17012025_19_51_29_6353.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0b9f798c9ab0c53cc06f93471570035e.jpg","text":"TemporaryFile(/tmp/multipartBody1493765355587755473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139955932,"filename":"image_17012025_19_51_22_6344.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/eadc9680fd47beb7e6a7e73395471d1b.jpg","text":"TemporaryFile(/tmp/multipartBody6717867627876229645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139955932,"filename":"image_17012025_19_51_34_5141.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b24472f0af1a4293c797483101ae5998.jpg","text":"TemporaryFile(/tmp/multipartBody879733001383363987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139955932,"filename":"image_17012025_19_51_47_6380.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8f7cc492e6a91fd87cc81f129dd2912e.jpg","text":"TemporaryFile(/tmp/multipartBody3493470554998866197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139955932,"filename":"image_17012025_19_51_52_5182.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4121c4b059f50d1f147d957f00de4ad9.jpg","text":"TemporaryFile(/tmp/multipartBody1814109516461068334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737139955932,"filename":"image_17012025_19_51_40_6375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329546184","file1":"1329546131","file0":"1329546125","file4":"1329546192","file5":"1329546240","file3":"1329546188"},"map_files_photo_id_array":[{"photo_id":"1329546240","filename":"file5"},{"photo_id":"1329546184","filename":"file2"},{"photo_id":"1329546192","filename":"file4"},{"photo_id":"1329546131","filename":"file1"},{"photo_id":"1329546125","filename":"file0"},{"photo_id":"1329546188","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329546192":["hashtag1","hashtag2"]},{"1329546240":["hashtag1","hashtag2"]},{"1329546188":["hashtag1","hashtag2"]},{"1329546131":["hashtag1","hashtag2"]},{"1329546125":["hashtag1","hashtag2"]},{"1329546184":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329546192, 1329546240, 1329546188, 1329546131, 1329546125, 1329546184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.23416781425476 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:52:21.890836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/52/image_17012025_19_52_52_5140.jpg', '/media/data/images/17012025/19/52/image_17012025_19_52_47_6348.jpg', '/media/data/images/17012025/19/52/image_17012025_19_52_40_6356.jpg', '/media/data/images/17012025/19/52/image_17012025_19_52_34_5137.jpg', '/media/data/images/17012025/19/52/image_17012025_19_52_29_6345.jpg', '/media/data/images/17012025/19/52/image_17012025_19_52_22_6340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/52/image_17012025_19_52_52_5140.jpg
/media/data/images/17012025/19/52/image_17012025_19_52_47_6348.jpg
/media/data/images/17012025/19/52/image_17012025_19_52_40_6356.jpg
/media/data/images/17012025/19/52/image_17012025_19_52_34_5137.jpg
/media/data/images/17012025/19/52/image_17012025_19_52_29_6345.jpg
/media/data/images/17012025/19/52/image_17012025_19_52_22_6340.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329546411","1329546437","1329546442","1329546424","1329546418","1329546360"],"photo_ids_order":["1329546360","1329546411","1329546418","1329546424","1329546437","1329546442"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/12b39f6cbccff6a7f3d110ab84f22f16.jpg","text":"TemporaryFile(/tmp/multipartBody3258128299294693794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140008252,"filename":"image_17012025_19_52_47_6348.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d777fbe3da5558077f66c24478a2044c.jpg","text":"TemporaryFile(/tmp/multipartBody3705841170075889284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140008252,"filename":"image_17012025_19_52_29_6345.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c83b43fa31d942181f068e0067efe7f7.jpg","text":"TemporaryFile(/tmp/multipartBody1331059341936550557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140008252,"filename":"image_17012025_19_52_22_6340.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/141136a8a62d039bb2a3415dca5ac174.jpg","text":"TemporaryFile(/tmp/multipartBody8223843868779751735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140008252,"filename":"image_17012025_19_52_34_5137.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/072e8b61f6f8bacffbdf0e6a83e59760.jpg","text":"TemporaryFile(/tmp/multipartBody2913127033530751424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140008252,"filename":"image_17012025_19_52_40_6356.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/be0e585f04367a0cdb8c2bbaabb9caaf.jpg","text":"TemporaryFile(/tmp/multipartBody6813378247593102475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140008252,"filename":"image_17012025_19_52_52_5140.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329546418","file1":"1329546411","file0":"1329546360","file4":"1329546437","file5":"1329546442","file3":"1329546424"},"map_files_photo_id_array":[{"photo_id":"1329546442","filename":"file5"},{"photo_id":"1329546418","filename":"file2"},{"photo_id":"1329546437","filename":"file4"},{"photo_id":"1329546411","filename":"file1"},{"photo_id":"1329546360","filename":"file0"},{"photo_id":"1329546424","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329546411":["hashtag1","hashtag2"]},{"1329546437":["hashtag1","hashtag2"]},{"1329546442":["hashtag1","hashtag2"]},{"1329546424":["hashtag1","hashtag2"]},{"1329546418":["hashtag1","hashtag2"]},{"1329546360":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329546411, 1329546437, 1329546442, 1329546424, 1329546418, 1329546360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.665849447250366 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:53:02.444958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/52/image_17012025_19_52_16_6361.jpg', '/media/data/images/17012025/19/52/image_17012025_19_52_10_5174.jpg', '/media/data/images/17012025/19/52/image_17012025_19_52_05_6273.jpg', '/media/data/images/17012025/19/51/image_17012025_19_51_58_6389.jpg', '/media/data/images/17012025/19/51/image_17012025_19_51_16_6356.jpg', '/media/data/images/17012025/19/51/image_17012025_19_51_10_5150.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/52/image_17012025_19_52_16_6361.jpg
/media/data/images/17012025/19/52/image_17012025_19_52_10_5174.jpg
/media/data/images/17012025/19/52/image_17012025_19_52_05_6273.jpg
/media/data/images/17012025/19/51/image_17012025_19_51_58_6389.jpg
/media/data/images/17012025/19/51/image_17012025_19_51_16_6356.jpg
/media/data/images/17012025/19/51/image_17012025_19_51_10_5150.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329546555","1329546621","1329546624","1329546551","1329546545","1329546553"],"photo_ids_order":["1329546545","1329546551","1329546553","1329546555","1329546621","1329546624"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1b7ac8f7d649fc306e51bfe4de202507.jpg","text":"TemporaryFile(/tmp/multipartBody8159924908920729794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140052918,"filename":"image_17012025_19_51_58_6389.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/037dbc07a3892ca3cbf08f1bc954d833.jpg","text":"TemporaryFile(/tmp/multipartBody8755159310300248505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140052918,"filename":"image_17012025_19_51_16_6356.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e5a321c25fa7fb764801cd685bac25b4.jpg","text":"TemporaryFile(/tmp/multipartBody4389186978579625394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140052918,"filename":"image_17012025_19_51_10_5150.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4a9fe348208cc9b93d8d41a60965b3ed.jpg","text":"TemporaryFile(/tmp/multipartBody7073246434308720847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140052918,"filename":"image_17012025_19_52_10_5174.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/518dd6b9558b3a2c6d462d728da24cb1.jpg","text":"TemporaryFile(/tmp/multipartBody9136068420308619562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140052918,"filename":"image_17012025_19_52_16_6361.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f3a446c344fe553728b9b4b52b726da9.jpg","text":"TemporaryFile(/tmp/multipartBody600374689572592534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140052918,"filename":"image_17012025_19_52_05_6273.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329546553","file1":"1329546551","file0":"1329546545","file4":"1329546621","file5":"1329546624","file3":"1329546555"},"map_files_photo_id_array":[{"photo_id":"1329546624","filename":"file5"},{"photo_id":"1329546553","filename":"file2"},{"photo_id":"1329546621","filename":"file4"},{"photo_id":"1329546551","filename":"file1"},{"photo_id":"1329546545","filename":"file0"},{"photo_id":"1329546555","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329546555":["hashtag1","hashtag2"]},{"1329546621":["hashtag1","hashtag2"]},{"1329546624":["hashtag1","hashtag2"]},{"1329546551":["hashtag1","hashtag2"]},{"1329546545":["hashtag1","hashtag2"]},{"1329546553":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329546555, 1329546621, 1329546624, 1329546551, 1329546545, 1329546553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.540852785110474 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 19:54:02.499854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/53/image_17012025_19_53_52_5135.jpg', '/media/data/images/17012025/19/53/image_17012025_19_53_47_6351.jpg', '/media/data/images/17012025/19/53/image_17012025_19_53_40_6365.jpg', '/media/data/images/17012025/19/53/image_17012025_19_53_34_5146.jpg', '/media/data/images/17012025/19/53/image_17012025_19_53_29_6350.jpg', '/media/data/images/17012025/19/53/image_17012025_19_53_22_6362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/53/image_17012025_19_53_52_5135.jpg
/media/data/images/17012025/19/53/image_17012025_19_53_47_6351.jpg
/media/data/images/17012025/19/53/image_17012025_19_53_40_6365.jpg
/media/data/images/17012025/19/53/image_17012025_19_53_34_5146.jpg
/media/data/images/17012025/19/53/image_17012025_19_53_29_6350.jpg
/media/data/images/17012025/19/53/image_17012025_19_53_22_6362.jpg
2025-01-17 19:54:02.630842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/53/image_17012025_19_53_52_5135.jpg', '/media/data/images/17012025/19/53/image_17012025_19_53_47_6351.jpg', '/media/data/images/17012025/19/53/image_17012025_19_53_40_6365.jpg', '/media/data/images/17012025/19/53/image_17012025_19_53_34_5146.jpg', '/media/data/images/17012025/19/53/image_17012025_19_53_29_6350.jpg', '/media/data/images/17012025/19/53/image_17012025_19_53_22_6362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/53/image_17012025_19_53_52_5135.jpg
/media/data/images/17012025/19/53/image_17012025_19_53_47_6351.jpg
/media/data/images/17012025/19/53/image_17012025_19_53_40_6365.jpg
/media/data/images/17012025/19/53/image_17012025_19_53_34_5146.jpg
/media/data/images/17012025/19/53/image_17012025_19_53_29_6350.jpg
/media/data/images/17012025/19/53/image_17012025_19_53_22_6362.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329546660","1329546663","1329546655","1329546652","1329546672","1329546666"],"photo_ids_order":["1329546652","1329546655","1329546660","1329546663","1329546666","1329546672"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/58830df6360cc4acc0e4105c54b43dec.jpg","text":"TemporaryFile(/tmp/multipartBody9053233433952214290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140118519,"filename":"image_17012025_19_53_40_6365.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/deb730193df2a1df9e00502ef01ac731.jpg","text":"TemporaryFile(/tmp/multipartBody2469009992430626963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140118519,"filename":"image_17012025_19_53_34_5146.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a8cb0c76cdf3b751789e9fb353960329.jpg","text":"TemporaryFile(/tmp/multipartBody5445368705726594327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140118519,"filename":"image_17012025_19_53_47_6351.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c3b38249529765ff88386ede6e30b386.jpg","text":"TemporaryFile(/tmp/multipartBody7693604683423446095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140118519,"filename":"image_17012025_19_53_52_5135.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/20e748bd48385100053526d86b4ce08f.jpg","text":"TemporaryFile(/tmp/multipartBody1103715321883663738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140118519,"filename":"image_17012025_19_53_22_6362.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b1f2a607397d4e09e86bd6b0db65c728.jpg","text":"TemporaryFile(/tmp/multipartBody6979968446332386120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140118519,"filename":"image_17012025_19_53_29_6350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329546660","file1":"1329546655","file0":"1329546652","file4":"1329546666","file5":"1329546672","file3":"1329546663"},"map_files_photo_id_array":[{"photo_id":"1329546672","filename":"file5"},{"photo_id":"1329546660","filename":"file2"},{"photo_id":"1329546666","filename":"file4"},{"photo_id":"1329546655","filename":"file1"},{"photo_id":"1329546652","filename":"file0"},{"photo_id":"1329546663","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329546660":["hashtag1","hashtag2"]},{"1329546663":["hashtag1","hashtag2"]},{"1329546655":["hashtag1","hashtag2"]},{"1329546652":["hashtag1","hashtag2"]},{"1329546672":["hashtag1","hashtag2"]},{"1329546666":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329546660, 1329546663, 1329546655, 1329546652, 1329546672, 1329546666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.135509729385376 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329546659","1329546653","1329546673","1329546667","1329546661","1329546664"],"photo_ids_order":["1329546653","1329546659","1329546661","1329546664","1329546667","1329546673"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/87fa2635d150c8fb935597f5853a39e1.jpg","text":"TemporaryFile(/tmp/multipartBody1405912945555680135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140118448,"filename":"image_17012025_19_53_47_6351.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/69734dfac23b47c66a3f529332c19e2b.jpg","text":"TemporaryFile(/tmp/multipartBody3312647721310398913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140118448,"filename":"image_17012025_19_53_52_5135.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/137668c31cfd176d104b37a8e5033cee.jpg","text":"TemporaryFile(/tmp/multipartBody8934888381521139199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140118448,"filename":"image_17012025_19_53_22_6362.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/485d43888d36358bad3e0e4c57425fc2.jpg","text":"TemporaryFile(/tmp/multipartBody2393720280325517310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140118448,"filename":"image_17012025_19_53_29_6350.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/01d4a7173ded1c4070a44e54c48b65e9.jpg","text":"TemporaryFile(/tmp/multipartBody4900045065017913734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140118448,"filename":"image_17012025_19_53_40_6365.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d695116b1d86ecd52bcaf3d89ea0ac2c.jpg","text":"TemporaryFile(/tmp/multipartBody7006992454734999601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140118448,"filename":"image_17012025_19_53_34_5146.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329546661","file1":"1329546659","file0":"1329546653","file4":"1329546667","file5":"1329546673","file3":"1329546664"},"map_files_photo_id_array":[{"photo_id":"1329546673","filename":"file5"},{"photo_id":"1329546661","filename":"file2"},{"photo_id":"1329546667","filename":"file4"},{"photo_id":"1329546659","filename":"file1"},{"photo_id":"1329546653","filename":"file0"},{"photo_id":"1329546664","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329546659":["hashtag1","hashtag2"]},{"1329546653":["hashtag1","hashtag2"]},{"1329546673":["hashtag1","hashtag2"]},{"1329546667":["hashtag1","hashtag2"]},{"1329546661":["hashtag1","hashtag2"]},{"1329546664":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329546659, 1329546653, 1329546673, 1329546667, 1329546661, 1329546664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.219085454940796 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:55:02.734589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/54/image_17012025_19_54_52_5154.jpg', '/media/data/images/17012025/19/54/image_17012025_19_54_47_6360.jpg', '/media/data/images/17012025/19/54/image_17012025_19_54_40_6348.jpg', '/media/data/images/17012025/19/54/image_17012025_19_54_34_5138.jpg', '/media/data/images/17012025/19/54/image_17012025_19_54_29_6347.jpg', '/media/data/images/17012025/19/54/image_17012025_19_54_22_6341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/54/image_17012025_19_54_52_5154.jpg
/media/data/images/17012025/19/54/image_17012025_19_54_47_6360.jpg
/media/data/images/17012025/19/54/image_17012025_19_54_40_6348.jpg
/media/data/images/17012025/19/54/image_17012025_19_54_34_5138.jpg
/media/data/images/17012025/19/54/image_17012025_19_54_29_6347.jpg
/media/data/images/17012025/19/54/image_17012025_19_54_22_6341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329546710","1329546734","1329546701","1329546704","1329546751","1329546727"],"photo_ids_order":["1329546701","1329546704","1329546710","1329546727","1329546734","1329546751"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0a4c2f99ec4dd1c1d86c51fed8dda27d.jpg","text":"TemporaryFile(/tmp/multipartBody7911569772606801179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140174981,"filename":"image_17012025_19_54_40_6348.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/eccfdcab639d500471691a0bcab488ac.jpg","text":"TemporaryFile(/tmp/multipartBody416360727630007487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140174981,"filename":"image_17012025_19_54_29_6347.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/39a3e3b0232232a66c4eb5a77296b6bb.jpg","text":"TemporaryFile(/tmp/multipartBody5365110610079765353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140174981,"filename":"image_17012025_19_54_52_5154.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ae8bcf7102b75f1d4ea70e4bcf38c5ae.jpg","text":"TemporaryFile(/tmp/multipartBody2543621666625868068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140174981,"filename":"image_17012025_19_54_47_6360.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/722940807dbb1ca48efa2d4c8f61cbf7.jpg","text":"TemporaryFile(/tmp/multipartBody8295107433543632381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140174981,"filename":"image_17012025_19_54_22_6341.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1f3993c5268d2c17b7b35fe8131e3122.jpg","text":"TemporaryFile(/tmp/multipartBody4335379869310036139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140174981,"filename":"image_17012025_19_54_34_5138.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329546710","file1":"1329546704","file0":"1329546701","file4":"1329546734","file5":"1329546751","file3":"1329546727"},"map_files_photo_id_array":[{"photo_id":"1329546751","filename":"file5"},{"photo_id":"1329546710","filename":"file2"},{"photo_id":"1329546734","filename":"file4"},{"photo_id":"1329546704","filename":"file1"},{"photo_id":"1329546701","filename":"file0"},{"photo_id":"1329546727","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329546710":["hashtag1","hashtag2"]},{"1329546734":["hashtag1","hashtag2"]},{"1329546701":["hashtag1","hashtag2"]},{"1329546704":["hashtag1","hashtag2"]},{"1329546751":["hashtag1","hashtag2"]},{"1329546727":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329546710, 1329546734, 1329546701, 1329546704, 1329546751, 1329546727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.574079275131226 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:56:02.686548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/55/image_17012025_19_55_52_6377.jpg', '/media/data/images/17012025/19/55/image_17012025_19_55_46_5178.jpg', '/media/data/images/17012025/19/55/image_17012025_19_55_41_6410.jpg', '/media/data/images/17012025/19/55/image_17012025_19_55_34_6405.jpg', '/media/data/images/17012025/19/55/image_17012025_19_55_28_5162.jpg', '/media/data/images/17012025/19/55/image_17012025_19_55_23_6420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/55/image_17012025_19_55_52_6377.jpg
/media/data/images/17012025/19/55/image_17012025_19_55_46_5178.jpg
/media/data/images/17012025/19/55/image_17012025_19_55_41_6410.jpg
/media/data/images/17012025/19/55/image_17012025_19_55_34_6405.jpg
/media/data/images/17012025/19/55/image_17012025_19_55_28_5162.jpg
/media/data/images/17012025/19/55/image_17012025_19_55_23_6420.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329546810","1329546804","1329546785","1329546799","1329546787","1329546792"],"photo_ids_order":["1329546785","1329546787","1329546792","1329546799","1329546804","1329546810"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0c10a8d58b62246f344103e53e508698.jpg","text":"TemporaryFile(/tmp/multipartBody3263234944007971117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140235388,"filename":"image_17012025_19_55_23_6420.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/14f46926afdb2b4eecf3096c1903378b.jpg","text":"TemporaryFile(/tmp/multipartBody6541544879717116131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140235388,"filename":"image_17012025_19_55_28_5162.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2de691629c169104b0fc470b02e92906.jpg","text":"TemporaryFile(/tmp/multipartBody9094189997466123304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140235388,"filename":"image_17012025_19_55_52_6377.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/734ad64bf0c7e1fea213e80d3f5c0122.jpg","text":"TemporaryFile(/tmp/multipartBody7103583863525896837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140235388,"filename":"image_17012025_19_55_34_6405.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/16125c5c91350dd12941ab1808b81982.jpg","text":"TemporaryFile(/tmp/multipartBody2240826565715275577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140235388,"filename":"image_17012025_19_55_46_5178.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/47faff5d9009d17723684dd0ef7fc1b5.jpg","text":"TemporaryFile(/tmp/multipartBody7133757300232599952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140235388,"filename":"image_17012025_19_55_41_6410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329546792","file1":"1329546787","file0":"1329546785","file4":"1329546804","file5":"1329546810","file3":"1329546799"},"map_files_photo_id_array":[{"photo_id":"1329546810","filename":"file5"},{"photo_id":"1329546792","filename":"file2"},{"photo_id":"1329546804","filename":"file4"},{"photo_id":"1329546787","filename":"file1"},{"photo_id":"1329546785","filename":"file0"},{"photo_id":"1329546799","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329546810":["hashtag1","hashtag2"]},{"1329546804":["hashtag1","hashtag2"]},{"1329546785":["hashtag1","hashtag2"]},{"1329546799":["hashtag1","hashtag2"]},{"1329546787":["hashtag1","hashtag2"]},{"1329546792":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329546810, 1329546804, 1329546785, 1329546799, 1329546787, 1329546792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.27421545982361 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:57:02.893626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/56/image_17012025_19_56_52_6205.jpg', '/media/data/images/17012025/19/56/image_17012025_19_56_46_6425.jpg', '/media/data/images/17012025/19/56/image_17012025_19_56_40_5164.jpg', '/media/data/images/17012025/19/56/image_17012025_19_56_35_6389.jpg', '/media/data/images/17012025/19/56/image_17012025_19_56_28_6371.jpg', '/media/data/images/17012025/19/56/image_17012025_19_56_22_5155.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/56/image_17012025_19_56_52_6205.jpg
/media/data/images/17012025/19/56/image_17012025_19_56_46_6425.jpg
/media/data/images/17012025/19/56/image_17012025_19_56_40_5164.jpg
/media/data/images/17012025/19/56/image_17012025_19_56_35_6389.jpg
/media/data/images/17012025/19/56/image_17012025_19_56_28_6371.jpg
/media/data/images/17012025/19/56/image_17012025_19_56_22_5155.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329546846","1329546849","1329546863","1329546851","1329546856","1329546844"],"photo_ids_order":["1329546844","1329546846","1329546849","1329546851","1329546856","1329546863"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0c0a5c4a9b6fa103993af4377b3f799b.jpg","text":"TemporaryFile(/tmp/multipartBody7238808020251175504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140299758,"filename":"image_17012025_19_56_46_6425.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/47b77ba67847f76153daa6e851c36b20.jpg","text":"TemporaryFile(/tmp/multipartBody6092650360163256132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140299758,"filename":"image_17012025_19_56_40_5164.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4379da4417499c79ff2c652874a51284.jpg","text":"TemporaryFile(/tmp/multipartBody6568369562745288363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140299758,"filename":"image_17012025_19_56_22_5155.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c233d7b764961159b26ec1865e02abc3.jpg","text":"TemporaryFile(/tmp/multipartBody7274494873742551321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140299758,"filename":"image_17012025_19_56_35_6389.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0583e675d0940b8993bcdeb11a86a503.jpg","text":"TemporaryFile(/tmp/multipartBody222372164381801109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140299758,"filename":"image_17012025_19_56_28_6371.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1ed12fd7eb949a4c2baa939ccd11f91a.jpg","text":"TemporaryFile(/tmp/multipartBody7961969864642377997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140299758,"filename":"image_17012025_19_56_52_6205.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329546849","file1":"1329546846","file0":"1329546844","file4":"1329546856","file5":"1329546863","file3":"1329546851"},"map_files_photo_id_array":[{"photo_id":"1329546863","filename":"file5"},{"photo_id":"1329546849","filename":"file2"},{"photo_id":"1329546856","filename":"file4"},{"photo_id":"1329546846","filename":"file1"},{"photo_id":"1329546844","filename":"file0"},{"photo_id":"1329546851","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329546846":["hashtag1","hashtag2"]},{"1329546849":["hashtag1","hashtag2"]},{"1329546863":["hashtag1","hashtag2"]},{"1329546851":["hashtag1","hashtag2"]},{"1329546856":["hashtag1","hashtag2"]},{"1329546844":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329546846, 1329546849, 1329546863, 1329546851, 1329546856, 1329546844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.87097954750061 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 19:59:02.510200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/58/image_17012025_19_58_52_6377.jpg', '/media/data/images/17012025/19/58/image_17012025_19_58_46_6373.jpg', '/media/data/images/17012025/19/58/image_17012025_19_58_40_5177.jpg', '/media/data/images/17012025/19/58/image_17012025_19_58_35_6397.jpg', '/media/data/images/17012025/19/58/image_17012025_19_58_28_6375.jpg', '/media/data/images/17012025/19/58/image_17012025_19_58_22_5231.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/58/image_17012025_19_58_52_6377.jpg
/media/data/images/17012025/19/58/image_17012025_19_58_46_6373.jpg
/media/data/images/17012025/19/58/image_17012025_19_58_40_5177.jpg
/media/data/images/17012025/19/58/image_17012025_19_58_35_6397.jpg
/media/data/images/17012025/19/58/image_17012025_19_58_28_6375.jpg
/media/data/images/17012025/19/58/image_17012025_19_58_22_5231.jpg
2025-01-17 19:59:02.750074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/58/image_17012025_19_58_52_6377.jpg', '/media/data/images/17012025/19/58/image_17012025_19_58_46_6373.jpg', '/media/data/images/17012025/19/58/image_17012025_19_58_40_5177.jpg', '/media/data/images/17012025/19/58/image_17012025_19_58_35_6397.jpg', '/media/data/images/17012025/19/58/image_17012025_19_58_28_6375.jpg', '/media/data/images/17012025/19/58/image_17012025_19_58_22_5231.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/58/image_17012025_19_58_52_6377.jpg
/media/data/images/17012025/19/58/image_17012025_19_58_46_6373.jpg
/media/data/images/17012025/19/58/image_17012025_19_58_40_5177.jpg
/media/data/images/17012025/19/58/image_17012025_19_58_35_6397.jpg
/media/data/images/17012025/19/58/image_17012025_19_58_28_6375.jpg
/media/data/images/17012025/19/58/image_17012025_19_58_22_5231.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329547472","1329547211","1329547126","1329547299","1329547389","1329547038"],"photo_ids_order":["1329547038","1329547126","1329547211","1329547299","1329547389","1329547472"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/389b5347be2e250df33e475fae6f59a8.jpg","text":"TemporaryFile(/tmp/multipartBody6259838072119722834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140424789,"filename":"image_17012025_19_58_22_5231.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b6c2a3d27d6abc734402378849ef11ed.jpg","text":"TemporaryFile(/tmp/multipartBody601820016477244856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140424789,"filename":"image_17012025_19_58_40_5177.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f382384d6d0ccd6556046ba6790012d1.jpg","text":"TemporaryFile(/tmp/multipartBody8899700109009932876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140424789,"filename":"image_17012025_19_58_46_6373.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fbc65439a8b00fcc681bb7ab46065630.jpg","text":"TemporaryFile(/tmp/multipartBody4245743655725630748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140424789,"filename":"image_17012025_19_58_35_6397.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f7a162d2a8c6ed950c8e9cd5326af867.jpg","text":"TemporaryFile(/tmp/multipartBody2957478278239678543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140424789,"filename":"image_17012025_19_58_28_6375.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e514213d0786bd527b5197f8a2f348a6.jpg","text":"TemporaryFile(/tmp/multipartBody2386110662408550623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140424789,"filename":"image_17012025_19_58_52_6377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329547211","file1":"1329547126","file0":"1329547038","file4":"1329547389","file5":"1329547472","file3":"1329547299"},"map_files_photo_id_array":[{"photo_id":"1329547472","filename":"file5"},{"photo_id":"1329547211","filename":"file2"},{"photo_id":"1329547389","filename":"file4"},{"photo_id":"1329547126","filename":"file1"},{"photo_id":"1329547038","filename":"file0"},{"photo_id":"1329547299","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329547472":["hashtag1","hashtag2"]},{"1329547211":["hashtag1","hashtag2"]},{"1329547126":["hashtag1","hashtag2"]},{"1329547299":["hashtag1","hashtag2"]},{"1329547389":["hashtag1","hashtag2"]},{"1329547038":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329547472, 1329547211, 1329547126, 1329547299, 1329547389, 1329547038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.39848232269287 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329547091","1329547430","1329547169","1329547340","1329547255","1329547519"],"photo_ids_order":["1329547091","1329547169","1329547255","1329547340","1329547430","1329547519"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/53afea53163264a6b7a7e272ce3fedae.jpg","text":"TemporaryFile(/tmp/multipartBody6390488325618796707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140426753,"filename":"image_17012025_19_58_52_6377.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b1802326195d17b1ae3aa574ed0cceac.jpg","text":"TemporaryFile(/tmp/multipartBody3730271293816416847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140426753,"filename":"image_17012025_19_58_28_6375.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b3235707943a1f306c8eb053ddeba2af.jpg","text":"TemporaryFile(/tmp/multipartBody3418275639206715458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140426753,"filename":"image_17012025_19_58_46_6373.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/761e4f77c31cb7bfb2d0a46bba6a6476.jpg","text":"TemporaryFile(/tmp/multipartBody6133000357058636982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140426753,"filename":"image_17012025_19_58_35_6397.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/20b38b427c844d8b45ae17684ac1ff94.jpg","text":"TemporaryFile(/tmp/multipartBody9011523507274062768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140426753,"filename":"image_17012025_19_58_40_5177.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/71169ad81c38558b17eed637cb41d7c1.jpg","text":"TemporaryFile(/tmp/multipartBody1294724575933954438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140426753,"filename":"image_17012025_19_58_22_5231.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329547255","file1":"1329547169","file0":"1329547091","file4":"1329547430","file5":"1329547519","file3":"1329547340"},"map_files_photo_id_array":[{"photo_id":"1329547519","filename":"file5"},{"photo_id":"1329547255","filename":"file2"},{"photo_id":"1329547430","filename":"file4"},{"photo_id":"1329547169","filename":"file1"},{"photo_id":"1329547091","filename":"file0"},{"photo_id":"1329547340","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329547091":["hashtag1","hashtag2"]},{"1329547430":["hashtag1","hashtag2"]},{"1329547169":["hashtag1","hashtag2"]},{"1329547340":["hashtag1","hashtag2"]},{"1329547255":["hashtag1","hashtag2"]},{"1329547519":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329547091, 1329547430, 1329547169, 1329547340, 1329547255, 1329547519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.35029911994934 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:00:02.275297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/59/image_17012025_19_59_53_6381.jpg', '/media/data/images/17012025/19/59/image_17012025_19_59_46_6387.jpg', '/media/data/images/17012025/19/59/image_17012025_19_59_40_5094.jpg', '/media/data/images/17012025/19/59/image_17012025_19_59_35_6393.jpg', '/media/data/images/17012025/19/59/image_17012025_19_59_28_6355.jpg', '/media/data/images/17012025/19/59/image_17012025_19_59_22_6345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/59/image_17012025_19_59_53_6381.jpg
/media/data/images/17012025/19/59/image_17012025_19_59_46_6387.jpg
/media/data/images/17012025/19/59/image_17012025_19_59_40_5094.jpg
/media/data/images/17012025/19/59/image_17012025_19_59_35_6393.jpg
/media/data/images/17012025/19/59/image_17012025_19_59_28_6355.jpg
/media/data/images/17012025/19/59/image_17012025_19_59_22_6345.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329547691","1329547685","1329547682","1329547679","1329547695","1329547689"],"photo_ids_order":["1329547679","1329547682","1329547685","1329547689","1329547691","1329547695"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/11eb89d300d1f1ea74f2567990ea1736.jpg","text":"TemporaryFile(/tmp/multipartBody8437494063564477640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140468757,"filename":"image_17012025_19_59_28_6355.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/833d0f3d9653ae208e1fc1ba8d22d2a7.jpg","text":"TemporaryFile(/tmp/multipartBody3975600607715347621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140468757,"filename":"image_17012025_19_59_40_5094.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f502beb6f025e963146e3c7f1e5361d3.jpg","text":"TemporaryFile(/tmp/multipartBody6801058125187207749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140468757,"filename":"image_17012025_19_59_46_6387.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/028cdf044697d102cc0c3155c4356b77.jpg","text":"TemporaryFile(/tmp/multipartBody3872110773689549749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140468757,"filename":"image_17012025_19_59_53_6381.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/45a5706fe3919f50c3f86899f154ce05.jpg","text":"TemporaryFile(/tmp/multipartBody1628425064408519337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140468757,"filename":"image_17012025_19_59_22_6345.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/77b2c4386c5a5871f1ce10762b4c6cb6.jpg","text":"TemporaryFile(/tmp/multipartBody979091831077316090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140468757,"filename":"image_17012025_19_59_35_6393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329547685","file1":"1329547682","file0":"1329547679","file4":"1329547691","file5":"1329547695","file3":"1329547689"},"map_files_photo_id_array":[{"photo_id":"1329547695","filename":"file5"},{"photo_id":"1329547685","filename":"file2"},{"photo_id":"1329547691","filename":"file4"},{"photo_id":"1329547682","filename":"file1"},{"photo_id":"1329547679","filename":"file0"},{"photo_id":"1329547689","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329547691":["hashtag1","hashtag2"]},{"1329547685":["hashtag1","hashtag2"]},{"1329547682":["hashtag1","hashtag2"]},{"1329547679":["hashtag1","hashtag2"]},{"1329547695":["hashtag1","hashtag2"]},{"1329547689":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329547691, 1329547685, 1329547682, 1329547679, 1329547695, 1329547689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.71360659599304 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:00:42.008273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/00/image_17012025_20_00_52_5173.jpg', '/media/data/images/17012025/20/00/image_17012025_20_00_47_6380.jpg', '/media/data/images/17012025/20/00/image_17012025_20_00_40_6394.jpg', '/media/data/images/17012025/20/00/image_17012025_20_00_34_5174.jpg', '/media/data/images/17012025/20/00/image_17012025_20_00_29_6384.jpg', '/media/data/images/17012025/20/00/image_17012025_20_00_22_6424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/00/image_17012025_20_00_52_5173.jpg
/media/data/images/17012025/20/00/image_17012025_20_00_47_6380.jpg
/media/data/images/17012025/20/00/image_17012025_20_00_40_6394.jpg
/media/data/images/17012025/20/00/image_17012025_20_00_34_5174.jpg
/media/data/images/17012025/20/00/image_17012025_20_00_29_6384.jpg
/media/data/images/17012025/20/00/image_17012025_20_00_22_6424.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329548245","1329548199","1329548274","1329547776","1329547857","1329548013"],"photo_ids_order":["1329547776","1329547857","1329548013","1329548199","1329548245","1329548274"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ef623abc7fef89f18939b90df52f4dce.jpg","text":"TemporaryFile(/tmp/multipartBody6598746921751559182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140523965,"filename":"image_17012025_20_00_29_6384.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/26fa04874c493daab69f9b5d0fa6e26d.jpg","text":"TemporaryFile(/tmp/multipartBody5160402182800523930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140523965,"filename":"image_17012025_20_00_34_5174.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/26f13d49e707ee81cd12891fc0dbf5ce.jpg","text":"TemporaryFile(/tmp/multipartBody7066632401723644125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140523965,"filename":"image_17012025_20_00_22_6424.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cfefee7b20f1bffbad2844ac7e5f433f.jpg","text":"TemporaryFile(/tmp/multipartBody3960826473839951218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140523965,"filename":"image_17012025_20_00_52_5173.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c2d6c7a1960037f73094a4d2326c6068.jpg","text":"TemporaryFile(/tmp/multipartBody8476138212332852836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140523965,"filename":"image_17012025_20_00_47_6380.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e25681753bc25323610345491096a259.jpg","text":"TemporaryFile(/tmp/multipartBody4089072592173863122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140523965,"filename":"image_17012025_20_00_40_6394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329548013","file1":"1329547857","file0":"1329547776","file4":"1329548245","file5":"1329548274","file3":"1329548199"},"map_files_photo_id_array":[{"photo_id":"1329548274","filename":"file5"},{"photo_id":"1329548013","filename":"file2"},{"photo_id":"1329548245","filename":"file4"},{"photo_id":"1329547857","filename":"file1"},{"photo_id":"1329547776","filename":"file0"},{"photo_id":"1329548199","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329548245":["hashtag1","hashtag2"]},{"1329548199":["hashtag1","hashtag2"]},{"1329548274":["hashtag1","hashtag2"]},{"1329547776":["hashtag1","hashtag2"]},{"1329547857":["hashtag1","hashtag2"]},{"1329548013":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329548245, 1329548199, 1329548274, 1329547776, 1329547857, 1329548013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.418095111846924 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:02:02.407048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/01/image_17012025_20_01_52_6428.jpg', '/media/data/images/17012025/20/01/image_17012025_20_01_46_5208.jpg', '/media/data/images/17012025/20/01/image_17012025_20_01_41_6394.jpg', '/media/data/images/17012025/20/01/image_17012025_20_01_34_6380.jpg', '/media/data/images/17012025/20/01/image_17012025_20_01_28_5202.jpg', '/media/data/images/17012025/20/01/image_17012025_20_01_23_6391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/01/image_17012025_20_01_52_6428.jpg
/media/data/images/17012025/20/01/image_17012025_20_01_46_5208.jpg
/media/data/images/17012025/20/01/image_17012025_20_01_41_6394.jpg
/media/data/images/17012025/20/01/image_17012025_20_01_34_6380.jpg
/media/data/images/17012025/20/01/image_17012025_20_01_28_5202.jpg
/media/data/images/17012025/20/01/image_17012025_20_01_23_6391.jpg
 val : 1 : upload photos already in processing! 
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: 22.242795944213867 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:02:42.194075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/02/image_17012025_20_02_53_6381.jpg', '/media/data/images/17012025/20/02/image_17012025_20_02_46_6413.jpg', '/media/data/images/17012025/20/02/image_17012025_20_02_40_5183.jpg', '/media/data/images/17012025/20/02/image_17012025_20_02_35_6411.jpg', '/media/data/images/17012025/20/02/image_17012025_20_02_28_6406.jpg', '/media/data/images/17012025/20/02/image_17012025_20_02_22_5157.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/02/image_17012025_20_02_53_6381.jpg
/media/data/images/17012025/20/02/image_17012025_20_02_46_6413.jpg
/media/data/images/17012025/20/02/image_17012025_20_02_40_5183.jpg
/media/data/images/17012025/20/02/image_17012025_20_02_35_6411.jpg
/media/data/images/17012025/20/02/image_17012025_20_02_28_6406.jpg
/media/data/images/17012025/20/02/image_17012025_20_02_22_5157.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329548918","1329548893","1329548863","1329548914","1329548781","1329548910"],"photo_ids_order":["1329548781","1329548863","1329548893","1329548910","1329548914","1329548918"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7479f33658139818720730967fdd6232.jpg","text":"TemporaryFile(/tmp/multipartBody5868378669114716926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140630293,"filename":"image_17012025_20_02_22_5157.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8c4d92ab2d2a31e5186ca45afb41282c.jpg","text":"TemporaryFile(/tmp/multipartBody841909300602418698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140630293,"filename":"image_17012025_20_02_40_5183.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2aaa203ee8849706302db14845d0fe70.jpg","text":"TemporaryFile(/tmp/multipartBody3721226127187814607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140630293,"filename":"image_17012025_20_02_46_6413.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5da6af6e5a68033747dc1931dfa64caa.jpg","text":"TemporaryFile(/tmp/multipartBody7122671400392542272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140630293,"filename":"image_17012025_20_02_28_6406.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/655132d7826eae14ab177316d3f3589a.jpg","text":"TemporaryFile(/tmp/multipartBody160466147037065505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140630293,"filename":"image_17012025_20_02_53_6381.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/202701f456aa96ed1e15bc3327caf547.jpg","text":"TemporaryFile(/tmp/multipartBody8988541200581360325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140630293,"filename":"image_17012025_20_02_35_6411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329548893","file1":"1329548863","file0":"1329548781","file4":"1329548914","file5":"1329548918","file3":"1329548910"},"map_files_photo_id_array":[{"photo_id":"1329548918","filename":"file5"},{"photo_id":"1329548893","filename":"file2"},{"photo_id":"1329548914","filename":"file4"},{"photo_id":"1329548863","filename":"file1"},{"photo_id":"1329548781","filename":"file0"},{"photo_id":"1329548910","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329548918":["hashtag1","hashtag2"]},{"1329548893":["hashtag1","hashtag2"]},{"1329548863":["hashtag1","hashtag2"]},{"1329548914":["hashtag1","hashtag2"]},{"1329548781":["hashtag1","hashtag2"]},{"1329548910":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329548918, 1329548893, 1329548863, 1329548914, 1329548781, 1329548910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.52311730384827 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:03:42.297190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/03/image_17012025_20_03_52_5184.jpg', '/media/data/images/17012025/20/03/image_17012025_20_03_47_6421.jpg', '/media/data/images/17012025/20/03/image_17012025_20_03_40_6422.jpg', '/media/data/images/17012025/20/03/image_17012025_20_03_34_5195.jpg', '/media/data/images/17012025/20/03/image_17012025_20_03_29_6422.jpg', '/media/data/images/17012025/20/03/image_17012025_20_03_22_6446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/03/image_17012025_20_03_52_5184.jpg
/media/data/images/17012025/20/03/image_17012025_20_03_47_6421.jpg
/media/data/images/17012025/20/03/image_17012025_20_03_40_6422.jpg
/media/data/images/17012025/20/03/image_17012025_20_03_34_5195.jpg
/media/data/images/17012025/20/03/image_17012025_20_03_29_6422.jpg
/media/data/images/17012025/20/03/image_17012025_20_03_22_6446.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329548992","1329548986","1329548989","1329548968","1329548970","1329548961"],"photo_ids_order":["1329548961","1329548968","1329548970","1329548986","1329548989","1329548992"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8f12f6d06200377533b0dee2baf01dc3.jpg","text":"TemporaryFile(/tmp/multipartBody3858774388473767818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140690805,"filename":"image_17012025_20_03_22_6446.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7b7b4d5295995788029bc05c1d8ab669.jpg","text":"TemporaryFile(/tmp/multipartBody1142767125562442997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140690805,"filename":"image_17012025_20_03_34_5195.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4a72a499f156450c0cf78177b3fb62d4.jpg","text":"TemporaryFile(/tmp/multipartBody8755589271632661003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140690805,"filename":"image_17012025_20_03_29_6422.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f03a25a52b3ac1530ec51fdae0d2c8b1.jpg","text":"TemporaryFile(/tmp/multipartBody6549238426956675805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140690805,"filename":"image_17012025_20_03_47_6421.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/258b95d6ac385cf83641950614becae3.jpg","text":"TemporaryFile(/tmp/multipartBody2200967450469282302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140690805,"filename":"image_17012025_20_03_40_6422.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8a40763d2961404ed4974f0e9e554166.jpg","text":"TemporaryFile(/tmp/multipartBody2164811298677991596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140690805,"filename":"image_17012025_20_03_52_5184.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329548970","file1":"1329548968","file0":"1329548961","file4":"1329548989","file5":"1329548992","file3":"1329548986"},"map_files_photo_id_array":[{"photo_id":"1329548992","filename":"file5"},{"photo_id":"1329548970","filename":"file2"},{"photo_id":"1329548989","filename":"file4"},{"photo_id":"1329548968","filename":"file1"},{"photo_id":"1329548961","filename":"file0"},{"photo_id":"1329548986","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329548992":["hashtag1","hashtag2"]},{"1329548986":["hashtag1","hashtag2"]},{"1329548989":["hashtag1","hashtag2"]},{"1329548968":["hashtag1","hashtag2"]},{"1329548970":["hashtag1","hashtag2"]},{"1329548961":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329548992, 1329548986, 1329548989, 1329548968, 1329548970, 1329548961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.41583728790283 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:04:42.406613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/04/image_17012025_20_04_52_5173.jpg', '/media/data/images/17012025/20/04/image_17012025_20_04_47_6385.jpg', '/media/data/images/17012025/20/04/image_17012025_20_04_40_6386.jpg', '/media/data/images/17012025/20/04/image_17012025_20_04_34_6358.jpg', '/media/data/images/17012025/20/04/image_17012025_20_04_28_5170.jpg', '/media/data/images/17012025/20/04/image_17012025_20_04_22_6396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/04/image_17012025_20_04_52_5173.jpg
/media/data/images/17012025/20/04/image_17012025_20_04_47_6385.jpg
/media/data/images/17012025/20/04/image_17012025_20_04_40_6386.jpg
/media/data/images/17012025/20/04/image_17012025_20_04_34_6358.jpg
/media/data/images/17012025/20/04/image_17012025_20_04_28_5170.jpg
/media/data/images/17012025/20/04/image_17012025_20_04_22_6396.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329549064","1329549049","1329549058","1329549054","1329549068","1329549062"],"photo_ids_order":["1329549049","1329549054","1329549058","1329549062","1329549064","1329549068"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8909b9981af3f3c27e21370d4913b522.jpg","text":"TemporaryFile(/tmp/multipartBody3794702528342106281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140755308,"filename":"image_17012025_20_04_28_5170.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1c262781e376a115e9135cbf842ff50f.jpg","text":"TemporaryFile(/tmp/multipartBody8999627276067719147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140755308,"filename":"image_17012025_20_04_52_5173.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/84d141a6f270f5c756df7253eca6a8c7.jpg","text":"TemporaryFile(/tmp/multipartBody240709197511741076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140755308,"filename":"image_17012025_20_04_40_6386.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b3bdfd89b37e8aaacf93b79e28c49fb8.jpg","text":"TemporaryFile(/tmp/multipartBody1347014850245968602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140755308,"filename":"image_17012025_20_04_47_6385.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/eec26ddefe097d0d3a81d94b886e207a.jpg","text":"TemporaryFile(/tmp/multipartBody3063899831937903481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140755308,"filename":"image_17012025_20_04_22_6396.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d596389a912454f4f5e521a840e63370.jpg","text":"TemporaryFile(/tmp/multipartBody4815812142324660629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140755308,"filename":"image_17012025_20_04_34_6358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329549058","file1":"1329549054","file0":"1329549049","file4":"1329549064","file5":"1329549068","file3":"1329549062"},"map_files_photo_id_array":[{"photo_id":"1329549068","filename":"file5"},{"photo_id":"1329549058","filename":"file2"},{"photo_id":"1329549064","filename":"file4"},{"photo_id":"1329549054","filename":"file1"},{"photo_id":"1329549049","filename":"file0"},{"photo_id":"1329549062","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329549064":["hashtag1","hashtag2"]},{"1329549049":["hashtag1","hashtag2"]},{"1329549058":["hashtag1","hashtag2"]},{"1329549054":["hashtag1","hashtag2"]},{"1329549068":["hashtag1","hashtag2"]},{"1329549062":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329549064, 1329549049, 1329549058, 1329549054, 1329549068, 1329549062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.68018627166748 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:05:42.494078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/05/image_17012025_20_05_52_5147.jpg', '/media/data/images/17012025/20/05/image_17012025_20_05_47_6402.jpg', '/media/data/images/17012025/20/05/image_17012025_20_05_40_6408.jpg', '/media/data/images/17012025/20/05/image_17012025_20_05_34_5144.jpg', '/media/data/images/17012025/20/05/image_17012025_20_05_29_6389.jpg', '/media/data/images/17012025/20/05/image_17012025_20_05_22_6385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/05/image_17012025_20_05_52_5147.jpg
/media/data/images/17012025/20/05/image_17012025_20_05_47_6402.jpg
/media/data/images/17012025/20/05/image_17012025_20_05_40_6408.jpg
/media/data/images/17012025/20/05/image_17012025_20_05_34_5144.jpg
/media/data/images/17012025/20/05/image_17012025_20_05_29_6389.jpg
/media/data/images/17012025/20/05/image_17012025_20_05_22_6385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329549109","1329549130","1329549112","1329549106","1329549114","1329549102"],"photo_ids_order":["1329549102","1329549106","1329549109","1329549112","1329549114","1329549130"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c18da04bfe5c7cfd55c144a79677f2b9.jpg","text":"TemporaryFile(/tmp/multipartBody4336522015153596838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140811138,"filename":"image_17012025_20_05_40_6408.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a440dec879bf56d10b979d87da508e65.jpg","text":"TemporaryFile(/tmp/multipartBody8421310446458857439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140811138,"filename":"image_17012025_20_05_22_6385.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1e1b7cf9f0d9a9cbbfd60ff3eab08e4f.jpg","text":"TemporaryFile(/tmp/multipartBody8860143465001369651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140811138,"filename":"image_17012025_20_05_34_5144.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5ac14ebfba9654bb0576dda62d8e63b9.jpg","text":"TemporaryFile(/tmp/multipartBody5424987625924178335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140811138,"filename":"image_17012025_20_05_47_6402.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/28575c2b0793fa47c73efcdcca976a96.jpg","text":"TemporaryFile(/tmp/multipartBody2514972442187182376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140811138,"filename":"image_17012025_20_05_29_6389.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/52da9647efbffb5462008101bffed2ed.jpg","text":"TemporaryFile(/tmp/multipartBody4004982503299784663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140811138,"filename":"image_17012025_20_05_52_5147.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329549109","file1":"1329549106","file0":"1329549102","file4":"1329549114","file5":"1329549130","file3":"1329549112"},"map_files_photo_id_array":[{"photo_id":"1329549130","filename":"file5"},{"photo_id":"1329549109","filename":"file2"},{"photo_id":"1329549114","filename":"file4"},{"photo_id":"1329549106","filename":"file1"},{"photo_id":"1329549102","filename":"file0"},{"photo_id":"1329549112","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329549109":["hashtag1","hashtag2"]},{"1329549130":["hashtag1","hashtag2"]},{"1329549112":["hashtag1","hashtag2"]},{"1329549106":["hashtag1","hashtag2"]},{"1329549114":["hashtag1","hashtag2"]},{"1329549102":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329549109, 1329549130, 1329549112, 1329549106, 1329549114, 1329549102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.96881818771362 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:06:42.581025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/06/image_17012025_20_06_52_6402.jpg', '/media/data/images/17012025/20/06/image_17012025_20_06_46_5196.jpg', '/media/data/images/17012025/20/06/image_17012025_20_06_41_6380.jpg', '/media/data/images/17012025/20/06/image_17012025_20_06_34_6397.jpg', '/media/data/images/17012025/20/06/image_17012025_20_06_28_5173.jpg', '/media/data/images/17012025/20/06/image_17012025_20_06_23_6397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/06/image_17012025_20_06_52_6402.jpg
/media/data/images/17012025/20/06/image_17012025_20_06_46_5196.jpg
/media/data/images/17012025/20/06/image_17012025_20_06_41_6380.jpg
/media/data/images/17012025/20/06/image_17012025_20_06_34_6397.jpg
/media/data/images/17012025/20/06/image_17012025_20_06_28_5173.jpg
/media/data/images/17012025/20/06/image_17012025_20_06_23_6397.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329549503","1329549514","1329549418","1329549450","1329549461","1329549437"],"photo_ids_order":["1329549418","1329549437","1329549450","1329549461","1329549503","1329549514"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5433380b237f9b8cce5d61734bf17a53.jpg","text":"TemporaryFile(/tmp/multipartBody3063888759321549978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140869445,"filename":"image_17012025_20_06_28_5173.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8388b57053737ad4adc99cf6c7cd0ea3.jpg","text":"TemporaryFile(/tmp/multipartBody1293636681950188227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140869445,"filename":"image_17012025_20_06_23_6397.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/721009ab3c1b18ea7b6cf86d28b6bb01.jpg","text":"TemporaryFile(/tmp/multipartBody4656056203682369949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140869445,"filename":"image_17012025_20_06_52_6402.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1e26ee5eb63978a024904147ee161956.jpg","text":"TemporaryFile(/tmp/multipartBody3179590768814575010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140869445,"filename":"image_17012025_20_06_41_6380.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c3a41dd8f02c26160086b25fc56e3ddd.jpg","text":"TemporaryFile(/tmp/multipartBody1408059891403093637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140869445,"filename":"image_17012025_20_06_34_6397.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ff873f5e64014c34fc2a330064658583.jpg","text":"TemporaryFile(/tmp/multipartBody9097971955316007881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140869445,"filename":"image_17012025_20_06_46_5196.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329549450","file1":"1329549437","file0":"1329549418","file4":"1329549503","file5":"1329549514","file3":"1329549461"},"map_files_photo_id_array":[{"photo_id":"1329549514","filename":"file5"},{"photo_id":"1329549450","filename":"file2"},{"photo_id":"1329549503","filename":"file4"},{"photo_id":"1329549437","filename":"file1"},{"photo_id":"1329549418","filename":"file0"},{"photo_id":"1329549461","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329549503":["hashtag1","hashtag2"]},{"1329549514":["hashtag1","hashtag2"]},{"1329549418":["hashtag1","hashtag2"]},{"1329549450":["hashtag1","hashtag2"]},{"1329549461":["hashtag1","hashtag2"]},{"1329549437":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329549503, 1329549514, 1329549418, 1329549450, 1329549461, 1329549437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.42294502258301 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:07:42.674125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/07/image_17012025_20_07_52_6401.jpg', '/media/data/images/17012025/20/07/image_17012025_20_07_46_5213.jpg', '/media/data/images/17012025/20/07/image_17012025_20_07_41_6410.jpg', '/media/data/images/17012025/20/07/image_17012025_20_07_34_6410.jpg', '/media/data/images/17012025/20/07/image_17012025_20_07_28_5186.jpg', '/media/data/images/17012025/20/07/image_17012025_20_07_23_6365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/07/image_17012025_20_07_52_6401.jpg
/media/data/images/17012025/20/07/image_17012025_20_07_46_5213.jpg
/media/data/images/17012025/20/07/image_17012025_20_07_41_6410.jpg
/media/data/images/17012025/20/07/image_17012025_20_07_34_6410.jpg
/media/data/images/17012025/20/07/image_17012025_20_07_28_5186.jpg
/media/data/images/17012025/20/07/image_17012025_20_07_23_6365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329550604","1329550601","1329550630","1329550627","1329550632","1329550635"],"photo_ids_order":["1329550601","1329550604","1329550627","1329550630","1329550632","1329550635"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a4bf6e45d236accceaf0bc7966016b43.jpg","text":"TemporaryFile(/tmp/multipartBody5233676841534081837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140933067,"filename":"image_17012025_20_07_46_5213.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4340568cacc96ab2af4bceae665f304b.jpg","text":"TemporaryFile(/tmp/multipartBody5125790217169114393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140933067,"filename":"image_17012025_20_07_52_6401.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2de990910ed755604f9d1045723fba6d.jpg","text":"TemporaryFile(/tmp/multipartBody6728704861572835444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140933067,"filename":"image_17012025_20_07_34_6410.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9b6fca63a34962d02b43e2cfdb05e3b0.jpg","text":"TemporaryFile(/tmp/multipartBody4842099145116465216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140933067,"filename":"image_17012025_20_07_41_6410.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/08553c58f12a436afbaaeab293331aa5.jpg","text":"TemporaryFile(/tmp/multipartBody2236936782740376386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140933067,"filename":"image_17012025_20_07_28_5186.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/004065a446d8596ae316a52b1deb64fa.jpg","text":"TemporaryFile(/tmp/multipartBody1819649368982583326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140933067,"filename":"image_17012025_20_07_23_6365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329550627","file1":"1329550604","file0":"1329550601","file4":"1329550632","file5":"1329550635","file3":"1329550630"},"map_files_photo_id_array":[{"photo_id":"1329550635","filename":"file5"},{"photo_id":"1329550627","filename":"file2"},{"photo_id":"1329550632","filename":"file4"},{"photo_id":"1329550604","filename":"file1"},{"photo_id":"1329550601","filename":"file0"},{"photo_id":"1329550630","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329550604":["hashtag1","hashtag2"]},{"1329550601":["hashtag1","hashtag2"]},{"1329550630":["hashtag1","hashtag2"]},{"1329550627":["hashtag1","hashtag2"]},{"1329550632":["hashtag1","hashtag2"]},{"1329550635":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329550604, 1329550601, 1329550630, 1329550627, 1329550632, 1329550635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.74015498161316 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:08:41.740540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/08/image_17012025_20_08_46_6415.jpg', '/media/data/images/17012025/20/08/image_17012025_20_08_40_5193.jpg', '/media/data/images/17012025/20/08/image_17012025_20_08_34_6403.jpg', '/media/data/images/17012025/20/08/image_17012025_20_08_28_6391.jpg', '/media/data/images/17012025/20/08/image_17012025_20_08_22_5214.jpg', '/media/data/images/17012025/20/08/image_17012025_20_08_16_6434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/08/image_17012025_20_08_46_6415.jpg
/media/data/images/17012025/20/08/image_17012025_20_08_40_5193.jpg
/media/data/images/17012025/20/08/image_17012025_20_08_34_6403.jpg
/media/data/images/17012025/20/08/image_17012025_20_08_28_6391.jpg
/media/data/images/17012025/20/08/image_17012025_20_08_22_5214.jpg
/media/data/images/17012025/20/08/image_17012025_20_08_16_6434.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329550693","1329550689","1329550674","1329550896","1329550671","1329551042"],"photo_ids_order":["1329550671","1329550674","1329550689","1329550693","1329550896","1329551042"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e85ff09246223e1d034c48db7b09e145.jpg","text":"TemporaryFile(/tmp/multipartBody620145354972067618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140988458,"filename":"image_17012025_20_08_28_6391.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0dfda75ad24fca417ba0f6a535233a49.jpg","text":"TemporaryFile(/tmp/multipartBody7411903200979874543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140988458,"filename":"image_17012025_20_08_34_6403.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1580981a4c0962d4549aae3ef2b85ea4.jpg","text":"TemporaryFile(/tmp/multipartBody2703485443403783852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140988458,"filename":"image_17012025_20_08_40_5193.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8dbb5b4fb460f2d3e21a87e14c457a7c.jpg","text":"TemporaryFile(/tmp/multipartBody5574455527077902866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140988458,"filename":"image_17012025_20_08_22_5214.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/94227529ba93bed9abaaa0f563cad9f5.jpg","text":"TemporaryFile(/tmp/multipartBody2817499001029456450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140988458,"filename":"image_17012025_20_08_46_6415.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1af51fe01467ae19af73244a2bfc6798.jpg","text":"TemporaryFile(/tmp/multipartBody6333442604744839082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737140988458,"filename":"image_17012025_20_08_16_6434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329550689","file1":"1329550674","file0":"1329550671","file4":"1329550896","file5":"1329551042","file3":"1329550693"},"map_files_photo_id_array":[{"photo_id":"1329551042","filename":"file5"},{"photo_id":"1329550689","filename":"file2"},{"photo_id":"1329550896","filename":"file4"},{"photo_id":"1329550674","filename":"file1"},{"photo_id":"1329550671","filename":"file0"},{"photo_id":"1329550693","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329550693":["hashtag1","hashtag2"]},{"1329550689":["hashtag1","hashtag2"]},{"1329550674":["hashtag1","hashtag2"]},{"1329550896":["hashtag1","hashtag2"]},{"1329550671":["hashtag1","hashtag2"]},{"1329551042":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329550693, 1329550689, 1329550674, 1329550896, 1329550671, 1329551042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.21362638473511 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:09:21.852113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/09/image_17012025_20_09_52_5237.jpg', '/media/data/images/17012025/20/09/image_17012025_20_09_47_6436.jpg', '/media/data/images/17012025/20/09/image_17012025_20_09_40_6415.jpg', '/media/data/images/17012025/20/09/image_17012025_20_09_34_5195.jpg', '/media/data/images/17012025/20/09/image_17012025_20_09_28_6573.jpg', '/media/data/images/17012025/20/09/image_17012025_20_09_10_5360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/09/image_17012025_20_09_52_5237.jpg
/media/data/images/17012025/20/09/image_17012025_20_09_47_6436.jpg
/media/data/images/17012025/20/09/image_17012025_20_09_40_6415.jpg
/media/data/images/17012025/20/09/image_17012025_20_09_34_5195.jpg
/media/data/images/17012025/20/09/image_17012025_20_09_28_6573.jpg
/media/data/images/17012025/20/09/image_17012025_20_09_10_5360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329551110","1329551190","1329551151","1329551115","1329551103","1329551106"],"photo_ids_order":["1329551103","1329551106","1329551110","1329551115","1329551151","1329551190"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e4d6361ed6c130c9038d7a58fff17076.jpg","text":"TemporaryFile(/tmp/multipartBody3670514867111027842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141030737,"filename":"image_17012025_20_09_40_6415.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fd6513aa9876833739566591637abf31.jpg","text":"TemporaryFile(/tmp/multipartBody9021697738518566496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141030737,"filename":"image_17012025_20_09_10_5360.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e779c666adbde73d224484d737d52e27.jpg","text":"TemporaryFile(/tmp/multipartBody8484786326650052392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141030737,"filename":"image_17012025_20_09_28_6573.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6eadd87b972a043b3285e5e709eb6ffe.jpg","text":"TemporaryFile(/tmp/multipartBody2554044423027531921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141030737,"filename":"image_17012025_20_09_34_5195.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9df043c9301d1d61dcb6404554b2fe7b.jpg","text":"TemporaryFile(/tmp/multipartBody5936360075570038342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141030737,"filename":"image_17012025_20_09_52_5237.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0de8e8213de96d44e94483c90bf6d97c.jpg","text":"TemporaryFile(/tmp/multipartBody963630240314231348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141030737,"filename":"image_17012025_20_09_47_6436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329551110","file1":"1329551106","file0":"1329551103","file4":"1329551151","file5":"1329551190","file3":"1329551115"},"map_files_photo_id_array":[{"photo_id":"1329551190","filename":"file5"},{"photo_id":"1329551110","filename":"file2"},{"photo_id":"1329551151","filename":"file4"},{"photo_id":"1329551106","filename":"file1"},{"photo_id":"1329551103","filename":"file0"},{"photo_id":"1329551115","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329551110":["hashtag1","hashtag2"]},{"1329551190":["hashtag1","hashtag2"]},{"1329551151":["hashtag1","hashtag2"]},{"1329551115":["hashtag1","hashtag2"]},{"1329551103":["hashtag1","hashtag2"]},{"1329551106":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329551110, 1329551190, 1329551151, 1329551115, 1329551103, 1329551106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.17045259475708 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:10:21.959935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/10/image_17012025_20_10_53_6405.jpg', '/media/data/images/17012025/20/10/image_17012025_20_10_46_6421.jpg', '/media/data/images/17012025/20/10/image_17012025_20_10_40_5206.jpg', '/media/data/images/17012025/20/10/image_17012025_20_10_34_6443.jpg', '/media/data/images/17012025/20/10/image_17012025_20_10_28_5186.jpg', '/media/data/images/17012025/20/10/image_17012025_20_10_23_6388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/10/image_17012025_20_10_53_6405.jpg
/media/data/images/17012025/20/10/image_17012025_20_10_46_6421.jpg
/media/data/images/17012025/20/10/image_17012025_20_10_40_5206.jpg
/media/data/images/17012025/20/10/image_17012025_20_10_34_6443.jpg
/media/data/images/17012025/20/10/image_17012025_20_10_28_5186.jpg
/media/data/images/17012025/20/10/image_17012025_20_10_23_6388.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329551239","1329551244","1329551247","1329551231","1329551234","1329551228"],"photo_ids_order":["1329551228","1329551231","1329551234","1329551239","1329551244","1329551247"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4164e2b20cab17e0a9ce510c3859e51e.jpg","text":"TemporaryFile(/tmp/multipartBody4804532393553569443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141098057,"filename":"image_17012025_20_10_34_6443.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/013326dd3d7812ac572e3d1890301366.jpg","text":"TemporaryFile(/tmp/multipartBody8410446534249494337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141098057,"filename":"image_17012025_20_10_28_5186.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2a1926c3e6bb50ae135acf3dcb38fba8.jpg","text":"TemporaryFile(/tmp/multipartBody2577441191513603283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141098057,"filename":"image_17012025_20_10_23_6388.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/19c4f80ee494923d09aaf2a816e4eefb.jpg","text":"TemporaryFile(/tmp/multipartBody298114142339213858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141098057,"filename":"image_17012025_20_10_46_6421.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f0b37f745ea22f65cd590dee3840eab7.jpg","text":"TemporaryFile(/tmp/multipartBody7530517366709562395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141098057,"filename":"image_17012025_20_10_40_5206.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9ad43155484d322a414bdf356add6259.jpg","text":"TemporaryFile(/tmp/multipartBody4155456296721733796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141098057,"filename":"image_17012025_20_10_53_6405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329551234","file1":"1329551231","file0":"1329551228","file4":"1329551244","file5":"1329551247","file3":"1329551239"},"map_files_photo_id_array":[{"photo_id":"1329551247","filename":"file5"},{"photo_id":"1329551234","filename":"file2"},{"photo_id":"1329551244","filename":"file4"},{"photo_id":"1329551231","filename":"file1"},{"photo_id":"1329551228","filename":"file0"},{"photo_id":"1329551239","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329551239":["hashtag1","hashtag2"]},{"1329551244":["hashtag1","hashtag2"]},{"1329551247":["hashtag1","hashtag2"]},{"1329551231":["hashtag1","hashtag2"]},{"1329551234":["hashtag1","hashtag2"]},{"1329551228":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329551239, 1329551244, 1329551247, 1329551231, 1329551234, 1329551228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.51464819908142 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:11:22.086397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/11/image_17012025_20_11_53_6634.jpg', '/media/data/images/17012025/20/11/image_17012025_20_11_46_5418.jpg', '/media/data/images/17012025/20/11/image_17012025_20_11_41_6681.jpg', '/media/data/images/17012025/20/11/image_17012025_20_11_34_5371.jpg', '/media/data/images/17012025/20/11/image_17012025_20_11_29_6593.jpg', '/media/data/images/17012025/20/11/image_17012025_20_11_22_6411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/11/image_17012025_20_11_53_6634.jpg
/media/data/images/17012025/20/11/image_17012025_20_11_46_5418.jpg
/media/data/images/17012025/20/11/image_17012025_20_11_41_6681.jpg
/media/data/images/17012025/20/11/image_17012025_20_11_34_5371.jpg
/media/data/images/17012025/20/11/image_17012025_20_11_29_6593.jpg
/media/data/images/17012025/20/11/image_17012025_20_11_22_6411.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329551587","1329551554","1329551608","1329551542","1329551595","1329551591"],"photo_ids_order":["1329551542","1329551554","1329551587","1329551591","1329551595","1329551608"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a80fb4c2fd6da6e1b917113a90130517.jpg","text":"TemporaryFile(/tmp/multipartBody7557996388667814526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141162270,"filename":"image_17012025_20_11_41_6681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/87a7bcabc8908bd5a4436df6bb26f2b7.jpg","text":"TemporaryFile(/tmp/multipartBody5881257503581671947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141162270,"filename":"image_17012025_20_11_46_5418.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3512515f11953cfe6c20067516660c50.jpg","text":"TemporaryFile(/tmp/multipartBody9019655564906246243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141162270,"filename":"image_17012025_20_11_22_6411.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/686e9cfa76cb90b2441f2c41e249e729.jpg","text":"TemporaryFile(/tmp/multipartBody1274503184127945110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141162270,"filename":"image_17012025_20_11_53_6634.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/421686237b4a02dc23e30c955f5b1825.jpg","text":"TemporaryFile(/tmp/multipartBody295449737893068162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141162270,"filename":"image_17012025_20_11_29_6593.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/359a3538341480570ad77027a97f0c27.jpg","text":"TemporaryFile(/tmp/multipartBody4354677555747096292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141162270,"filename":"image_17012025_20_11_34_5371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329551587","file1":"1329551554","file0":"1329551542","file4":"1329551595","file5":"1329551608","file3":"1329551591"},"map_files_photo_id_array":[{"photo_id":"1329551608","filename":"file5"},{"photo_id":"1329551587","filename":"file2"},{"photo_id":"1329551595","filename":"file4"},{"photo_id":"1329551554","filename":"file1"},{"photo_id":"1329551542","filename":"file0"},{"photo_id":"1329551591","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329551587":["hashtag1","hashtag2"]},{"1329551554":["hashtag1","hashtag2"]},{"1329551608":["hashtag1","hashtag2"]},{"1329551542":["hashtag1","hashtag2"]},{"1329551595":["hashtag1","hashtag2"]},{"1329551591":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329551587, 1329551554, 1329551608, 1329551542, 1329551595, 1329551591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.10828351974487 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:12:22.241495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/12/image_17012025_20_12_52_6414.jpg', '/media/data/images/17012025/20/12/image_17012025_20_12_46_5177.jpg', '/media/data/images/17012025/20/12/image_17012025_20_12_41_6389.jpg', '/media/data/images/17012025/20/12/image_17012025_20_12_34_6329.jpg', '/media/data/images/17012025/20/12/image_17012025_20_12_28_5162.jpg', '/media/data/images/17012025/20/12/image_17012025_20_12_23_6505.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/12/image_17012025_20_12_52_6414.jpg
/media/data/images/17012025/20/12/image_17012025_20_12_46_5177.jpg
/media/data/images/17012025/20/12/image_17012025_20_12_41_6389.jpg
/media/data/images/17012025/20/12/image_17012025_20_12_34_6329.jpg
/media/data/images/17012025/20/12/image_17012025_20_12_28_5162.jpg
/media/data/images/17012025/20/12/image_17012025_20_12_23_6505.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329551689","1329551686","1329551697","1329551703","1329551693","1329551687"],"photo_ids_order":["1329551686","1329551687","1329551689","1329551693","1329551697","1329551703"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/692dbfef1584734d7675a42950f93235.jpg","text":"TemporaryFile(/tmp/multipartBody454639336320009374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141211526,"filename":"image_17012025_20_12_41_6389.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/92221ecd7e3ced75248d745892ac4588.jpg","text":"TemporaryFile(/tmp/multipartBody2591423933379317367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141211526,"filename":"image_17012025_20_12_52_6414.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/22580a69307599131520bd636c82140f.jpg","text":"TemporaryFile(/tmp/multipartBody3660350032754422647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141211526,"filename":"image_17012025_20_12_28_5162.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/30be1e2e415190c60cc0b6cad3d35c4f.jpg","text":"TemporaryFile(/tmp/multipartBody5630558248250394330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141211526,"filename":"image_17012025_20_12_23_6505.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/df5a4ec2bdf657423fc4d3d127f9ab59.jpg","text":"TemporaryFile(/tmp/multipartBody6557579553601550021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141211526,"filename":"image_17012025_20_12_34_6329.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bc4403fec5ce7782bfb99ed5802a9594.jpg","text":"TemporaryFile(/tmp/multipartBody7313061785947545649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141211526,"filename":"image_17012025_20_12_46_5177.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329551689","file1":"1329551687","file0":"1329551686","file4":"1329551697","file5":"1329551703","file3":"1329551693"},"map_files_photo_id_array":[{"photo_id":"1329551703","filename":"file5"},{"photo_id":"1329551689","filename":"file2"},{"photo_id":"1329551697","filename":"file4"},{"photo_id":"1329551687","filename":"file1"},{"photo_id":"1329551686","filename":"file0"},{"photo_id":"1329551693","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329551689":["hashtag1","hashtag2"]},{"1329551686":["hashtag1","hashtag2"]},{"1329551697":["hashtag1","hashtag2"]},{"1329551703":["hashtag1","hashtag2"]},{"1329551693":["hashtag1","hashtag2"]},{"1329551687":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329551689, 1329551686, 1329551697, 1329551703, 1329551693, 1329551687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.038381576538086 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:13:22.362085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/13/image_17012025_20_13_52_6413.jpg', '/media/data/images/17012025/20/13/image_17012025_20_13_46_5155.jpg', '/media/data/images/17012025/20/13/image_17012025_20_13_41_6371.jpg', '/media/data/images/17012025/20/13/image_17012025_20_13_34_6372.jpg', '/media/data/images/17012025/20/13/image_17012025_20_13_28_5163.jpg', '/media/data/images/17012025/20/13/image_17012025_20_13_23_6382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/13/image_17012025_20_13_52_6413.jpg
/media/data/images/17012025/20/13/image_17012025_20_13_46_5155.jpg
/media/data/images/17012025/20/13/image_17012025_20_13_41_6371.jpg
/media/data/images/17012025/20/13/image_17012025_20_13_34_6372.jpg
/media/data/images/17012025/20/13/image_17012025_20_13_28_5163.jpg
/media/data/images/17012025/20/13/image_17012025_20_13_23_6382.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329551743","1329551737","1329551740","1329551734","1329551745","1329551732"],"photo_ids_order":["1329551732","1329551734","1329551737","1329551740","1329551743","1329551745"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f814560ec762a35e0245e8dc2ccc4edd.jpg","text":"TemporaryFile(/tmp/multipartBody3643766441112180618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141269731,"filename":"image_17012025_20_13_28_5163.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/10771db561ac51af2c4679c94263e34a.jpg","text":"TemporaryFile(/tmp/multipartBody2707090983949608675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141269731,"filename":"image_17012025_20_13_41_6371.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/45b35d23849850ec59fba18c6355170b.jpg","text":"TemporaryFile(/tmp/multipartBody5308710263970348587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141269731,"filename":"image_17012025_20_13_34_6372.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/47908e6a236a6b0aae5c719a3c1dd3cb.jpg","text":"TemporaryFile(/tmp/multipartBody2579389271386784578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141269731,"filename":"image_17012025_20_13_46_5155.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0803ce3697fb682cbb7fbc3ee947a902.jpg","text":"TemporaryFile(/tmp/multipartBody4076832934417411624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141269731,"filename":"image_17012025_20_13_23_6382.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/60b0106ccacb4a580fa79f19c92a9bd3.jpg","text":"TemporaryFile(/tmp/multipartBody596786303982448503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141269731,"filename":"image_17012025_20_13_52_6413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329551737","file1":"1329551734","file0":"1329551732","file4":"1329551743","file5":"1329551745","file3":"1329551740"},"map_files_photo_id_array":[{"photo_id":"1329551745","filename":"file5"},{"photo_id":"1329551737","filename":"file2"},{"photo_id":"1329551743","filename":"file4"},{"photo_id":"1329551734","filename":"file1"},{"photo_id":"1329551732","filename":"file0"},{"photo_id":"1329551740","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329551743":["hashtag1","hashtag2"]},{"1329551737":["hashtag1","hashtag2"]},{"1329551740":["hashtag1","hashtag2"]},{"1329551734":["hashtag1","hashtag2"]},{"1329551745":["hashtag1","hashtag2"]},{"1329551732":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329551743, 1329551737, 1329551740, 1329551734, 1329551745, 1329551732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.32519006729126 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 20:14:02.830068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/13/image_17012025_20_13_16_6409.jpg', '/media/data/images/17012025/20/13/image_17012025_20_13_10_5190.jpg', '/media/data/images/17012025/20/13/image_17012025_20_13_05_6036.jpg', '/media/data/images/17012025/20/12/image_17012025_20_12_59_6405.jpg', '/media/data/images/17012025/20/12/image_17012025_20_12_16_6487.jpg', '/media/data/images/17012025/20/12/image_17012025_20_12_10_5240.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/13/image_17012025_20_13_16_6409.jpg
/media/data/images/17012025/20/13/image_17012025_20_13_10_5190.jpg
/media/data/images/17012025/20/13/image_17012025_20_13_05_6036.jpg
/media/data/images/17012025/20/12/image_17012025_20_12_59_6405.jpg
/media/data/images/17012025/20/12/image_17012025_20_12_16_6487.jpg
/media/data/images/17012025/20/12/image_17012025_20_12_10_5240.jpg
2025-01-17 20:14:02.839895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/13/image_17012025_20_13_16_6409.jpg', '/media/data/images/17012025/20/13/image_17012025_20_13_10_5190.jpg', '/media/data/images/17012025/20/13/image_17012025_20_13_05_6036.jpg', '/media/data/images/17012025/20/12/image_17012025_20_12_59_6405.jpg', '/media/data/images/17012025/20/12/image_17012025_20_12_16_6487.jpg', '/media/data/images/17012025/20/12/image_17012025_20_12_10_5240.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/13/image_17012025_20_13_16_6409.jpg
/media/data/images/17012025/20/13/image_17012025_20_13_10_5190.jpg
/media/data/images/17012025/20/13/image_17012025_20_13_05_6036.jpg
/media/data/images/17012025/20/12/image_17012025_20_12_59_6405.jpg
/media/data/images/17012025/20/12/image_17012025_20_12_16_6487.jpg
/media/data/images/17012025/20/12/image_17012025_20_12_10_5240.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329551767","1329551778","1329551772","1329551775","1329551763","1329551780"],"photo_ids_order":["1329551763","1329551767","1329551772","1329551775","1329551778","1329551780"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/94763876ae8d433b281d849477922a92.jpg","text":"TemporaryFile(/tmp/multipartBody7200570914103192207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141319239,"filename":"image_17012025_20_13_10_5190.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6ab267d80a84f9eb4c2d9c4730f0c790.jpg","text":"TemporaryFile(/tmp/multipartBody2355984497920189851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141319239,"filename":"image_17012025_20_12_16_6487.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8ebeacaf1511af188f5acc1fc284449f.jpg","text":"TemporaryFile(/tmp/multipartBody1324831449776112650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141319239,"filename":"image_17012025_20_13_05_6036.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/497ad612bb265f0d9bc9944cdd48edbd.jpg","text":"TemporaryFile(/tmp/multipartBody5368774142845349012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141319239,"filename":"image_17012025_20_12_59_6405.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2a5d915ae369bb73c3ad38158171a23d.jpg","text":"TemporaryFile(/tmp/multipartBody7245737714613990780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141319239,"filename":"image_17012025_20_13_16_6409.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/26fa12597c197b6e55f36f6ed98f643c.jpg","text":"TemporaryFile(/tmp/multipartBody6003749513759819786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141319239,"filename":"image_17012025_20_12_10_5240.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329551772","file1":"1329551767","file0":"1329551763","file4":"1329551778","file5":"1329551780","file3":"1329551775"},"map_files_photo_id_array":[{"photo_id":"1329551780","filename":"file5"},{"photo_id":"1329551772","filename":"file2"},{"photo_id":"1329551778","filename":"file4"},{"photo_id":"1329551767","filename":"file1"},{"photo_id":"1329551763","filename":"file0"},{"photo_id":"1329551775","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329551767":["hashtag1","hashtag2"]},{"1329551778":["hashtag1","hashtag2"]},{"1329551772":["hashtag1","hashtag2"]},{"1329551775":["hashtag1","hashtag2"]},{"1329551763":["hashtag1","hashtag2"]},{"1329551780":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329551767, 1329551778, 1329551772, 1329551775, 1329551763, 1329551780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.662800550460815 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329551773","1329551776","1329551779","1329551770","1329551790","1329551765"],"photo_ids_order":["1329551765","1329551770","1329551773","1329551776","1329551779","1329551790"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d4072492d8563f222c7799340b9ec6b0.jpg","text":"TemporaryFile(/tmp/multipartBody3058027206937630254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141320820,"filename":"image_17012025_20_13_05_6036.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/07b4a912d7e85449679c1945b8ad676f.jpg","text":"TemporaryFile(/tmp/multipartBody6532551286576903247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141320820,"filename":"image_17012025_20_12_59_6405.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/de31fe748652fb1c109b3d4543e52f79.jpg","text":"TemporaryFile(/tmp/multipartBody1758115659184414288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141320820,"filename":"image_17012025_20_12_16_6487.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/749667565a8da33259154f8318d8f533.jpg","text":"TemporaryFile(/tmp/multipartBody1981287294908167571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141320820,"filename":"image_17012025_20_13_10_5190.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/78d08ff81fc0a41d332671140a7eeef2.jpg","text":"TemporaryFile(/tmp/multipartBody5395076815574656605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141320820,"filename":"image_17012025_20_12_10_5240.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0dc861629a04c64e15c015406e9bdf49.jpg","text":"TemporaryFile(/tmp/multipartBody1588269741695202261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141320820,"filename":"image_17012025_20_13_16_6409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329551773","file1":"1329551770","file0":"1329551765","file4":"1329551779","file5":"1329551790","file3":"1329551776"},"map_files_photo_id_array":[{"photo_id":"1329551790","filename":"file5"},{"photo_id":"1329551773","filename":"file2"},{"photo_id":"1329551779","filename":"file4"},{"photo_id":"1329551770","filename":"file1"},{"photo_id":"1329551765","filename":"file0"},{"photo_id":"1329551776","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329551773":["hashtag1","hashtag2"]},{"1329551776":["hashtag1","hashtag2"]},{"1329551779":["hashtag1","hashtag2"]},{"1329551770":["hashtag1","hashtag2"]},{"1329551790":["hashtag1","hashtag2"]},{"1329551765":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329551773, 1329551776, 1329551779, 1329551770, 1329551790, 1329551765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.55028581619263 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:15:02.945767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/14/image_17012025_20_14_52_6548.jpg', '/media/data/images/17012025/20/14/image_17012025_20_14_46_5164.jpg', '/media/data/images/17012025/20/14/image_17012025_20_14_41_6377.jpg', '/media/data/images/17012025/20/14/image_17012025_20_14_34_6383.jpg', '/media/data/images/17012025/20/14/image_17012025_20_14_28_5180.jpg', '/media/data/images/17012025/20/14/image_17012025_20_14_23_6366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/14/image_17012025_20_14_52_6548.jpg
/media/data/images/17012025/20/14/image_17012025_20_14_46_5164.jpg
/media/data/images/17012025/20/14/image_17012025_20_14_41_6377.jpg
/media/data/images/17012025/20/14/image_17012025_20_14_34_6383.jpg
/media/data/images/17012025/20/14/image_17012025_20_14_28_5180.jpg
/media/data/images/17012025/20/14/image_17012025_20_14_23_6366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329551947","1329551908","1329551991","1329551823","1329551811","1329551972"],"photo_ids_order":["1329551811","1329551823","1329551908","1329551947","1329551972","1329551991"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e41bce4d4dcd559488b6b1bf0112c29f.jpg","text":"TemporaryFile(/tmp/multipartBody1084215599895915955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141373251,"filename":"image_17012025_20_14_34_6383.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8eca20580a1c3988be30a80b9368b88a.jpg","text":"TemporaryFile(/tmp/multipartBody7671043291681878416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141373251,"filename":"image_17012025_20_14_41_6377.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3c544c84bf4656c233e1b6a4e7c1134d.jpg","text":"TemporaryFile(/tmp/multipartBody316926150167960466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141373251,"filename":"image_17012025_20_14_23_6366.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/69705b37e51fce87ad5dc9e2a012844f.jpg","text":"TemporaryFile(/tmp/multipartBody5135841862718954887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141373251,"filename":"image_17012025_20_14_46_5164.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3f37437e7736dd9650165e5652a5e20f.jpg","text":"TemporaryFile(/tmp/multipartBody1541629750856216831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141373251,"filename":"image_17012025_20_14_52_6548.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f417d6e8277c296f036439ed101d8c56.jpg","text":"TemporaryFile(/tmp/multipartBody5919963089691134677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141373251,"filename":"image_17012025_20_14_28_5180.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329551908","file1":"1329551823","file0":"1329551811","file4":"1329551972","file5":"1329551991","file3":"1329551947"},"map_files_photo_id_array":[{"photo_id":"1329551991","filename":"file5"},{"photo_id":"1329551908","filename":"file2"},{"photo_id":"1329551972","filename":"file4"},{"photo_id":"1329551823","filename":"file1"},{"photo_id":"1329551811","filename":"file0"},{"photo_id":"1329551947","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329551947":["hashtag1","hashtag2"]},{"1329551908":["hashtag1","hashtag2"]},{"1329551991":["hashtag1","hashtag2"]},{"1329551823":["hashtag1","hashtag2"]},{"1329551811":["hashtag1","hashtag2"]},{"1329551972":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329551947, 1329551908, 1329551991, 1329551823, 1329551811, 1329551972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.35527539253235 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:16:03.003972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/15/image_17012025_20_15_52_6397.jpg', '/media/data/images/17012025/20/15/image_17012025_20_15_46_6358.jpg', '/media/data/images/17012025/20/15/image_17012025_20_15_40_5219.jpg', '/media/data/images/17012025/20/15/image_17012025_20_15_35_6163.jpg', '/media/data/images/17012025/20/15/image_17012025_20_15_28_6357.jpg', '/media/data/images/17012025/20/15/image_17012025_20_15_22_5188.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/15/image_17012025_20_15_52_6397.jpg
/media/data/images/17012025/20/15/image_17012025_20_15_46_6358.jpg
/media/data/images/17012025/20/15/image_17012025_20_15_40_5219.jpg
/media/data/images/17012025/20/15/image_17012025_20_15_35_6163.jpg
/media/data/images/17012025/20/15/image_17012025_20_15_28_6357.jpg
/media/data/images/17012025/20/15/image_17012025_20_15_22_5188.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329552081","1329552072","1329552086","1329552080","1329552068","1329552077"],"photo_ids_order":["1329552068","1329552072","1329552077","1329552080","1329552081","1329552086"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ec2cde928079c1b80c02365224a91f2b.jpg","text":"TemporaryFile(/tmp/multipartBody4862359538289161206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141434538,"filename":"image_17012025_20_15_28_6357.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/03728ee07878d53c6b799ce9b73522ca.jpg","text":"TemporaryFile(/tmp/multipartBody5927915268253099985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141434538,"filename":"image_17012025_20_15_46_6358.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fbe6bec1956c7b2dc61795dec02bb571.jpg","text":"TemporaryFile(/tmp/multipartBody1750255012050125947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141434538,"filename":"image_17012025_20_15_22_5188.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c3763538944728a310362fccc15a8770.jpg","text":"TemporaryFile(/tmp/multipartBody1148505551094630250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141434538,"filename":"image_17012025_20_15_35_6163.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/30e6d273f940bcaf61a269aef955fd94.jpg","text":"TemporaryFile(/tmp/multipartBody359626080566332808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141434538,"filename":"image_17012025_20_15_52_6397.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/07102bb5b5e7b43b8f65703d661c5d7c.jpg","text":"TemporaryFile(/tmp/multipartBody8340133834858904669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141434538,"filename":"image_17012025_20_15_40_5219.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329552077","file1":"1329552072","file0":"1329552068","file4":"1329552081","file5":"1329552086","file3":"1329552080"},"map_files_photo_id_array":[{"photo_id":"1329552086","filename":"file5"},{"photo_id":"1329552077","filename":"file2"},{"photo_id":"1329552081","filename":"file4"},{"photo_id":"1329552072","filename":"file1"},{"photo_id":"1329552068","filename":"file0"},{"photo_id":"1329552080","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329552081":["hashtag1","hashtag2"]},{"1329552072":["hashtag1","hashtag2"]},{"1329552086":["hashtag1","hashtag2"]},{"1329552080":["hashtag1","hashtag2"]},{"1329552068":["hashtag1","hashtag2"]},{"1329552077":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329552081, 1329552072, 1329552086, 1329552080, 1329552068, 1329552077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.17578673362732 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:17:03.212893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/16/image_17012025_20_16_52_5156.jpg', '/media/data/images/17012025/20/16/image_17012025_20_16_47_6386.jpg', '/media/data/images/17012025/20/16/image_17012025_20_16_40_6388.jpg', '/media/data/images/17012025/20/16/image_17012025_20_16_34_5136.jpg', '/media/data/images/17012025/20/16/image_17012025_20_16_29_6363.jpg', '/media/data/images/17012025/20/16/image_17012025_20_16_22_6317.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/16/image_17012025_20_16_52_5156.jpg
/media/data/images/17012025/20/16/image_17012025_20_16_47_6386.jpg
/media/data/images/17012025/20/16/image_17012025_20_16_40_6388.jpg
/media/data/images/17012025/20/16/image_17012025_20_16_34_5136.jpg
/media/data/images/17012025/20/16/image_17012025_20_16_29_6363.jpg
/media/data/images/17012025/20/16/image_17012025_20_16_22_6317.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329552109","1329552106","1329552111","1329552108","1329552104","1329552113"],"photo_ids_order":["1329552104","1329552106","1329552108","1329552109","1329552111","1329552113"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/473dcbe6e0cd53be031ed719791cff4c.jpg","text":"TemporaryFile(/tmp/multipartBody682925555243120712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141489422,"filename":"image_17012025_20_16_34_5136.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/61bcb87f80eb118fe91da23e692fc990.jpg","text":"TemporaryFile(/tmp/multipartBody5075529485038726729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141489422,"filename":"image_17012025_20_16_47_6386.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/33cd7abd7e8fb4a5b119f22ad5e6317c.jpg","text":"TemporaryFile(/tmp/multipartBody4668684917517808675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141489422,"filename":"image_17012025_20_16_29_6363.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9b11c3e69ccf126e7995ada8b9ba2757.jpg","text":"TemporaryFile(/tmp/multipartBody1183227949821588737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141489422,"filename":"image_17012025_20_16_40_6388.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6fc61b383caa6ddf16c1d7d6593c7745.jpg","text":"TemporaryFile(/tmp/multipartBody6125725508806732235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141489422,"filename":"image_17012025_20_16_52_5156.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/71df2fdc2a263eeac8a280d76bfe766a.jpg","text":"TemporaryFile(/tmp/multipartBody2037479250351872713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141489422,"filename":"image_17012025_20_16_22_6317.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329552108","file1":"1329552106","file0":"1329552104","file4":"1329552111","file5":"1329552113","file3":"1329552109"},"map_files_photo_id_array":[{"photo_id":"1329552113","filename":"file5"},{"photo_id":"1329552108","filename":"file2"},{"photo_id":"1329552111","filename":"file4"},{"photo_id":"1329552106","filename":"file1"},{"photo_id":"1329552104","filename":"file0"},{"photo_id":"1329552109","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329552109":["hashtag1","hashtag2"]},{"1329552106":["hashtag1","hashtag2"]},{"1329552111":["hashtag1","hashtag2"]},{"1329552108":["hashtag1","hashtag2"]},{"1329552104":["hashtag1","hashtag2"]},{"1329552113":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329552109, 1329552106, 1329552111, 1329552108, 1329552104, 1329552113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.207369327545166 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:17:42.731945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/17/image_17012025_20_17_52_6399.jpg', '/media/data/images/17012025/20/17/image_17012025_20_17_46_5183.jpg', '/media/data/images/17012025/20/17/image_17012025_20_17_40_6394.jpg', '/media/data/images/17012025/20/17/image_17012025_20_17_34_6395.jpg', '/media/data/images/17012025/20/17/image_17012025_20_17_28_5191.jpg', '/media/data/images/17012025/20/17/image_17012025_20_17_22_6397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/17/image_17012025_20_17_52_6399.jpg
/media/data/images/17012025/20/17/image_17012025_20_17_46_5183.jpg
/media/data/images/17012025/20/17/image_17012025_20_17_40_6394.jpg
/media/data/images/17012025/20/17/image_17012025_20_17_34_6395.jpg
/media/data/images/17012025/20/17/image_17012025_20_17_28_5191.jpg
/media/data/images/17012025/20/17/image_17012025_20_17_22_6397.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329552148","1329552136","1329552147","1329552132","1329552140","1329552143"],"photo_ids_order":["1329552132","1329552136","1329552140","1329552143","1329552147","1329552148"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/105e48618c99271e25df4a8b60b51d52.jpg","text":"TemporaryFile(/tmp/multipartBody546072236353124744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141536222,"filename":"image_17012025_20_17_22_6397.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/50582960d5cf1f8b30ed3fe9bfd79d7a.jpg","text":"TemporaryFile(/tmp/multipartBody6287552461128309930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141536222,"filename":"image_17012025_20_17_46_5183.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5a8a1ac3ce4036f955884a5a69038321.jpg","text":"TemporaryFile(/tmp/multipartBody5573322783984447356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141536222,"filename":"image_17012025_20_17_28_5191.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1bc046aa7d8d361ee6ee0f6a31630d37.jpg","text":"TemporaryFile(/tmp/multipartBody3805837623574964098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141536222,"filename":"image_17012025_20_17_52_6399.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9cd14b1cca72d25f70b91191bdbb1427.jpg","text":"TemporaryFile(/tmp/multipartBody3342588588643496303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141536222,"filename":"image_17012025_20_17_40_6394.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ba80f52b6687086996b1d00d334f280a.jpg","text":"TemporaryFile(/tmp/multipartBody4878113818515532168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141536222,"filename":"image_17012025_20_17_34_6395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329552140","file1":"1329552136","file0":"1329552132","file4":"1329552147","file5":"1329552148","file3":"1329552143"},"map_files_photo_id_array":[{"photo_id":"1329552148","filename":"file5"},{"photo_id":"1329552140","filename":"file2"},{"photo_id":"1329552147","filename":"file4"},{"photo_id":"1329552136","filename":"file1"},{"photo_id":"1329552132","filename":"file0"},{"photo_id":"1329552143","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329552148":["hashtag1","hashtag2"]},{"1329552136":["hashtag1","hashtag2"]},{"1329552147":["hashtag1","hashtag2"]},{"1329552132":["hashtag1","hashtag2"]},{"1329552140":["hashtag1","hashtag2"]},{"1329552143":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329552148, 1329552136, 1329552147, 1329552132, 1329552140, 1329552143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.63888335227966 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:18:41.863551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/18/image_17012025_20_18_53_6488.jpg', '/media/data/images/17012025/20/18/image_17012025_20_18_46_5302.jpg', '/media/data/images/17012025/20/18/image_17012025_20_18_41_6422.jpg', '/media/data/images/17012025/20/18/image_17012025_20_18_34_6405.jpg', '/media/data/images/17012025/20/18/image_17012025_20_18_28_5179.jpg', '/media/data/images/17012025/20/18/image_17012025_20_18_23_6378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/18/image_17012025_20_18_53_6488.jpg
/media/data/images/17012025/20/18/image_17012025_20_18_46_5302.jpg
/media/data/images/17012025/20/18/image_17012025_20_18_41_6422.jpg
/media/data/images/17012025/20/18/image_17012025_20_18_34_6405.jpg
/media/data/images/17012025/20/18/image_17012025_20_18_28_5179.jpg
/media/data/images/17012025/20/18/image_17012025_20_18_23_6378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329552690","1329552204","1329552685","1329552694","1329552200","1329552490"],"photo_ids_order":["1329552200","1329552204","1329552490","1329552685","1329552690","1329552694"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d5605881f733d9a0fea8ead73823cdad.jpg","text":"TemporaryFile(/tmp/multipartBody6227427238681220375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141588479,"filename":"image_17012025_20_18_28_5179.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/14c0ad277e8276162f276bb09597ef18.jpg","text":"TemporaryFile(/tmp/multipartBody2986242097566907301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141588479,"filename":"image_17012025_20_18_46_5302.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4dee17f9bcae750dd9e2a770d2a4ecd5.jpg","text":"TemporaryFile(/tmp/multipartBody7684638925306048417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141588479,"filename":"image_17012025_20_18_34_6405.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e551fe23c2b2efc4649063fec02ebd30.jpg","text":"TemporaryFile(/tmp/multipartBody1364625157315004673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141588479,"filename":"image_17012025_20_18_23_6378.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/389d4f4ce07d39266367cfaaa2768af1.jpg","text":"TemporaryFile(/tmp/multipartBody1901075579059867012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141588479,"filename":"image_17012025_20_18_53_6488.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9173cd1cd2bb25b5be4623ce0d5dd987.jpg","text":"TemporaryFile(/tmp/multipartBody7257370482389513840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141588479,"filename":"image_17012025_20_18_41_6422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329552490","file1":"1329552204","file0":"1329552200","file4":"1329552690","file5":"1329552694","file3":"1329552685"},"map_files_photo_id_array":[{"photo_id":"1329552694","filename":"file5"},{"photo_id":"1329552490","filename":"file2"},{"photo_id":"1329552690","filename":"file4"},{"photo_id":"1329552204","filename":"file1"},{"photo_id":"1329552200","filename":"file0"},{"photo_id":"1329552685","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329552690":["hashtag1","hashtag2"]},{"1329552204":["hashtag1","hashtag2"]},{"1329552685":["hashtag1","hashtag2"]},{"1329552694":["hashtag1","hashtag2"]},{"1329552200":["hashtag1","hashtag2"]},{"1329552490":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329552690, 1329552204, 1329552685, 1329552694, 1329552200, 1329552490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.62330722808838 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:19:21.942293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/19/image_17012025_20_19_53_6387.jpg', '/media/data/images/17012025/20/19/image_17012025_20_19_46_5298.jpg', '/media/data/images/17012025/20/19/image_17012025_20_19_41_6523.jpg', '/media/data/images/17012025/20/19/image_17012025_20_19_34_6502.jpg', '/media/data/images/17012025/20/19/image_17012025_20_19_28_5258.jpg', '/media/data/images/17012025/20/19/image_17012025_20_19_23_6361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/19/image_17012025_20_19_53_6387.jpg
/media/data/images/17012025/20/19/image_17012025_20_19_46_5298.jpg
/media/data/images/17012025/20/19/image_17012025_20_19_41_6523.jpg
/media/data/images/17012025/20/19/image_17012025_20_19_34_6502.jpg
/media/data/images/17012025/20/19/image_17012025_20_19_28_5258.jpg
/media/data/images/17012025/20/19/image_17012025_20_19_23_6361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329552934","1329552987","1329552942","1329552912","1329552938","1329552889"],"photo_ids_order":["1329552889","1329552912","1329552934","1329552938","1329552942","1329552987"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b748e08f4018819c7b73c3e5ce2c0f36.jpg","text":"TemporaryFile(/tmp/multipartBody1474832937404657286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141650580,"filename":"image_17012025_20_19_41_6523.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d4e1ca8f158ae2aa50a7ed4c1e46b94c.jpg","text":"TemporaryFile(/tmp/multipartBody8300256927741354964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141650580,"filename":"image_17012025_20_19_23_6361.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/051916a2d19cb3709ed054aafdbe7e4e.jpg","text":"TemporaryFile(/tmp/multipartBody6270447053492283752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141650580,"filename":"image_17012025_20_19_28_5258.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3375ea0b00406824addb906c1651d645.jpg","text":"TemporaryFile(/tmp/multipartBody3652893208570088130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141650580,"filename":"image_17012025_20_19_46_5298.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5d6d94fd0907c9b8112d609452c3281f.jpg","text":"TemporaryFile(/tmp/multipartBody1891639044692820067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141650580,"filename":"image_17012025_20_19_34_6502.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3b5b483f9694abb03354618aca9db801.jpg","text":"TemporaryFile(/tmp/multipartBody368906851131590220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141650580,"filename":"image_17012025_20_19_53_6387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329552934","file1":"1329552912","file0":"1329552889","file4":"1329552942","file5":"1329552987","file3":"1329552938"},"map_files_photo_id_array":[{"photo_id":"1329552987","filename":"file5"},{"photo_id":"1329552934","filename":"file2"},{"photo_id":"1329552942","filename":"file4"},{"photo_id":"1329552912","filename":"file1"},{"photo_id":"1329552889","filename":"file0"},{"photo_id":"1329552938","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329552934":["hashtag1","hashtag2"]},{"1329552987":["hashtag1","hashtag2"]},{"1329552942":["hashtag1","hashtag2"]},{"1329552912":["hashtag1","hashtag2"]},{"1329552938":["hashtag1","hashtag2"]},{"1329552889":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329552934, 1329552987, 1329552942, 1329552912, 1329552938, 1329552889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.37014389038086 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:20:41.992462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/20/image_17012025_20_20_52_6447.jpg', '/media/data/images/17012025/20/20/image_17012025_20_20_46_5175.jpg', '/media/data/images/17012025/20/20/image_17012025_20_20_41_6448.jpg', '/media/data/images/17012025/20/20/image_17012025_20_20_34_6499.jpg', '/media/data/images/17012025/20/20/image_17012025_20_20_28_5287.jpg', '/media/data/images/17012025/20/20/image_17012025_20_20_22_6526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/20/image_17012025_20_20_52_6447.jpg
/media/data/images/17012025/20/20/image_17012025_20_20_46_5175.jpg
/media/data/images/17012025/20/20/image_17012025_20_20_41_6448.jpg
/media/data/images/17012025/20/20/image_17012025_20_20_34_6499.jpg
/media/data/images/17012025/20/20/image_17012025_20_20_28_5287.jpg
/media/data/images/17012025/20/20/image_17012025_20_20_22_6526.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329553260","1329553215","1329553199","1329553151","1329553148","1329553238"],"photo_ids_order":["1329553148","1329553151","1329553199","1329553215","1329553238","1329553260"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/abb413561f251cb7bb9c551c6bdbe069.jpg","text":"TemporaryFile(/tmp/multipartBody7123435331607695573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141718973,"filename":"image_17012025_20_20_22_6526.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f6cb711892653c6991bd02a774467daf.jpg","text":"TemporaryFile(/tmp/multipartBody6453246637924509046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141718973,"filename":"image_17012025_20_20_34_6499.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a75ed4007c1e1ac08f40ed4b80befae5.jpg","text":"TemporaryFile(/tmp/multipartBody2281494644495928557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141718973,"filename":"image_17012025_20_20_41_6448.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0e0930e02370f05da43e79b6439c510c.jpg","text":"TemporaryFile(/tmp/multipartBody1276703715990065991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141718973,"filename":"image_17012025_20_20_46_5175.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/92ade85c1b4d13e0f9827d22458c1d54.jpg","text":"TemporaryFile(/tmp/multipartBody1402586375191590651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141718973,"filename":"image_17012025_20_20_52_6447.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/252c49714eff349ac87909aa2e4bf524.jpg","text":"TemporaryFile(/tmp/multipartBody2559213366617930786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141718973,"filename":"image_17012025_20_20_28_5287.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329553199","file1":"1329553151","file0":"1329553148","file4":"1329553238","file5":"1329553260","file3":"1329553215"},"map_files_photo_id_array":[{"photo_id":"1329553260","filename":"file5"},{"photo_id":"1329553199","filename":"file2"},{"photo_id":"1329553238","filename":"file4"},{"photo_id":"1329553151","filename":"file1"},{"photo_id":"1329553148","filename":"file0"},{"photo_id":"1329553215","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329553260":["hashtag1","hashtag2"]},{"1329553215":["hashtag1","hashtag2"]},{"1329553199":["hashtag1","hashtag2"]},{"1329553151":["hashtag1","hashtag2"]},{"1329553148":["hashtag1","hashtag2"]},{"1329553238":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329553260, 1329553215, 1329553199, 1329553151, 1329553148, 1329553238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.51540160179138 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:21:42.090239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/21/image_17012025_20_21_52_5284.jpg', '/media/data/images/17012025/20/21/image_17012025_20_21_47_6557.jpg', '/media/data/images/17012025/20/21/image_17012025_20_21_40_6555.jpg', '/media/data/images/17012025/20/21/image_17012025_20_21_34_5207.jpg', '/media/data/images/17012025/20/21/image_17012025_20_21_28_6413.jpg', '/media/data/images/17012025/20/21/image_17012025_20_21_22_6402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/21/image_17012025_20_21_52_5284.jpg
/media/data/images/17012025/20/21/image_17012025_20_21_47_6557.jpg
/media/data/images/17012025/20/21/image_17012025_20_21_40_6555.jpg
/media/data/images/17012025/20/21/image_17012025_20_21_34_5207.jpg
/media/data/images/17012025/20/21/image_17012025_20_21_28_6413.jpg
/media/data/images/17012025/20/21/image_17012025_20_21_22_6402.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329553317","1329553331","1329553325","1329553334","1329553328","1329553319"],"photo_ids_order":["1329553317","1329553319","1329553325","1329553328","1329553331","1329553334"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e1b92dff3905030dfc37efa43857080f.jpg","text":"TemporaryFile(/tmp/multipartBody7862406300905524396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141778932,"filename":"image_17012025_20_21_52_5284.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bee8faf758c5a58c3f2c456fd0ca3cb6.jpg","text":"TemporaryFile(/tmp/multipartBody3797008307192417598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141778932,"filename":"image_17012025_20_21_28_6413.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b8615bb797b105972b4f5723f64fb2c0.jpg","text":"TemporaryFile(/tmp/multipartBody3319304511300596276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141778932,"filename":"image_17012025_20_21_40_6555.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1f6c38f42318e1c3a3fff886cf7b0427.jpg","text":"TemporaryFile(/tmp/multipartBody9067688957108968343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141778932,"filename":"image_17012025_20_21_22_6402.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9c32614a86285337e4282904dab13ba6.jpg","text":"TemporaryFile(/tmp/multipartBody2001047637704361480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141778932,"filename":"image_17012025_20_21_34_5207.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f607565a89beac7a17a7bf54080bbac9.jpg","text":"TemporaryFile(/tmp/multipartBody2666333021797858297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141778932,"filename":"image_17012025_20_21_47_6557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329553325","file1":"1329553319","file0":"1329553317","file4":"1329553331","file5":"1329553334","file3":"1329553328"},"map_files_photo_id_array":[{"photo_id":"1329553334","filename":"file5"},{"photo_id":"1329553325","filename":"file2"},{"photo_id":"1329553331","filename":"file4"},{"photo_id":"1329553319","filename":"file1"},{"photo_id":"1329553317","filename":"file0"},{"photo_id":"1329553328","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329553317":["hashtag1","hashtag2"]},{"1329553331":["hashtag1","hashtag2"]},{"1329553325":["hashtag1","hashtag2"]},{"1329553334":["hashtag1","hashtag2"]},{"1329553328":["hashtag1","hashtag2"]},{"1329553319":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329553317, 1329553331, 1329553325, 1329553334, 1329553328, 1329553319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.27101254463196 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:22:42.228229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/22/image_17012025_20_22_52_5297.jpg', '/media/data/images/17012025/20/22/image_17012025_20_22_47_6556.jpg', '/media/data/images/17012025/20/22/image_17012025_20_22_40_5206.jpg', '/media/data/images/17012025/20/22/image_17012025_20_22_35_6380.jpg', '/media/data/images/17012025/20/22/image_17012025_20_22_28_6359.jpg', '/media/data/images/17012025/20/22/image_17012025_20_22_22_5269.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/22/image_17012025_20_22_52_5297.jpg
/media/data/images/17012025/20/22/image_17012025_20_22_47_6556.jpg
/media/data/images/17012025/20/22/image_17012025_20_22_40_5206.jpg
/media/data/images/17012025/20/22/image_17012025_20_22_35_6380.jpg
/media/data/images/17012025/20/22/image_17012025_20_22_28_6359.jpg
/media/data/images/17012025/20/22/image_17012025_20_22_22_5269.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329553347","1329553373","1329553352","1329553369","1329553363","1329553357"],"photo_ids_order":["1329553347","1329553352","1329553357","1329553363","1329553369","1329553373"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b756de3376fb5ea3084e4a382ce79444.jpg","text":"TemporaryFile(/tmp/multipartBody7134880656274675986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141828956,"filename":"image_17012025_20_22_52_5297.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/865e8d804e5f9694d7daa5c8e161afd8.jpg","text":"TemporaryFile(/tmp/multipartBody1009648911585351058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141828956,"filename":"image_17012025_20_22_22_5269.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5f2664c4d4aeb92271a9a9ea74bc4987.jpg","text":"TemporaryFile(/tmp/multipartBody3420876379669925870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141828956,"filename":"image_17012025_20_22_47_6556.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a62d4e72327c0b03bc2d7c3adcf8897c.jpg","text":"TemporaryFile(/tmp/multipartBody4616817029632722670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141828956,"filename":"image_17012025_20_22_28_6359.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/62b7d952bd01e5c754900716ff667a49.jpg","text":"TemporaryFile(/tmp/multipartBody4708578549364890472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141828956,"filename":"image_17012025_20_22_35_6380.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/91f75e4bd8eccd5f7e5b55e778af2639.jpg","text":"TemporaryFile(/tmp/multipartBody3490328439265278930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141828956,"filename":"image_17012025_20_22_40_5206.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329553357","file1":"1329553352","file0":"1329553347","file4":"1329553369","file5":"1329553373","file3":"1329553363"},"map_files_photo_id_array":[{"photo_id":"1329553373","filename":"file5"},{"photo_id":"1329553357","filename":"file2"},{"photo_id":"1329553369","filename":"file4"},{"photo_id":"1329553352","filename":"file1"},{"photo_id":"1329553347","filename":"file0"},{"photo_id":"1329553363","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329553347":["hashtag1","hashtag2"]},{"1329553373":["hashtag1","hashtag2"]},{"1329553352":["hashtag1","hashtag2"]},{"1329553369":["hashtag1","hashtag2"]},{"1329553363":["hashtag1","hashtag2"]},{"1329553357":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329553347, 1329553373, 1329553352, 1329553369, 1329553363, 1329553357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.74367332458496 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:23:22.310165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/23/image_17012025_20_23_52_5179.jpg', '/media/data/images/17012025/20/23/image_17012025_20_23_47_6394.jpg', '/media/data/images/17012025/20/23/image_17012025_20_23_40_6393.jpg', '/media/data/images/17012025/20/23/image_17012025_20_23_34_5171.jpg', '/media/data/images/17012025/20/23/image_17012025_20_23_29_6386.jpg', '/media/data/images/17012025/20/23/image_17012025_20_23_22_6355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/23/image_17012025_20_23_52_5179.jpg
/media/data/images/17012025/20/23/image_17012025_20_23_47_6394.jpg
/media/data/images/17012025/20/23/image_17012025_20_23_40_6393.jpg
/media/data/images/17012025/20/23/image_17012025_20_23_34_5171.jpg
/media/data/images/17012025/20/23/image_17012025_20_23_29_6386.jpg
/media/data/images/17012025/20/23/image_17012025_20_23_22_6355.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":["1329553422","1329553425","1329553419","1329553424","1329553412","1329553415"],"photo_ids_order":["1329553412","1329553415","1329553419","1329553422","1329553424","1329553425"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fe534ec73439ed1b15d6e3f9530ad273.jpg","text":"TemporaryFile(/tmp/multipartBody516890199579439607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141892740,"filename":"image_17012025_20_23_34_5171.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a6b3b80e69d3a6ae772de21c38242b91.jpg","text":"TemporaryFile(/tmp/multipartBody8018002952510704936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141892740,"filename":"image_17012025_20_23_22_6355.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a067b9ca403a1f570114ca6b5dc6690f.jpg","text":"TemporaryFile(/tmp/multipartBody524987591804010152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141892740,"filename":"image_17012025_20_23_40_6393.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5d6cdc5edd97c46b6d17b28c5cdf5404.jpg","text":"TemporaryFile(/tmp/multipartBody1972131260824077874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141892740,"filename":"image_17012025_20_23_29_6386.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/57397c01d2a3066e0c44e5ba02b5ad1e.jpg","text":"TemporaryFile(/tmp/multipartBody7779841623500603348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141892740,"filename":"image_17012025_20_23_52_5179.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/57e94c28903100b54a42189454822d3d.jpg","text":"TemporaryFile(/tmp/multipartBody389628060587055344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141892740,"filename":"image_17012025_20_23_47_6394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329553419","file1":"1329553415","file0":"1329553412","file4":"1329553424","file5":"1329553425","file3":"1329553422"},"map_files_photo_id_array":[{"photo_id":"1329553425","filename":"file5"},{"photo_id":"1329553419","filename":"file2"},{"photo_id":"1329553424","filename":"file4"},{"photo_id":"1329553415","filename":"file1"},{"photo_id":"1329553412","filename":"file0"},{"photo_id":"1329553422","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329553422":["hashtag1","hashtag2"]},{"1329553425":["hashtag1","hashtag2"]},{"1329553419":["hashtag1","hashtag2"]},{"1329553424":["hashtag1","hashtag2"]},{"1329553412":["hashtag1","hashtag2"]},{"1329553415":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329553422, 1329553425, 1329553419, 1329553424, 1329553412, 1329553415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.40503406524658 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:24:42.456926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/24/image_17012025_20_24_52_5170.jpg', '/media/data/images/17012025/20/24/image_17012025_20_24_47_6385.jpg', '/media/data/images/17012025/20/24/image_17012025_20_24_40_6372.jpg', '/media/data/images/17012025/20/24/image_17012025_20_24_34_6376.jpg', '/media/data/images/17012025/20/24/image_17012025_20_24_28_5169.jpg', '/media/data/images/17012025/20/24/image_17012025_20_24_22_6373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/24/image_17012025_20_24_52_5170.jpg
/media/data/images/17012025/20/24/image_17012025_20_24_47_6385.jpg
/media/data/images/17012025/20/24/image_17012025_20_24_40_6372.jpg
/media/data/images/17012025/20/24/image_17012025_20_24_34_6376.jpg
/media/data/images/17012025/20/24/image_17012025_20_24_28_5169.jpg
/media/data/images/17012025/20/24/image_17012025_20_24_22_6373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329553590","1329553542","1329553571","1329553574","1329553568","1329553564"],"photo_ids_order":["1329553542","1329553564","1329553568","1329553571","1329553574","1329553590"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/88b8491b62569de046312efd3eb98b7c.jpg","text":"TemporaryFile(/tmp/multipartBody5592305432827259187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141958661,"filename":"image_17012025_20_24_22_6373.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/aad35c0e0b7889297f122b3e5bc660b3.jpg","text":"TemporaryFile(/tmp/multipartBody243666981673914263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141958661,"filename":"image_17012025_20_24_52_5170.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3778885e37ed16ef38fc62a61ba47d50.jpg","text":"TemporaryFile(/tmp/multipartBody364643219861436312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141958661,"filename":"image_17012025_20_24_34_6376.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1a3171d9ed8308ae45c2c8d6253962a7.jpg","text":"TemporaryFile(/tmp/multipartBody7865787353424873667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141958661,"filename":"image_17012025_20_24_28_5169.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2b4aa47ad377935d03af875c442e5291.jpg","text":"TemporaryFile(/tmp/multipartBody8521989695646639568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141958661,"filename":"image_17012025_20_24_40_6372.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/261a24a41395b030bf4fdf902093e804.jpg","text":"TemporaryFile(/tmp/multipartBody535487718552360541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737141958661,"filename":"image_17012025_20_24_47_6385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329553568","file1":"1329553564","file0":"1329553542","file4":"1329553574","file5":"1329553590","file3":"1329553571"},"map_files_photo_id_array":[{"photo_id":"1329553590","filename":"file5"},{"photo_id":"1329553568","filename":"file2"},{"photo_id":"1329553574","filename":"file4"},{"photo_id":"1329553564","filename":"file1"},{"photo_id":"1329553542","filename":"file0"},{"photo_id":"1329553571","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329553590":["hashtag1","hashtag2"]},{"1329553542":["hashtag1","hashtag2"]},{"1329553571":["hashtag1","hashtag2"]},{"1329553574":["hashtag1","hashtag2"]},{"1329553568":["hashtag1","hashtag2"]},{"1329553564":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329553590, 1329553542, 1329553571, 1329553574, 1329553568, 1329553564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.807902336120605 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:25:42.562419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/25/image_17012025_20_25_52_5177.jpg', '/media/data/images/17012025/20/25/image_17012025_20_25_47_6386.jpg', '/media/data/images/17012025/20/25/image_17012025_20_25_40_6368.jpg', '/media/data/images/17012025/20/25/image_17012025_20_25_34_6359.jpg', '/media/data/images/17012025/20/25/image_17012025_20_25_28_5171.jpg', '/media/data/images/17012025/20/25/image_17012025_20_25_23_6393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/25/image_17012025_20_25_52_5177.jpg
/media/data/images/17012025/20/25/image_17012025_20_25_47_6386.jpg
/media/data/images/17012025/20/25/image_17012025_20_25_40_6368.jpg
/media/data/images/17012025/20/25/image_17012025_20_25_34_6359.jpg
/media/data/images/17012025/20/25/image_17012025_20_25_28_5171.jpg
/media/data/images/17012025/20/25/image_17012025_20_25_23_6393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329553866","1329553863","1329553917","1329553824","1329553853","1329553921"],"photo_ids_order":["1329553824","1329553853","1329553863","1329553866","1329553917","1329553921"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/59e03263ee0a84da26a3cb5be6e2ede1.jpg","text":"TemporaryFile(/tmp/multipartBody1732817270164531029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142020980,"filename":"image_17012025_20_25_34_6359.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4f35dd76545e189c3a621653e260a52b.jpg","text":"TemporaryFile(/tmp/multipartBody2356395341635095996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142020980,"filename":"image_17012025_20_25_40_6368.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c6432fc4d304793879acf658e74d5331.jpg","text":"TemporaryFile(/tmp/multipartBody3435707380879433015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142020980,"filename":"image_17012025_20_25_28_5171.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/098b938e8fbab0a3ed3c1531e1488771.jpg","text":"TemporaryFile(/tmp/multipartBody2582573689308562483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142020980,"filename":"image_17012025_20_25_52_5177.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9965a8ef8d816856254b353cd7d57514.jpg","text":"TemporaryFile(/tmp/multipartBody7934570230012157925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142020980,"filename":"image_17012025_20_25_47_6386.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d3c7f1973bc6cbe1bfd4586757192b50.jpg","text":"TemporaryFile(/tmp/multipartBody8372951114808862864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142020980,"filename":"image_17012025_20_25_23_6393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329553863","file1":"1329553853","file0":"1329553824","file4":"1329553917","file5":"1329553921","file3":"1329553866"},"map_files_photo_id_array":[{"photo_id":"1329553921","filename":"file5"},{"photo_id":"1329553863","filename":"file2"},{"photo_id":"1329553917","filename":"file4"},{"photo_id":"1329553853","filename":"file1"},{"photo_id":"1329553824","filename":"file0"},{"photo_id":"1329553866","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329553866":["hashtag1","hashtag2"]},{"1329553863":["hashtag1","hashtag2"]},{"1329553917":["hashtag1","hashtag2"]},{"1329553824":["hashtag1","hashtag2"]},{"1329553853":["hashtag1","hashtag2"]},{"1329553921":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329553866, 1329553863, 1329553917, 1329553824, 1329553853, 1329553921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.03890562057495 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:26:42.635106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/26/image_17012025_20_26_52_6429.jpg', '/media/data/images/17012025/20/26/image_17012025_20_26_46_5182.jpg', '/media/data/images/17012025/20/26/image_17012025_20_26_40_6380.jpg', '/media/data/images/17012025/20/26/image_17012025_20_26_34_6387.jpg', '/media/data/images/17012025/20/26/image_17012025_20_26_28_5170.jpg', '/media/data/images/17012025/20/26/image_17012025_20_26_23_6390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/26/image_17012025_20_26_52_6429.jpg
/media/data/images/17012025/20/26/image_17012025_20_26_46_5182.jpg
/media/data/images/17012025/20/26/image_17012025_20_26_40_6380.jpg
/media/data/images/17012025/20/26/image_17012025_20_26_34_6387.jpg
/media/data/images/17012025/20/26/image_17012025_20_26_28_5170.jpg
/media/data/images/17012025/20/26/image_17012025_20_26_23_6390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329553968","1329553959","1329553970","1329553961","1329553963","1329553966"],"photo_ids_order":["1329553959","1329553961","1329553963","1329553966","1329553968","1329553970"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/493f766b71d10f8d7aab348ffc06c04a.jpg","text":"TemporaryFile(/tmp/multipartBody4782847191206276672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142072643,"filename":"image_17012025_20_26_28_5170.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/100d5eaa9bb5ae4a0e068978c3cfc59f.jpg","text":"TemporaryFile(/tmp/multipartBody8813541719156243075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142072643,"filename":"image_17012025_20_26_52_6429.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ffeec76a93891860e88a237596af937d.jpg","text":"TemporaryFile(/tmp/multipartBody2713644669289793310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142072643,"filename":"image_17012025_20_26_23_6390.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/adf4fd51438df6c53748f774c8c1e206.jpg","text":"TemporaryFile(/tmp/multipartBody7720439794805329651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142072643,"filename":"image_17012025_20_26_46_5182.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/968a0da287fdf5d9604449b38842eb69.jpg","text":"TemporaryFile(/tmp/multipartBody9170303954219870410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142072643,"filename":"image_17012025_20_26_40_6380.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4154bfb5a9c56718e7b9d7bfd5134284.jpg","text":"TemporaryFile(/tmp/multipartBody2261169151106073979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142072643,"filename":"image_17012025_20_26_34_6387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329553963","file1":"1329553961","file0":"1329553959","file4":"1329553968","file5":"1329553970","file3":"1329553966"},"map_files_photo_id_array":[{"photo_id":"1329553970","filename":"file5"},{"photo_id":"1329553963","filename":"file2"},{"photo_id":"1329553968","filename":"file4"},{"photo_id":"1329553961","filename":"file1"},{"photo_id":"1329553959","filename":"file0"},{"photo_id":"1329553966","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329553968":["hashtag1","hashtag2"]},{"1329553959":["hashtag1","hashtag2"]},{"1329553970":["hashtag1","hashtag2"]},{"1329553961":["hashtag1","hashtag2"]},{"1329553963":["hashtag1","hashtag2"]},{"1329553966":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329553968, 1329553959, 1329553970, 1329553961, 1329553963, 1329553966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.17932152748108 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:27:42.733252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/27/image_17012025_20_27_52_6362.jpg', '/media/data/images/17012025/20/27/image_17012025_20_27_46_5194.jpg', '/media/data/images/17012025/20/27/image_17012025_20_27_41_6399.jpg', '/media/data/images/17012025/20/27/image_17012025_20_27_34_6420.jpg', '/media/data/images/17012025/20/27/image_17012025_20_27_28_5210.jpg', '/media/data/images/17012025/20/27/image_17012025_20_27_23_6339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/27/image_17012025_20_27_52_6362.jpg
/media/data/images/17012025/20/27/image_17012025_20_27_46_5194.jpg
/media/data/images/17012025/20/27/image_17012025_20_27_41_6399.jpg
/media/data/images/17012025/20/27/image_17012025_20_27_34_6420.jpg
/media/data/images/17012025/20/27/image_17012025_20_27_28_5210.jpg
/media/data/images/17012025/20/27/image_17012025_20_27_23_6339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329554058","1329554033","1329554062","1329554038","1329554020","1329554064"],"photo_ids_order":["1329554020","1329554033","1329554038","1329554058","1329554062","1329554064"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5da0275c1d5763dd994376273d1d0912.jpg","text":"TemporaryFile(/tmp/multipartBody6189860081467453125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142130613,"filename":"image_17012025_20_27_34_6420.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ded6efd42370dac27f84b2ae5c3dd602.jpg","text":"TemporaryFile(/tmp/multipartBody5981827013096504169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142130613,"filename":"image_17012025_20_27_46_5194.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0df4d8391d2550d3faef39754fe015ee.jpg","text":"TemporaryFile(/tmp/multipartBody4673219468792176878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142130613,"filename":"image_17012025_20_27_28_5210.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/358185effcc729cc6f6cd7ed72abf03d.jpg","text":"TemporaryFile(/tmp/multipartBody7281859909840030331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142130613,"filename":"image_17012025_20_27_41_6399.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e3cbc0b43b422e1c76298126ada7f304.jpg","text":"TemporaryFile(/tmp/multipartBody7297806185463994541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142130613,"filename":"image_17012025_20_27_52_6362.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/39468a95b8ff264bb4d40dd311b2d361.jpg","text":"TemporaryFile(/tmp/multipartBody3319736354552633009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142130613,"filename":"image_17012025_20_27_23_6339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329554038","file1":"1329554033","file0":"1329554020","file4":"1329554062","file5":"1329554064","file3":"1329554058"},"map_files_photo_id_array":[{"photo_id":"1329554064","filename":"file5"},{"photo_id":"1329554038","filename":"file2"},{"photo_id":"1329554062","filename":"file4"},{"photo_id":"1329554033","filename":"file1"},{"photo_id":"1329554020","filename":"file0"},{"photo_id":"1329554058","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329554058":["hashtag1","hashtag2"]},{"1329554033":["hashtag1","hashtag2"]},{"1329554062":["hashtag1","hashtag2"]},{"1329554038":["hashtag1","hashtag2"]},{"1329554020":["hashtag1","hashtag2"]},{"1329554064":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329554058, 1329554033, 1329554062, 1329554038, 1329554020, 1329554064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.21411347389221 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:28:41.830329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/28/image_17012025_20_28_52_6442.jpg', '/media/data/images/17012025/20/28/image_17012025_20_28_46_5183.jpg', '/media/data/images/17012025/20/28/image_17012025_20_28_41_6369.jpg', '/media/data/images/17012025/20/28/image_17012025_20_28_34_6356.jpg', '/media/data/images/17012025/20/28/image_17012025_20_28_28_5149.jpg', '/media/data/images/17012025/20/28/image_17012025_20_28_23_6366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/28/image_17012025_20_28_52_6442.jpg
/media/data/images/17012025/20/28/image_17012025_20_28_46_5183.jpg
/media/data/images/17012025/20/28/image_17012025_20_28_41_6369.jpg
/media/data/images/17012025/20/28/image_17012025_20_28_34_6356.jpg
/media/data/images/17012025/20/28/image_17012025_20_28_28_5149.jpg
/media/data/images/17012025/20/28/image_17012025_20_28_23_6366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329554156","1329554159","1329554129","1329554149","1329554134","1329554125"],"photo_ids_order":["1329554125","1329554129","1329554134","1329554149","1329554156","1329554159"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8e616e7bdbe5fd0ee1c684a1aba7e672.jpg","text":"TemporaryFile(/tmp/multipartBody4437411298354014568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142188189,"filename":"image_17012025_20_28_28_5149.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/896d04c98a9df0dc0f47f81d74528cf5.jpg","text":"TemporaryFile(/tmp/multipartBody3207767279280040784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142188189,"filename":"image_17012025_20_28_23_6366.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d37251833d1f88c5bba2591c424881ee.jpg","text":"TemporaryFile(/tmp/multipartBody1086064925840629839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142188189,"filename":"image_17012025_20_28_46_5183.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9953e4cc1cab4503a18539b0edfafce5.jpg","text":"TemporaryFile(/tmp/multipartBody3200296660364900652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142188189,"filename":"image_17012025_20_28_34_6356.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4c195ad39c6bc2f38f929da9c1502e4f.jpg","text":"TemporaryFile(/tmp/multipartBody5228688536117782200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142188189,"filename":"image_17012025_20_28_41_6369.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a509c119a448505e2a736a6643fe3590.jpg","text":"TemporaryFile(/tmp/multipartBody7418753777618541490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142188189,"filename":"image_17012025_20_28_52_6442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329554134","file1":"1329554129","file0":"1329554125","file4":"1329554156","file5":"1329554159","file3":"1329554149"},"map_files_photo_id_array":[{"photo_id":"1329554159","filename":"file5"},{"photo_id":"1329554134","filename":"file2"},{"photo_id":"1329554156","filename":"file4"},{"photo_id":"1329554129","filename":"file1"},{"photo_id":"1329554125","filename":"file0"},{"photo_id":"1329554149","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329554156":["hashtag1","hashtag2"]},{"1329554159":["hashtag1","hashtag2"]},{"1329554129":["hashtag1","hashtag2"]},{"1329554149":["hashtag1","hashtag2"]},{"1329554134":["hashtag1","hashtag2"]},{"1329554125":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329554156, 1329554159, 1329554129, 1329554149, 1329554134, 1329554125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.086305141448975 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:29:21.923244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/29/image_17012025_20_29_52_6431.jpg', '/media/data/images/17012025/20/29/image_17012025_20_29_46_5190.jpg', '/media/data/images/17012025/20/29/image_17012025_20_29_41_6375.jpg', '/media/data/images/17012025/20/29/image_17012025_20_29_34_6382.jpg', '/media/data/images/17012025/20/29/image_17012025_20_29_28_5168.jpg', '/media/data/images/17012025/20/29/image_17012025_20_29_23_6366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/29/image_17012025_20_29_52_6431.jpg
/media/data/images/17012025/20/29/image_17012025_20_29_46_5190.jpg
/media/data/images/17012025/20/29/image_17012025_20_29_41_6375.jpg
/media/data/images/17012025/20/29/image_17012025_20_29_34_6382.jpg
/media/data/images/17012025/20/29/image_17012025_20_29_28_5168.jpg
/media/data/images/17012025/20/29/image_17012025_20_29_23_6366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329554169","1329554174","1329554179","1329554188","1329554167","1329554184"],"photo_ids_order":["1329554167","1329554169","1329554174","1329554179","1329554184","1329554188"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9196a9b45fcc4befaeb745c57dfdaad8.jpg","text":"TemporaryFile(/tmp/multipartBody4224329048450643199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142228635,"filename":"image_17012025_20_29_46_5190.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e558c7382baead1cd58c9c729fe9fef7.jpg","text":"TemporaryFile(/tmp/multipartBody1927656309434459576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142228635,"filename":"image_17012025_20_29_41_6375.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8c9665a31c9ddc57b8a3814eec83773b.jpg","text":"TemporaryFile(/tmp/multipartBody5869558661013531322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142228635,"filename":"image_17012025_20_29_34_6382.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dc6bc9648ea338cdcf5522d68dd14a59.jpg","text":"TemporaryFile(/tmp/multipartBody4402648639582229257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142228635,"filename":"image_17012025_20_29_23_6366.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7899c4605761e6236ac43ad2e29ecdb5.jpg","text":"TemporaryFile(/tmp/multipartBody2692512587367002579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142228635,"filename":"image_17012025_20_29_52_6431.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ee465975f4d1249b92456cdc4119eb02.jpg","text":"TemporaryFile(/tmp/multipartBody4575998384197566301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142228635,"filename":"image_17012025_20_29_28_5168.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329554174","file1":"1329554169","file0":"1329554167","file4":"1329554184","file5":"1329554188","file3":"1329554179"},"map_files_photo_id_array":[{"photo_id":"1329554188","filename":"file5"},{"photo_id":"1329554174","filename":"file2"},{"photo_id":"1329554184","filename":"file4"},{"photo_id":"1329554169","filename":"file1"},{"photo_id":"1329554167","filename":"file0"},{"photo_id":"1329554179","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329554169":["hashtag1","hashtag2"]},{"1329554174":["hashtag1","hashtag2"]},{"1329554179":["hashtag1","hashtag2"]},{"1329554188":["hashtag1","hashtag2"]},{"1329554167":["hashtag1","hashtag2"]},{"1329554184":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329554169, 1329554174, 1329554179, 1329554188, 1329554167, 1329554184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.54060935974121 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:30:22.038561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/30/image_17012025_20_30_52_5300.jpg', '/media/data/images/17012025/20/30/image_17012025_20_30_40_5329.jpg', '/media/data/images/17012025/20/30/image_17012025_20_30_35_6477.jpg', '/media/data/images/17012025/20/30/image_17012025_20_30_28_6425.jpg', '/media/data/images/17012025/20/30/image_17012025_20_30_22_5202.jpg', '/media/data/images/17012025/20/30/image_17012025_20_30_17_6411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/30/image_17012025_20_30_52_5300.jpg
/media/data/images/17012025/20/30/image_17012025_20_30_40_5329.jpg
/media/data/images/17012025/20/30/image_17012025_20_30_35_6477.jpg
/media/data/images/17012025/20/30/image_17012025_20_30_28_6425.jpg
/media/data/images/17012025/20/30/image_17012025_20_30_22_5202.jpg
/media/data/images/17012025/20/30/image_17012025_20_30_17_6411.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329554232","1329554235","1329554223","1329554294","1329554237","1329554228"],"photo_ids_order":["1329554223","1329554228","1329554232","1329554235","1329554237","1329554294"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/015e55563a98cc710085c7110c2b2993.jpg","text":"TemporaryFile(/tmp/multipartBody2246921097606036584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142299965,"filename":"image_17012025_20_30_35_6477.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1024a841c751f10848bb1d41196424e1.jpg","text":"TemporaryFile(/tmp/multipartBody2719302459712425743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142299965,"filename":"image_17012025_20_30_28_6425.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/009df70a5de5383da26813c71de1b602.jpg","text":"TemporaryFile(/tmp/multipartBody537260664715410920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142299965,"filename":"image_17012025_20_30_52_5300.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/07625e7bf04bbe9a313608de7d4a0044.jpg","text":"TemporaryFile(/tmp/multipartBody2134307432748048608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142299965,"filename":"image_17012025_20_30_17_6411.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f61b670c65467fd6b68ce6fa14323821.jpg","text":"TemporaryFile(/tmp/multipartBody1729297771089087299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142299965,"filename":"image_17012025_20_30_22_5202.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bdb5ef8b19568f8cbe9fa007a20bece9.jpg","text":"TemporaryFile(/tmp/multipartBody3480260735807853998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142299965,"filename":"image_17012025_20_30_40_5329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329554232","file1":"1329554228","file0":"1329554223","file4":"1329554237","file5":"1329554294","file3":"1329554235"},"map_files_photo_id_array":[{"photo_id":"1329554294","filename":"file5"},{"photo_id":"1329554232","filename":"file2"},{"photo_id":"1329554237","filename":"file4"},{"photo_id":"1329554228","filename":"file1"},{"photo_id":"1329554223","filename":"file0"},{"photo_id":"1329554235","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329554232":["hashtag1","hashtag2"]},{"1329554235":["hashtag1","hashtag2"]},{"1329554223":["hashtag1","hashtag2"]},{"1329554294":["hashtag1","hashtag2"]},{"1329554237":["hashtag1","hashtag2"]},{"1329554228":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329554232, 1329554235, 1329554223, 1329554294, 1329554237, 1329554228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.43828296661377 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:31:22.148047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/31/image_17012025_20_31_46_5331.jpg', '/media/data/images/17012025/20/31/image_17012025_20_31_17_6534.jpg', '/media/data/images/17012025/20/31/image_17012025_20_31_10_6547.jpg', '/media/data/images/17012025/20/30/image_17012025_20_30_59_6532.jpg', '/media/data/images/17012025/20/30/image_17012025_20_30_10_6421.jpg', '/media/data/images/17012025/20/30/image_17012025_20_30_04_5083.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/31/image_17012025_20_31_46_5331.jpg
/media/data/images/17012025/20/31/image_17012025_20_31_17_6534.jpg
/media/data/images/17012025/20/31/image_17012025_20_31_10_6547.jpg
/media/data/images/17012025/20/30/image_17012025_20_30_59_6532.jpg
/media/data/images/17012025/20/30/image_17012025_20_30_10_6421.jpg
/media/data/images/17012025/20/30/image_17012025_20_30_04_5083.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329554703","1329554765","1329554719","1329554694","1329554769","1329554676"],"photo_ids_order":["1329554676","1329554694","1329554703","1329554719","1329554765","1329554769"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c6ad0351c19a5c32c51d685e33b3d70c.jpg","text":"TemporaryFile(/tmp/multipartBody8701203623278247282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142355533,"filename":"image_17012025_20_31_10_6547.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/98d1c7b6dc9eef7f66f9109e9111a3e8.jpg","text":"TemporaryFile(/tmp/multipartBody7566047119835264589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142355533,"filename":"image_17012025_20_30_10_6421.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d728d23f71be41f2e384971a436bc009.jpg","text":"TemporaryFile(/tmp/multipartBody4960691080483448354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142355533,"filename":"image_17012025_20_30_59_6532.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2d162ecb385f9c4fd6d76f69786697bb.jpg","text":"TemporaryFile(/tmp/multipartBody2401363411223029326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142355533,"filename":"image_17012025_20_31_17_6534.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6e8afc91a1a6dcfa0304065b72da165e.jpg","text":"TemporaryFile(/tmp/multipartBody8667805923621909090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142355533,"filename":"image_17012025_20_30_04_5083.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/43af0af1e714f6ae008e42bf644604ac.jpg","text":"TemporaryFile(/tmp/multipartBody54341556026158935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142355533,"filename":"image_17012025_20_31_46_5331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329554703","file1":"1329554694","file0":"1329554676","file4":"1329554765","file5":"1329554769","file3":"1329554719"},"map_files_photo_id_array":[{"photo_id":"1329554769","filename":"file5"},{"photo_id":"1329554703","filename":"file2"},{"photo_id":"1329554765","filename":"file4"},{"photo_id":"1329554694","filename":"file1"},{"photo_id":"1329554676","filename":"file0"},{"photo_id":"1329554719","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329554703":["hashtag1","hashtag2"]},{"1329554765":["hashtag1","hashtag2"]},{"1329554719":["hashtag1","hashtag2"]},{"1329554694":["hashtag1","hashtag2"]},{"1329554769":["hashtag1","hashtag2"]},{"1329554676":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329554703, 1329554765, 1329554719, 1329554694, 1329554769, 1329554676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.92919373512268 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:32:22.225003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/32/image_17012025_20_32_16_6577.jpg', '/media/data/images/17012025/20/32/image_17012025_20_32_10_5331.jpg', '/media/data/images/17012025/20/31/image_17012025_20_31_58_5303.jpg', '/media/data/images/17012025/20/29/image_17012025_20_29_59_6416.jpg', '/media/data/images/17012025/20/29/image_17012025_20_29_16_6377.jpg', '/media/data/images/17012025/20/29/image_17012025_20_29_10_6384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/32/image_17012025_20_32_16_6577.jpg
/media/data/images/17012025/20/32/image_17012025_20_32_10_5331.jpg
/media/data/images/17012025/20/31/image_17012025_20_31_58_5303.jpg
/media/data/images/17012025/20/29/image_17012025_20_29_59_6416.jpg
/media/data/images/17012025/20/29/image_17012025_20_29_16_6377.jpg
/media/data/images/17012025/20/29/image_17012025_20_29_10_6384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329555149","1329554925","1329555146","1329555151","1329554804","1329555036"],"photo_ids_order":["1329554804","1329554925","1329555036","1329555146","1329555149","1329555151"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dd0f240387214c0127b77ffa3fc1fe2b.jpg","text":"TemporaryFile(/tmp/multipartBody703292412631345442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142412582,"filename":"image_17012025_20_29_16_6377.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/eb82166f6cdbad8454dc63193da45fad.jpg","text":"TemporaryFile(/tmp/multipartBody5484970927461274956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142412582,"filename":"image_17012025_20_32_10_5331.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c3e4b5cf0c604c54b9b02f131c5de148.jpg","text":"TemporaryFile(/tmp/multipartBody777458934384524214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142412582,"filename":"image_17012025_20_29_59_6416.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1a4750d439593761eabfaf244d038785.jpg","text":"TemporaryFile(/tmp/multipartBody6453338238106849883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142412582,"filename":"image_17012025_20_29_10_6384.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4559eec2910bd4a80fcb1e652a905e0d.jpg","text":"TemporaryFile(/tmp/multipartBody1249950242128548845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142412582,"filename":"image_17012025_20_32_16_6577.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b526a416880df72b02e5ad345ff04bff.jpg","text":"TemporaryFile(/tmp/multipartBody8555071118022296293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142412582,"filename":"image_17012025_20_31_58_5303.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329555036","file1":"1329554925","file0":"1329554804","file4":"1329555149","file5":"1329555151","file3":"1329555146"},"map_files_photo_id_array":[{"photo_id":"1329555151","filename":"file5"},{"photo_id":"1329555036","filename":"file2"},{"photo_id":"1329555149","filename":"file4"},{"photo_id":"1329554925","filename":"file1"},{"photo_id":"1329554804","filename":"file0"},{"photo_id":"1329555146","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329555149":["hashtag1","hashtag2"]},{"1329554925":["hashtag1","hashtag2"]},{"1329555146":["hashtag1","hashtag2"]},{"1329555151":["hashtag1","hashtag2"]},{"1329554804":["hashtag1","hashtag2"]},{"1329555036":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329555149, 1329554925, 1329555146, 1329555151, 1329554804, 1329555036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.8264844417572 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:33:22.361551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/33/image_17012025_20_33_17_6570.jpg', '/media/data/images/17012025/20/33/image_17012025_20_33_05_6317.jpg', '/media/data/images/17012025/20/32/image_17012025_20_32_28_5310.jpg', '/media/data/images/17012025/20/29/image_17012025_20_29_04_4986.jpg', '/media/data/images/17012025/20/28/image_17012025_20_28_59_6404.jpg', '/media/data/images/17012025/20/28/image_17012025_20_28_16_6374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/33/image_17012025_20_33_17_6570.jpg
/media/data/images/17012025/20/33/image_17012025_20_33_05_6317.jpg
/media/data/images/17012025/20/32/image_17012025_20_32_28_5310.jpg
/media/data/images/17012025/20/29/image_17012025_20_29_04_4986.jpg
/media/data/images/17012025/20/28/image_17012025_20_28_59_6404.jpg
/media/data/images/17012025/20/28/image_17012025_20_28_16_6374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329555315","1329555329","1329555320","1329555317","1329555326","1329555322"],"photo_ids_order":["1329555315","1329555317","1329555320","1329555322","1329555326","1329555329"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7932c6af5015fe677f37faef9adacc29.jpg","text":"TemporaryFile(/tmp/multipartBody7803967522979291946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142475092,"filename":"image_17012025_20_33_17_6570.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c9f981c2e47651c2b7e746ac717d603e.jpg","text":"TemporaryFile(/tmp/multipartBody1233625647212428531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142475092,"filename":"image_17012025_20_28_16_6374.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cac3f2aa66ee5dff3af5096e875b2db6.jpg","text":"TemporaryFile(/tmp/multipartBody8173480823229493445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142475092,"filename":"image_17012025_20_32_28_5310.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a592f427dd5f92e635ce4a1b58fe7329.jpg","text":"TemporaryFile(/tmp/multipartBody2284023100973866854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142475092,"filename":"image_17012025_20_33_05_6317.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3f835867b2a6c6a9ce6b756e21d80cb4.jpg","text":"TemporaryFile(/tmp/multipartBody4630778876656295219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142475092,"filename":"image_17012025_20_28_59_6404.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/503312d56faa60fec0372cdfade2effd.jpg","text":"TemporaryFile(/tmp/multipartBody6297715552822038658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142475092,"filename":"image_17012025_20_29_04_4986.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329555320","file1":"1329555317","file0":"1329555315","file4":"1329555326","file5":"1329555329","file3":"1329555322"},"map_files_photo_id_array":[{"photo_id":"1329555329","filename":"file5"},{"photo_id":"1329555320","filename":"file2"},{"photo_id":"1329555326","filename":"file4"},{"photo_id":"1329555317","filename":"file1"},{"photo_id":"1329555315","filename":"file0"},{"photo_id":"1329555322","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329555315":["hashtag1","hashtag2"]},{"1329555329":["hashtag1","hashtag2"]},{"1329555320":["hashtag1","hashtag2"]},{"1329555317":["hashtag1","hashtag2"]},{"1329555326":["hashtag1","hashtag2"]},{"1329555322":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329555315, 1329555329, 1329555320, 1329555317, 1329555326, 1329555322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.012235164642334 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:34:22.450690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/34/image_17012025_20_34_46_6573.jpg', '/media/data/images/17012025/20/34/image_17012025_20_34_35_6534.jpg', '/media/data/images/17012025/20/34/image_17012025_20_34_28_5308.jpg', '/media/data/images/17012025/20/34/image_17012025_20_34_23_6568.jpg', '/media/data/images/17012025/20/34/image_17012025_20_34_16_5330.jpg', '/media/data/images/17012025/20/33/image_17012025_20_34_04_6558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/34/image_17012025_20_34_46_6573.jpg
/media/data/images/17012025/20/34/image_17012025_20_34_35_6534.jpg
/media/data/images/17012025/20/34/image_17012025_20_34_28_5308.jpg
/media/data/images/17012025/20/34/image_17012025_20_34_23_6568.jpg
/media/data/images/17012025/20/34/image_17012025_20_34_16_5330.jpg
/media/data/images/17012025/20/33/image_17012025_20_34_04_6558.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329555368","1329555391","1329555379","1329555384","1329555387","1329555360"],"photo_ids_order":["1329555360","1329555368","1329555379","1329555384","1329555387","1329555391"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/da39e99a20e4a7124d8196e466822f95.jpg","text":"TemporaryFile(/tmp/multipartBody8960636286776805748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142533833,"filename":"image_17012025_20_34_35_6534.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c525826b6faf30e2dc4cb7a61d2c2f70.jpg","text":"TemporaryFile(/tmp/multipartBody1783728567062172764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142533833,"filename":"image_17012025_20_34_04_6558.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/409dd8d7ef6fe4cf44c043e1cd4bf629.jpg","text":"TemporaryFile(/tmp/multipartBody3526720137680875028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142533833,"filename":"image_17012025_20_34_28_5308.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/af27e59b167de1b81b6a676d7c0199c5.jpg","text":"TemporaryFile(/tmp/multipartBody305065400453346367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142533833,"filename":"image_17012025_20_34_23_6568.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cf9c3ca67ffb03b055b29f596102c7f0.jpg","text":"TemporaryFile(/tmp/multipartBody4826617847612834463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142533833,"filename":"image_17012025_20_34_16_5330.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a2b76be07bb9a3ccb1fcb41935f70e0b.jpg","text":"TemporaryFile(/tmp/multipartBody1263787803825678381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142533833,"filename":"image_17012025_20_34_46_6573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329555379","file1":"1329555368","file0":"1329555360","file4":"1329555387","file5":"1329555391","file3":"1329555384"},"map_files_photo_id_array":[{"photo_id":"1329555391","filename":"file5"},{"photo_id":"1329555379","filename":"file2"},{"photo_id":"1329555387","filename":"file4"},{"photo_id":"1329555368","filename":"file1"},{"photo_id":"1329555360","filename":"file0"},{"photo_id":"1329555384","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329555368":["hashtag1","hashtag2"]},{"1329555391":["hashtag1","hashtag2"]},{"1329555379":["hashtag1","hashtag2"]},{"1329555384":["hashtag1","hashtag2"]},{"1329555387":["hashtag1","hashtag2"]},{"1329555360":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329555368, 1329555391, 1329555379, 1329555384, 1329555387, 1329555360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.759626150131226 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:35:22.537544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/35/image_17012025_20_35_28_6613.jpg', '/media/data/images/17012025/20/35/image_17012025_20_35_22_5303.jpg', '/media/data/images/17012025/20/34/image_17012025_20_34_58_6576.jpg', '/media/data/images/17012025/20/33/image_17012025_20_33_58_5301.jpg', '/media/data/images/17012025/20/28/image_17012025_20_28_10_6368.jpg', '/media/data/images/17012025/20/28/image_17012025_20_28_04_5005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/35/image_17012025_20_35_28_6613.jpg
/media/data/images/17012025/20/35/image_17012025_20_35_22_5303.jpg
/media/data/images/17012025/20/34/image_17012025_20_34_58_6576.jpg
/media/data/images/17012025/20/33/image_17012025_20_33_58_5301.jpg
/media/data/images/17012025/20/28/image_17012025_20_28_10_6368.jpg
/media/data/images/17012025/20/28/image_17012025_20_28_04_5005.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329555422","1329555586","1329555424","1329555427","1329555520","1329555438"],"photo_ids_order":["1329555422","1329555424","1329555427","1329555438","1329555520","1329555586"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/11aef21f6f56a79647312dda64250f99.jpg","text":"TemporaryFile(/tmp/multipartBody3865620359358360122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142596377,"filename":"image_17012025_20_35_28_6613.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/06fbec787f5d32ffb82e4d246d2a53a3.jpg","text":"TemporaryFile(/tmp/multipartBody5060597232883837881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142596377,"filename":"image_17012025_20_28_04_5005.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a4166caf0d47967219bc2daf8dbc0611.jpg","text":"TemporaryFile(/tmp/multipartBody3939994935757557225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142596377,"filename":"image_17012025_20_35_22_5303.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/61b3d285b070bb8c3c2372ef982812de.jpg","text":"TemporaryFile(/tmp/multipartBody2200294062265285816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142596377,"filename":"image_17012025_20_34_58_6576.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/41654c6285b6fc9ed6f4f2cf7dedc85b.jpg","text":"TemporaryFile(/tmp/multipartBody955830087926958620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142596377,"filename":"image_17012025_20_28_10_6368.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3cc6250655c2a8f052a20b1c6d19364d.jpg","text":"TemporaryFile(/tmp/multipartBody7391850998429584086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142596377,"filename":"image_17012025_20_33_58_5301.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329555427","file1":"1329555424","file0":"1329555422","file4":"1329555520","file5":"1329555586","file3":"1329555438"},"map_files_photo_id_array":[{"photo_id":"1329555586","filename":"file5"},{"photo_id":"1329555427","filename":"file2"},{"photo_id":"1329555520","filename":"file4"},{"photo_id":"1329555424","filename":"file1"},{"photo_id":"1329555422","filename":"file0"},{"photo_id":"1329555438","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329555422":["hashtag1","hashtag2"]},{"1329555586":["hashtag1","hashtag2"]},{"1329555424":["hashtag1","hashtag2"]},{"1329555427":["hashtag1","hashtag2"]},{"1329555520":["hashtag1","hashtag2"]},{"1329555438":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329555422, 1329555586, 1329555424, 1329555427, 1329555520, 1329555438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.424689292907715 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:36:22.649907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/36/image_17012025_20_36_40_5344.jpg', '/media/data/images/17012025/20/36/image_17012025_20_36_34_6616.jpg', '/media/data/images/17012025/20/36/image_17012025_20_36_16_5353.jpg', '/media/data/images/17012025/20/35/image_17012025_20_35_52_6563.jpg', '/media/data/images/17012025/20/27/image_17012025_20_27_59_6385.jpg', '/media/data/images/17012025/20/27/image_17012025_20_27_16_6400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/36/image_17012025_20_36_40_5344.jpg
/media/data/images/17012025/20/36/image_17012025_20_36_34_6616.jpg
/media/data/images/17012025/20/36/image_17012025_20_36_16_5353.jpg
/media/data/images/17012025/20/35/image_17012025_20_35_52_6563.jpg
/media/data/images/17012025/20/27/image_17012025_20_27_59_6385.jpg
/media/data/images/17012025/20/27/image_17012025_20_27_16_6400.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329555784","1329555763","1329555795","1329555798","1329555801","1329555791"],"photo_ids_order":["1329555763","1329555784","1329555791","1329555795","1329555798","1329555801"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d3af1c5402a037da65cfdd3bc2285141.jpg","text":"TemporaryFile(/tmp/multipartBody7004531148587547284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142661270,"filename":"image_17012025_20_36_34_6616.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9be810348c14ed2ecf6ca5b0ffa0f523.jpg","text":"TemporaryFile(/tmp/multipartBody1634130320905464343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142661270,"filename":"image_17012025_20_36_40_5344.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/56b196518186eb3468a2dda10b663639.jpg","text":"TemporaryFile(/tmp/multipartBody7293651289270021551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142661270,"filename":"image_17012025_20_35_52_6563.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/375160d049ed71a6eb7f3e063195daa9.jpg","text":"TemporaryFile(/tmp/multipartBody1288948483454360809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142661270,"filename":"image_17012025_20_27_59_6385.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4b7afab8fbf4a92f63c0ac5d1126112a.jpg","text":"TemporaryFile(/tmp/multipartBody2190721467776424255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142661270,"filename":"image_17012025_20_27_16_6400.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6e6ed4d1654694566368004279ca845b.jpg","text":"TemporaryFile(/tmp/multipartBody4096626991159909836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142661270,"filename":"image_17012025_20_36_16_5353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329555791","file1":"1329555784","file0":"1329555763","file4":"1329555798","file5":"1329555801","file3":"1329555795"},"map_files_photo_id_array":[{"photo_id":"1329555801","filename":"file5"},{"photo_id":"1329555791","filename":"file2"},{"photo_id":"1329555798","filename":"file4"},{"photo_id":"1329555784","filename":"file1"},{"photo_id":"1329555763","filename":"file0"},{"photo_id":"1329555795","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329555784":["hashtag1","hashtag2"]},{"1329555763":["hashtag1","hashtag2"]},{"1329555795":["hashtag1","hashtag2"]},{"1329555798":["hashtag1","hashtag2"]},{"1329555801":["hashtag1","hashtag2"]},{"1329555791":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329555784, 1329555763, 1329555795, 1329555798, 1329555801, 1329555791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.39709234237671 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:37:22.808646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/37/image_17012025_20_37_52_5337.jpg', '/media/data/images/17012025/20/37/image_17012025_20_37_40_5341.jpg', '/media/data/images/17012025/20/37/image_17012025_20_37_35_6619.jpg', '/media/data/images/17012025/20/37/image_17012025_20_37_16_6542.jpg', '/media/data/images/17012025/20/37/image_17012025_20_37_04_6309.jpg', '/media/data/images/17012025/20/36/image_17012025_20_36_58_5296.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/37/image_17012025_20_37_52_5337.jpg
/media/data/images/17012025/20/37/image_17012025_20_37_40_5341.jpg
/media/data/images/17012025/20/37/image_17012025_20_37_35_6619.jpg
/media/data/images/17012025/20/37/image_17012025_20_37_16_6542.jpg
/media/data/images/17012025/20/37/image_17012025_20_37_04_6309.jpg
/media/data/images/17012025/20/36/image_17012025_20_36_58_5296.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329555835","1329555838","1329555843","1329555846","1329555831","1329555840"],"photo_ids_order":["1329555831","1329555835","1329555838","1329555840","1329555843","1329555846"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9468f99eab24d56b137b05b490d1d4f0.jpg","text":"TemporaryFile(/tmp/multipartBody7709759333304572734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142726355,"filename":"image_17012025_20_37_40_5341.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/417774bba08d672bb4d6d818432d540b.jpg","text":"TemporaryFile(/tmp/multipartBody5456435102379351103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142726355,"filename":"image_17012025_20_37_35_6619.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/735993821aa95a70eb5f125699b80069.jpg","text":"TemporaryFile(/tmp/multipartBody1141706803500014459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142726355,"filename":"image_17012025_20_37_04_6309.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f774f1fc724fe29148b59dc84d071665.jpg","text":"TemporaryFile(/tmp/multipartBody189549240324297781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142726355,"filename":"image_17012025_20_36_58_5296.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b6b84e3d96a865b0d3b5740aaacde8b6.jpg","text":"TemporaryFile(/tmp/multipartBody2562013247732696225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142726355,"filename":"image_17012025_20_37_52_5337.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/af9c39ad94859f2d519a451b2411817b.jpg","text":"TemporaryFile(/tmp/multipartBody3132640579883689697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142726355,"filename":"image_17012025_20_37_16_6542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329555838","file1":"1329555835","file0":"1329555831","file4":"1329555843","file5":"1329555846","file3":"1329555840"},"map_files_photo_id_array":[{"photo_id":"1329555846","filename":"file5"},{"photo_id":"1329555838","filename":"file2"},{"photo_id":"1329555843","filename":"file4"},{"photo_id":"1329555835","filename":"file1"},{"photo_id":"1329555831","filename":"file0"},{"photo_id":"1329555840","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329555835":["hashtag1","hashtag2"]},{"1329555838":["hashtag1","hashtag2"]},{"1329555843":["hashtag1","hashtag2"]},{"1329555846":["hashtag1","hashtag2"]},{"1329555831":["hashtag1","hashtag2"]},{"1329555840":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329555835, 1329555838, 1329555843, 1329555846, 1329555831, 1329555840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.803457498550415 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:38:21.800348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/38/image_17012025_20_38_52_6542.jpg', '/media/data/images/17012025/20/38/image_17012025_20_38_46_5305.jpg', '/media/data/images/17012025/20/38/image_17012025_20_38_41_6490.jpg', '/media/data/images/17012025/20/38/image_17012025_20_38_34_5300.jpg', '/media/data/images/17012025/20/38/image_17012025_20_38_22_6536.jpg', '/media/data/images/17012025/20/37/image_17012025_20_37_59_6578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/38/image_17012025_20_38_52_6542.jpg
/media/data/images/17012025/20/38/image_17012025_20_38_46_5305.jpg
/media/data/images/17012025/20/38/image_17012025_20_38_41_6490.jpg
/media/data/images/17012025/20/38/image_17012025_20_38_34_5300.jpg
/media/data/images/17012025/20/38/image_17012025_20_38_22_6536.jpg
/media/data/images/17012025/20/37/image_17012025_20_37_59_6578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329555889","1329555880","1329555883","1329555877","1329555894","1329555885"],"photo_ids_order":["1329555877","1329555880","1329555883","1329555885","1329555889","1329555894"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ca5d93b59c3df5436900d8332bc4a367.jpg","text":"TemporaryFile(/tmp/multipartBody66401257172114629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142786229,"filename":"image_17012025_20_38_22_6536.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7012a5fff59f7cda748e84c4dac91d01.jpg","text":"TemporaryFile(/tmp/multipartBody3759641832382733540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142786229,"filename":"image_17012025_20_38_46_5305.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/28d8410585f8ad92b00836817e0964ba.jpg","text":"TemporaryFile(/tmp/multipartBody6249555606838956895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142786229,"filename":"image_17012025_20_38_41_6490.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a2802fcd92d341d754fda542c83adbb7.jpg","text":"TemporaryFile(/tmp/multipartBody758821274383795270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142786229,"filename":"image_17012025_20_38_52_6542.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/126d7ffb367a19b663fb848726e373b9.jpg","text":"TemporaryFile(/tmp/multipartBody2213164014168467740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142786229,"filename":"image_17012025_20_37_59_6578.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a5a4b390caa34fa44030a893cea300da.jpg","text":"TemporaryFile(/tmp/multipartBody6019730547853456871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142786229,"filename":"image_17012025_20_38_34_5300.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329555883","file1":"1329555880","file0":"1329555877","file4":"1329555889","file5":"1329555894","file3":"1329555885"},"map_files_photo_id_array":[{"photo_id":"1329555894","filename":"file5"},{"photo_id":"1329555883","filename":"file2"},{"photo_id":"1329555889","filename":"file4"},{"photo_id":"1329555880","filename":"file1"},{"photo_id":"1329555877","filename":"file0"},{"photo_id":"1329555885","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329555889":["hashtag1","hashtag2"]},{"1329555880":["hashtag1","hashtag2"]},{"1329555883":["hashtag1","hashtag2"]},{"1329555877":["hashtag1","hashtag2"]},{"1329555894":["hashtag1","hashtag2"]},{"1329555885":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329555889, 1329555880, 1329555883, 1329555877, 1329555894, 1329555885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.5449583530426 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:39:21.981642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/39/image_17012025_20_39_23_6539.jpg', '/media/data/images/17012025/20/38/image_17012025_20_38_58_5305.jpg', '/media/data/images/17012025/20/27/image_17012025_20_27_10_5220.jpg', '/media/data/images/17012025/20/27/image_17012025_20_27_05_6248.jpg', '/media/data/images/17012025/20/26/image_17012025_20_26_59_6408.jpg', '/media/data/images/17012025/20/26/image_17012025_20_26_16_6382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/39/image_17012025_20_39_23_6539.jpg
/media/data/images/17012025/20/38/image_17012025_20_38_58_5305.jpg
/media/data/images/17012025/20/27/image_17012025_20_27_10_5220.jpg
/media/data/images/17012025/20/27/image_17012025_20_27_05_6248.jpg
/media/data/images/17012025/20/26/image_17012025_20_26_59_6408.jpg
/media/data/images/17012025/20/26/image_17012025_20_26_16_6382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329555959","1329555970","1329555943","1329555955","1329555951","1329555948"],"photo_ids_order":["1329555943","1329555948","1329555951","1329555955","1329555959","1329555970"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8fa5ee023cba59d64d17216c88c9dcae.jpg","text":"TemporaryFile(/tmp/multipartBody8687411409072850526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142854914,"filename":"image_17012025_20_26_59_6408.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fea937c4783bbde777724728afd4b3ef.jpg","text":"TemporaryFile(/tmp/multipartBody2420296155097176349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142854914,"filename":"image_17012025_20_26_16_6382.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f22990bca4027db8dbf3cc29d8f84ecc.jpg","text":"TemporaryFile(/tmp/multipartBody357007449092527555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142854914,"filename":"image_17012025_20_39_23_6539.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0c3e0ec4ceebe14198c8fa55057c4c34.jpg","text":"TemporaryFile(/tmp/multipartBody932559200816423393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142854914,"filename":"image_17012025_20_27_05_6248.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e8949dc78ee2ab3a767e9b1508bcd9df.jpg","text":"TemporaryFile(/tmp/multipartBody3499928429052935516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142854914,"filename":"image_17012025_20_27_10_5220.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2a63e84e960631c3911a1cd36b70ddcb.jpg","text":"TemporaryFile(/tmp/multipartBody5473911860781153889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142854914,"filename":"image_17012025_20_38_58_5305.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329555951","file1":"1329555948","file0":"1329555943","file4":"1329555959","file5":"1329555970","file3":"1329555955"},"map_files_photo_id_array":[{"photo_id":"1329555970","filename":"file5"},{"photo_id":"1329555951","filename":"file2"},{"photo_id":"1329555959","filename":"file4"},{"photo_id":"1329555948","filename":"file1"},{"photo_id":"1329555943","filename":"file0"},{"photo_id":"1329555955","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329555959":["hashtag1","hashtag2"]},{"1329555970":["hashtag1","hashtag2"]},{"1329555943":["hashtag1","hashtag2"]},{"1329555955":["hashtag1","hashtag2"]},{"1329555951":["hashtag1","hashtag2"]},{"1329555948":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329555959, 1329555970, 1329555943, 1329555955, 1329555951, 1329555948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.95548009872437 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:40:42.141007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/40/image_17012025_20_40_10_5330.jpg', '/media/data/images/17012025/20/40/image_17012025_20_40_05_6396.jpg', '/media/data/images/17012025/20/39/image_17012025_20_39_28_5307.jpg', '/media/data/images/17012025/20/26/image_17012025_20_26_10_5202.jpg', '/media/data/images/17012025/20/26/image_17012025_20_26_05_6155.jpg', '/media/data/images/17012025/20/25/image_17012025_20_25_58_6387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/40/image_17012025_20_40_10_5330.jpg
/media/data/images/17012025/20/40/image_17012025_20_40_05_6396.jpg
/media/data/images/17012025/20/39/image_17012025_20_39_28_5307.jpg
/media/data/images/17012025/20/26/image_17012025_20_26_10_5202.jpg
/media/data/images/17012025/20/26/image_17012025_20_26_05_6155.jpg
/media/data/images/17012025/20/25/image_17012025_20_25_58_6387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329556180","1329556174","1329556270","1329556281","1329556236","1329556230"],"photo_ids_order":["1329556174","1329556180","1329556230","1329556236","1329556270","1329556281"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2acb10d080480df0fb49471d8f3c38f6.jpg","text":"TemporaryFile(/tmp/multipartBody5819744872670334940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142914256,"filename":"image_17012025_20_40_05_6396.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2264a4e264487a1589d94d6ffbf98dfe.jpg","text":"TemporaryFile(/tmp/multipartBody7985943210346249274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142914256,"filename":"image_17012025_20_40_10_5330.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0dbd59a6b3c6360a01b3754480c82c46.jpg","text":"TemporaryFile(/tmp/multipartBody2297087791513431589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142914256,"filename":"image_17012025_20_26_05_6155.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0aadbacb2e0dd5d3f8af4f4a5d1fc8ae.jpg","text":"TemporaryFile(/tmp/multipartBody1055344201328252646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142914256,"filename":"image_17012025_20_25_58_6387.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/566b2ce7f1fd77b7796010f9e412bf09.jpg","text":"TemporaryFile(/tmp/multipartBody5747930709387239958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142914256,"filename":"image_17012025_20_26_10_5202.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/53d93b4c022cc85da2e1fa4aaac6fb65.jpg","text":"TemporaryFile(/tmp/multipartBody899483902659731972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142914256,"filename":"image_17012025_20_39_28_5307.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329556230","file1":"1329556180","file0":"1329556174","file4":"1329556270","file5":"1329556281","file3":"1329556236"},"map_files_photo_id_array":[{"photo_id":"1329556281","filename":"file5"},{"photo_id":"1329556230","filename":"file2"},{"photo_id":"1329556270","filename":"file4"},{"photo_id":"1329556180","filename":"file1"},{"photo_id":"1329556174","filename":"file0"},{"photo_id":"1329556236","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329556180":["hashtag1","hashtag2"]},{"1329556174":["hashtag1","hashtag2"]},{"1329556270":["hashtag1","hashtag2"]},{"1329556281":["hashtag1","hashtag2"]},{"1329556236":["hashtag1","hashtag2"]},{"1329556230":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329556180, 1329556174, 1329556270, 1329556281, 1329556236, 1329556230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.993189573287964 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:41:42.289879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/41/image_17012025_20_41_46_5320.jpg', '/media/data/images/17012025/20/41/image_17012025_20_41_34_6546.jpg', '/media/data/images/17012025/20/41/image_17012025_20_41_22_6562.jpg', '/media/data/images/17012025/20/41/image_17012025_20_41_16_5339.jpg', '/media/data/images/17012025/20/41/image_17012025_20_41_10_6595.jpg', '/media/data/images/17012025/20/40/image_17012025_20_40_17_6563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/41/image_17012025_20_41_46_5320.jpg
/media/data/images/17012025/20/41/image_17012025_20_41_34_6546.jpg
/media/data/images/17012025/20/41/image_17012025_20_41_22_6562.jpg
/media/data/images/17012025/20/41/image_17012025_20_41_16_5339.jpg
/media/data/images/17012025/20/41/image_17012025_20_41_10_6595.jpg
/media/data/images/17012025/20/40/image_17012025_20_40_17_6563.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329556396","1329556400","1329556403","1329556405","1329556374","1329556379"],"photo_ids_order":["1329556374","1329556379","1329556396","1329556400","1329556403","1329556405"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1a3b93ec52231b08dc358ae0e1c35c8f.jpg","text":"TemporaryFile(/tmp/multipartBody6683294772903597658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142986940,"filename":"image_17012025_20_41_22_6562.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a7e599fc8527bc9c35cc9fe70e3f27bc.jpg","text":"TemporaryFile(/tmp/multipartBody4148018846286199998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142986940,"filename":"image_17012025_20_41_16_5339.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3e6a40a2e2ad1126121e7193c7b9dd72.jpg","text":"TemporaryFile(/tmp/multipartBody123829673720273023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142986940,"filename":"image_17012025_20_41_10_6595.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a586e3a894cee11964a42fe7d926db28.jpg","text":"TemporaryFile(/tmp/multipartBody7573996582536842531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142986940,"filename":"image_17012025_20_40_17_6563.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1de0b9beafaffeeb2985a761dbbd785c.jpg","text":"TemporaryFile(/tmp/multipartBody7939859259781857598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142986940,"filename":"image_17012025_20_41_46_5320.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b8001ddd7cfe38737c9ec83b6fd3e3b0.jpg","text":"TemporaryFile(/tmp/multipartBody4002836149045470891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737142986940,"filename":"image_17012025_20_41_34_6546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329556396","file1":"1329556379","file0":"1329556374","file4":"1329556403","file5":"1329556405","file3":"1329556400"},"map_files_photo_id_array":[{"photo_id":"1329556405","filename":"file5"},{"photo_id":"1329556396","filename":"file2"},{"photo_id":"1329556403","filename":"file4"},{"photo_id":"1329556379","filename":"file1"},{"photo_id":"1329556374","filename":"file0"},{"photo_id":"1329556400","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329556396":["hashtag1","hashtag2"]},{"1329556400":["hashtag1","hashtag2"]},{"1329556403":["hashtag1","hashtag2"]},{"1329556405":["hashtag1","hashtag2"]},{"1329556374":["hashtag1","hashtag2"]},{"1329556379":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329556396, 1329556400, 1329556403, 1329556405, 1329556374, 1329556379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.646724462509155 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:43:02.936434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/42/image_17012025_20_42_40_5307.jpg', '/media/data/images/17012025/20/42/image_17012025_20_42_35_6543.jpg', '/media/data/images/17012025/20/42/image_17012025_20_42_28_6543.jpg', '/media/data/images/17012025/20/42/image_17012025_20_42_22_5309.jpg', '/media/data/images/17012025/20/41/image_17012025_20_42_05_6569.jpg', '/media/data/images/17012025/20/41/image_17012025_20_41_53_6554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/42/image_17012025_20_42_40_5307.jpg
/media/data/images/17012025/20/42/image_17012025_20_42_35_6543.jpg
/media/data/images/17012025/20/42/image_17012025_20_42_28_6543.jpg
/media/data/images/17012025/20/42/image_17012025_20_42_22_5309.jpg
/media/data/images/17012025/20/41/image_17012025_20_42_05_6569.jpg
/media/data/images/17012025/20/41/image_17012025_20_41_53_6554.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":["1329556495","1329556502","1329556488","1329556485","1329556499","1329556481"],"photo_ids_order":["1329556481","1329556485","1329556488","1329556495","1329556499","1329556502"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/176498863a703763c219b5d38ff925e8.jpg","text":"TemporaryFile(/tmp/multipartBody5474178453839278847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143071147,"filename":"image_17012025_20_42_22_5309.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f01163222cd60f5bddb85988249675d1.jpg","text":"TemporaryFile(/tmp/multipartBody6423699810619012984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143071147,"filename":"image_17012025_20_41_53_6554.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/389dc0a3575a605cdec8f41372d1844e.jpg","text":"TemporaryFile(/tmp/multipartBody5868792343059916652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143071147,"filename":"image_17012025_20_42_28_6543.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/985dc6e8b99bad9b9ec553426240f351.jpg","text":"TemporaryFile(/tmp/multipartBody3260861383655500517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143071147,"filename":"image_17012025_20_42_35_6543.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0273a6bc9128221dc02cda15cf6e81ce.jpg","text":"TemporaryFile(/tmp/multipartBody4612278795103107902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143071147,"filename":"image_17012025_20_42_05_6569.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/be322bc8420bf7c61f37a8c3447d7d53.jpg","text":"TemporaryFile(/tmp/multipartBody6842983757733720766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143071147,"filename":"image_17012025_20_42_40_5307.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329556488","file1":"1329556485","file0":"1329556481","file4":"1329556499","file5":"1329556502","file3":"1329556495"},"map_files_photo_id_array":[{"photo_id":"1329556502","filename":"file5"},{"photo_id":"1329556488","filename":"file2"},{"photo_id":"1329556499","filename":"file4"},{"photo_id":"1329556485","filename":"file1"},{"photo_id":"1329556481","filename":"file0"},{"photo_id":"1329556495","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329556495":["hashtag1","hashtag2"]},{"1329556502":["hashtag1","hashtag2"]},{"1329556488":["hashtag1","hashtag2"]},{"1329556485":["hashtag1","hashtag2"]},{"1329556499":["hashtag1","hashtag2"]},{"1329556481":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329556495, 1329556502, 1329556488, 1329556485, 1329556499, 1329556481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.9755802154541 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:44:22.635127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/44/image_17012025_20_44_52_5310.jpg', '/media/data/images/17012025/20/44/image_17012025_20_44_46_6535.jpg', '/media/data/images/17012025/20/44/image_17012025_20_44_40_5307.jpg', '/media/data/images/17012025/20/44/image_17012025_20_44_35_6548.jpg', '/media/data/images/17012025/20/44/image_17012025_20_44_11_6564.jpg', '/media/data/images/17012025/20/43/image_17012025_20_43_52_6541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/44/image_17012025_20_44_52_5310.jpg
/media/data/images/17012025/20/44/image_17012025_20_44_46_6535.jpg
/media/data/images/17012025/20/44/image_17012025_20_44_40_5307.jpg
/media/data/images/17012025/20/44/image_17012025_20_44_35_6548.jpg
/media/data/images/17012025/20/44/image_17012025_20_44_11_6564.jpg
/media/data/images/17012025/20/43/image_17012025_20_43_52_6541.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329556561","1329556563","1329556557","1329556551","1329556554","1329556541"],"photo_ids_order":["1329556541","1329556551","1329556554","1329556557","1329556561","1329556563"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/80ee53a71db1e6e2a41033407a77747a.jpg","text":"TemporaryFile(/tmp/multipartBody9104234218185100923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143149445,"filename":"image_17012025_20_44_11_6564.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fe691113efc98a7390ce35a65f8e997f.jpg","text":"TemporaryFile(/tmp/multipartBody4726940519156399627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143149445,"filename":"image_17012025_20_43_52_6541.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3d755a2ea8f5861a2453ced59db51db0.jpg","text":"TemporaryFile(/tmp/multipartBody6369584781052524522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143149445,"filename":"image_17012025_20_44_35_6548.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e680f4360dc948afb1a8392cc20e1eb1.jpg","text":"TemporaryFile(/tmp/multipartBody8266141612356256934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143149445,"filename":"image_17012025_20_44_46_6535.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/eb6934536a290f1d79766960c3304280.jpg","text":"TemporaryFile(/tmp/multipartBody3491980196303720479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143149445,"filename":"image_17012025_20_44_40_5307.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/db85a411ddc4dc93338490e99faa664a.jpg","text":"TemporaryFile(/tmp/multipartBody4225365010650853873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143149445,"filename":"image_17012025_20_44_52_5310.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329556554","file1":"1329556551","file0":"1329556541","file4":"1329556561","file5":"1329556563","file3":"1329556557"},"map_files_photo_id_array":[{"photo_id":"1329556563","filename":"file5"},{"photo_id":"1329556554","filename":"file2"},{"photo_id":"1329556561","filename":"file4"},{"photo_id":"1329556551","filename":"file1"},{"photo_id":"1329556541","filename":"file0"},{"photo_id":"1329556557","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329556561":["hashtag1","hashtag2"]},{"1329556563":["hashtag1","hashtag2"]},{"1329556557":["hashtag1","hashtag2"]},{"1329556551":["hashtag1","hashtag2"]},{"1329556554":["hashtag1","hashtag2"]},{"1329556541":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329556561, 1329556563, 1329556557, 1329556551, 1329556554, 1329556541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.97438287734985 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:45:42.691610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/45/image_17012025_20_45_52_5311.jpg', '/media/data/images/17012025/20/45/image_17012025_20_45_47_6597.jpg', '/media/data/images/17012025/20/45/image_17012025_20_45_34_5306.jpg', '/media/data/images/17012025/20/45/image_17012025_20_45_10_5316.jpg', '/media/data/images/17012025/20/44/image_17012025_20_44_58_6551.jpg', '/media/data/images/17012025/20/43/image_17012025_20_43_41_6544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/45/image_17012025_20_45_52_5311.jpg
/media/data/images/17012025/20/45/image_17012025_20_45_47_6597.jpg
/media/data/images/17012025/20/45/image_17012025_20_45_34_5306.jpg
/media/data/images/17012025/20/45/image_17012025_20_45_10_5316.jpg
/media/data/images/17012025/20/44/image_17012025_20_44_58_6551.jpg
/media/data/images/17012025/20/43/image_17012025_20_43_41_6544.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329556798","1329556863","1329556889","1329556812","1329556800","1329556784"],"photo_ids_order":["1329556784","1329556798","1329556800","1329556812","1329556863","1329556889"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d8449f2927388e70f154589a940d29aa.jpg","text":"TemporaryFile(/tmp/multipartBody4646565739660942613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143229237,"filename":"image_17012025_20_45_47_6597.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6d3deaa14a94901afa2d570955d728a3.jpg","text":"TemporaryFile(/tmp/multipartBody8384668101355699123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143229237,"filename":"image_17012025_20_44_58_6551.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4e01605cb01e956b073cecbd77fd0ed7.jpg","text":"TemporaryFile(/tmp/multipartBody2661600954852929779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143229237,"filename":"image_17012025_20_43_41_6544.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2cc51d403f1aab339b8f277247546b25.jpg","text":"TemporaryFile(/tmp/multipartBody832300141500392323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143229237,"filename":"image_17012025_20_45_10_5316.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8525479b5dca6e955115994b1c00bef4.jpg","text":"TemporaryFile(/tmp/multipartBody8730290788758861363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143229237,"filename":"image_17012025_20_45_34_5306.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f32c5d237bc0f73e8d0ed222463d3b24.jpg","text":"TemporaryFile(/tmp/multipartBody3021206772260523439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143229237,"filename":"image_17012025_20_45_52_5311.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329556800","file1":"1329556798","file0":"1329556784","file4":"1329556863","file5":"1329556889","file3":"1329556812"},"map_files_photo_id_array":[{"photo_id":"1329556889","filename":"file5"},{"photo_id":"1329556800","filename":"file2"},{"photo_id":"1329556863","filename":"file4"},{"photo_id":"1329556798","filename":"file1"},{"photo_id":"1329556784","filename":"file0"},{"photo_id":"1329556812","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329556798":["hashtag1","hashtag2"]},{"1329556863":["hashtag1","hashtag2"]},{"1329556889":["hashtag1","hashtag2"]},{"1329556812":["hashtag1","hashtag2"]},{"1329556800":["hashtag1","hashtag2"]},{"1329556784":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329556798, 1329556863, 1329556889, 1329556812, 1329556800, 1329556784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.383586406707764 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:47:02.289707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/46/image_17012025_20_46_29_6557.jpg', '/media/data/images/17012025/20/46/image_17012025_20_46_16_5322.jpg', '/media/data/images/17012025/20/45/image_17012025_20_45_59_6541.jpg', '/media/data/images/17012025/20/43/image_17012025_20_43_34_5309.jpg', '/media/data/images/17012025/20/43/image_17012025_20_43_22_5309.jpg', '/media/data/images/17012025/20/42/image_17012025_20_42_59_6567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/46/image_17012025_20_46_29_6557.jpg
/media/data/images/17012025/20/46/image_17012025_20_46_16_5322.jpg
/media/data/images/17012025/20/45/image_17012025_20_45_59_6541.jpg
/media/data/images/17012025/20/43/image_17012025_20_43_34_5309.jpg
/media/data/images/17012025/20/43/image_17012025_20_43_22_5309.jpg
/media/data/images/17012025/20/42/image_17012025_20_42_59_6567.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329557452","1329557440","1329557422","1329557447","1329557444","1329557426"],"photo_ids_order":["1329557422","1329557426","1329557440","1329557444","1329557447","1329557452"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2ae5c37b6c2419cc6d5f6df458a24601.jpg","text":"TemporaryFile(/tmp/multipartBody5296533810372507568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143320303,"filename":"image_17012025_20_42_59_6567.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/92bf94767c9a4cc39bad7a4120237d7e.jpg","text":"TemporaryFile(/tmp/multipartBody9086321332010199061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143320303,"filename":"image_17012025_20_45_59_6541.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/555180731ab13cda79937ce6621f47bf.jpg","text":"TemporaryFile(/tmp/multipartBody8762952472899564409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143320303,"filename":"image_17012025_20_46_29_6557.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/eeb213bca0f62f81d93f2c281fe0da12.jpg","text":"TemporaryFile(/tmp/multipartBody5917826619734093714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143320303,"filename":"image_17012025_20_43_22_5309.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0855a7c907b900afc291ed8c7c789003.jpg","text":"TemporaryFile(/tmp/multipartBody89557212757605787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143320303,"filename":"image_17012025_20_43_34_5309.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/262f347d1f35a20e9f909c4487c23578.jpg","text":"TemporaryFile(/tmp/multipartBody8396205442785660946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143320303,"filename":"image_17012025_20_46_16_5322.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329557440","file1":"1329557426","file0":"1329557422","file4":"1329557447","file5":"1329557452","file3":"1329557444"},"map_files_photo_id_array":[{"photo_id":"1329557452","filename":"file5"},{"photo_id":"1329557440","filename":"file2"},{"photo_id":"1329557447","filename":"file4"},{"photo_id":"1329557426","filename":"file1"},{"photo_id":"1329557422","filename":"file0"},{"photo_id":"1329557444","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329557452":["hashtag1","hashtag2"]},{"1329557440":["hashtag1","hashtag2"]},{"1329557422":["hashtag1","hashtag2"]},{"1329557447":["hashtag1","hashtag2"]},{"1329557444":["hashtag1","hashtag2"]},{"1329557426":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329557452, 1329557440, 1329557422, 1329557447, 1329557444, 1329557426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 71.59741044044495 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:48:22.026176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/48/image_17012025_20_48_41_6629.jpg', '/media/data/images/17012025/20/48/image_17012025_20_48_34_5347.jpg', '/media/data/images/17012025/20/47/image_17012025_20_47_58_6546.jpg', '/media/data/images/17012025/20/47/image_17012025_20_47_52_5305.jpg', '/media/data/images/17012025/20/47/image_17012025_20_47_16_6541.jpg', '/media/data/images/17012025/20/47/image_17012025_20_47_10_5334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/48/image_17012025_20_48_41_6629.jpg
/media/data/images/17012025/20/48/image_17012025_20_48_34_5347.jpg
/media/data/images/17012025/20/47/image_17012025_20_47_58_6546.jpg
/media/data/images/17012025/20/47/image_17012025_20_47_52_5305.jpg
/media/data/images/17012025/20/47/image_17012025_20_47_16_6541.jpg
/media/data/images/17012025/20/47/image_17012025_20_47_10_5334.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":["1329557497","1329557490","1329557487","1329557502","1329557492","1329557494"],"photo_ids_order":["1329557487","1329557490","1329557492","1329557494","1329557497","1329557502"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d7c497ac0d8bad32537fa997d7eb7b28.jpg","text":"TemporaryFile(/tmp/multipartBody8884388041606539605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143419075,"filename":"image_17012025_20_47_16_6541.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fba0f9af1c868ddf8b12bc0aabdd22eb.jpg","text":"TemporaryFile(/tmp/multipartBody17903498682375731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143419075,"filename":"image_17012025_20_48_34_5347.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6c7fdb4e5a27bcb388fea9d2f70f14b3.jpg","text":"TemporaryFile(/tmp/multipartBody4412147116998792746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143419075,"filename":"image_17012025_20_48_41_6629.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5fdeb575cae77df70d35d4564ad37bf8.jpg","text":"TemporaryFile(/tmp/multipartBody7107904979968286967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143419075,"filename":"image_17012025_20_47_10_5334.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d24194764c7834c369e0b7a686ecabfd.jpg","text":"TemporaryFile(/tmp/multipartBody7130815353760420051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143419075,"filename":"image_17012025_20_47_58_6546.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a65cb4a3c6f344f0d901a227786593f0.jpg","text":"TemporaryFile(/tmp/multipartBody8613420459272663831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143419075,"filename":"image_17012025_20_47_52_5305.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329557492","file1":"1329557490","file0":"1329557487","file4":"1329557497","file5":"1329557502","file3":"1329557494"},"map_files_photo_id_array":[{"photo_id":"1329557502","filename":"file5"},{"photo_id":"1329557492","filename":"file2"},{"photo_id":"1329557497","filename":"file4"},{"photo_id":"1329557490","filename":"file1"},{"photo_id":"1329557487","filename":"file0"},{"photo_id":"1329557494","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329557497":["hashtag1","hashtag2"]},{"1329557490":["hashtag1","hashtag2"]},{"1329557487":["hashtag1","hashtag2"]},{"1329557502":["hashtag1","hashtag2"]},{"1329557492":["hashtag1","hashtag2"]},{"1329557494":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329557497, 1329557490, 1329557487, 1329557502, 1329557492, 1329557494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 90.29202342033386 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:50:02.354610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/49/image_17012025_20_49_46_5373.jpg', '/media/data/images/17012025/20/49/image_17012025_20_49_40_6627.jpg', '/media/data/images/17012025/20/49/image_17012025_20_49_34_5343.jpg', '/media/data/images/17012025/20/49/image_17012025_20_49_22_5339.jpg', '/media/data/images/17012025/20/49/image_17012025_20_49_10_5375.jpg', '/media/data/images/17012025/20/48/image_17012025_20_49_04_6590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/49/image_17012025_20_49_46_5373.jpg
/media/data/images/17012025/20/49/image_17012025_20_49_40_6627.jpg
/media/data/images/17012025/20/49/image_17012025_20_49_34_5343.jpg
/media/data/images/17012025/20/49/image_17012025_20_49_22_5339.jpg
/media/data/images/17012025/20/49/image_17012025_20_49_10_5375.jpg
/media/data/images/17012025/20/48/image_17012025_20_49_04_6590.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":["1329557674","1329557542","1329557545","1329557553","1329557582","1329557549"],"photo_ids_order":["1329557542","1329557545","1329557549","1329557553","1329557582","1329557674"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5eac8e52232becab35763295be5888e9.jpg","text":"TemporaryFile(/tmp/multipartBody6800115825127977576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143513773,"filename":"image_17012025_20_49_04_6590.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a7971535dc596b13467b5f5fd55b5a02.jpg","text":"TemporaryFile(/tmp/multipartBody4114729274453445860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143513773,"filename":"image_17012025_20_49_46_5373.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/59cb62409cc3807631edf83c33d5db9c.jpg","text":"TemporaryFile(/tmp/multipartBody4630717166866933428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143513773,"filename":"image_17012025_20_49_40_6627.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2edc865080e9f4d48dfd4bfced52ae29.jpg","text":"TemporaryFile(/tmp/multipartBody5310283498764494966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143513773,"filename":"image_17012025_20_49_22_5339.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ccebef5ecd3968ad4dd9bee2da70dc8e.jpg","text":"TemporaryFile(/tmp/multipartBody3197487874990460291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143513773,"filename":"image_17012025_20_49_10_5375.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cfc00245826644599b441701f5844b24.jpg","text":"TemporaryFile(/tmp/multipartBody6171839961969494081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143513773,"filename":"image_17012025_20_49_34_5343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329557549","file1":"1329557545","file0":"1329557542","file4":"1329557582","file5":"1329557674","file3":"1329557553"},"map_files_photo_id_array":[{"photo_id":"1329557674","filename":"file5"},{"photo_id":"1329557549","filename":"file2"},{"photo_id":"1329557582","filename":"file4"},{"photo_id":"1329557545","filename":"file1"},{"photo_id":"1329557542","filename":"file0"},{"photo_id":"1329557553","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329557674":["hashtag1","hashtag2"]},{"1329557542":["hashtag1","hashtag2"]},{"1329557545":["hashtag1","hashtag2"]},{"1329557553":["hashtag1","hashtag2"]},{"1329557582":["hashtag1","hashtag2"]},{"1329557549":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329557674, 1329557542, 1329557545, 1329557553, 1329557582, 1329557549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 86.88821864128113 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:51:42.352460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/51/image_17012025_20_51_46_5360.jpg', '/media/data/images/17012025/20/51/image_17012025_20_51_41_6590.jpg', '/media/data/images/17012025/20/51/image_17012025_20_51_34_5347.jpg', '/media/data/images/17012025/20/51/image_17012025_20_51_17_6548.jpg', '/media/data/images/17012025/20/50/image_17012025_20_50_40_5310.jpg', '/media/data/images/17012025/20/50/image_17012025_20_50_35_6544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/51/image_17012025_20_51_46_5360.jpg
/media/data/images/17012025/20/51/image_17012025_20_51_41_6590.jpg
/media/data/images/17012025/20/51/image_17012025_20_51_34_5347.jpg
/media/data/images/17012025/20/51/image_17012025_20_51_17_6548.jpg
/media/data/images/17012025/20/50/image_17012025_20_50_40_5310.jpg
/media/data/images/17012025/20/50/image_17012025_20_50_35_6544.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329557973","1329557966","1329557975","1329557951","1329558002","1329557977"],"photo_ids_order":["1329557951","1329557966","1329557973","1329557975","1329557977","1329558002"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6e1530557c6ac3278efddfe6aceef8ac.jpg","text":"TemporaryFile(/tmp/multipartBody5558249967830097476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143583035,"filename":"image_17012025_20_51_34_5347.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3e189ff1a2b9be2e13128b660ed25344.jpg","text":"TemporaryFile(/tmp/multipartBody6282260715854884183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143583035,"filename":"image_17012025_20_51_41_6590.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6a07b3c9962d4b90135d1ec8938192f0.jpg","text":"TemporaryFile(/tmp/multipartBody639414040623119507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143583035,"filename":"image_17012025_20_51_17_6548.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2fddbae54e1dfee44d6b781969dc5c1c.jpg","text":"TemporaryFile(/tmp/multipartBody3438943973457548708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143583035,"filename":"image_17012025_20_51_46_5360.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c870c124d4d70867ad517a97e98fcf8f.jpg","text":"TemporaryFile(/tmp/multipartBody4909951299352199641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143583035,"filename":"image_17012025_20_50_35_6544.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a7ed238256af81f26d4590e05be246cf.jpg","text":"TemporaryFile(/tmp/multipartBody2363418584180012806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143583035,"filename":"image_17012025_20_50_40_5310.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329557973","file1":"1329557966","file0":"1329557951","file4":"1329557977","file5":"1329558002","file3":"1329557975"},"map_files_photo_id_array":[{"photo_id":"1329558002","filename":"file5"},{"photo_id":"1329557973","filename":"file2"},{"photo_id":"1329557977","filename":"file4"},{"photo_id":"1329557966","filename":"file1"},{"photo_id":"1329557951","filename":"file0"},{"photo_id":"1329557975","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329557973":["hashtag1","hashtag2"]},{"1329557966":["hashtag1","hashtag2"]},{"1329557975":["hashtag1","hashtag2"]},{"1329557951":["hashtag1","hashtag2"]},{"1329558002":["hashtag1","hashtag2"]},{"1329557977":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329557973, 1329557966, 1329557975, 1329557951, 1329558002, 1329557977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.04885172843933 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:52:42.427191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/52/image_17012025_20_52_47_6580.jpg', '/media/data/images/17012025/20/52/image_17012025_20_52_16_6543.jpg', '/media/data/images/17012025/20/52/image_17012025_20_52_10_5345.jpg', '/media/data/images/17012025/20/51/image_17012025_20_51_58_5311.jpg', '/media/data/images/17012025/20/50/image_17012025_20_50_28_5306.jpg', '/media/data/images/17012025/20/50/image_17012025_20_50_23_6547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/52/image_17012025_20_52_47_6580.jpg
/media/data/images/17012025/20/52/image_17012025_20_52_16_6543.jpg
/media/data/images/17012025/20/52/image_17012025_20_52_10_5345.jpg
/media/data/images/17012025/20/51/image_17012025_20_51_58_5311.jpg
/media/data/images/17012025/20/50/image_17012025_20_50_28_5306.jpg
/media/data/images/17012025/20/50/image_17012025_20_50_23_6547.jpg
 val : 1 : upload photos already in processing! 
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: 25.787428379058838 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:53:22.528232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/53/image_17012025_20_53_34_5340.jpg', '/media/data/images/17012025/20/53/image_17012025_20_53_22_5306.jpg', '/media/data/images/17012025/20/53/image_17012025_20_53_17_6544.jpg', '/media/data/images/17012025/20/53/image_17012025_20_53_10_6578.jpg', '/media/data/images/17012025/20/53/image_17012025_20_53_04_5127.jpg', '/media/data/images/17012025/20/52/image_17012025_20_52_59_6572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/53/image_17012025_20_53_34_5340.jpg
/media/data/images/17012025/20/53/image_17012025_20_53_22_5306.jpg
/media/data/images/17012025/20/53/image_17012025_20_53_17_6544.jpg
/media/data/images/17012025/20/53/image_17012025_20_53_10_6578.jpg
/media/data/images/17012025/20/53/image_17012025_20_53_04_5127.jpg
/media/data/images/17012025/20/52/image_17012025_20_52_59_6572.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":["1329558264","1329558272","1329558260","1329558254","1329558257","1329558262"],"photo_ids_order":["1329558254","1329558257","1329558260","1329558262","1329558264","1329558272"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7add0762805bcb39d003590df5978408.jpg","text":"TemporaryFile(/tmp/multipartBody4363293109839821647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143702310,"filename":"image_17012025_20_53_04_5127.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8ab9526ca56bea1bf560e8e4e354ec82.jpg","text":"TemporaryFile(/tmp/multipartBody5463159038517755082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143702310,"filename":"image_17012025_20_52_59_6572.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b8458b1751a1109090ed85166a31d482.jpg","text":"TemporaryFile(/tmp/multipartBody8844832679825269312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143702310,"filename":"image_17012025_20_53_17_6544.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6c7562059af0b02c6436574e73f54a54.jpg","text":"TemporaryFile(/tmp/multipartBody596441827010014724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143702310,"filename":"image_17012025_20_53_34_5340.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8d9a798ba5caaec44bddcb8e2ae56f39.jpg","text":"TemporaryFile(/tmp/multipartBody2769262241699894223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143702310,"filename":"image_17012025_20_53_22_5306.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/630906849eb1845059b5600e368b8425.jpg","text":"TemporaryFile(/tmp/multipartBody6154154437986235759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143702310,"filename":"image_17012025_20_53_10_6578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329558260","file1":"1329558257","file0":"1329558254","file4":"1329558264","file5":"1329558272","file3":"1329558262"},"map_files_photo_id_array":[{"photo_id":"1329558272","filename":"file5"},{"photo_id":"1329558260","filename":"file2"},{"photo_id":"1329558264","filename":"file4"},{"photo_id":"1329558257","filename":"file1"},{"photo_id":"1329558254","filename":"file0"},{"photo_id":"1329558262","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329558264":["hashtag1","hashtag2"]},{"1329558272":["hashtag1","hashtag2"]},{"1329558260":["hashtag1","hashtag2"]},{"1329558254":["hashtag1","hashtag2"]},{"1329558257":["hashtag1","hashtag2"]},{"1329558262":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329558264, 1329558272, 1329558260, 1329558254, 1329558257, 1329558262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 72.1575779914856 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:54:42.623717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/54/image_17012025_20_54_29_6712.jpg', '/media/data/images/17012025/20/54/image_17012025_20_54_17_6562.jpg', '/media/data/images/17012025/20/53/image_17012025_20_54_05_6827.jpg', '/media/data/images/17012025/20/53/image_17012025_20_53_41_6557.jpg', '/media/data/images/17012025/20/52/image_17012025_20_52_47_6580.jpg', '/media/data/images/17012025/20/52/image_17012025_20_52_16_6543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/54/image_17012025_20_54_29_6712.jpg
/media/data/images/17012025/20/54/image_17012025_20_54_17_6562.jpg
/media/data/images/17012025/20/53/image_17012025_20_54_05_6827.jpg
/media/data/images/17012025/20/53/image_17012025_20_53_41_6557.jpg
/media/data/images/17012025/20/52/image_17012025_20_52_47_6580.jpg
/media/data/images/17012025/20/52/image_17012025_20_52_16_6543.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329558334","1329558336","1329558330","1329558327","1329558309","1329558338"],"photo_ids_order":["1329558309","1329558327","1329558330","1329558334","1329558336","1329558338"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/acfea09a2031036acb2e29e60fcfb537.jpg","text":"TemporaryFile(/tmp/multipartBody2378765661183238736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143754679,"filename":"image_17012025_20_53_41_6557.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0772689a12eb91e6a05a50178a52f123.jpg","text":"TemporaryFile(/tmp/multipartBody2163458907196566294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143754679,"filename":"image_17012025_20_52_47_6580.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f8fd17674824fdab1c5ddbc1f8393208.jpg","text":"TemporaryFile(/tmp/multipartBody2014350511066466240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143754679,"filename":"image_17012025_20_54_05_6827.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0f7da3d2624449c6afb34834eaa42100.jpg","text":"TemporaryFile(/tmp/multipartBody9189872009483841193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143754679,"filename":"image_17012025_20_54_17_6562.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6f3f593cd16ea499cb954ec0e76af590.jpg","text":"TemporaryFile(/tmp/multipartBody4257206317222222677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143754679,"filename":"image_17012025_20_54_29_6712.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/615c3168f5a54a6af2ddc55232e42fc9.jpg","text":"TemporaryFile(/tmp/multipartBody6191715871578081729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143754679,"filename":"image_17012025_20_52_16_6543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329558330","file1":"1329558327","file0":"1329558309","file4":"1329558336","file5":"1329558338","file3":"1329558334"},"map_files_photo_id_array":[{"photo_id":"1329558338","filename":"file5"},{"photo_id":"1329558330","filename":"file2"},{"photo_id":"1329558336","filename":"file4"},{"photo_id":"1329558327","filename":"file1"},{"photo_id":"1329558309","filename":"file0"},{"photo_id":"1329558334","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329558334":["hashtag1","hashtag2"]},{"1329558336":["hashtag1","hashtag2"]},{"1329558330":["hashtag1","hashtag2"]},{"1329558327":["hashtag1","hashtag2"]},{"1329558309":["hashtag1","hashtag2"]},{"1329558338":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329558334, 1329558336, 1329558330, 1329558327, 1329558309, 1329558338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.361984729766846 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:55:42.733546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/55/image_17012025_20_55_52_5402.jpg', '/media/data/images/17012025/20/55/image_17012025_20_55_28_5305.jpg', '/media/data/images/17012025/20/55/image_17012025_20_55_16_6542.jpg', '/media/data/images/17012025/20/54/image_17012025_20_54_34_5327.jpg', '/media/data/images/17012025/20/52/image_17012025_20_52_10_5345.jpg', '/media/data/images/17012025/20/51/image_17012025_20_51_58_5311.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/55/image_17012025_20_55_52_5402.jpg
/media/data/images/17012025/20/55/image_17012025_20_55_28_5305.jpg
/media/data/images/17012025/20/55/image_17012025_20_55_16_6542.jpg
/media/data/images/17012025/20/54/image_17012025_20_54_34_5327.jpg
/media/data/images/17012025/20/52/image_17012025_20_52_10_5345.jpg
/media/data/images/17012025/20/51/image_17012025_20_51_58_5311.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329558406","1329558409","1329558414","1329558411","1329558392","1329558388"],"photo_ids_order":["1329558388","1329558392","1329558406","1329558409","1329558411","1329558414"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ac80312b31820e4435da8749aefa578c.jpg","text":"TemporaryFile(/tmp/multipartBody1906777527524992482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143834607,"filename":"image_17012025_20_55_16_6542.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ec00697a5d195b36521baad1dbe3d38c.jpg","text":"TemporaryFile(/tmp/multipartBody4644905091770120104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143834607,"filename":"image_17012025_20_54_34_5327.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/29123511ca308fba9f9591f5dfff6e78.jpg","text":"TemporaryFile(/tmp/multipartBody5248272293031412480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143834607,"filename":"image_17012025_20_51_58_5311.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/013366ae6fd4a8580662d036bad2041c.jpg","text":"TemporaryFile(/tmp/multipartBody4132677912968987602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143834607,"filename":"image_17012025_20_52_10_5345.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6f41fac8bf8ecf95b638be82ff638f14.jpg","text":"TemporaryFile(/tmp/multipartBody6446344721775528566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143834607,"filename":"image_17012025_20_55_28_5305.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/249713520feaf07e615459fbf2b7fdd0.jpg","text":"TemporaryFile(/tmp/multipartBody1252830032820887948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143834607,"filename":"image_17012025_20_55_52_5402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329558406","file1":"1329558392","file0":"1329558388","file4":"1329558411","file5":"1329558414","file3":"1329558409"},"map_files_photo_id_array":[{"photo_id":"1329558414","filename":"file5"},{"photo_id":"1329558406","filename":"file2"},{"photo_id":"1329558411","filename":"file4"},{"photo_id":"1329558392","filename":"file1"},{"photo_id":"1329558388","filename":"file0"},{"photo_id":"1329558409","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329558406":["hashtag1","hashtag2"]},{"1329558409":["hashtag1","hashtag2"]},{"1329558414":["hashtag1","hashtag2"]},{"1329558411":["hashtag1","hashtag2"]},{"1329558392":["hashtag1","hashtag2"]},{"1329558388":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329558406, 1329558409, 1329558414, 1329558411, 1329558392, 1329558388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.56990480422974 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 20:57:02.329766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/56/image_17012025_20_56_10_6555.jpg', '/media/data/images/17012025/20/56/image_17012025_20_56_04_5111.jpg', '/media/data/images/17012025/20/55/image_17012025_20_55_59_6623.jpg', '/media/data/images/17012025/20/50/image_17012025_20_50_28_5306.jpg', '/media/data/images/17012025/20/50/image_17012025_20_50_23_6547.jpg', '/media/data/images/17012025/20/50/image_17012025_20_50_16_6547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/56/image_17012025_20_56_10_6555.jpg
/media/data/images/17012025/20/56/image_17012025_20_56_04_5111.jpg
/media/data/images/17012025/20/55/image_17012025_20_55_59_6623.jpg
/media/data/images/17012025/20/50/image_17012025_20_50_28_5306.jpg
/media/data/images/17012025/20/50/image_17012025_20_50_23_6547.jpg
/media/data/images/17012025/20/50/image_17012025_20_50_16_6547.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329558894","1329558888","1329558873","1329558897","1329558900","1329558875"],"photo_ids_order":["1329558873","1329558875","1329558888","1329558894","1329558897","1329558900"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/821feb3e4bfbd0be65d18a5b376c78b9.jpg","text":"TemporaryFile(/tmp/multipartBody4925900788486389372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143904662,"filename":"image_17012025_20_50_28_5306.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1d43ebbcace61389d48293fb415f4ffb.jpg","text":"TemporaryFile(/tmp/multipartBody6805076960224012909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143904662,"filename":"image_17012025_20_55_59_6623.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a73f34cc914835f191e0cc9318d74e28.jpg","text":"TemporaryFile(/tmp/multipartBody208475947329585473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143904662,"filename":"image_17012025_20_56_10_6555.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/20b4c6a559acdb3d2aa2d9ce337bfce3.jpg","text":"TemporaryFile(/tmp/multipartBody3673814380065138559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143904662,"filename":"image_17012025_20_50_23_6547.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/72612eeeccfa0e4f7b00ceb21613f333.jpg","text":"TemporaryFile(/tmp/multipartBody6128939736125539017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143904662,"filename":"image_17012025_20_50_16_6547.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1d8e1e49650a3bb25dca7e05d629bf6f.jpg","text":"TemporaryFile(/tmp/multipartBody532736527874330431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737143904662,"filename":"image_17012025_20_56_04_5111.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329558888","file1":"1329558875","file0":"1329558873","file4":"1329558897","file5":"1329558900","file3":"1329558894"},"map_files_photo_id_array":[{"photo_id":"1329558900","filename":"file5"},{"photo_id":"1329558888","filename":"file2"},{"photo_id":"1329558897","filename":"file4"},{"photo_id":"1329558875","filename":"file1"},{"photo_id":"1329558873","filename":"file0"},{"photo_id":"1329558894","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329558894":["hashtag1","hashtag2"]},{"1329558888":["hashtag1","hashtag2"]},{"1329558873":["hashtag1","hashtag2"]},{"1329558897":["hashtag1","hashtag2"]},{"1329558900":["hashtag1","hashtag2"]},{"1329558875":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329558894, 1329558888, 1329558873, 1329558897, 1329558900, 1329558875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.92327070236206 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 20:59:02.908972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/58/image_17012025_20_58_22_6591.jpg', '/media/data/images/17012025/20/58/image_17012025_20_58_04_5307.jpg', '/media/data/images/17012025/20/57/image_17012025_20_57_22_5310.jpg', '/media/data/images/17012025/20/56/image_17012025_20_57_04_6670.jpg', '/media/data/images/17012025/20/56/image_17012025_20_56_17_6557.jpg', '/media/data/images/17012025/20/49/image_17012025_20_49_58_5346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/58/image_17012025_20_58_22_6591.jpg
/media/data/images/17012025/20/58/image_17012025_20_58_04_5307.jpg
/media/data/images/17012025/20/57/image_17012025_20_57_22_5310.jpg
/media/data/images/17012025/20/56/image_17012025_20_57_04_6670.jpg
/media/data/images/17012025/20/56/image_17012025_20_56_17_6557.jpg
/media/data/images/17012025/20/49/image_17012025_20_49_58_5346.jpg
2025-01-17 20:59:02.910251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/00/image_17012025_07_00_11_6282.jpg', '/media/data/images/17012025/07/00/image_17012025_07_00_17_6545.jpg', '/media/data/images/17012025/07/00/image_17012025_07_00_41_5291.jpg', '/media/data/images/17012025/07/00/image_17012025_07_00_48_6555.jpg', '/media/data/images/17012025/07/01/image_17012025_07_01_05_5344.jpg', '/media/data/images/17012025/07/01/image_17012025_07_01_30_6525.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/00/image_17012025_07_00_11_6282.jpg
/media/data/images/17012025/07/00/image_17012025_07_00_17_6545.jpg
/media/data/images/17012025/07/00/image_17012025_07_00_41_5291.jpg
/media/data/images/17012025/07/00/image_17012025_07_00_48_6555.jpg
/media/data/images/17012025/07/01/image_17012025_07_01_05_5344.jpg
/media/data/images/17012025/07/01/image_17012025_07_01_30_6525.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329559338","1329559325","1329559334","1329559321","1329559330","1329559318"],"photo_ids_order":["1329559318","1329559321","1329559325","1329559330","1329559334","1329559338"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cced0fcdf33c39818571d97df59a7969.jpg","text":"TemporaryFile(/tmp/multipartBody7854396485396881147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144054807,"filename":"image_17012025_07_01_30_6525.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7a596cc2c821c0cc61462b44d82dcfaa.jpg","text":"TemporaryFile(/tmp/multipartBody9079285689784691412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144054807,"filename":"image_17012025_07_00_41_5291.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fb80a8b88229ff1676a9883026188037.jpg","text":"TemporaryFile(/tmp/multipartBody7547525353622404619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144054807,"filename":"image_17012025_07_01_05_5344.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/43bfdb412302da9b01b64b96ffbb34bf.jpg","text":"TemporaryFile(/tmp/multipartBody886670271151975845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144054807,"filename":"image_17012025_07_00_17_6545.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b6d091aaf061ca713981646ad8ec7790.jpg","text":"TemporaryFile(/tmp/multipartBody4218868071948034999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144054807,"filename":"image_17012025_07_00_48_6555.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/48116af5c9bab3fdd4d63d0ae4a49c09.jpg","text":"TemporaryFile(/tmp/multipartBody3103970504903279943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144054807,"filename":"image_17012025_07_00_11_6282.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329559325","file1":"1329559321","file0":"1329559318","file4":"1329559334","file5":"1329559338","file3":"1329559330"},"map_files_photo_id_array":[{"photo_id":"1329559338","filename":"file5"},{"photo_id":"1329559325","filename":"file2"},{"photo_id":"1329559334","filename":"file4"},{"photo_id":"1329559321","filename":"file1"},{"photo_id":"1329559318","filename":"file0"},{"photo_id":"1329559330","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329559338":["hashtag1","hashtag2"]},{"1329559325":["hashtag1","hashtag2"]},{"1329559334":["hashtag1","hashtag2"]},{"1329559321":["hashtag1","hashtag2"]},{"1329559330":["hashtag1","hashtag2"]},{"1329559318":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329559338, 1329559325, 1329559334, 1329559321, 1329559330, 1329559318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 84.86114811897278 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329559326","1329559335","1329559340","1329559343","1329559322","1329559331"],"photo_ids_order":["1329559322","1329559326","1329559331","1329559335","1329559340","1329559343"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/762758168d976e827225ecb150ab5187.jpg","text":"TemporaryFile(/tmp/multipartBody1171508712726124934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144060368,"filename":"image_17012025_20_58_04_5307.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b2733918e5fa891ae9539bfd4245d4e5.jpg","text":"TemporaryFile(/tmp/multipartBody1944935482771330465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144060368,"filename":"image_17012025_20_57_04_6670.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e25d63fa0bfe9f08057b8235dc8fb685.jpg","text":"TemporaryFile(/tmp/multipartBody8767843410883678943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144060368,"filename":"image_17012025_20_56_17_6557.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dc02981eb9c40ca9924aec1cd5f58581.jpg","text":"TemporaryFile(/tmp/multipartBody4958360727537382335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144060368,"filename":"image_17012025_20_49_58_5346.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b9a67db226fc30aa024842107aaf4b4d.jpg","text":"TemporaryFile(/tmp/multipartBody3420026730195767738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144060368,"filename":"image_17012025_20_58_22_6591.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3a737da80324816c9659d057a5a33556.jpg","text":"TemporaryFile(/tmp/multipartBody3534495738820905345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144060368,"filename":"image_17012025_20_57_22_5310.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329559331","file1":"1329559326","file0":"1329559322","file4":"1329559340","file5":"1329559343","file3":"1329559335"},"map_files_photo_id_array":[{"photo_id":"1329559343","filename":"file5"},{"photo_id":"1329559331","filename":"file2"},{"photo_id":"1329559340","filename":"file4"},{"photo_id":"1329559326","filename":"file1"},{"photo_id":"1329559322","filename":"file0"},{"photo_id":"1329559335","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329559326":["hashtag1","hashtag2"]},{"1329559335":["hashtag1","hashtag2"]},{"1329559340":["hashtag1","hashtag2"]},{"1329559343":["hashtag1","hashtag2"]},{"1329559322":["hashtag1","hashtag2"]},{"1329559331":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329559326, 1329559335, 1329559340, 1329559343, 1329559322, 1329559331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 89.96650624275208 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 21:00:42.475603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/21/00/image_17012025_21_00_53_6484.jpg', '/media/data/images/17012025/21/00/image_17012025_21_00_46_6568.jpg', '/media/data/images/17012025/21/00/image_17012025_21_00_34_6608.jpg', '/media/data/images/17012025/21/00/image_17012025_21_00_16_5348.jpg', '/media/data/images/17012025/21/00/image_17012025_21_00_10_6590.jpg', '/media/data/images/17012025/20/59/image_17012025_20_59_52_5343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/21/00/image_17012025_21_00_53_6484.jpg
/media/data/images/17012025/21/00/image_17012025_21_00_46_6568.jpg
/media/data/images/17012025/21/00/image_17012025_21_00_34_6608.jpg
/media/data/images/17012025/21/00/image_17012025_21_00_16_5348.jpg
/media/data/images/17012025/21/00/image_17012025_21_00_10_6590.jpg
/media/data/images/17012025/20/59/image_17012025_20_59_52_5343.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":["1329559408","1329559403","1329559406","1329559393","1329559405","1329559389"],"photo_ids_order":["1329559389","1329559393","1329559403","1329559405","1329559406","1329559408"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7f57eb5c2836dc5efe5013152bd87f48.jpg","text":"TemporaryFile(/tmp/multipartBody440585950581906309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144132490,"filename":"image_17012025_20_59_52_5343.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d1d91decdc5ea8890becce051324e7ca.jpg","text":"TemporaryFile(/tmp/multipartBody1591078401982933703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144132490,"filename":"image_17012025_21_00_34_6608.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/702f61ac8a36308a960fb0fe25c1a6fb.jpg","text":"TemporaryFile(/tmp/multipartBody2687998221257208440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144132490,"filename":"image_17012025_21_00_10_6590.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c01b1dd573da4e6643ee7a9f380c44c8.jpg","text":"TemporaryFile(/tmp/multipartBody2297866913015354998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144132490,"filename":"image_17012025_21_00_46_6568.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8a202e82c47ed09bdb2e9491530be82e.jpg","text":"TemporaryFile(/tmp/multipartBody6232464485088972231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144132490,"filename":"image_17012025_21_00_16_5348.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5f7b27d3a4aad1b4f36d0543053da740.jpg","text":"TemporaryFile(/tmp/multipartBody7949011464930419248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144132490,"filename":"image_17012025_21_00_53_6484.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329559403","file1":"1329559393","file0":"1329559389","file4":"1329559406","file5":"1329559408","file3":"1329559405"},"map_files_photo_id_array":[{"photo_id":"1329559408","filename":"file5"},{"photo_id":"1329559403","filename":"file2"},{"photo_id":"1329559406","filename":"file4"},{"photo_id":"1329559393","filename":"file1"},{"photo_id":"1329559389","filename":"file0"},{"photo_id":"1329559405","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329559408":["hashtag1","hashtag2"]},{"1329559403":["hashtag1","hashtag2"]},{"1329559406":["hashtag1","hashtag2"]},{"1329559393":["hashtag1","hashtag2"]},{"1329559405":["hashtag1","hashtag2"]},{"1329559389":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329559408, 1329559403, 1329559406, 1329559393, 1329559405, 1329559389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.83205223083496 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 21:02:02.898011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/21/01/image_17012025_21_01_53_6549.jpg', '/media/data/images/17012025/21/01/image_17012025_21_01_46_5336.jpg', '/media/data/images/17012025/21/01/image_17012025_21_01_41_6562.jpg', '/media/data/images/17012025/21/01/image_17012025_21_01_34_6528.jpg', '/media/data/images/17012025/21/01/image_17012025_21_01_28_5286.jpg', '/media/data/images/17012025/21/01/image_17012025_21_01_22_6424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/21/01/image_17012025_21_01_53_6549.jpg
/media/data/images/17012025/21/01/image_17012025_21_01_46_5336.jpg
/media/data/images/17012025/21/01/image_17012025_21_01_41_6562.jpg
/media/data/images/17012025/21/01/image_17012025_21_01_34_6528.jpg
/media/data/images/17012025/21/01/image_17012025_21_01_28_5286.jpg
/media/data/images/17012025/21/01/image_17012025_21_01_22_6424.jpg
2025-01-17 21:02:02.883038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/01/image_17012025_07_01_35_5281.jpg', '/media/data/images/17012025/07/01/image_17012025_07_01_47_5320.jpg', '/media/data/images/17012025/07/02/image_17012025_07_02_53_5327.jpg', '/media/data/images/17012025/07/03/image_17012025_07_03_17_6514.jpg', '/media/data/images/17012025/07/03/image_17012025_07_03_22_5284.jpg', '/media/data/images/17012025/07/04/image_17012025_07_04_11_6559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/01/image_17012025_07_01_35_5281.jpg
/media/data/images/17012025/07/01/image_17012025_07_01_47_5320.jpg
/media/data/images/17012025/07/02/image_17012025_07_02_53_5327.jpg
/media/data/images/17012025/07/03/image_17012025_07_03_17_6514.jpg
/media/data/images/17012025/07/03/image_17012025_07_03_22_5284.jpg
/media/data/images/17012025/07/04/image_17012025_07_04_11_6559.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329559605","1329559515","1329559500","1329559496","1329559465","1329559468"],"photo_ids_order":["1329559465","1329559468","1329559496","1329559500","1329559515","1329559605"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e8eef0ce71870e460d6e56fcab42769c.jpg","text":"TemporaryFile(/tmp/multipartBody5293046548531052587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144235168,"filename":"image_17012025_07_04_11_6559.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ae47c1aff20c55e6c3d55d61e60b11f5.jpg","text":"TemporaryFile(/tmp/multipartBody4584474376751312572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144235168,"filename":"image_17012025_07_03_22_5284.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c008813616c6026725aa8a5d79bfee76.jpg","text":"TemporaryFile(/tmp/multipartBody1065736449610884410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144235168,"filename":"image_17012025_07_03_17_6514.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d05822c9a0646d9050bd3ec3cd843eeb.jpg","text":"TemporaryFile(/tmp/multipartBody3269980283774697651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144235168,"filename":"image_17012025_07_02_53_5327.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8578a56d4b9625a409cb24127f4ecab7.jpg","text":"TemporaryFile(/tmp/multipartBody2400901300582933945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144235168,"filename":"image_17012025_07_01_35_5281.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/77b1c68fb74459f896c0e043c146b7e1.jpg","text":"TemporaryFile(/tmp/multipartBody1927153289570911652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144235168,"filename":"image_17012025_07_01_47_5320.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329559496","file1":"1329559468","file0":"1329559465","file4":"1329559515","file5":"1329559605","file3":"1329559500"},"map_files_photo_id_array":[{"photo_id":"1329559605","filename":"file5"},{"photo_id":"1329559496","filename":"file2"},{"photo_id":"1329559515","filename":"file4"},{"photo_id":"1329559468","filename":"file1"},{"photo_id":"1329559465","filename":"file0"},{"photo_id":"1329559500","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329559605":["hashtag1","hashtag2"]},{"1329559515":["hashtag1","hashtag2"]},{"1329559500":["hashtag1","hashtag2"]},{"1329559496":["hashtag1","hashtag2"]},{"1329559465":["hashtag1","hashtag2"]},{"1329559468":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329559605, 1329559515, 1329559500, 1329559496, 1329559465, 1329559468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 85.66342115402222 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329559557","1329559485","1329559511","1329559498","1329559639","1329559726"],"photo_ids_order":["1329559485","1329559498","1329559511","1329559557","1329559639","1329559726"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/36a77b76f32430ce510fed60109932e0.jpg","text":"TemporaryFile(/tmp/multipartBody669205949366159856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144241495,"filename":"image_17012025_21_01_34_6528.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/81bd521475422ec32fa6d0bb73d3fb34.jpg","text":"TemporaryFile(/tmp/multipartBody829728594434778983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144241495,"filename":"image_17012025_21_01_53_6549.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/173dbd864585c59c3030c52528b78a53.jpg","text":"TemporaryFile(/tmp/multipartBody3466822797659258546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144241495,"filename":"image_17012025_21_01_41_6562.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/61ef8d116764a5e2696cdbeae96ec2f8.jpg","text":"TemporaryFile(/tmp/multipartBody5729459377601350526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144241495,"filename":"image_17012025_21_01_46_5336.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1c58814f7828eecd6c980036f147d284.jpg","text":"TemporaryFile(/tmp/multipartBody3152636648658500245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144241495,"filename":"image_17012025_21_01_28_5286.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/773fbae17daff07a533bb944d855f266.jpg","text":"TemporaryFile(/tmp/multipartBody7020858794390823097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144241495,"filename":"image_17012025_21_01_22_6424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329559511","file1":"1329559498","file0":"1329559485","file4":"1329559639","file5":"1329559726","file3":"1329559557"},"map_files_photo_id_array":[{"photo_id":"1329559726","filename":"file5"},{"photo_id":"1329559511","filename":"file2"},{"photo_id":"1329559639","filename":"file4"},{"photo_id":"1329559498","filename":"file1"},{"photo_id":"1329559485","filename":"file0"},{"photo_id":"1329559557","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329559557":["hashtag1","hashtag2"]},{"1329559485":["hashtag1","hashtag2"]},{"1329559511":["hashtag1","hashtag2"]},{"1329559498":["hashtag1","hashtag2"]},{"1329559639":["hashtag1","hashtag2"]},{"1329559726":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329559557, 1329559485, 1329559511, 1329559498, 1329559639, 1329559726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 92.47242736816406 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 21:03:41.751232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/21/03/image_17012025_21_03_52_6448.jpg', '/media/data/images/17012025/21/03/image_17012025_21_03_46_5225.jpg', '/media/data/images/17012025/21/03/image_17012025_21_03_41_6440.jpg', '/media/data/images/17012025/21/03/image_17012025_21_03_34_6427.jpg', '/media/data/images/17012025/21/03/image_17012025_21_03_28_5173.jpg', '/media/data/images/17012025/21/03/image_17012025_21_03_23_6377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/21/03/image_17012025_21_03_52_6448.jpg
/media/data/images/17012025/21/03/image_17012025_21_03_46_5225.jpg
/media/data/images/17012025/21/03/image_17012025_21_03_41_6440.jpg
/media/data/images/17012025/21/03/image_17012025_21_03_34_6427.jpg
/media/data/images/17012025/21/03/image_17012025_21_03_28_5173.jpg
/media/data/images/17012025/21/03/image_17012025_21_03_23_6377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329560070","1329560106","1329560063","1329560072","1329560155","1329560062"],"photo_ids_order":["1329560062","1329560063","1329560070","1329560072","1329560106","1329560155"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6efab1e737581d626081cd74b4731138.jpg","text":"TemporaryFile(/tmp/multipartBody1359458732685116001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144305553,"filename":"image_17012025_21_03_41_6440.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/61ab7867b912e76a1e5b1d2105a06be3.jpg","text":"TemporaryFile(/tmp/multipartBody4076383653968687160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144305553,"filename":"image_17012025_21_03_28_5173.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d34cf66206c507945192cd97a9f377a5.jpg","text":"TemporaryFile(/tmp/multipartBody8237153882136440351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144305553,"filename":"image_17012025_21_03_46_5225.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e24893970ef4a8cdd940834340ef0a21.jpg","text":"TemporaryFile(/tmp/multipartBody2947519809534084567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144305553,"filename":"image_17012025_21_03_34_6427.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f1d3d99fa16ca7c2afe751449a3406a3.jpg","text":"TemporaryFile(/tmp/multipartBody6131909355660712501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144305553,"filename":"image_17012025_21_03_23_6377.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/80503c7eb2b86d95943065a47c38b8ab.jpg","text":"TemporaryFile(/tmp/multipartBody3154544974158716166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144305553,"filename":"image_17012025_21_03_52_6448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329560070","file1":"1329560063","file0":"1329560062","file4":"1329560106","file5":"1329560155","file3":"1329560072"},"map_files_photo_id_array":[{"photo_id":"1329560155","filename":"file5"},{"photo_id":"1329560070","filename":"file2"},{"photo_id":"1329560106","filename":"file4"},{"photo_id":"1329560063","filename":"file1"},{"photo_id":"1329560062","filename":"file0"},{"photo_id":"1329560072","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329560070":["hashtag1","hashtag2"]},{"1329560106":["hashtag1","hashtag2"]},{"1329560063":["hashtag1","hashtag2"]},{"1329560072":["hashtag1","hashtag2"]},{"1329560155":["hashtag1","hashtag2"]},{"1329560062":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329560070, 1329560106, 1329560063, 1329560072, 1329560155, 1329560062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.62170720100403 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 21:04:41.893427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/21/04/image_17012025_21_04_52_6424.jpg', '/media/data/images/17012025/21/04/image_17012025_21_04_46_6406.jpg', '/media/data/images/17012025/21/04/image_17012025_21_04_40_5162.jpg', '/media/data/images/17012025/21/04/image_17012025_21_04_34_6363.jpg', '/media/data/images/17012025/21/04/image_17012025_21_04_28_6386.jpg', '/media/data/images/17012025/21/04/image_17012025_21_04_22_5179.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/21/04/image_17012025_21_04_52_6424.jpg
/media/data/images/17012025/21/04/image_17012025_21_04_46_6406.jpg
/media/data/images/17012025/21/04/image_17012025_21_04_40_5162.jpg
/media/data/images/17012025/21/04/image_17012025_21_04_34_6363.jpg
/media/data/images/17012025/21/04/image_17012025_21_04_28_6386.jpg
/media/data/images/17012025/21/04/image_17012025_21_04_22_5179.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329560335","1329560469","1329560390","1329560345","1329560339","1329560332"],"photo_ids_order":["1329560332","1329560335","1329560339","1329560345","1329560390","1329560469"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/da981ae0000980fb7f0c45ebf239afc8.jpg","text":"TemporaryFile(/tmp/multipartBody4620108640692488236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144355448,"filename":"image_17012025_21_04_46_6406.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f166ec73f7a8f4a309b571cdb7d4af58.jpg","text":"TemporaryFile(/tmp/multipartBody5700001252697507869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144355448,"filename":"image_17012025_21_04_22_5179.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6f19cc0179b46b2acb937ffecde8d03c.jpg","text":"TemporaryFile(/tmp/multipartBody4443543696967902361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144355448,"filename":"image_17012025_21_04_28_6386.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/10d0e05e427b660f13aeb50194d18564.jpg","text":"TemporaryFile(/tmp/multipartBody2518141472268536907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144355448,"filename":"image_17012025_21_04_34_6363.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3026eab44c932889e66d34d923d46607.jpg","text":"TemporaryFile(/tmp/multipartBody7190994691179791019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144355448,"filename":"image_17012025_21_04_40_5162.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a07534b5e06d11df62d01d2eb3106934.jpg","text":"TemporaryFile(/tmp/multipartBody6022870950324369904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144355448,"filename":"image_17012025_21_04_52_6424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329560339","file1":"1329560335","file0":"1329560332","file4":"1329560390","file5":"1329560469","file3":"1329560345"},"map_files_photo_id_array":[{"photo_id":"1329560469","filename":"file5"},{"photo_id":"1329560339","filename":"file2"},{"photo_id":"1329560390","filename":"file4"},{"photo_id":"1329560335","filename":"file1"},{"photo_id":"1329560332","filename":"file0"},{"photo_id":"1329560345","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329560335":["hashtag1","hashtag2"]},{"1329560469":["hashtag1","hashtag2"]},{"1329560390":["hashtag1","hashtag2"]},{"1329560345":["hashtag1","hashtag2"]},{"1329560339":["hashtag1","hashtag2"]},{"1329560332":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329560335, 1329560469, 1329560390, 1329560345, 1329560339, 1329560332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.54621434211731 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 21:05:42.022302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/21/04/image_17012025_21_04_17_6392.jpg', '/media/data/images/17012025/21/04/image_17012025_21_04_10_6397.jpg', '/media/data/images/17012025/21/04/image_17012025_21_04_04_4988.jpg', '/media/data/images/17012025/21/03/image_17012025_21_03_59_6442.jpg', '/media/data/images/17012025/21/03/image_17012025_21_03_16_6380.jpg', '/media/data/images/17012025/21/03/image_17012025_21_03_10_5182.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/21/04/image_17012025_21_04_17_6392.jpg
/media/data/images/17012025/21/04/image_17012025_21_04_10_6397.jpg
/media/data/images/17012025/21/04/image_17012025_21_04_04_4988.jpg
/media/data/images/17012025/21/03/image_17012025_21_03_59_6442.jpg
/media/data/images/17012025/21/03/image_17012025_21_03_16_6380.jpg
/media/data/images/17012025/21/03/image_17012025_21_03_10_5182.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329560679","1329560829","1329560651","1329560645","1329560648","1329560749"],"photo_ids_order":["1329560645","1329560648","1329560651","1329560679","1329560749","1329560829"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/57fab05af43afb4c6c3e0b417ff83c82.jpg","text":"TemporaryFile(/tmp/multipartBody7647560217449095016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144409016,"filename":"image_17012025_21_03_59_6442.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d0f2d8df4cca45904651966a012b2dbb.jpg","text":"TemporaryFile(/tmp/multipartBody1932495374990698272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144409016,"filename":"image_17012025_21_03_10_5182.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/39ff32606d19a581849e78a3b9e19ca8.jpg","text":"TemporaryFile(/tmp/multipartBody7801785498671159866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144409016,"filename":"image_17012025_21_04_04_4988.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9e9e4ec6e22a6f0c13b7256ed38ac18e.jpg","text":"TemporaryFile(/tmp/multipartBody1047442323142531192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144409016,"filename":"image_17012025_21_04_17_6392.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6812eff11ada7d52e085e87977a8a6e3.jpg","text":"TemporaryFile(/tmp/multipartBody7427358037485260309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144409016,"filename":"image_17012025_21_04_10_6397.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f9780ca1fc3db40dd7216ed1fc94e42e.jpg","text":"TemporaryFile(/tmp/multipartBody1638288710975507839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144409016,"filename":"image_17012025_21_03_16_6380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329560651","file1":"1329560648","file0":"1329560645","file4":"1329560749","file5":"1329560829","file3":"1329560679"},"map_files_photo_id_array":[{"photo_id":"1329560829","filename":"file5"},{"photo_id":"1329560651","filename":"file2"},{"photo_id":"1329560749","filename":"file4"},{"photo_id":"1329560648","filename":"file1"},{"photo_id":"1329560645","filename":"file0"},{"photo_id":"1329560679","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329560679":["hashtag1","hashtag2"]},{"1329560829":["hashtag1","hashtag2"]},{"1329560651":["hashtag1","hashtag2"]},{"1329560645":["hashtag1","hashtag2"]},{"1329560648":["hashtag1","hashtag2"]},{"1329560749":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329560679, 1329560829, 1329560651, 1329560645, 1329560648, 1329560749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.07369613647461 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 21:06:42.154009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/21/03/image_17012025_21_03_05_6177.jpg', '/media/data/images/17012025/21/02/image_17012025_21_02_58_6370.jpg', '/media/data/images/17012025/21/02/image_17012025_21_02_52_6362.jpg', '/media/data/images/17012025/21/02/image_17012025_21_02_46_5213.jpg', '/media/data/images/17012025/21/02/image_17012025_21_02_41_6428.jpg', '/media/data/images/17012025/21/02/image_17012025_21_02_34_6416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/21/03/image_17012025_21_03_05_6177.jpg
/media/data/images/17012025/21/02/image_17012025_21_02_58_6370.jpg
/media/data/images/17012025/21/02/image_17012025_21_02_52_6362.jpg
/media/data/images/17012025/21/02/image_17012025_21_02_46_5213.jpg
/media/data/images/17012025/21/02/image_17012025_21_02_41_6428.jpg
/media/data/images/17012025/21/02/image_17012025_21_02_34_6416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329560970","1329561182","1329561622","1329561625","1329561597","1329561390"],"photo_ids_order":["1329560970","1329561182","1329561390","1329561597","1329561622","1329561625"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/aa74a8c178aeeb5f44b7860f87e8424c.jpg","text":"TemporaryFile(/tmp/multipartBody8969060405323510088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144471024,"filename":"image_17012025_21_03_05_6177.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9c8f3efa2997327c9a82b6b114d29d3c.jpg","text":"TemporaryFile(/tmp/multipartBody7565385360481322966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144471024,"filename":"image_17012025_21_02_58_6370.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7e971bd0684fdc79d614b9849c20d8b1.jpg","text":"TemporaryFile(/tmp/multipartBody7078065506527233354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144471024,"filename":"image_17012025_21_02_41_6428.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a9029d9120cc57f248950f1bb35ba0e9.jpg","text":"TemporaryFile(/tmp/multipartBody3649545614681935702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144471024,"filename":"image_17012025_21_02_34_6416.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4d7e0f9073906504ace712810dbf96f1.jpg","text":"TemporaryFile(/tmp/multipartBody512694708962601725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144471024,"filename":"image_17012025_21_02_46_5213.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9c51aa84361af36b9c132974484b35a1.jpg","text":"TemporaryFile(/tmp/multipartBody7795928380681489987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144471024,"filename":"image_17012025_21_02_52_6362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329561390","file1":"1329561182","file0":"1329560970","file4":"1329561622","file5":"1329561625","file3":"1329561597"},"map_files_photo_id_array":[{"photo_id":"1329561625","filename":"file5"},{"photo_id":"1329561390","filename":"file2"},{"photo_id":"1329561622","filename":"file4"},{"photo_id":"1329561182","filename":"file1"},{"photo_id":"1329560970","filename":"file0"},{"photo_id":"1329561597","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329560970":["hashtag1","hashtag2"]},{"1329561182":["hashtag1","hashtag2"]},{"1329561622":["hashtag1","hashtag2"]},{"1329561625":["hashtag1","hashtag2"]},{"1329561597":["hashtag1","hashtag2"]},{"1329561390":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329560970, 1329561182, 1329561622, 1329561625, 1329561597, 1329561390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.88328766822815 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 21:07:42.275099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/21/02/image_17012025_21_02_28_5175.jpg', '/media/data/images/17012025/21/02/image_17012025_21_02_23_6385.jpg', '/media/data/images/17012025/21/02/image_17012025_21_02_16_6390.jpg', '/media/data/images/17012025/21/02/image_17012025_21_02_10_5209.jpg', '/media/data/images/17012025/21/01/image_17012025_21_02_05_6598.jpg', '/media/data/images/17012025/21/01/image_17012025_21_01_58_5330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/21/02/image_17012025_21_02_28_5175.jpg
/media/data/images/17012025/21/02/image_17012025_21_02_23_6385.jpg
/media/data/images/17012025/21/02/image_17012025_21_02_16_6390.jpg
/media/data/images/17012025/21/02/image_17012025_21_02_10_5209.jpg
/media/data/images/17012025/21/01/image_17012025_21_02_05_6598.jpg
/media/data/images/17012025/21/01/image_17012025_21_01_58_5330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329561672","1329561680","1329561668","1329561679","1329561681","1329561675"],"photo_ids_order":["1329561668","1329561672","1329561675","1329561679","1329561680","1329561681"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/19d5e3e9a45d5c6ff7b8470717091771.jpg","text":"TemporaryFile(/tmp/multipartBody3063418508555023973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144534461,"filename":"image_17012025_21_02_23_6385.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d7a0fac819597d3066c00915638f1863.jpg","text":"TemporaryFile(/tmp/multipartBody1234860160347611694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144534461,"filename":"image_17012025_21_02_05_6598.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/96bbc7d6edb402dce819083bf6a29b07.jpg","text":"TemporaryFile(/tmp/multipartBody7482302328560720961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144534461,"filename":"image_17012025_21_02_28_5175.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7ddcd5077ede05c74753cb422d4e7418.jpg","text":"TemporaryFile(/tmp/multipartBody8300797320735705519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144534461,"filename":"image_17012025_21_02_10_5209.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f756273fec84d941807c5750c5da6547.jpg","text":"TemporaryFile(/tmp/multipartBody8431314151106097908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144534461,"filename":"image_17012025_21_01_58_5330.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8620ce02dce5f31dd192de1043ee33c2.jpg","text":"TemporaryFile(/tmp/multipartBody5402382795811610387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144534461,"filename":"image_17012025_21_02_16_6390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329561675","file1":"1329561672","file0":"1329561668","file4":"1329561680","file5":"1329561681","file3":"1329561679"},"map_files_photo_id_array":[{"photo_id":"1329561681","filename":"file5"},{"photo_id":"1329561675","filename":"file2"},{"photo_id":"1329561680","filename":"file4"},{"photo_id":"1329561672","filename":"file1"},{"photo_id":"1329561668","filename":"file0"},{"photo_id":"1329561679","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329561672":["hashtag1","hashtag2"]},{"1329561680":["hashtag1","hashtag2"]},{"1329561668":["hashtag1","hashtag2"]},{"1329561679":["hashtag1","hashtag2"]},{"1329561681":["hashtag1","hashtag2"]},{"1329561675":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329561672, 1329561680, 1329561668, 1329561679, 1329561681, 1329561675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.3363471031189 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 21:08:42.399878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/21/01/image_17012025_21_01_16_5174.jpg', '/media/data/images/17012025/21/01/image_17012025_21_01_11_6403.jpg', '/media/data/images/17012025/21/00/image_17012025_21_01_04_6426.jpg', '/media/data/images/17012025/21/00/image_17012025_21_00_58_5187.jpg', '/media/data/images/17012025/20/59/image_17012025_20_59_47_6583.jpg', '/media/data/images/17012025/20/59/image_17012025_20_59_40_5339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/21/01/image_17012025_21_01_16_5174.jpg
/media/data/images/17012025/21/01/image_17012025_21_01_11_6403.jpg
/media/data/images/17012025/21/00/image_17012025_21_01_04_6426.jpg
/media/data/images/17012025/21/00/image_17012025_21_00_58_5187.jpg
/media/data/images/17012025/20/59/image_17012025_20_59_47_6583.jpg
/media/data/images/17012025/20/59/image_17012025_20_59_40_5339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329562154","1329562063","1329562159","1329562144","1329562111","1329562068"],"photo_ids_order":["1329562063","1329562068","1329562111","1329562144","1329562154","1329562159"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/24c325c17f8c39b05d0b8d3c7e765595.jpg","text":"TemporaryFile(/tmp/multipartBody1165800141538920662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144593522,"filename":"image_17012025_20_59_47_6583.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c940518c5f595334e702b8c9ab58cc1c.jpg","text":"TemporaryFile(/tmp/multipartBody4852123779048144585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144593522,"filename":"image_17012025_21_01_16_5174.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/edaf95e8894b395a9e66861a449b8392.jpg","text":"TemporaryFile(/tmp/multipartBody7499257783966670509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144593522,"filename":"image_17012025_20_59_40_5339.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2c695ae6115f32b41d4e0aa8c02a7794.jpg","text":"TemporaryFile(/tmp/multipartBody455957934869647089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144593522,"filename":"image_17012025_21_00_58_5187.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/084e81e91f82cb1c4224e778f8e0fc99.jpg","text":"TemporaryFile(/tmp/multipartBody2917466767321391732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144593522,"filename":"image_17012025_21_01_04_6426.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e21a98f801501f6e2bbbaa7f459e6634.jpg","text":"TemporaryFile(/tmp/multipartBody7238289395469126795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144593522,"filename":"image_17012025_21_01_11_6403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329562111","file1":"1329562068","file0":"1329562063","file4":"1329562154","file5":"1329562159","file3":"1329562144"},"map_files_photo_id_array":[{"photo_id":"1329562159","filename":"file5"},{"photo_id":"1329562111","filename":"file2"},{"photo_id":"1329562154","filename":"file4"},{"photo_id":"1329562068","filename":"file1"},{"photo_id":"1329562063","filename":"file0"},{"photo_id":"1329562144","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329562154":["hashtag1","hashtag2"]},{"1329562063":["hashtag1","hashtag2"]},{"1329562159":["hashtag1","hashtag2"]},{"1329562144":["hashtag1","hashtag2"]},{"1329562111":["hashtag1","hashtag2"]},{"1329562068":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329562154, 1329562063, 1329562159, 1329562144, 1329562111, 1329562068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.736127614974976 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 21:09:42.551636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/58/image_17012025_20_58_40_5339.jpg', '/media/data/images/17012025/20/48/image_17012025_20_48_46_5343.jpg', '/media/data/images/17012025/20/46/image_17012025_20_47_04_6602.jpg', '/media/data/images/17012025/20/46/image_17012025_20_46_41_6540.jpg', '/media/data/images/17012025/20/25/image_17012025_20_25_16_6382.jpg', '/media/data/images/17012025/20/25/image_17012025_20_25_10_5179.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/58/image_17012025_20_58_40_5339.jpg
/media/data/images/17012025/20/48/image_17012025_20_48_46_5343.jpg
/media/data/images/17012025/20/46/image_17012025_20_47_04_6602.jpg
/media/data/images/17012025/20/46/image_17012025_20_46_41_6540.jpg
/media/data/images/17012025/20/25/image_17012025_20_25_16_6382.jpg
/media/data/images/17012025/20/25/image_17012025_20_25_10_5179.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329562286","1329562238","1329562229","1329562255","1329562234","1329562258"],"photo_ids_order":["1329562229","1329562234","1329562238","1329562255","1329562258","1329562286"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3154509903666403e953869997b1234c.jpg","text":"TemporaryFile(/tmp/multipartBody314603650094138352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144661444,"filename":"image_17012025_20_25_10_5179.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ceb765d4b8430b924671d7383415766c.jpg","text":"TemporaryFile(/tmp/multipartBody1288816843017278224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144661444,"filename":"image_17012025_20_47_04_6602.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/31ec321aa15d315c4e9768cb7eea9aa6.jpg","text":"TemporaryFile(/tmp/multipartBody8992369530392481425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144661444,"filename":"image_17012025_20_58_40_5339.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d2af05cbd2356463d5bebc5fce9d8ff4.jpg","text":"TemporaryFile(/tmp/multipartBody6286291701735651835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144661444,"filename":"image_17012025_20_46_41_6540.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/15a9a8102068c324fd68c50ae6f0360f.jpg","text":"TemporaryFile(/tmp/multipartBody2102231603372708943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144661444,"filename":"image_17012025_20_48_46_5343.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f2fbb62bfe425460e43242f901705db5.jpg","text":"TemporaryFile(/tmp/multipartBody5121937925640859132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144661444,"filename":"image_17012025_20_25_16_6382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329562238","file1":"1329562234","file0":"1329562229","file4":"1329562258","file5":"1329562286","file3":"1329562255"},"map_files_photo_id_array":[{"photo_id":"1329562286","filename":"file5"},{"photo_id":"1329562238","filename":"file2"},{"photo_id":"1329562258","filename":"file4"},{"photo_id":"1329562234","filename":"file1"},{"photo_id":"1329562229","filename":"file0"},{"photo_id":"1329562255","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329562286":["hashtag1","hashtag2"]},{"1329562238":["hashtag1","hashtag2"]},{"1329562229":["hashtag1","hashtag2"]},{"1329562255":["hashtag1","hashtag2"]},{"1329562234":["hashtag1","hashtag2"]},{"1329562258":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329562286, 1329562238, 1329562229, 1329562255, 1329562234, 1329562258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.74733519554138 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 21:10:42.688623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/25/image_17012025_20_25_05_6212.jpg', '/media/data/images/17012025/20/24/image_17012025_20_24_58_6424.jpg', '/media/data/images/17012025/20/24/image_17012025_20_24_16_6370.jpg', '/media/data/images/17012025/20/24/image_17012025_20_24_10_5193.jpg', '/media/data/images/17012025/20/24/image_17012025_20_24_05_6170.jpg', '/media/data/images/17012025/20/23/image_17012025_20_23_58_6524.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/25/image_17012025_20_25_05_6212.jpg
/media/data/images/17012025/20/24/image_17012025_20_24_58_6424.jpg
/media/data/images/17012025/20/24/image_17012025_20_24_16_6370.jpg
/media/data/images/17012025/20/24/image_17012025_20_24_10_5193.jpg
/media/data/images/17012025/20/24/image_17012025_20_24_05_6170.jpg
/media/data/images/17012025/20/23/image_17012025_20_23_58_6524.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329562422","1329562430","1329562447","1329562441","1329562435","1329562426"],"photo_ids_order":["1329562422","1329562426","1329562430","1329562435","1329562441","1329562447"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c8f3ca691e396c4b2bfae7638393a323.jpg","text":"TemporaryFile(/tmp/multipartBody6355208805133487504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144713794,"filename":"image_17012025_20_25_05_6212.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0017c5b237e565e027c7a954f89769fa.jpg","text":"TemporaryFile(/tmp/multipartBody7120831156018060858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144713794,"filename":"image_17012025_20_24_16_6370.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d443e6d6bbb342c3847fe6cb23fb2375.jpg","text":"TemporaryFile(/tmp/multipartBody6715430680025372202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144713794,"filename":"image_17012025_20_23_58_6524.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5058c15860573cc34b0155baf75519bc.jpg","text":"TemporaryFile(/tmp/multipartBody5413663903212077170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144713794,"filename":"image_17012025_20_24_05_6170.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/66ba0220ccdd92c058f2295a334a461b.jpg","text":"TemporaryFile(/tmp/multipartBody2743662585417430722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144713794,"filename":"image_17012025_20_24_10_5193.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2d94fd1386cbd8c5cf71c390c193485f.jpg","text":"TemporaryFile(/tmp/multipartBody5806242321409882096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144713794,"filename":"image_17012025_20_24_58_6424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329562430","file1":"1329562426","file0":"1329562422","file4":"1329562441","file5":"1329562447","file3":"1329562435"},"map_files_photo_id_array":[{"photo_id":"1329562447","filename":"file5"},{"photo_id":"1329562430","filename":"file2"},{"photo_id":"1329562441","filename":"file4"},{"photo_id":"1329562426","filename":"file1"},{"photo_id":"1329562422","filename":"file0"},{"photo_id":"1329562435","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329562422":["hashtag1","hashtag2"]},{"1329562430":["hashtag1","hashtag2"]},{"1329562447":["hashtag1","hashtag2"]},{"1329562441":["hashtag1","hashtag2"]},{"1329562435":["hashtag1","hashtag2"]},{"1329562426":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329562422, 1329562430, 1329562447, 1329562441, 1329562435, 1329562426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.46079730987549 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 21:11:41.825789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/23/image_17012025_20_23_16_5175.jpg', '/media/data/images/17012025/20/23/image_17012025_20_23_11_6349.jpg', '/media/data/images/17012025/20/23/image_17012025_20_23_04_6205.jpg', '/media/data/images/17012025/20/22/image_17012025_20_22_58_6427.jpg', '/media/data/images/17012025/20/22/image_17012025_20_22_17_6541.jpg', '/media/data/images/17012025/20/22/image_17012025_20_22_10_6489.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/23/image_17012025_20_23_16_5175.jpg
/media/data/images/17012025/20/23/image_17012025_20_23_11_6349.jpg
/media/data/images/17012025/20/23/image_17012025_20_23_04_6205.jpg
/media/data/images/17012025/20/22/image_17012025_20_22_58_6427.jpg
/media/data/images/17012025/20/22/image_17012025_20_22_17_6541.jpg
/media/data/images/17012025/20/22/image_17012025_20_22_10_6489.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329562511","1329562495","1329562468","1329562482","1329562464","1329562473"],"photo_ids_order":["1329562464","1329562468","1329562473","1329562482","1329562495","1329562511"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/15d713457e943dc8903c7b18f80b073c.jpg","text":"TemporaryFile(/tmp/multipartBody1628271839516794292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144771676,"filename":"image_17012025_20_22_10_6489.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/792a7edbc4b1fdae0c226922fb6f4ed5.jpg","text":"TemporaryFile(/tmp/multipartBody6041561143960060508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144771676,"filename":"image_17012025_20_22_17_6541.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/40fd37f77b87a4c78cf4f86a692bb716.jpg","text":"TemporaryFile(/tmp/multipartBody6160706849335864899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144771676,"filename":"image_17012025_20_23_11_6349.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6f75b32993c6a65a946790dfe550dfdd.jpg","text":"TemporaryFile(/tmp/multipartBody816815039580043372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144771676,"filename":"image_17012025_20_22_58_6427.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c34656c1d6877b7e33e5d16650b13733.jpg","text":"TemporaryFile(/tmp/multipartBody5521754444546823749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144771676,"filename":"image_17012025_20_23_16_5175.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7b7547441acb2347c6a5a951fb485ed9.jpg","text":"TemporaryFile(/tmp/multipartBody8286946927111780781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144771676,"filename":"image_17012025_20_23_04_6205.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329562473","file1":"1329562468","file0":"1329562464","file4":"1329562495","file5":"1329562511","file3":"1329562482"},"map_files_photo_id_array":[{"photo_id":"1329562511","filename":"file5"},{"photo_id":"1329562473","filename":"file2"},{"photo_id":"1329562495","filename":"file4"},{"photo_id":"1329562468","filename":"file1"},{"photo_id":"1329562464","filename":"file0"},{"photo_id":"1329562482","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329562511":["hashtag1","hashtag2"]},{"1329562495":["hashtag1","hashtag2"]},{"1329562468":["hashtag1","hashtag2"]},{"1329562482":["hashtag1","hashtag2"]},{"1329562464":["hashtag1","hashtag2"]},{"1329562473":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329562511, 1329562495, 1329562468, 1329562482, 1329562464, 1329562473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.41652536392212 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 21:12:41.963967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/22/image_17012025_20_22_04_5176.jpg', '/media/data/images/17012025/20/21/image_17012025_20_21_59_6442.jpg', '/media/data/images/17012025/20/21/image_17012025_20_21_16_5186.jpg', '/media/data/images/17012025/20/21/image_17012025_20_21_10_6521.jpg', '/media/data/images/17012025/20/21/image_17012025_20_21_04_5084.jpg', '/media/data/images/17012025/20/20/image_17012025_20_20_59_6544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/22/image_17012025_20_22_04_5176.jpg
/media/data/images/17012025/20/21/image_17012025_20_21_59_6442.jpg
/media/data/images/17012025/20/21/image_17012025_20_21_16_5186.jpg
/media/data/images/17012025/20/21/image_17012025_20_21_10_6521.jpg
/media/data/images/17012025/20/21/image_17012025_20_21_04_5084.jpg
/media/data/images/17012025/20/20/image_17012025_20_20_59_6544.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329562574","1329562570","1329562560","1329562554","1329562566","1329562551"],"photo_ids_order":["1329562551","1329562554","1329562560","1329562566","1329562570","1329562574"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/eca8cfcf9506563b53c0e2b88a9b39f4.jpg","text":"TemporaryFile(/tmp/multipartBody3729516587498723008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144830002,"filename":"image_17012025_20_20_59_6544.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/185f6b888f91debf67410ee8ecfbabb3.jpg","text":"TemporaryFile(/tmp/multipartBody9069632717762796127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144830002,"filename":"image_17012025_20_21_04_5084.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/45958ace0f9642bc9e5ab572de7fa307.jpg","text":"TemporaryFile(/tmp/multipartBody3187495461574869708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144830002,"filename":"image_17012025_20_21_16_5186.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/87ca88052639d7211f40fc15f0e05d53.jpg","text":"TemporaryFile(/tmp/multipartBody6243708328629152422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144830002,"filename":"image_17012025_20_21_59_6442.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/34a9c369b8e49477010b9720830d5327.jpg","text":"TemporaryFile(/tmp/multipartBody8068513741711764827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144830002,"filename":"image_17012025_20_21_10_6521.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/22449f8d642b59be5acdb1654109d053.jpg","text":"TemporaryFile(/tmp/multipartBody8559996263093195288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144830002,"filename":"image_17012025_20_22_04_5176.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329562560","file1":"1329562554","file0":"1329562551","file4":"1329562570","file5":"1329562574","file3":"1329562566"},"map_files_photo_id_array":[{"photo_id":"1329562574","filename":"file5"},{"photo_id":"1329562560","filename":"file2"},{"photo_id":"1329562570","filename":"file4"},{"photo_id":"1329562554","filename":"file1"},{"photo_id":"1329562551","filename":"file0"},{"photo_id":"1329562566","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329562574":["hashtag1","hashtag2"]},{"1329562570":["hashtag1","hashtag2"]},{"1329562560":["hashtag1","hashtag2"]},{"1329562554":["hashtag1","hashtag2"]},{"1329562566":["hashtag1","hashtag2"]},{"1329562551":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329562574, 1329562570, 1329562560, 1329562554, 1329562566, 1329562551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.98041868209839 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 21:13:42.126019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/20/image_17012025_20_20_16_5295.jpg', '/media/data/images/17012025/20/20/image_17012025_20_20_11_6511.jpg', '/media/data/images/17012025/20/19/image_17012025_20_20_04_6436.jpg', '/media/data/images/17012025/20/19/image_17012025_20_19_58_5167.jpg', '/media/data/images/17012025/20/19/image_17012025_20_19_16_6383.jpg', '/media/data/images/17012025/20/19/image_17012025_20_19_10_5309.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/20/image_17012025_20_20_16_5295.jpg
/media/data/images/17012025/20/20/image_17012025_20_20_11_6511.jpg
/media/data/images/17012025/20/19/image_17012025_20_20_04_6436.jpg
/media/data/images/17012025/20/19/image_17012025_20_19_58_5167.jpg
/media/data/images/17012025/20/19/image_17012025_20_19_16_6383.jpg
/media/data/images/17012025/20/19/image_17012025_20_19_10_5309.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329562772","1329562769","1329562760","1329562756","1329562765","1329562753"],"photo_ids_order":["1329562753","1329562756","1329562760","1329562765","1329562769","1329562772"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/32fa986cfdf2d21d75bf1861620cc610.jpg","text":"TemporaryFile(/tmp/multipartBody7048117389644272589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144892520,"filename":"image_17012025_20_19_10_5309.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/953984fb60e2d7943aa752a304063956.jpg","text":"TemporaryFile(/tmp/multipartBody4317314900986572598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144892520,"filename":"image_17012025_20_19_16_6383.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/314245eaaab3d57d9751b040452ad343.jpg","text":"TemporaryFile(/tmp/multipartBody3270391862328295738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144892520,"filename":"image_17012025_20_20_04_6436.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8639c96ef17c8b8c136bec7694a5744c.jpg","text":"TemporaryFile(/tmp/multipartBody4091040692622841657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144892520,"filename":"image_17012025_20_20_11_6511.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bfae8ce8d5913b7c7c2e1db3547489fe.jpg","text":"TemporaryFile(/tmp/multipartBody8002440604495496823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144892520,"filename":"image_17012025_20_19_58_5167.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ab6501fb0331a534097bc883fe32d3b5.jpg","text":"TemporaryFile(/tmp/multipartBody8990488530391877169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144892520,"filename":"image_17012025_20_20_16_5295.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329562760","file1":"1329562756","file0":"1329562753","file4":"1329562769","file5":"1329562772","file3":"1329562765"},"map_files_photo_id_array":[{"photo_id":"1329562772","filename":"file5"},{"photo_id":"1329562760","filename":"file2"},{"photo_id":"1329562769","filename":"file4"},{"photo_id":"1329562756","filename":"file1"},{"photo_id":"1329562753","filename":"file0"},{"photo_id":"1329562765","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329562772":["hashtag1","hashtag2"]},{"1329562769":["hashtag1","hashtag2"]},{"1329562760":["hashtag1","hashtag2"]},{"1329562756":["hashtag1","hashtag2"]},{"1329562765":["hashtag1","hashtag2"]},{"1329562753":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329562772, 1329562769, 1329562760, 1329562756, 1329562765, 1329562753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.68916058540344 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 21:14:42.297340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/18/image_17012025_20_19_05_6615.jpg', '/media/data/images/17012025/20/18/image_17012025_20_18_58_5308.jpg', '/media/data/images/17012025/20/18/image_17012025_20_18_16_6403.jpg', '/media/data/images/17012025/20/18/image_17012025_20_18_10_5198.jpg', '/media/data/images/17012025/20/18/image_17012025_20_18_05_6373.jpg', '/media/data/images/17012025/20/17/image_17012025_20_17_58_6389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/18/image_17012025_20_19_05_6615.jpg
/media/data/images/17012025/20/18/image_17012025_20_18_58_5308.jpg
/media/data/images/17012025/20/18/image_17012025_20_18_16_6403.jpg
/media/data/images/17012025/20/18/image_17012025_20_18_10_5198.jpg
/media/data/images/17012025/20/18/image_17012025_20_18_05_6373.jpg
/media/data/images/17012025/20/17/image_17012025_20_17_58_6389.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329562790","1329562820","1329562808","1329562822","1329562825","1329562794"],"photo_ids_order":["1329562790","1329562794","1329562808","1329562820","1329562822","1329562825"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c74b23a052a218f838fd1e838700c425.jpg","text":"TemporaryFile(/tmp/multipartBody8296193205043072550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144952234,"filename":"image_17012025_20_19_05_6615.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6dea929fdab83f3efba245a484945caa.jpg","text":"TemporaryFile(/tmp/multipartBody7649548253497311380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144952234,"filename":"image_17012025_20_18_10_5198.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c03a05deedf336242f3dfc7f9652f79b.jpg","text":"TemporaryFile(/tmp/multipartBody35386630147919892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144952234,"filename":"image_17012025_20_18_16_6403.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a401cef3a7cfabcf181f986c0f47c1df.jpg","text":"TemporaryFile(/tmp/multipartBody4951145329293642093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144952234,"filename":"image_17012025_20_18_05_6373.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cc5a6995ee43d8ae56f6e682e5d58f6e.jpg","text":"TemporaryFile(/tmp/multipartBody5343294562648761336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144952234,"filename":"image_17012025_20_17_58_6389.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/37949c79862f5626a5276da509763d87.jpg","text":"TemporaryFile(/tmp/multipartBody3599862861856855325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737144952234,"filename":"image_17012025_20_18_58_5308.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329562808","file1":"1329562794","file0":"1329562790","file4":"1329562822","file5":"1329562825","file3":"1329562820"},"map_files_photo_id_array":[{"photo_id":"1329562825","filename":"file5"},{"photo_id":"1329562808","filename":"file2"},{"photo_id":"1329562822","filename":"file4"},{"photo_id":"1329562794","filename":"file1"},{"photo_id":"1329562790","filename":"file0"},{"photo_id":"1329562820","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329562790":["hashtag1","hashtag2"]},{"1329562820":["hashtag1","hashtag2"]},{"1329562808":["hashtag1","hashtag2"]},{"1329562822":["hashtag1","hashtag2"]},{"1329562825":["hashtag1","hashtag2"]},{"1329562794":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329562790, 1329562820, 1329562808, 1329562822, 1329562825, 1329562794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.354166984558105 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 21:15:42.425244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/17/image_17012025_20_17_16_6378.jpg', '/media/data/images/17012025/20/17/image_17012025_20_17_10_5191.jpg', '/media/data/images/17012025/20/16/image_17012025_20_17_05_6465.jpg', '/media/data/images/17012025/20/16/image_17012025_20_16_58_6373.jpg', '/media/data/images/17012025/20/16/image_17012025_20_16_16_5181.jpg', '/media/data/images/17012025/20/16/image_17012025_20_16_11_6402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/17/image_17012025_20_17_16_6378.jpg
/media/data/images/17012025/20/17/image_17012025_20_17_10_5191.jpg
/media/data/images/17012025/20/16/image_17012025_20_17_05_6465.jpg
/media/data/images/17012025/20/16/image_17012025_20_16_58_6373.jpg
/media/data/images/17012025/20/16/image_17012025_20_16_16_5181.jpg
/media/data/images/17012025/20/16/image_17012025_20_16_11_6402.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329563036","1329563030","1329563005","1329562998","1329563040","1329563034"],"photo_ids_order":["1329562998","1329563005","1329563030","1329563034","1329563036","1329563040"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/68e70e72eb82a89d78d0f2126e00d701.jpg","text":"TemporaryFile(/tmp/multipartBody8145005771334202697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145009732,"filename":"image_17012025_20_16_16_5181.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e38022e649360f8a48aa508ffd5d3004.jpg","text":"TemporaryFile(/tmp/multipartBody4706994334658034039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145009732,"filename":"image_17012025_20_17_05_6465.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8964f329231152599cbb1b25f0030487.jpg","text":"TemporaryFile(/tmp/multipartBody7187893787179726421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145009732,"filename":"image_17012025_20_17_10_5191.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f60ae2b1f0bf9a2e9ce83e5ff6bc31d0.jpg","text":"TemporaryFile(/tmp/multipartBody7393113345508140273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145009732,"filename":"image_17012025_20_17_16_6378.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f3f83583ab3ed6151187faee6d92e4b0.jpg","text":"TemporaryFile(/tmp/multipartBody2983703578152666813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145009732,"filename":"image_17012025_20_16_11_6402.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b2fc449374d605a4ff44a22ec2556d93.jpg","text":"TemporaryFile(/tmp/multipartBody8811365740285895587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145009732,"filename":"image_17012025_20_16_58_6373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329563030","file1":"1329563005","file0":"1329562998","file4":"1329563036","file5":"1329563040","file3":"1329563034"},"map_files_photo_id_array":[{"photo_id":"1329563040","filename":"file5"},{"photo_id":"1329563030","filename":"file2"},{"photo_id":"1329563036","filename":"file4"},{"photo_id":"1329563005","filename":"file1"},{"photo_id":"1329562998","filename":"file0"},{"photo_id":"1329563034","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329563036":["hashtag1","hashtag2"]},{"1329563030":["hashtag1","hashtag2"]},{"1329563005":["hashtag1","hashtag2"]},{"1329562998":["hashtag1","hashtag2"]},{"1329563040":["hashtag1","hashtag2"]},{"1329563034":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329563036, 1329563030, 1329563005, 1329562998, 1329563040, 1329563034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.77342748641968 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 21:16:42.565241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/15/image_17012025_20_16_04_6653.jpg', '/media/data/images/17012025/20/15/image_17012025_20_15_58_5194.jpg', '/media/data/images/17012025/20/15/image_17012025_20_15_17_6425.jpg', '/media/data/images/17012025/20/15/image_17012025_20_15_10_6385.jpg', '/media/data/images/17012025/20/15/image_17012025_20_15_04_5232.jpg', '/media/data/images/17012025/20/14/image_17012025_20_14_59_6370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/15/image_17012025_20_16_04_6653.jpg
/media/data/images/17012025/20/15/image_17012025_20_15_58_5194.jpg
/media/data/images/17012025/20/15/image_17012025_20_15_17_6425.jpg
/media/data/images/17012025/20/15/image_17012025_20_15_10_6385.jpg
/media/data/images/17012025/20/15/image_17012025_20_15_04_5232.jpg
/media/data/images/17012025/20/14/image_17012025_20_14_59_6370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329563083","1329563092","1329563074","1329563088","1329563076","1329563085"],"photo_ids_order":["1329563074","1329563076","1329563083","1329563085","1329563088","1329563092"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4aa31c106dbaf19b95eefe02ee6b54b0.jpg","text":"TemporaryFile(/tmp/multipartBody1723926293859488753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145069274,"filename":"image_17012025_20_15_17_6425.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a459aef063182bf80bd083dbb607bdac.jpg","text":"TemporaryFile(/tmp/multipartBody1116015256584182489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145069274,"filename":"image_17012025_20_14_59_6370.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/db983503cc6f95a899014eda5b94b2ee.jpg","text":"TemporaryFile(/tmp/multipartBody2807001763187772695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145069274,"filename":"image_17012025_20_16_04_6653.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e0eadee294ce660f7ecc1d61b117e031.jpg","text":"TemporaryFile(/tmp/multipartBody4222284554796279745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145069274,"filename":"image_17012025_20_15_04_5232.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e5908cc46978a2c3b22e550efa60847e.jpg","text":"TemporaryFile(/tmp/multipartBody7594660168369223296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145069274,"filename":"image_17012025_20_15_58_5194.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0691f9c3207f62b0737ff6e8c8eeee8b.jpg","text":"TemporaryFile(/tmp/multipartBody4035718335847563498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145069274,"filename":"image_17012025_20_15_10_6385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329563083","file1":"1329563076","file0":"1329563074","file4":"1329563088","file5":"1329563092","file3":"1329563085"},"map_files_photo_id_array":[{"photo_id":"1329563092","filename":"file5"},{"photo_id":"1329563083","filename":"file2"},{"photo_id":"1329563088","filename":"file4"},{"photo_id":"1329563076","filename":"file1"},{"photo_id":"1329563074","filename":"file0"},{"photo_id":"1329563085","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329563083":["hashtag1","hashtag2"]},{"1329563092":["hashtag1","hashtag2"]},{"1329563074":["hashtag1","hashtag2"]},{"1329563088":["hashtag1","hashtag2"]},{"1329563076":["hashtag1","hashtag2"]},{"1329563085":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329563083, 1329563092, 1329563074, 1329563088, 1329563076, 1329563085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.07397437095642 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 21:17:22.721728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/14/image_17012025_20_14_16_6361.jpg', '/media/data/images/17012025/20/14/image_17012025_20_14_10_5172.jpg', '/media/data/images/17012025/20/14/image_17012025_20_14_05_6206.jpg', '/media/data/images/17012025/20/13/image_17012025_20_13_59_6393.jpg', '/media/data/images/17012025/20/11/image_17012025_20_12_05_6509.jpg', '/media/data/images/17012025/20/11/image_17012025_20_11_58_5307.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/14/image_17012025_20_14_16_6361.jpg
/media/data/images/17012025/20/14/image_17012025_20_14_10_5172.jpg
/media/data/images/17012025/20/14/image_17012025_20_14_05_6206.jpg
/media/data/images/17012025/20/13/image_17012025_20_13_59_6393.jpg
/media/data/images/17012025/20/11/image_17012025_20_12_05_6509.jpg
/media/data/images/17012025/20/11/image_17012025_20_11_58_5307.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329563106","1329563111","1329563114","1329563116","1329563104","1329563109"],"photo_ids_order":["1329563104","1329563106","1329563109","1329563111","1329563114","1329563116"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/db038f9626e5b413ef85346628ee0855.jpg","text":"TemporaryFile(/tmp/multipartBody3856835868820643852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145108361,"filename":"image_17012025_20_14_10_5172.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/89dc5aed6a050df49c72f88d3e940ac2.jpg","text":"TemporaryFile(/tmp/multipartBody6261631449478885955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145108361,"filename":"image_17012025_20_13_59_6393.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d2172f32ae8c3cb919683f23c631e85b.jpg","text":"TemporaryFile(/tmp/multipartBody4389967508004043303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145108361,"filename":"image_17012025_20_12_05_6509.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7a48bd7668037ef3eb842bc63fbf099d.jpg","text":"TemporaryFile(/tmp/multipartBody883646033984747256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145108361,"filename":"image_17012025_20_11_58_5307.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/78590ab22a2498befb9352249b6079e8.jpg","text":"TemporaryFile(/tmp/multipartBody8235497311835942101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145108361,"filename":"image_17012025_20_14_16_6361.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4cbd930d51011895298acfa63d022567.jpg","text":"TemporaryFile(/tmp/multipartBody8560417959044756387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145108361,"filename":"image_17012025_20_14_05_6206.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329563109","file1":"1329563106","file0":"1329563104","file4":"1329563114","file5":"1329563116","file3":"1329563111"},"map_files_photo_id_array":[{"photo_id":"1329563116","filename":"file5"},{"photo_id":"1329563109","filename":"file2"},{"photo_id":"1329563114","filename":"file4"},{"photo_id":"1329563106","filename":"file1"},{"photo_id":"1329563104","filename":"file0"},{"photo_id":"1329563111","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329563106":["hashtag1","hashtag2"]},{"1329563111":["hashtag1","hashtag2"]},{"1329563114":["hashtag1","hashtag2"]},{"1329563116":["hashtag1","hashtag2"]},{"1329563104":["hashtag1","hashtag2"]},{"1329563109":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329563106, 1329563111, 1329563114, 1329563116, 1329563104, 1329563109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.128347396850586 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 21:18:21.831808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/11/image_17012025_20_11_16_5178.jpg', '/media/data/images/17012025/20/11/image_17012025_20_11_11_6414.jpg', '/media/data/images/17012025/20/10/image_17012025_20_11_04_6399.jpg', '/media/data/images/17012025/20/10/image_17012025_20_10_58_5201.jpg', '/media/data/images/17012025/20/10/image_17012025_20_10_16_6394.jpg', '/media/data/images/17012025/20/10/image_17012025_20_10_10_5227.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/11/image_17012025_20_11_16_5178.jpg
/media/data/images/17012025/20/11/image_17012025_20_11_11_6414.jpg
/media/data/images/17012025/20/10/image_17012025_20_11_04_6399.jpg
/media/data/images/17012025/20/10/image_17012025_20_10_58_5201.jpg
/media/data/images/17012025/20/10/image_17012025_20_10_16_6394.jpg
/media/data/images/17012025/20/10/image_17012025_20_10_10_5227.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329563168","1329563315","1329563152","1329563161","1329563149","1329563171"],"photo_ids_order":["1329563149","1329563152","1329563161","1329563168","1329563171","1329563315"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/53e5369f384d3db6203a84e64c0d1441.jpg","text":"TemporaryFile(/tmp/multipartBody6523578944658447230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145168316,"filename":"image_17012025_20_10_58_5201.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0f54a7abbbba9551d02870e2c0c322b0.jpg","text":"TemporaryFile(/tmp/multipartBody1348006132575695368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145168316,"filename":"image_17012025_20_10_10_5227.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9a35052ef6a3543fff0961113ab48737.jpg","text":"TemporaryFile(/tmp/multipartBody4972886127262525965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145168316,"filename":"image_17012025_20_11_11_6414.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/892862eb55fff237e4ffc4ead18cbf89.jpg","text":"TemporaryFile(/tmp/multipartBody1471163270450173856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145168316,"filename":"image_17012025_20_11_04_6399.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/521db52044f2e2550438ff87706f1c06.jpg","text":"TemporaryFile(/tmp/multipartBody6726057566128334792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145168316,"filename":"image_17012025_20_11_16_5178.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f058afaa9e2bf6717245fcdae87bf751.jpg","text":"TemporaryFile(/tmp/multipartBody6847925059650995813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145168316,"filename":"image_17012025_20_10_16_6394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329563161","file1":"1329563152","file0":"1329563149","file4":"1329563171","file5":"1329563315","file3":"1329563168"},"map_files_photo_id_array":[{"photo_id":"1329563315","filename":"file5"},{"photo_id":"1329563161","filename":"file2"},{"photo_id":"1329563171","filename":"file4"},{"photo_id":"1329563152","filename":"file1"},{"photo_id":"1329563149","filename":"file0"},{"photo_id":"1329563168","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329563168":["hashtag1","hashtag2"]},{"1329563315":["hashtag1","hashtag2"]},{"1329563152":["hashtag1","hashtag2"]},{"1329563161":["hashtag1","hashtag2"]},{"1329563149":["hashtag1","hashtag2"]},{"1329563171":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329563168, 1329563315, 1329563152, 1329563161, 1329563149, 1329563171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.56134605407715 secondes ---
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 21:19:21.964658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/09/image_17012025_20_10_05_6668.jpg', '/media/data/images/17012025/20/09/image_17012025_20_09_58_6392.jpg', '/media/data/images/17012025/20/08/image_17012025_20_08_53_6498.jpg', '/media/data/images/17012025/20/08/image_17012025_20_08_10_5212.jpg', '/media/data/images/17012025/20/08/image_17012025_20_08_05_6195.jpg', '/media/data/images/17012025/20/07/image_17012025_20_07_59_6382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/09/image_17012025_20_10_05_6668.jpg
/media/data/images/17012025/20/09/image_17012025_20_09_58_6392.jpg
/media/data/images/17012025/20/08/image_17012025_20_08_53_6498.jpg
/media/data/images/17012025/20/08/image_17012025_20_08_10_5212.jpg
/media/data/images/17012025/20/08/image_17012025_20_08_05_6195.jpg
/media/data/images/17012025/20/07/image_17012025_20_07_59_6382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329563981","1329564169","1329564163","1329564027","1329564167","1329564155"],"photo_ids_order":["1329563981","1329564027","1329564155","1329564163","1329564167","1329564169"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c3fc3e97c10fd534809e5e9591392b41.jpg","text":"TemporaryFile(/tmp/multipartBody2787943666897705849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145233192,"filename":"image_17012025_20_10_05_6668.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/76c01917d45274b87b98a4dccd54f693.jpg","text":"TemporaryFile(/tmp/multipartBody7417343375283575143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145233192,"filename":"image_17012025_20_07_59_6382.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3827f41cee00a4d093e70895c584db5e.jpg","text":"TemporaryFile(/tmp/multipartBody6168459555349435505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145233192,"filename":"image_17012025_20_08_10_5212.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7dec06929293d682e6423b512a5f1602.jpg","text":"TemporaryFile(/tmp/multipartBody2516801842409060174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145233192,"filename":"image_17012025_20_09_58_6392.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2d06504665f5bf17f7e17fb7d63d97e7.jpg","text":"TemporaryFile(/tmp/multipartBody8022861924098136080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145233192,"filename":"image_17012025_20_08_05_6195.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/82e5b7e65883764c5c61e353cc5d0a83.jpg","text":"TemporaryFile(/tmp/multipartBody7201124140812083496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145233192,"filename":"image_17012025_20_08_53_6498.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329564155","file1":"1329564027","file0":"1329563981","file4":"1329564167","file5":"1329564169","file3":"1329564163"},"map_files_photo_id_array":[{"photo_id":"1329564169","filename":"file5"},{"photo_id":"1329564155","filename":"file2"},{"photo_id":"1329564167","filename":"file4"},{"photo_id":"1329564027","filename":"file1"},{"photo_id":"1329563981","filename":"file0"},{"photo_id":"1329564163","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329563981":["hashtag1","hashtag2"]},{"1329564169":["hashtag1","hashtag2"]},{"1329564163":["hashtag1","hashtag2"]},{"1329564027":["hashtag1","hashtag2"]},{"1329564167":["hashtag1","hashtag2"]},{"1329564155":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329563981, 1329564169, 1329564163, 1329564027, 1329564167, 1329564155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.40768074989319 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 21:20:22.161847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/07/image_17012025_20_07_16_6382.jpg', '/media/data/images/17012025/20/07/image_17012025_20_07_10_5200.jpg', '/media/data/images/17012025/20/07/image_17012025_20_07_05_6198.jpg', '/media/data/images/17012025/20/06/image_17012025_20_06_58_6350.jpg', '/media/data/images/17012025/20/06/image_17012025_20_06_16_6422.jpg', '/media/data/images/17012025/20/06/image_17012025_20_06_10_5222.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/07/image_17012025_20_07_16_6382.jpg
/media/data/images/17012025/20/07/image_17012025_20_07_10_5200.jpg
/media/data/images/17012025/20/07/image_17012025_20_07_05_6198.jpg
/media/data/images/17012025/20/06/image_17012025_20_06_58_6350.jpg
/media/data/images/17012025/20/06/image_17012025_20_06_16_6422.jpg
/media/data/images/17012025/20/06/image_17012025_20_06_10_5222.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329564314","1329564310","1329564285","1329564303","1329564306","1329564300"],"photo_ids_order":["1329564285","1329564300","1329564303","1329564306","1329564310","1329564314"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3f8e10abbf953302a7712c4ef349dcfc.jpg","text":"TemporaryFile(/tmp/multipartBody1442570597431873116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145289224,"filename":"image_17012025_20_06_10_5222.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/24907d555d750bcfab164faa54f47e7d.jpg","text":"TemporaryFile(/tmp/multipartBody7081296002714201710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145289224,"filename":"image_17012025_20_06_16_6422.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c3ceb1e619d77ef264571b81c56d5287.jpg","text":"TemporaryFile(/tmp/multipartBody1726050916223671741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145289224,"filename":"image_17012025_20_07_16_6382.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9bf1fea6c3cedaf1d51a9d393cac5e37.jpg","text":"TemporaryFile(/tmp/multipartBody726559411504892264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145289224,"filename":"image_17012025_20_07_05_6198.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/85332648515ba541aaf60fa91895e2d7.jpg","text":"TemporaryFile(/tmp/multipartBody6580602636443007015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145289224,"filename":"image_17012025_20_06_58_6350.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a17db0a286b2c504bf2163857a59bbf6.jpg","text":"TemporaryFile(/tmp/multipartBody8501344889253323101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145289224,"filename":"image_17012025_20_07_10_5200.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329564303","file1":"1329564300","file0":"1329564285","file4":"1329564310","file5":"1329564314","file3":"1329564306"},"map_files_photo_id_array":[{"photo_id":"1329564314","filename":"file5"},{"photo_id":"1329564303","filename":"file2"},{"photo_id":"1329564310","filename":"file4"},{"photo_id":"1329564300","filename":"file1"},{"photo_id":"1329564285","filename":"file0"},{"photo_id":"1329564306","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329564314":["hashtag1","hashtag2"]},{"1329564310":["hashtag1","hashtag2"]},{"1329564285":["hashtag1","hashtag2"]},{"1329564303":["hashtag1","hashtag2"]},{"1329564306":["hashtag1","hashtag2"]},{"1329564300":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329564314, 1329564310, 1329564285, 1329564303, 1329564306, 1329564300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.550506353378296 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 21:21:22.300709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/06/image_17012025_20_06_05_6190.jpg', '/media/data/images/17012025/20/05/image_17012025_20_05_58_6404.jpg', '/media/data/images/17012025/20/05/image_17012025_20_05_16_6385.jpg', '/media/data/images/17012025/20/05/image_17012025_20_05_10_5135.jpg', '/media/data/images/17012025/20/05/image_17012025_20_05_05_6176.jpg', '/media/data/images/17012025/20/04/image_17012025_20_04_58_6385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/06/image_17012025_20_06_05_6190.jpg
/media/data/images/17012025/20/05/image_17012025_20_05_58_6404.jpg
/media/data/images/17012025/20/05/image_17012025_20_05_16_6385.jpg
/media/data/images/17012025/20/05/image_17012025_20_05_10_5135.jpg
/media/data/images/17012025/20/05/image_17012025_20_05_05_6176.jpg
/media/data/images/17012025/20/04/image_17012025_20_04_58_6385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329564407","1329564436","1329564430","1329564423","1329564405","1329564410"],"photo_ids_order":["1329564405","1329564407","1329564410","1329564423","1329564430","1329564436"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6bf8d47c48ae6e7ecf50dfbe1cd75351.jpg","text":"TemporaryFile(/tmp/multipartBody7073363886169559617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145350176,"filename":"image_17012025_20_05_58_6404.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/89006deb549d61fd952fa649a8350dec.jpg","text":"TemporaryFile(/tmp/multipartBody6562032046689697258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145350176,"filename":"image_17012025_20_04_58_6385.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a148660d9ccc64916e2273ddc7d8ceb6.jpg","text":"TemporaryFile(/tmp/multipartBody3285491531290784094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145350176,"filename":"image_17012025_20_05_05_6176.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a3ac27bc77b20bf6088ed79d69ae1907.jpg","text":"TemporaryFile(/tmp/multipartBody1565921659839193842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145350176,"filename":"image_17012025_20_05_10_5135.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/801d08ed90edd2292a836f3977f2a473.jpg","text":"TemporaryFile(/tmp/multipartBody2395414499085583945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145350176,"filename":"image_17012025_20_06_05_6190.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f5d687a01f013a1606fef5d7ea1689b9.jpg","text":"TemporaryFile(/tmp/multipartBody1688955766836653768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145350176,"filename":"image_17012025_20_05_16_6385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329564410","file1":"1329564407","file0":"1329564405","file4":"1329564430","file5":"1329564436","file3":"1329564423"},"map_files_photo_id_array":[{"photo_id":"1329564436","filename":"file5"},{"photo_id":"1329564410","filename":"file2"},{"photo_id":"1329564430","filename":"file4"},{"photo_id":"1329564407","filename":"file1"},{"photo_id":"1329564405","filename":"file0"},{"photo_id":"1329564423","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329564407":["hashtag1","hashtag2"]},{"1329564436":["hashtag1","hashtag2"]},{"1329564430":["hashtag1","hashtag2"]},{"1329564423":["hashtag1","hashtag2"]},{"1329564405":["hashtag1","hashtag2"]},{"1329564410":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329564407, 1329564436, 1329564430, 1329564423, 1329564405, 1329564410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.590388774871826 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 21:22:22.445927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/04/image_17012025_20_04_16_6393.jpg', '/media/data/images/17012025/20/04/image_17012025_20_04_10_5197.jpg', '/media/data/images/17012025/20/04/image_17012025_20_04_05_6179.jpg', '/media/data/images/17012025/20/03/image_17012025_20_03_58_6422.jpg', '/media/data/images/17012025/20/03/image_17012025_20_03_16_5202.jpg', '/media/data/images/17012025/20/03/image_17012025_20_03_11_6414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/04/image_17012025_20_04_16_6393.jpg
/media/data/images/17012025/20/04/image_17012025_20_04_10_5197.jpg
/media/data/images/17012025/20/04/image_17012025_20_04_05_6179.jpg
/media/data/images/17012025/20/03/image_17012025_20_03_58_6422.jpg
/media/data/images/17012025/20/03/image_17012025_20_03_16_5202.jpg
/media/data/images/17012025/20/03/image_17012025_20_03_11_6414.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329564796","1329564919","1329564840","1329564798","1329564804","1329564801"],"photo_ids_order":["1329564796","1329564798","1329564801","1329564804","1329564840","1329564919"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1e24043c7e68d005073753f923c24412.jpg","text":"TemporaryFile(/tmp/multipartBody3945064912600091829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145407489,"filename":"image_17012025_20_04_16_6393.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cab82d1b1d1b1a61ae03a509a609064b.jpg","text":"TemporaryFile(/tmp/multipartBody5552790827441856626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145407489,"filename":"image_17012025_20_03_11_6414.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/aeb413f35e8af86fe0fc87a11c05f7ce.jpg","text":"TemporaryFile(/tmp/multipartBody5633845200997763781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145407489,"filename":"image_17012025_20_03_16_5202.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b45a1bb9d3240ebd57e748a87da86b6d.jpg","text":"TemporaryFile(/tmp/multipartBody5558863120543914738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145407489,"filename":"image_17012025_20_04_10_5197.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/301cf5774474b4356438387a3baa327e.jpg","text":"TemporaryFile(/tmp/multipartBody8440887568536033681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145407489,"filename":"image_17012025_20_03_58_6422.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/206724b0e981b9c029e2fd448e38f6d7.jpg","text":"TemporaryFile(/tmp/multipartBody3769549289426473991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145407489,"filename":"image_17012025_20_04_05_6179.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329564801","file1":"1329564798","file0":"1329564796","file4":"1329564840","file5":"1329564919","file3":"1329564804"},"map_files_photo_id_array":[{"photo_id":"1329564919","filename":"file5"},{"photo_id":"1329564801","filename":"file2"},{"photo_id":"1329564840","filename":"file4"},{"photo_id":"1329564798","filename":"file1"},{"photo_id":"1329564796","filename":"file0"},{"photo_id":"1329564804","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329564796":["hashtag1","hashtag2"]},{"1329564919":["hashtag1","hashtag2"]},{"1329564840":["hashtag1","hashtag2"]},{"1329564798":["hashtag1","hashtag2"]},{"1329564804":["hashtag1","hashtag2"]},{"1329564801":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329564796, 1329564919, 1329564840, 1329564798, 1329564804, 1329564801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.569366216659546 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 21:23:02.809462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/02/image_17012025_20_03_04_6445.jpg', '/media/data/images/17012025/20/02/image_17012025_20_02_58_5202.jpg', '/media/data/images/17012025/20/02/image_17012025_20_02_17_6419.jpg', '/media/data/images/17012025/20/02/image_17012025_20_02_10_6344.jpg', '/media/data/images/17012025/20/02/image_17012025_20_02_04_5247.jpg', '/media/data/images/17012025/20/01/image_17012025_20_01_59_6440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/02/image_17012025_20_03_04_6445.jpg
/media/data/images/17012025/20/02/image_17012025_20_02_58_5202.jpg
/media/data/images/17012025/20/02/image_17012025_20_02_17_6419.jpg
/media/data/images/17012025/20/02/image_17012025_20_02_10_6344.jpg
/media/data/images/17012025/20/02/image_17012025_20_02_04_5247.jpg
/media/data/images/17012025/20/01/image_17012025_20_01_59_6440.jpg
2025-01-17 21:23:02.802315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/06/image_17012025_07_06_17_5297.jpg', '/media/data/images/17012025/07/06/image_17012025_07_06_59_6541.jpg', '/media/data/images/17012025/07/07/image_17012025_07_07_47_5301.jpg', '/media/data/images/17012025/07/08/image_17012025_07_08_41_5310.jpg', '/media/data/images/17012025/07/09/image_17012025_07_09_17_6552.jpg', '/media/data/images/17012025/07/09/image_17012025_07_09_36_6547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/06/image_17012025_07_06_17_5297.jpg
/media/data/images/17012025/07/06/image_17012025_07_06_59_6541.jpg
/media/data/images/17012025/07/07/image_17012025_07_07_47_5301.jpg
/media/data/images/17012025/07/08/image_17012025_07_08_41_5310.jpg
/media/data/images/17012025/07/09/image_17012025_07_09_17_6552.jpg
/media/data/images/17012025/07/09/image_17012025_07_09_36_6547.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329565189","1329565168","1329565183","1329565105","1329565059","1329565072"],"photo_ids_order":["1329565059","1329565072","1329565105","1329565168","1329565183","1329565189"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c1680a7770d94551004355a8b85c6809.jpg","text":"TemporaryFile(/tmp/multipartBody3717181992803122078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145462437,"filename":"image_17012025_20_01_59_6440.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8b61c9540f2cb5a21cc7bdf2fcf269da.jpg","text":"TemporaryFile(/tmp/multipartBody7314715926531359423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145462437,"filename":"image_17012025_20_02_10_6344.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ea6d64012f8e88940925e48afd9df380.jpg","text":"TemporaryFile(/tmp/multipartBody851537422104343972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145462437,"filename":"image_17012025_20_02_04_5247.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/72590075622090cc2aa12fa4bcdefbd9.jpg","text":"TemporaryFile(/tmp/multipartBody8101281528124059369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145462437,"filename":"image_17012025_20_02_17_6419.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/67929cd7c82ff8385e86885d7e9105d3.jpg","text":"TemporaryFile(/tmp/multipartBody3544451897245839847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145462437,"filename":"image_17012025_20_03_04_6445.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/821b9557475ea7eedb293afabb9d473e.jpg","text":"TemporaryFile(/tmp/multipartBody2766637041203656454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145462437,"filename":"image_17012025_20_02_58_5202.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329565105","file1":"1329565072","file0":"1329565059","file4":"1329565183","file5":"1329565189","file3":"1329565168"},"map_files_photo_id_array":[{"photo_id":"1329565189","filename":"file5"},{"photo_id":"1329565105","filename":"file2"},{"photo_id":"1329565183","filename":"file4"},{"photo_id":"1329565072","filename":"file1"},{"photo_id":"1329565059","filename":"file0"},{"photo_id":"1329565168","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329565189":["hashtag1","hashtag2"]},{"1329565168":["hashtag1","hashtag2"]},{"1329565183":["hashtag1","hashtag2"]},{"1329565105":["hashtag1","hashtag2"]},{"1329565059":["hashtag1","hashtag2"]},{"1329565072":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329565189, 1329565168, 1329565183, 1329565105, 1329565059, 1329565072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.79713416099548 secondes ---
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329565195","1329565182","1329565188","1329565166","1329565192","1329565087"],"photo_ids_order":["1329565087","1329565166","1329565182","1329565188","1329565192","1329565195"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/929336f3a644e04fdef6ad3979b95ecf.jpg","text":"TemporaryFile(/tmp/multipartBody1226844729602144262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145471072,"filename":"image_17012025_07_09_36_6547.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9c206fea9f94e2b4125c684a927ce404.jpg","text":"TemporaryFile(/tmp/multipartBody4418031404368534519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145471072,"filename":"image_17012025_07_07_47_5301.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/74798ad6d2ef2f4eb29d0aef0085792e.jpg","text":"TemporaryFile(/tmp/multipartBody1017771671916760319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145471072,"filename":"image_17012025_07_08_41_5310.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fe043b32569685f96fbcde46fee3c358.jpg","text":"TemporaryFile(/tmp/multipartBody5169450910208471046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145471072,"filename":"image_17012025_07_06_59_6541.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/04cc4b71698b05d4bc61daa7009747b6.jpg","text":"TemporaryFile(/tmp/multipartBody923685875016769171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145471072,"filename":"image_17012025_07_09_17_6552.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/21d765edad00484d667ee289825a7eb3.jpg","text":"TemporaryFile(/tmp/multipartBody6572007093641248049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145471072,"filename":"image_17012025_07_06_17_5297.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329565182","file1":"1329565166","file0":"1329565087","file4":"1329565192","file5":"1329565195","file3":"1329565188"},"map_files_photo_id_array":[{"photo_id":"1329565195","filename":"file5"},{"photo_id":"1329565182","filename":"file2"},{"photo_id":"1329565192","filename":"file4"},{"photo_id":"1329565166","filename":"file1"},{"photo_id":"1329565087","filename":"file0"},{"photo_id":"1329565188","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329565195":["hashtag1","hashtag2"]},{"1329565182":["hashtag1","hashtag2"]},{"1329565188":["hashtag1","hashtag2"]},{"1329565166":["hashtag1","hashtag2"]},{"1329565192":["hashtag1","hashtag2"]},{"1329565087":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329565195, 1329565182, 1329565188, 1329565166, 1329565192, 1329565087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.614240646362305 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 21:24:22.737707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/01/image_17012025_20_01_52_6428.jpg', '/media/data/images/17012025/20/01/image_17012025_20_01_46_5208.jpg', '/media/data/images/17012025/20/01/image_17012025_20_01_41_6394.jpg', '/media/data/images/17012025/20/01/image_17012025_20_01_34_6380.jpg', '/media/data/images/17012025/20/01/image_17012025_20_01_28_5202.jpg', '/media/data/images/17012025/20/01/image_17012025_20_01_23_6391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/01/image_17012025_20_01_52_6428.jpg
/media/data/images/17012025/20/01/image_17012025_20_01_46_5208.jpg
/media/data/images/17012025/20/01/image_17012025_20_01_41_6394.jpg
/media/data/images/17012025/20/01/image_17012025_20_01_34_6380.jpg
/media/data/images/17012025/20/01/image_17012025_20_01_28_5202.jpg
/media/data/images/17012025/20/01/image_17012025_20_01_23_6391.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: 6.481838941574097 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 21:24:42.726314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/01/image_17012025_20_01_52_6428.jpg', '/media/data/images/17012025/20/01/image_17012025_20_01_46_5208.jpg', '/media/data/images/17012025/20/01/image_17012025_20_01_41_6394.jpg', '/media/data/images/17012025/20/01/image_17012025_20_01_34_6380.jpg', '/media/data/images/17012025/20/01/image_17012025_20_01_28_5202.jpg', '/media/data/images/17012025/20/01/image_17012025_20_01_23_6391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/01/image_17012025_20_01_52_6428.jpg
/media/data/images/17012025/20/01/image_17012025_20_01_46_5208.jpg
/media/data/images/17012025/20/01/image_17012025_20_01_41_6394.jpg
/media/data/images/17012025/20/01/image_17012025_20_01_34_6380.jpg
/media/data/images/17012025/20/01/image_17012025_20_01_28_5202.jpg
/media/data/images/17012025/20/01/image_17012025_20_01_23_6391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329565252","1329565249","1329565237","1329565245","1329565239","1329565241"],"photo_ids_order":["1329565237","1329565239","1329565241","1329565245","1329565249","1329565252"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3fa7dba8edb0f7c86e7c26fb93fcefe6.jpg","text":"TemporaryFile(/tmp/multipartBody8089333061355671903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145549627,"filename":"image_17012025_20_01_23_6391.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8c4dac4ab00ae7d39fa1f56c1511abe4.jpg","text":"TemporaryFile(/tmp/multipartBody8032887428312889364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145549627,"filename":"image_17012025_20_01_28_5202.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/877dd125a106315d980a4d09f77c88bc.jpg","text":"TemporaryFile(/tmp/multipartBody8160359563713706998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145549627,"filename":"image_17012025_20_01_52_6428.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f53e77971aeffed925c0cced01f62851.jpg","text":"TemporaryFile(/tmp/multipartBody4212144559489524016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145549627,"filename":"image_17012025_20_01_34_6380.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1c32522d9d24098d76f9d4eca68131e9.jpg","text":"TemporaryFile(/tmp/multipartBody1097979609932449656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145549627,"filename":"image_17012025_20_01_46_5208.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f58f4f35459958a7d2929c9f9b1b8180.jpg","text":"TemporaryFile(/tmp/multipartBody6589542060332222568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145549627,"filename":"image_17012025_20_01_41_6394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329565241","file1":"1329565239","file0":"1329565237","file4":"1329565249","file5":"1329565252","file3":"1329565245"},"map_files_photo_id_array":[{"photo_id":"1329565252","filename":"file5"},{"photo_id":"1329565241","filename":"file2"},{"photo_id":"1329565249","filename":"file4"},{"photo_id":"1329565239","filename":"file1"},{"photo_id":"1329565237","filename":"file0"},{"photo_id":"1329565245","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329565252":["hashtag1","hashtag2"]},{"1329565249":["hashtag1","hashtag2"]},{"1329565237":["hashtag1","hashtag2"]},{"1329565245":["hashtag1","hashtag2"]},{"1329565239":["hashtag1","hashtag2"]},{"1329565241":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329565252, 1329565249, 1329565237, 1329565245, 1329565239, 1329565241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.87690091133118 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 21:25:41.861770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/20/01/image_17012025_20_01_16_6406.jpg', '/media/data/images/17012025/20/01/image_17012025_20_01_10_5220.jpg', '/media/data/images/17012025/20/01/image_17012025_20_01_05_6210.jpg', '/media/data/images/17012025/20/00/image_17012025_20_00_58_6395.jpg', '/media/data/images/17012025/20/00/image_17012025_20_00_16_5206.jpg', '/media/data/images/17012025/20/00/image_17012025_20_00_11_6443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/20/01/image_17012025_20_01_16_6406.jpg
/media/data/images/17012025/20/01/image_17012025_20_01_10_5220.jpg
/media/data/images/17012025/20/01/image_17012025_20_01_05_6210.jpg
/media/data/images/17012025/20/00/image_17012025_20_00_58_6395.jpg
/media/data/images/17012025/20/00/image_17012025_20_00_16_5206.jpg
/media/data/images/17012025/20/00/image_17012025_20_00_11_6443.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329565330","1329565332","1329565320","1329565286","1329565280","1329565283"],"photo_ids_order":["1329565280","1329565283","1329565286","1329565320","1329565330","1329565332"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b083e897aad8b183f8469b264b9aed82.jpg","text":"TemporaryFile(/tmp/multipartBody7937599134430334290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145609606,"filename":"image_17012025_20_00_16_5206.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fb7e2fed697c1e0122ad43a8710ae48e.jpg","text":"TemporaryFile(/tmp/multipartBody5317215625974029822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145609606,"filename":"image_17012025_20_00_11_6443.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cc2e8083059aa9c729389a393586ba62.jpg","text":"TemporaryFile(/tmp/multipartBody2321704332489534360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145609606,"filename":"image_17012025_20_00_58_6395.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d0136260834b790862476911e22e836c.jpg","text":"TemporaryFile(/tmp/multipartBody3609262647979030456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145609606,"filename":"image_17012025_20_01_05_6210.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6804863a6d77cd9b364ad30b4c746dc3.jpg","text":"TemporaryFile(/tmp/multipartBody7181213459454911710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145609606,"filename":"image_17012025_20_01_16_6406.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9a82dd24519d18713816518a9e20bfdc.jpg","text":"TemporaryFile(/tmp/multipartBody2329045725424420614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145609606,"filename":"image_17012025_20_01_10_5220.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329565286","file1":"1329565283","file0":"1329565280","file4":"1329565330","file5":"1329565332","file3":"1329565320"},"map_files_photo_id_array":[{"photo_id":"1329565332","filename":"file5"},{"photo_id":"1329565286","filename":"file2"},{"photo_id":"1329565330","filename":"file4"},{"photo_id":"1329565283","filename":"file1"},{"photo_id":"1329565280","filename":"file0"},{"photo_id":"1329565320","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329565330":["hashtag1","hashtag2"]},{"1329565332":["hashtag1","hashtag2"]},{"1329565320":["hashtag1","hashtag2"]},{"1329565286":["hashtag1","hashtag2"]},{"1329565280":["hashtag1","hashtag2"]},{"1329565283":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329565330, 1329565332, 1329565320, 1329565286, 1329565280, 1329565283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.540308475494385 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 21:26:42.013758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/59/image_17012025_20_00_04_6500.jpg', '/media/data/images/17012025/19/59/image_17012025_19_59_58_5153.jpg', '/media/data/images/17012025/19/59/image_17012025_19_59_16_5168.jpg', '/media/data/images/17012025/19/59/image_17012025_19_59_11_6433.jpg', '/media/data/images/17012025/19/58/image_17012025_19_59_04_6451.jpg', '/media/data/images/17012025/19/58/image_17012025_19_58_58_5176.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/59/image_17012025_20_00_04_6500.jpg
/media/data/images/17012025/19/59/image_17012025_19_59_58_5153.jpg
/media/data/images/17012025/19/59/image_17012025_19_59_16_5168.jpg
/media/data/images/17012025/19/59/image_17012025_19_59_11_6433.jpg
/media/data/images/17012025/19/58/image_17012025_19_59_04_6451.jpg
/media/data/images/17012025/19/58/image_17012025_19_58_58_5176.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329565351","1329565386","1329565359","1329565353","1329565355","1329565396"],"photo_ids_order":["1329565351","1329565353","1329565355","1329565359","1329565386","1329565396"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a67280caea322bb5c4109e9828c6c009.jpg","text":"TemporaryFile(/tmp/multipartBody8176960722188038125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145673550,"filename":"image_17012025_20_00_04_6500.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/afcbe1fcd9d88822e3e8d727aec7ffa3.jpg","text":"TemporaryFile(/tmp/multipartBody153756617863642125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145673550,"filename":"image_17012025_19_59_04_6451.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/44a88ae01c478d9d34bb64fbf93d8c49.jpg","text":"TemporaryFile(/tmp/multipartBody4359476892772797667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145673550,"filename":"image_17012025_19_59_11_6433.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/048323518e5e4b876a6a30c765fc5094.jpg","text":"TemporaryFile(/tmp/multipartBody7067698753242355505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145673550,"filename":"image_17012025_19_59_58_5153.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8478a45672075a392cd0fb9520ac2c31.jpg","text":"TemporaryFile(/tmp/multipartBody1703135614050775128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145673550,"filename":"image_17012025_19_59_16_5168.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e16a3764bf5945ef4c6174ebb7e2ccf1.jpg","text":"TemporaryFile(/tmp/multipartBody4791680482712913785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145673550,"filename":"image_17012025_19_58_58_5176.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329565355","file1":"1329565353","file0":"1329565351","file4":"1329565386","file5":"1329565396","file3":"1329565359"},"map_files_photo_id_array":[{"photo_id":"1329565396","filename":"file5"},{"photo_id":"1329565355","filename":"file2"},{"photo_id":"1329565386","filename":"file4"},{"photo_id":"1329565353","filename":"file1"},{"photo_id":"1329565351","filename":"file0"},{"photo_id":"1329565359","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329565351":["hashtag1","hashtag2"]},{"1329565386":["hashtag1","hashtag2"]},{"1329565359":["hashtag1","hashtag2"]},{"1329565353":["hashtag1","hashtag2"]},{"1329565355":["hashtag1","hashtag2"]},{"1329565396":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329565351, 1329565386, 1329565359, 1329565353, 1329565355, 1329565396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.55748414993286 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 21:27:42.154758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/58/image_17012025_19_58_17_6406.jpg', '/media/data/images/17012025/19/58/image_17012025_19_58_10_6377.jpg', '/media/data/images/17012025/19/58/image_17012025_19_58_04_5005.jpg', '/media/data/images/17012025/19/57/image_17012025_19_57_59_6393.jpg', '/media/data/images/17012025/19/57/image_17012025_19_57_52_6417.jpg', '/media/data/images/17012025/19/57/image_17012025_19_57_46_5175.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/58/image_17012025_19_58_17_6406.jpg
/media/data/images/17012025/19/58/image_17012025_19_58_10_6377.jpg
/media/data/images/17012025/19/58/image_17012025_19_58_04_5005.jpg
/media/data/images/17012025/19/57/image_17012025_19_57_59_6393.jpg
/media/data/images/17012025/19/57/image_17012025_19_57_52_6417.jpg
/media/data/images/17012025/19/57/image_17012025_19_57_46_5175.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329565468","1329565453","1329565470","1329565464","1329565475","1329565477"],"photo_ids_order":["1329565453","1329565464","1329565468","1329565470","1329565475","1329565477"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5ac9bda2300082a2f563d165dc0a30ab.jpg","text":"TemporaryFile(/tmp/multipartBody185356041033889785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145728550,"filename":"image_17012025_19_58_04_5005.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/11e41cde04ce8adefac56ee96687a596.jpg","text":"TemporaryFile(/tmp/multipartBody7648661499073681802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145728550,"filename":"image_17012025_19_58_17_6406.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7b1006e0dbaa358a8a17875a28577d2e.jpg","text":"TemporaryFile(/tmp/multipartBody221671528377173412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145728550,"filename":"image_17012025_19_57_59_6393.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bc735968a5e0c6cffdfea3f8c7a63482.jpg","text":"TemporaryFile(/tmp/multipartBody1550107282358787733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145728550,"filename":"image_17012025_19_58_10_6377.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/501b99a518a98b3590081b42a4ea572a.jpg","text":"TemporaryFile(/tmp/multipartBody2299402788091996752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145728550,"filename":"image_17012025_19_57_52_6417.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/48064694fdf42d47bb220c481660bbe7.jpg","text":"TemporaryFile(/tmp/multipartBody8238813330584831544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145728550,"filename":"image_17012025_19_57_46_5175.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329565468","file1":"1329565464","file0":"1329565453","file4":"1329565475","file5":"1329565477","file3":"1329565470"},"map_files_photo_id_array":[{"photo_id":"1329565477","filename":"file5"},{"photo_id":"1329565468","filename":"file2"},{"photo_id":"1329565475","filename":"file4"},{"photo_id":"1329565464","filename":"file1"},{"photo_id":"1329565453","filename":"file0"},{"photo_id":"1329565470","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329565468":["hashtag1","hashtag2"]},{"1329565453":["hashtag1","hashtag2"]},{"1329565470":["hashtag1","hashtag2"]},{"1329565464":["hashtag1","hashtag2"]},{"1329565475":["hashtag1","hashtag2"]},{"1329565477":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329565468, 1329565453, 1329565470, 1329565464, 1329565475, 1329565477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.69842576980591 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 21:28:22.291685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/57/image_17012025_19_57_41_6379.jpg', '/media/data/images/17012025/19/57/image_17012025_19_57_34_6356.jpg', '/media/data/images/17012025/19/57/image_17012025_19_57_28_6369.jpg', '/media/data/images/17012025/19/57/image_17012025_19_57_22_5166.jpg', '/media/data/images/17012025/19/57/image_17012025_19_57_16_6412.jpg', '/media/data/images/17012025/19/57/image_17012025_19_57_10_6418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/57/image_17012025_19_57_41_6379.jpg
/media/data/images/17012025/19/57/image_17012025_19_57_34_6356.jpg
/media/data/images/17012025/19/57/image_17012025_19_57_28_6369.jpg
/media/data/images/17012025/19/57/image_17012025_19_57_22_5166.jpg
/media/data/images/17012025/19/57/image_17012025_19_57_16_6412.jpg
/media/data/images/17012025/19/57/image_17012025_19_57_10_6418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329565659","1329565650","1329565644","1329565646","1329565640","1329565637"],"photo_ids_order":["1329565637","1329565640","1329565644","1329565646","1329565650","1329565659"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ff64a9535f9977c47fe5dbf5a21d77ba.jpg","text":"TemporaryFile(/tmp/multipartBody2486465739541143854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145771035,"filename":"image_17012025_19_57_10_6418.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d21745425198bf9d3a24b282c19d1f1e.jpg","text":"TemporaryFile(/tmp/multipartBody2391301239863466736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145771035,"filename":"image_17012025_19_57_16_6412.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/980a2179e6e45adfea4c330b9805c00d.jpg","text":"TemporaryFile(/tmp/multipartBody5793430525225585615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145771035,"filename":"image_17012025_19_57_28_6369.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a0c6528ceb121f60bf853270355b873f.jpg","text":"TemporaryFile(/tmp/multipartBody2652907874737697831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145771035,"filename":"image_17012025_19_57_22_5166.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a48aadabd4020a222253d48d42e0b339.jpg","text":"TemporaryFile(/tmp/multipartBody8044185481481015479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145771035,"filename":"image_17012025_19_57_34_6356.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/25bd565851e789df0e6472352ca89e51.jpg","text":"TemporaryFile(/tmp/multipartBody6669014225420325013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145771035,"filename":"image_17012025_19_57_41_6379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329565644","file1":"1329565640","file0":"1329565637","file4":"1329565650","file5":"1329565659","file3":"1329565646"},"map_files_photo_id_array":[{"photo_id":"1329565659","filename":"file5"},{"photo_id":"1329565644","filename":"file2"},{"photo_id":"1329565650","filename":"file4"},{"photo_id":"1329565640","filename":"file1"},{"photo_id":"1329565637","filename":"file0"},{"photo_id":"1329565646","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329565659":["hashtag1","hashtag2"]},{"1329565650":["hashtag1","hashtag2"]},{"1329565644":["hashtag1","hashtag2"]},{"1329565646":["hashtag1","hashtag2"]},{"1329565640":["hashtag1","hashtag2"]},{"1329565637":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329565659, 1329565650, 1329565644, 1329565646, 1329565640, 1329565637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.33886528015137 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 21:29:22.422310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/57/image_17012025_19_57_04_4972.jpg', '/media/data/images/17012025/19/56/image_17012025_19_56_59_6382.jpg', '/media/data/images/17012025/19/56/image_17012025_19_56_17_6437.jpg', '/media/data/images/17012025/19/56/image_17012025_19_56_10_6396.jpg', '/media/data/images/17012025/19/56/image_17012025_19_56_04_5045.jpg', '/media/data/images/17012025/19/55/image_17012025_19_55_59_6381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/57/image_17012025_19_57_04_4972.jpg
/media/data/images/17012025/19/56/image_17012025_19_56_59_6382.jpg
/media/data/images/17012025/19/56/image_17012025_19_56_17_6437.jpg
/media/data/images/17012025/19/56/image_17012025_19_56_10_6396.jpg
/media/data/images/17012025/19/56/image_17012025_19_56_04_5045.jpg
/media/data/images/17012025/19/55/image_17012025_19_55_59_6381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329565746","1329565749","1329565728","1329565716","1329565742","1329565724"],"photo_ids_order":["1329565716","1329565724","1329565728","1329565742","1329565746","1329565749"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/94bc020c2dd0b56f88c9facadebd4537.jpg","text":"TemporaryFile(/tmp/multipartBody1796164743497789647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145833760,"filename":"image_17012025_19_56_04_5045.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0732805cdf8de873e1950c677e02da46.jpg","text":"TemporaryFile(/tmp/multipartBody5294490902230989525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145833760,"filename":"image_17012025_19_55_59_6381.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f25d0fa475586eb7c69c29dc6cff8205.jpg","text":"TemporaryFile(/tmp/multipartBody2633054904019213010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145833760,"filename":"image_17012025_19_56_17_6437.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f5e87d70dde3250117949eec2639b6b7.jpg","text":"TemporaryFile(/tmp/multipartBody5672049090059469297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145833760,"filename":"image_17012025_19_57_04_4972.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/48975d62ac527377bd01e7cbf8050e20.jpg","text":"TemporaryFile(/tmp/multipartBody8156336471604172353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145833760,"filename":"image_17012025_19_56_10_6396.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f9bde4d1d184ae9983e5596607371cbd.jpg","text":"TemporaryFile(/tmp/multipartBody3275454098730091857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145833760,"filename":"image_17012025_19_56_59_6382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329565728","file1":"1329565724","file0":"1329565716","file4":"1329565746","file5":"1329565749","file3":"1329565742"},"map_files_photo_id_array":[{"photo_id":"1329565749","filename":"file5"},{"photo_id":"1329565728","filename":"file2"},{"photo_id":"1329565746","filename":"file4"},{"photo_id":"1329565724","filename":"file1"},{"photo_id":"1329565716","filename":"file0"},{"photo_id":"1329565742","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329565746":["hashtag1","hashtag2"]},{"1329565749":["hashtag1","hashtag2"]},{"1329565728":["hashtag1","hashtag2"]},{"1329565716":["hashtag1","hashtag2"]},{"1329565742":["hashtag1","hashtag2"]},{"1329565724":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329565746, 1329565749, 1329565728, 1329565716, 1329565742, 1329565724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.4808394908905 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 21:30:22.565912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/55/image_17012025_19_55_16_6438.jpg', '/media/data/images/17012025/19/55/image_17012025_19_55_10_5264.jpg', '/media/data/images/17012025/19/54/image_17012025_19_55_05_6556.jpg', '/media/data/images/17012025/19/54/image_17012025_19_54_58_6420.jpg', '/media/data/images/17012025/19/54/image_17012025_19_54_16_6360.jpg', '/media/data/images/17012025/19/54/image_17012025_19_54_10_5198.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/55/image_17012025_19_55_16_6438.jpg
/media/data/images/17012025/19/55/image_17012025_19_55_10_5264.jpg
/media/data/images/17012025/19/54/image_17012025_19_55_05_6556.jpg
/media/data/images/17012025/19/54/image_17012025_19_54_58_6420.jpg
/media/data/images/17012025/19/54/image_17012025_19_54_16_6360.jpg
/media/data/images/17012025/19/54/image_17012025_19_54_10_5198.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329565797","1329565782","1329565785","1329565794","1329565778","1329565789"],"photo_ids_order":["1329565778","1329565782","1329565785","1329565789","1329565794","1329565797"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a235474f9250b3e323d9a7039d3708e6.jpg","text":"TemporaryFile(/tmp/multipartBody6683209946810148667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145893326,"filename":"image_17012025_19_54_10_5198.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2c25e544a4f1ad1c5be286d2d90b6a5d.jpg","text":"TemporaryFile(/tmp/multipartBody9142706729146143040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145893326,"filename":"image_17012025_19_55_10_5264.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cb353f7f04351f3fb77e50b7db023a20.jpg","text":"TemporaryFile(/tmp/multipartBody8399685006691211661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145893326,"filename":"image_17012025_19_55_05_6556.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4ddc39f63738f35c9fa58a0290fcc8d9.jpg","text":"TemporaryFile(/tmp/multipartBody6290411058968977313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145893326,"filename":"image_17012025_19_54_16_6360.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cb0acbced254600536bdc303de4a1297.jpg","text":"TemporaryFile(/tmp/multipartBody4603728210189871349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145893326,"filename":"image_17012025_19_55_16_6438.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e0e52311a4feaa2fddf7e9ca39efb289.jpg","text":"TemporaryFile(/tmp/multipartBody2278070835772998444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145893326,"filename":"image_17012025_19_54_58_6420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329565785","file1":"1329565782","file0":"1329565778","file4":"1329565794","file5":"1329565797","file3":"1329565789"},"map_files_photo_id_array":[{"photo_id":"1329565797","filename":"file5"},{"photo_id":"1329565785","filename":"file2"},{"photo_id":"1329565794","filename":"file4"},{"photo_id":"1329565782","filename":"file1"},{"photo_id":"1329565778","filename":"file0"},{"photo_id":"1329565789","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329565797":["hashtag1","hashtag2"]},{"1329565782":["hashtag1","hashtag2"]},{"1329565785":["hashtag1","hashtag2"]},{"1329565794":["hashtag1","hashtag2"]},{"1329565778":["hashtag1","hashtag2"]},{"1329565789":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329565797, 1329565782, 1329565785, 1329565794, 1329565778, 1329565789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.70869278907776 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 21:31:22.709173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/53/image_17012025_19_54_04_6378.jpg', '/media/data/images/17012025/19/53/image_17012025_19_53_58_6352.jpg', '/media/data/images/17012025/19/53/image_17012025_19_53_16_6354.jpg', '/media/data/images/17012025/19/53/image_17012025_19_53_10_5163.jpg', '/media/data/images/17012025/19/52/image_17012025_19_53_04_6397.jpg', '/media/data/images/17012025/19/52/image_17012025_19_52_58_6358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/53/image_17012025_19_54_04_6378.jpg
/media/data/images/17012025/19/53/image_17012025_19_53_58_6352.jpg
/media/data/images/17012025/19/53/image_17012025_19_53_16_6354.jpg
/media/data/images/17012025/19/53/image_17012025_19_53_10_5163.jpg
/media/data/images/17012025/19/52/image_17012025_19_53_04_6397.jpg
/media/data/images/17012025/19/52/image_17012025_19_52_58_6358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329566157","1329565866","1329565854","1329566039","1329565859","1329566161"],"photo_ids_order":["1329565854","1329565859","1329565866","1329566039","1329566157","1329566161"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ce70a10ee9130d08fb3da758f94243c7.jpg","text":"TemporaryFile(/tmp/multipartBody5981113650520671428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145952151,"filename":"image_17012025_19_53_04_6397.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/92fe6e95d7144f3d92c908c8f82acc4e.jpg","text":"TemporaryFile(/tmp/multipartBody3512363228922964701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145952151,"filename":"image_17012025_19_53_16_6354.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/57274162aede893a6b04663c54d5d9e4.jpg","text":"TemporaryFile(/tmp/multipartBody5863614641869299657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145952151,"filename":"image_17012025_19_54_04_6378.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5e1ed159dd4c4b8ecc809c588310930b.jpg","text":"TemporaryFile(/tmp/multipartBody8744575569655946935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145952151,"filename":"image_17012025_19_53_10_5163.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0cf48c3b3306dcca15ec5c86df7c2ef8.jpg","text":"TemporaryFile(/tmp/multipartBody6291652387333777038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145952151,"filename":"image_17012025_19_53_58_6352.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/75a6b741cf19210b577f688d878f892a.jpg","text":"TemporaryFile(/tmp/multipartBody478129751699629392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737145952151,"filename":"image_17012025_19_52_58_6358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329565866","file1":"1329565859","file0":"1329565854","file4":"1329566157","file5":"1329566161","file3":"1329566039"},"map_files_photo_id_array":[{"photo_id":"1329566161","filename":"file5"},{"photo_id":"1329565866","filename":"file2"},{"photo_id":"1329566157","filename":"file4"},{"photo_id":"1329565859","filename":"file1"},{"photo_id":"1329565854","filename":"file0"},{"photo_id":"1329566039","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329566157":["hashtag1","hashtag2"]},{"1329565866":["hashtag1","hashtag2"]},{"1329565854":["hashtag1","hashtag2"]},{"1329566039":["hashtag1","hashtag2"]},{"1329565859":["hashtag1","hashtag2"]},{"1329566161":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329566157, 1329565866, 1329565854, 1329566039, 1329565859, 1329566161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.23585247993469 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 21:32:21.842810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/51/image_17012025_19_51_05_6193.jpg', '/media/data/images/17012025/19/50/image_17012025_19_50_58_6331.jpg', '/media/data/images/17012025/19/50/image_17012025_19_50_16_6420.jpg', '/media/data/images/17012025/19/50/image_17012025_19_50_10_5228.jpg', '/media/data/images/17012025/19/49/image_17012025_19_50_05_6554.jpg', '/media/data/images/17012025/19/49/image_17012025_19_49_58_6381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/51/image_17012025_19_51_05_6193.jpg
/media/data/images/17012025/19/50/image_17012025_19_50_58_6331.jpg
/media/data/images/17012025/19/50/image_17012025_19_50_16_6420.jpg
/media/data/images/17012025/19/50/image_17012025_19_50_10_5228.jpg
/media/data/images/17012025/19/49/image_17012025_19_50_05_6554.jpg
/media/data/images/17012025/19/49/image_17012025_19_49_58_6381.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329566391","1329566337","1329566381","1329566333","1329566330","1329566395"],"photo_ids_order":["1329566330","1329566333","1329566337","1329566381","1329566391","1329566395"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/577db4d6b4876a83680869a158314448.jpg","text":"TemporaryFile(/tmp/multipartBody4874208027924136299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146006957,"filename":"image_17012025_19_50_05_6554.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/87b91637b88961df7a07e4b176299602.jpg","text":"TemporaryFile(/tmp/multipartBody2089922690074071407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146006957,"filename":"image_17012025_19_50_16_6420.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/317eaaa57281851e6d41ba9300c726cb.jpg","text":"TemporaryFile(/tmp/multipartBody8106742804164994340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146006957,"filename":"image_17012025_19_50_10_5228.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b76a64c4519d8b5b46d746273032ce58.jpg","text":"TemporaryFile(/tmp/multipartBody2272581500484380530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146006957,"filename":"image_17012025_19_50_58_6331.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c4f37e261464e7748922ead07eed6aa9.jpg","text":"TemporaryFile(/tmp/multipartBody6655694132452859582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146006957,"filename":"image_17012025_19_51_05_6193.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dc9279a288556b870ca323170cdcbbae.jpg","text":"TemporaryFile(/tmp/multipartBody8952896505672956691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146006957,"filename":"image_17012025_19_49_58_6381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329566337","file1":"1329566333","file0":"1329566330","file4":"1329566391","file5":"1329566395","file3":"1329566381"},"map_files_photo_id_array":[{"photo_id":"1329566395","filename":"file5"},{"photo_id":"1329566337","filename":"file2"},{"photo_id":"1329566391","filename":"file4"},{"photo_id":"1329566333","filename":"file1"},{"photo_id":"1329566330","filename":"file0"},{"photo_id":"1329566381","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329566391":["hashtag1","hashtag2"]},{"1329566337":["hashtag1","hashtag2"]},{"1329566381":["hashtag1","hashtag2"]},{"1329566333":["hashtag1","hashtag2"]},{"1329566330":["hashtag1","hashtag2"]},{"1329566395":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329566391, 1329566337, 1329566381, 1329566333, 1329566330, 1329566395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.301220655441284 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 21:33:02.216483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/09/image_17012025_07_09_59_6580.jpg', '/media/data/images/17012025/07/11/image_17012025_07_11_29_6559.jpg', '/media/data/images/17012025/07/11/image_17012025_07_11_35_5209.jpg', '/media/data/images/17012025/07/11/image_17012025_07_11_41_6423.jpg', '/media/data/images/17012025/07/11/image_17012025_07_11_47_6429.jpg', '/media/data/images/17012025/07/11/image_17012025_07_11_53_5217.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/09/image_17012025_07_09_59_6580.jpg
/media/data/images/17012025/07/11/image_17012025_07_11_29_6559.jpg
/media/data/images/17012025/07/11/image_17012025_07_11_35_5209.jpg
/media/data/images/17012025/07/11/image_17012025_07_11_41_6423.jpg
/media/data/images/17012025/07/11/image_17012025_07_11_47_6429.jpg
/media/data/images/17012025/07/11/image_17012025_07_11_53_5217.jpg
2025-01-17 21:33:02.313109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/49/image_17012025_19_49_52_5146.jpg', '/media/data/images/17012025/19/49/image_17012025_19_49_47_6360.jpg', '/media/data/images/17012025/19/49/image_17012025_19_49_40_6342.jpg', '/media/data/images/17012025/19/49/image_17012025_19_49_34_5145.jpg', '/media/data/images/17012025/19/49/image_17012025_19_49_29_6344.jpg', '/media/data/images/17012025/19/49/image_17012025_19_49_22_6348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/49/image_17012025_19_49_52_5146.jpg
/media/data/images/17012025/19/49/image_17012025_19_49_47_6360.jpg
/media/data/images/17012025/19/49/image_17012025_19_49_40_6342.jpg
/media/data/images/17012025/19/49/image_17012025_19_49_34_5145.jpg
/media/data/images/17012025/19/49/image_17012025_19_49_29_6344.jpg
/media/data/images/17012025/19/49/image_17012025_19_49_22_6348.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329566434","1329566544","1329566439","1329566495","1329566462","1329566555"],"photo_ids_order":["1329566434","1329566439","1329566462","1329566495","1329566544","1329566555"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/77c30ae8940866a5cf23730104ef6f66.jpg","text":"TemporaryFile(/tmp/multipartBody8654352548496841256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146054814,"filename":"image_17012025_19_49_52_5146.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/026b9494f9ed498fbe2ed3af2fb58f60.jpg","text":"TemporaryFile(/tmp/multipartBody8875269928922578220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146054814,"filename":"image_17012025_19_49_29_6344.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b97b8a81ce8ded194ca49c0884e0259f.jpg","text":"TemporaryFile(/tmp/multipartBody4275218466321929919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146054814,"filename":"image_17012025_19_49_47_6360.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bacef155e9a77c214ecf9e45e4ca6b98.jpg","text":"TemporaryFile(/tmp/multipartBody7020466593963696208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146054814,"filename":"image_17012025_19_49_34_5145.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/61b9f63cd087b7270307c48870f58369.jpg","text":"TemporaryFile(/tmp/multipartBody270077197835049912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146054814,"filename":"image_17012025_19_49_40_6342.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/eba17395f6b3bf62663a68e77077cca1.jpg","text":"TemporaryFile(/tmp/multipartBody7785826760797125371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146054814,"filename":"image_17012025_19_49_22_6348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329566462","file1":"1329566439","file0":"1329566434","file4":"1329566544","file5":"1329566555","file3":"1329566495"},"map_files_photo_id_array":[{"photo_id":"1329566555","filename":"file5"},{"photo_id":"1329566462","filename":"file2"},{"photo_id":"1329566544","filename":"file4"},{"photo_id":"1329566439","filename":"file1"},{"photo_id":"1329566434","filename":"file0"},{"photo_id":"1329566495","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329566434":["hashtag1","hashtag2"]},{"1329566544":["hashtag1","hashtag2"]},{"1329566439":["hashtag1","hashtag2"]},{"1329566495":["hashtag1","hashtag2"]},{"1329566462":["hashtag1","hashtag2"]},{"1329566555":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329566434, 1329566544, 1329566439, 1329566495, 1329566462, 1329566555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.36871027946472 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329566562","1329566543","1329566486","1329566453","1329566438","1329566554"],"photo_ids_order":["1329566438","1329566453","1329566486","1329566543","1329566554","1329566562"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/958bc19d898d1113c01a24b5f8c61ed4.jpg","text":"TemporaryFile(/tmp/multipartBody641262931639763816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146058565,"filename":"image_17012025_07_11_53_5217.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fe051e6b101a2c63bc32c48f9ded64dd.jpg","text":"TemporaryFile(/tmp/multipartBody147633861823684821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146058565,"filename":"image_17012025_07_11_41_6423.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/87c73829af49fdc0ec7a3b5c1be6d631.jpg","text":"TemporaryFile(/tmp/multipartBody8635178087577729428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146058565,"filename":"image_17012025_07_11_35_5209.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c608bc43da1df430fcabfb6acfc08c0f.jpg","text":"TemporaryFile(/tmp/multipartBody5634276581914339812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146058565,"filename":"image_17012025_07_11_29_6559.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b18e37d856a280d9d531514b4785aa4c.jpg","text":"TemporaryFile(/tmp/multipartBody5078799901210894782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146058565,"filename":"image_17012025_07_09_59_6580.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/56792cc54868e6c2daf7817621862475.jpg","text":"TemporaryFile(/tmp/multipartBody865258633092004872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146058565,"filename":"image_17012025_07_11_47_6429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329566486","file1":"1329566453","file0":"1329566438","file4":"1329566554","file5":"1329566562","file3":"1329566543"},"map_files_photo_id_array":[{"photo_id":"1329566562","filename":"file5"},{"photo_id":"1329566486","filename":"file2"},{"photo_id":"1329566554","filename":"file4"},{"photo_id":"1329566453","filename":"file1"},{"photo_id":"1329566438","filename":"file0"},{"photo_id":"1329566543","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329566562":["hashtag1","hashtag2"]},{"1329566543":["hashtag1","hashtag2"]},{"1329566486":["hashtag1","hashtag2"]},{"1329566453":["hashtag1","hashtag2"]},{"1329566438":["hashtag1","hashtag2"]},{"1329566554":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329566562, 1329566543, 1329566486, 1329566453, 1329566438, 1329566554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.46971607208252 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 21:34:02.338773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/49/image_17012025_19_49_16_6339.jpg', '/media/data/images/17012025/19/49/image_17012025_19_49_10_5162.jpg', '/media/data/images/17012025/19/49/image_17012025_19_49_05_6153.jpg', '/media/data/images/17012025/19/48/image_17012025_19_48_58_6355.jpg', '/media/data/images/17012025/19/48/image_17012025_19_48_16_6362.jpg', '/media/data/images/17012025/19/48/image_17012025_19_48_10_5155.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/49/image_17012025_19_49_16_6339.jpg
/media/data/images/17012025/19/49/image_17012025_19_49_10_5162.jpg
/media/data/images/17012025/19/49/image_17012025_19_49_05_6153.jpg
/media/data/images/17012025/19/48/image_17012025_19_48_58_6355.jpg
/media/data/images/17012025/19/48/image_17012025_19_48_16_6362.jpg
/media/data/images/17012025/19/48/image_17012025_19_48_10_5155.jpg
2025-01-17 21:34:02.441002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/11/image_17012025_07_11_59_6216.jpg', '/media/data/images/17012025/07/12/image_17012025_07_12_05_6390.jpg', '/media/data/images/17012025/07/12/image_17012025_07_12_11_5370.jpg', '/media/data/images/17012025/07/12/image_17012025_07_12_17_6615.jpg', '/media/data/images/17012025/07/12/image_17012025_07_12_23_5406.jpg', '/media/data/images/17012025/07/12/image_17012025_07_12_29_6656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/11/image_17012025_07_11_59_6216.jpg
/media/data/images/17012025/07/12/image_17012025_07_12_05_6390.jpg
/media/data/images/17012025/07/12/image_17012025_07_12_11_5370.jpg
/media/data/images/17012025/07/12/image_17012025_07_12_17_6615.jpg
/media/data/images/17012025/07/12/image_17012025_07_12_23_5406.jpg
/media/data/images/17012025/07/12/image_17012025_07_12_29_6656.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329566613","1329566637","1329566616","1329566625","1329566642","1329566633"],"photo_ids_order":["1329566613","1329566616","1329566625","1329566633","1329566637","1329566642"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a5f3c8bb0568664c9dda7b3b6b1d8519.jpg","text":"TemporaryFile(/tmp/multipartBody5348788651428430106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146113818,"filename":"image_17012025_19_49_16_6339.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/82d0ad20e0be00ae1effe1bf802160c5.jpg","text":"TemporaryFile(/tmp/multipartBody4308669601860646521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146113818,"filename":"image_17012025_19_48_16_6362.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4b7a4d42327a76566852134021523fdc.jpg","text":"TemporaryFile(/tmp/multipartBody1430688448038603820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146113818,"filename":"image_17012025_19_49_10_5162.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0373b2c78304bc3ef0e18f2a2297b898.jpg","text":"TemporaryFile(/tmp/multipartBody5157388093078450642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146113818,"filename":"image_17012025_19_49_05_6153.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7cb28287e2c7370488578949930b239d.jpg","text":"TemporaryFile(/tmp/multipartBody7652733601617385095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146113818,"filename":"image_17012025_19_48_10_5155.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/10a8e57656b994a28b5c6ea2c14a0106.jpg","text":"TemporaryFile(/tmp/multipartBody2659847299411164749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146113818,"filename":"image_17012025_19_48_58_6355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329566625","file1":"1329566616","file0":"1329566613","file4":"1329566637","file5":"1329566642","file3":"1329566633"},"map_files_photo_id_array":[{"photo_id":"1329566642","filename":"file5"},{"photo_id":"1329566625","filename":"file2"},{"photo_id":"1329566637","filename":"file4"},{"photo_id":"1329566616","filename":"file1"},{"photo_id":"1329566613","filename":"file0"},{"photo_id":"1329566633","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329566613":["hashtag1","hashtag2"]},{"1329566637":["hashtag1","hashtag2"]},{"1329566616":["hashtag1","hashtag2"]},{"1329566625":["hashtag1","hashtag2"]},{"1329566642":["hashtag1","hashtag2"]},{"1329566633":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329566613, 1329566637, 1329566616, 1329566625, 1329566642, 1329566633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.996007442474365 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329566646","1329566649","1329566640","1329566624","1329566635","1329566629"],"photo_ids_order":["1329566624","1329566629","1329566635","1329566640","1329566646","1329566649"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/431a6de9ed1d7be9820f70dd84d154fc.jpg","text":"TemporaryFile(/tmp/multipartBody4094344289021812636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146121172,"filename":"image_17012025_07_12_23_5406.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/34a25b3f63555844346d4277396747a7.jpg","text":"TemporaryFile(/tmp/multipartBody1179297118600415676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146121172,"filename":"image_17012025_07_12_29_6656.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/94634411116aa1860750ba7547481ab4.jpg","text":"TemporaryFile(/tmp/multipartBody2689582563702481836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146121172,"filename":"image_17012025_07_12_17_6615.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b08cc4411408c14af82b7a570f7aaf06.jpg","text":"TemporaryFile(/tmp/multipartBody1108217285493464997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146121172,"filename":"image_17012025_07_11_59_6216.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fbbca57a2b2562f65ea70b40f4e2c91d.jpg","text":"TemporaryFile(/tmp/multipartBody356769244629228529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146121172,"filename":"image_17012025_07_12_11_5370.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/190fa11e4444915c6aac8d3f7f53592f.jpg","text":"TemporaryFile(/tmp/multipartBody906239184411302329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146121172,"filename":"image_17012025_07_12_05_6390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329566635","file1":"1329566629","file0":"1329566624","file4":"1329566646","file5":"1329566649","file3":"1329566640"},"map_files_photo_id_array":[{"photo_id":"1329566649","filename":"file5"},{"photo_id":"1329566635","filename":"file2"},{"photo_id":"1329566646","filename":"file4"},{"photo_id":"1329566629","filename":"file1"},{"photo_id":"1329566624","filename":"file0"},{"photo_id":"1329566640","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329566646":["hashtag1","hashtag2"]},{"1329566649":["hashtag1","hashtag2"]},{"1329566640":["hashtag1","hashtag2"]},{"1329566624":["hashtag1","hashtag2"]},{"1329566635":["hashtag1","hashtag2"]},{"1329566629":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329566646, 1329566649, 1329566640, 1329566624, 1329566635, 1329566629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.655519008636475 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 21:35:02.496979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/12/image_17012025_07_12_35_5399.jpg', '/media/data/images/17012025/07/12/image_17012025_07_12_41_6641.jpg', '/media/data/images/17012025/07/12/image_17012025_07_12_47_5392.jpg', '/media/data/images/17012025/07/12/image_17012025_07_12_53_6619.jpg', '/media/data/images/17012025/07/12/image_17012025_07_12_59_5364.jpg', '/media/data/images/17012025/07/13/image_17012025_07_13_05_6394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/12/image_17012025_07_12_35_5399.jpg
/media/data/images/17012025/07/12/image_17012025_07_12_41_6641.jpg
/media/data/images/17012025/07/12/image_17012025_07_12_47_5392.jpg
/media/data/images/17012025/07/12/image_17012025_07_12_53_6619.jpg
/media/data/images/17012025/07/12/image_17012025_07_12_59_5364.jpg
/media/data/images/17012025/07/13/image_17012025_07_13_05_6394.jpg
2025-01-17 21:35:02.715269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/48/image_17012025_19_48_05_6164.jpg', '/media/data/images/17012025/19/47/image_17012025_19_47_59_6376.jpg', '/media/data/images/17012025/19/47/image_17012025_19_47_16_6424.jpg', '/media/data/images/17012025/19/47/image_17012025_19_47_10_5257.jpg', '/media/data/images/17012025/19/47/image_17012025_19_47_05_6177.jpg', '/media/data/images/17012025/19/46/image_17012025_19_46_58_6373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/48/image_17012025_19_48_05_6164.jpg
/media/data/images/17012025/19/47/image_17012025_19_47_59_6376.jpg
/media/data/images/17012025/19/47/image_17012025_19_47_16_6424.jpg
/media/data/images/17012025/19/47/image_17012025_19_47_10_5257.jpg
/media/data/images/17012025/19/47/image_17012025_19_47_05_6177.jpg
/media/data/images/17012025/19/46/image_17012025_19_46_58_6373.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329566673","1329566683","1329566680","1329566668","1329566677","1329566662"],"photo_ids_order":["1329566662","1329566668","1329566673","1329566677","1329566680","1329566683"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0f1d697d25f1a3ba59efc928b839b0c4.jpg","text":"TemporaryFile(/tmp/multipartBody7270617711309303690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146174585,"filename":"image_17012025_19_47_16_6424.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cfab59397ac4bfb53e7e66aa14d3b04c.jpg","text":"TemporaryFile(/tmp/multipartBody8141653634928503997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146174585,"filename":"image_17012025_19_46_58_6373.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4c29b2fe3772117affe479c62e6bf6a4.jpg","text":"TemporaryFile(/tmp/multipartBody7590681345975277523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146174585,"filename":"image_17012025_19_47_05_6177.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0e3df4081db8c7abc3a0fdc77962c05d.jpg","text":"TemporaryFile(/tmp/multipartBody8406301365911507739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146174585,"filename":"image_17012025_19_47_59_6376.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d328c15fb9c5c5fdb1a1b1d8b8ffdf56.jpg","text":"TemporaryFile(/tmp/multipartBody2804114100020640067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146174585,"filename":"image_17012025_19_47_10_5257.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b17cace1f47caf45392de48b4bbeaaeb.jpg","text":"TemporaryFile(/tmp/multipartBody8159104257898817498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146174585,"filename":"image_17012025_19_48_05_6164.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329566673","file1":"1329566668","file0":"1329566662","file4":"1329566680","file5":"1329566683","file3":"1329566677"},"map_files_photo_id_array":[{"photo_id":"1329566683","filename":"file5"},{"photo_id":"1329566673","filename":"file2"},{"photo_id":"1329566680","filename":"file4"},{"photo_id":"1329566668","filename":"file1"},{"photo_id":"1329566662","filename":"file0"},{"photo_id":"1329566677","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329566673":["hashtag1","hashtag2"]},{"1329566683":["hashtag1","hashtag2"]},{"1329566680":["hashtag1","hashtag2"]},{"1329566668":["hashtag1","hashtag2"]},{"1329566677":["hashtag1","hashtag2"]},{"1329566662":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329566673, 1329566683, 1329566680, 1329566668, 1329566677, 1329566662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.782418727874756 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329566676","1329566679","1329566684","1329566672","1329566666","1329566686"],"photo_ids_order":["1329566666","1329566672","1329566676","1329566679","1329566684","1329566686"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6881407781f652f5810f21a73bb9fe6b.jpg","text":"TemporaryFile(/tmp/multipartBody350521831818656117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146177701,"filename":"image_17012025_07_12_47_5392.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6e523796ab237e3d1949912e8e1f5050.jpg","text":"TemporaryFile(/tmp/multipartBody3393879408410462957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146177701,"filename":"image_17012025_07_12_53_6619.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6a4bd67e5d07936c81686f440e2a8fa0.jpg","text":"TemporaryFile(/tmp/multipartBody8043762535512599819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146177701,"filename":"image_17012025_07_12_59_5364.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/04289f9174e9ccf610f99443f029f85b.jpg","text":"TemporaryFile(/tmp/multipartBody5719597035857935103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146177701,"filename":"image_17012025_07_12_41_6641.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/659a3b7163af4e9b605056d713f54d14.jpg","text":"TemporaryFile(/tmp/multipartBody4268279776872789351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146177701,"filename":"image_17012025_07_12_35_5399.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/345bf5a1a1a033b0efa60dd95dd3b0d2.jpg","text":"TemporaryFile(/tmp/multipartBody8840529427021736743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146177701,"filename":"image_17012025_07_13_05_6394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329566676","file1":"1329566672","file0":"1329566666","file4":"1329566684","file5":"1329566686","file3":"1329566679"},"map_files_photo_id_array":[{"photo_id":"1329566686","filename":"file5"},{"photo_id":"1329566676","filename":"file2"},{"photo_id":"1329566684","filename":"file4"},{"photo_id":"1329566672","filename":"file1"},{"photo_id":"1329566666","filename":"file0"},{"photo_id":"1329566679","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329566676":["hashtag1","hashtag2"]},{"1329566679":["hashtag1","hashtag2"]},{"1329566684":["hashtag1","hashtag2"]},{"1329566672":["hashtag1","hashtag2"]},{"1329566666":["hashtag1","hashtag2"]},{"1329566686":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329566676, 1329566679, 1329566684, 1329566672, 1329566666, 1329566686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.37781095504761 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 21:36:02.644270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/46/image_17012025_19_46_16_6383.jpg', '/media/data/images/17012025/19/46/image_17012025_19_46_10_5180.jpg', '/media/data/images/17012025/19/46/image_17012025_19_46_05_6186.jpg', '/media/data/images/17012025/19/45/image_17012025_19_45_58_6424.jpg', '/media/data/images/17012025/19/43/image_17012025_19_44_04_6393.jpg', '/media/data/images/17012025/19/43/image_17012025_19_43_58_5205.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/46/image_17012025_19_46_16_6383.jpg
/media/data/images/17012025/19/46/image_17012025_19_46_10_5180.jpg
/media/data/images/17012025/19/46/image_17012025_19_46_05_6186.jpg
/media/data/images/17012025/19/45/image_17012025_19_45_58_6424.jpg
/media/data/images/17012025/19/43/image_17012025_19_44_04_6393.jpg
/media/data/images/17012025/19/43/image_17012025_19_43_58_5205.jpg
2025-01-17 21:36:02.633480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/13/image_17012025_07_13_11_5402.jpg', '/media/data/images/17012025/07/13/image_17012025_07_13_17_6627.jpg', '/media/data/images/17012025/07/13/image_17012025_07_13_23_5370.jpg', '/media/data/images/17012025/07/13/image_17012025_07_13_29_6591.jpg', '/media/data/images/17012025/07/13/image_17012025_07_13_36_6588.jpg', '/media/data/images/17012025/07/13/image_17012025_07_13_41_5366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/13/image_17012025_07_13_11_5402.jpg
/media/data/images/17012025/07/13/image_17012025_07_13_17_6627.jpg
/media/data/images/17012025/07/13/image_17012025_07_13_23_5370.jpg
/media/data/images/17012025/07/13/image_17012025_07_13_29_6591.jpg
/media/data/images/17012025/07/13/image_17012025_07_13_36_6588.jpg
/media/data/images/17012025/07/13/image_17012025_07_13_41_5366.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329566730","1329566700","1329566699","1329566703","1329566723","1329566716"],"photo_ids_order":["1329566699","1329566700","1329566703","1329566716","1329566723","1329566730"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/89ea30ca5c858ed16423d487bde1e8e6.jpg","text":"TemporaryFile(/tmp/multipartBody4396298610265338991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146237139,"filename":"image_17012025_19_43_58_5205.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/63f7d8d6ace82d92bf4e9623a9edb349.jpg","text":"TemporaryFile(/tmp/multipartBody3524368185157547202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146237139,"filename":"image_17012025_19_46_10_5180.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/067664c75de493d690a628542f2b8b30.jpg","text":"TemporaryFile(/tmp/multipartBody7384587164624690447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146237139,"filename":"image_17012025_19_46_16_6383.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fbfdd61fb086d4536031f6f16951e317.jpg","text":"TemporaryFile(/tmp/multipartBody3685915416216107245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146237139,"filename":"image_17012025_19_46_05_6186.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c0a5977583c2a7d64d02aa508dd0a202.jpg","text":"TemporaryFile(/tmp/multipartBody2771528487337374430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146237139,"filename":"image_17012025_19_44_04_6393.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dc4255ce943e56447604c4fe6b29ee7c.jpg","text":"TemporaryFile(/tmp/multipartBody6182905032533196635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146237139,"filename":"image_17012025_19_45_58_6424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329566703","file1":"1329566700","file0":"1329566699","file4":"1329566723","file5":"1329566730","file3":"1329566716"},"map_files_photo_id_array":[{"photo_id":"1329566730","filename":"file5"},{"photo_id":"1329566703","filename":"file2"},{"photo_id":"1329566723","filename":"file4"},{"photo_id":"1329566700","filename":"file1"},{"photo_id":"1329566699","filename":"file0"},{"photo_id":"1329566716","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329566730":["hashtag1","hashtag2"]},{"1329566700":["hashtag1","hashtag2"]},{"1329566699":["hashtag1","hashtag2"]},{"1329566703":["hashtag1","hashtag2"]},{"1329566723":["hashtag1","hashtag2"]},{"1329566716":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329566730, 1329566700, 1329566699, 1329566703, 1329566723, 1329566716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.98064088821411 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329566704","1329566733","1329566724","1329566718","1329566729","1329566740"],"photo_ids_order":["1329566704","1329566718","1329566724","1329566729","1329566733","1329566740"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/318ec60e111514583e313d844fb469f2.jpg","text":"TemporaryFile(/tmp/multipartBody1977307807513716290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146246361,"filename":"image_17012025_07_13_11_5402.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e0bebf272790b9b993fc7000c87886e0.jpg","text":"TemporaryFile(/tmp/multipartBody2717641445962549386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146246361,"filename":"image_17012025_07_13_36_6588.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/94e711db1d00da51d22b92a106ef582f.jpg","text":"TemporaryFile(/tmp/multipartBody7139998757422883497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146246361,"filename":"image_17012025_07_13_23_5370.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4d16bcaff9b01026010a31050e30ddb2.jpg","text":"TemporaryFile(/tmp/multipartBody665870020552002268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146246361,"filename":"image_17012025_07_13_17_6627.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a950683c3734db21764b97fa560b2c1c.jpg","text":"TemporaryFile(/tmp/multipartBody5521249314365294931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146246361,"filename":"image_17012025_07_13_29_6591.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/27f7c5e2d4b2dc5e0dd43b89414471fa.jpg","text":"TemporaryFile(/tmp/multipartBody42929407926871519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146246361,"filename":"image_17012025_07_13_41_5366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329566724","file1":"1329566718","file0":"1329566704","file4":"1329566733","file5":"1329566740","file3":"1329566729"},"map_files_photo_id_array":[{"photo_id":"1329566740","filename":"file5"},{"photo_id":"1329566724","filename":"file2"},{"photo_id":"1329566733","filename":"file4"},{"photo_id":"1329566718","filename":"file1"},{"photo_id":"1329566704","filename":"file0"},{"photo_id":"1329566729","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329566704":["hashtag1","hashtag2"]},{"1329566733":["hashtag1","hashtag2"]},{"1329566724":["hashtag1","hashtag2"]},{"1329566718":["hashtag1","hashtag2"]},{"1329566729":["hashtag1","hashtag2"]},{"1329566740":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329566704, 1329566733, 1329566724, 1329566718, 1329566729, 1329566740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.26711893081665 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 21:37:02.873169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/43/image_17012025_19_43_16_6420.jpg', '/media/data/images/17012025/19/43/image_17012025_19_43_10_5212.jpg', '/media/data/images/17012025/19/43/image_17012025_19_43_05_6201.jpg', '/media/data/images/17012025/19/42/image_17012025_19_42_59_6385.jpg', '/media/data/images/17012025/19/42/image_17012025_19_42_16_5167.jpg', '/media/data/images/17012025/19/42/image_17012025_19_42_11_6481.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/43/image_17012025_19_43_16_6420.jpg
/media/data/images/17012025/19/43/image_17012025_19_43_10_5212.jpg
/media/data/images/17012025/19/43/image_17012025_19_43_05_6201.jpg
/media/data/images/17012025/19/42/image_17012025_19_42_59_6385.jpg
/media/data/images/17012025/19/42/image_17012025_19_42_16_5167.jpg
/media/data/images/17012025/19/42/image_17012025_19_42_11_6481.jpg
2025-01-17 21:37:02.953800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/13/image_17012025_07_13_48_6584.jpg', '/media/data/images/17012025/07/13/image_17012025_07_13_53_5349.jpg', '/media/data/images/17012025/07/13/image_17012025_07_13_59_6474.jpg', '/media/data/images/17012025/07/14/image_17012025_07_14_05_5219.jpg', '/media/data/images/17012025/07/14/image_17012025_07_14_11_6371.jpg', '/media/data/images/17012025/07/14/image_17012025_07_14_17_6359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/13/image_17012025_07_13_48_6584.jpg
/media/data/images/17012025/07/13/image_17012025_07_13_53_5349.jpg
/media/data/images/17012025/07/13/image_17012025_07_13_59_6474.jpg
/media/data/images/17012025/07/14/image_17012025_07_14_05_5219.jpg
/media/data/images/17012025/07/14/image_17012025_07_14_11_6371.jpg
/media/data/images/17012025/07/14/image_17012025_07_14_17_6359.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329566790","1329566850","1329566802","1329566825","1329566797","1329566815"],"photo_ids_order":["1329566790","1329566797","1329566802","1329566815","1329566825","1329566850"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9fedeca2bd904eee7a6739bb3f0a3c14.jpg","text":"TemporaryFile(/tmp/multipartBody7620491653381270848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146294204,"filename":"image_17012025_19_43_16_6420.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/676d62ca1d434444ad69435e613d3ce5.jpg","text":"TemporaryFile(/tmp/multipartBody2824657441662490465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146294204,"filename":"image_17012025_19_42_11_6481.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a390c26c71bb928a7b11d270919bf24d.jpg","text":"TemporaryFile(/tmp/multipartBody8331085783877851527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146294204,"filename":"image_17012025_19_43_05_6201.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/638151daeb5143ead61ab9c780a9b3ae.jpg","text":"TemporaryFile(/tmp/multipartBody175463573611577433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146294204,"filename":"image_17012025_19_42_16_5167.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/115f2e63a498a97d1a1cba0e29dbbb8c.jpg","text":"TemporaryFile(/tmp/multipartBody4646606017985600252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146294204,"filename":"image_17012025_19_43_10_5212.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c55527ee7efcd355c9a5a7a58361831c.jpg","text":"TemporaryFile(/tmp/multipartBody4810448973417372675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146294204,"filename":"image_17012025_19_42_59_6385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329566802","file1":"1329566797","file0":"1329566790","file4":"1329566825","file5":"1329566850","file3":"1329566815"},"map_files_photo_id_array":[{"photo_id":"1329566850","filename":"file5"},{"photo_id":"1329566802","filename":"file2"},{"photo_id":"1329566825","filename":"file4"},{"photo_id":"1329566797","filename":"file1"},{"photo_id":"1329566790","filename":"file0"},{"photo_id":"1329566815","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329566790":["hashtag1","hashtag2"]},{"1329566850":["hashtag1","hashtag2"]},{"1329566802":["hashtag1","hashtag2"]},{"1329566825":["hashtag1","hashtag2"]},{"1329566797":["hashtag1","hashtag2"]},{"1329566815":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329566790, 1329566850, 1329566802, 1329566825, 1329566797, 1329566815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.22864532470703 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329566820","1329566798","1329566792","1329566852","1329566849","1329566804"],"photo_ids_order":["1329566792","1329566798","1329566804","1329566820","1329566849","1329566852"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f88b1805aac566eaa005b94594eb776a.jpg","text":"TemporaryFile(/tmp/multipartBody2432078520312903956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146295518,"filename":"image_17012025_07_14_05_5219.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d506ce9977e24e7bb3ad72c1655b3e7a.jpg","text":"TemporaryFile(/tmp/multipartBody6322978807158388384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146295518,"filename":"image_17012025_07_13_53_5349.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3691a1aad92d5f79045c3c0266e4da1e.jpg","text":"TemporaryFile(/tmp/multipartBody4841189362936882841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146295518,"filename":"image_17012025_07_13_48_6584.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3845c920db1dacf88c67283aa8aea2fc.jpg","text":"TemporaryFile(/tmp/multipartBody9147311057546201482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146295518,"filename":"image_17012025_07_14_17_6359.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cc36a40cdfe4cc188bb2d6d92a910e49.jpg","text":"TemporaryFile(/tmp/multipartBody136622035996527026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146295518,"filename":"image_17012025_07_14_11_6371.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a0f62d01d136dce5c8183dad9ebb06a8.jpg","text":"TemporaryFile(/tmp/multipartBody2862138787349906353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146295518,"filename":"image_17012025_07_13_59_6474.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329566804","file1":"1329566798","file0":"1329566792","file4":"1329566849","file5":"1329566852","file3":"1329566820"},"map_files_photo_id_array":[{"photo_id":"1329566852","filename":"file5"},{"photo_id":"1329566804","filename":"file2"},{"photo_id":"1329566849","filename":"file4"},{"photo_id":"1329566798","filename":"file1"},{"photo_id":"1329566792","filename":"file0"},{"photo_id":"1329566820","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329566820":["hashtag1","hashtag2"]},{"1329566798":["hashtag1","hashtag2"]},{"1329566792":["hashtag1","hashtag2"]},{"1329566852":["hashtag1","hashtag2"]},{"1329566849":["hashtag1","hashtag2"]},{"1329566804":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329566820, 1329566798, 1329566792, 1329566852, 1329566849, 1329566804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.356842279434204 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 21:38:02.822982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/14/image_17012025_07_14_23_5181.jpg', '/media/data/images/17012025/07/14/image_17012025_07_14_29_6420.jpg', '/media/data/images/17012025/07/14/image_17012025_07_14_35_6414.jpg', '/media/data/images/17012025/07/14/image_17012025_07_14_41_5150.jpg', '/media/data/images/17012025/07/14/image_17012025_07_14_47_6422.jpg', '/media/data/images/17012025/07/14/image_17012025_07_14_53_6420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/14/image_17012025_07_14_23_5181.jpg
/media/data/images/17012025/07/14/image_17012025_07_14_29_6420.jpg
/media/data/images/17012025/07/14/image_17012025_07_14_35_6414.jpg
/media/data/images/17012025/07/14/image_17012025_07_14_41_5150.jpg
/media/data/images/17012025/07/14/image_17012025_07_14_47_6422.jpg
/media/data/images/17012025/07/14/image_17012025_07_14_53_6420.jpg
2025-01-17 21:38:02.920077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/41/image_17012025_19_42_04_6469.jpg', '/media/data/images/17012025/19/41/image_17012025_19_41_58_5198.jpg', '/media/data/images/17012025/19/41/image_17012025_19_41_17_6369.jpg', '/media/data/images/17012025/19/41/image_17012025_19_41_10_6395.jpg', '/media/data/images/17012025/19/41/image_17012025_19_41_04_4992.jpg', '/media/data/images/17012025/19/40/image_17012025_19_40_59_6405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/41/image_17012025_19_42_04_6469.jpg
/media/data/images/17012025/19/41/image_17012025_19_41_58_5198.jpg
/media/data/images/17012025/19/41/image_17012025_19_41_17_6369.jpg
/media/data/images/17012025/19/41/image_17012025_19_41_10_6395.jpg
/media/data/images/17012025/19/41/image_17012025_19_41_04_4992.jpg
/media/data/images/17012025/19/40/image_17012025_19_40_59_6405.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329567012","1329567015","1329567008","1329567025","1329567001","1329566956"],"photo_ids_order":["1329566956","1329567001","1329567008","1329567012","1329567015","1329567025"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4ba7d610b0d818b3128c08516f4f70c9.jpg","text":"TemporaryFile(/tmp/multipartBody5209628179164059070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146354567,"filename":"image_17012025_07_14_41_5150.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ab96fa389a0eab8ab10eb0995fd8bf76.jpg","text":"TemporaryFile(/tmp/multipartBody7506998905637161405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146354567,"filename":"image_17012025_07_14_47_6422.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9f8a4e388ae8579702f8963e6b45e0f0.jpg","text":"TemporaryFile(/tmp/multipartBody3449227631731673811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146354567,"filename":"image_17012025_07_14_35_6414.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/604ba364e34ce407717c5a9b0f667217.jpg","text":"TemporaryFile(/tmp/multipartBody3443174215813263827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146354567,"filename":"image_17012025_07_14_53_6420.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/316ca77efb0870b8ecc784e6089a306e.jpg","text":"TemporaryFile(/tmp/multipartBody374949816762431861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146354567,"filename":"image_17012025_07_14_29_6420.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/27a3c45478b3ca156ffc389204799bad.jpg","text":"TemporaryFile(/tmp/multipartBody3485875771765224350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146354567,"filename":"image_17012025_07_14_23_5181.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329567008","file1":"1329567001","file0":"1329566956","file4":"1329567015","file5":"1329567025","file3":"1329567012"},"map_files_photo_id_array":[{"photo_id":"1329567025","filename":"file5"},{"photo_id":"1329567008","filename":"file2"},{"photo_id":"1329567015","filename":"file4"},{"photo_id":"1329567001","filename":"file1"},{"photo_id":"1329566956","filename":"file0"},{"photo_id":"1329567012","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329567012":["hashtag1","hashtag2"]},{"1329567015":["hashtag1","hashtag2"]},{"1329567008":["hashtag1","hashtag2"]},{"1329567025":["hashtag1","hashtag2"]},{"1329567001":["hashtag1","hashtag2"]},{"1329566956":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329567012, 1329567015, 1329567008, 1329567025, 1329567001, 1329566956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.394978523254395 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329567027","1329566983","1329567013","1329567016","1329567010","1329567004"],"photo_ids_order":["1329566983","1329567004","1329567010","1329567013","1329567016","1329567027"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/34a89670601b3db46688c32158a7e8c1.jpg","text":"TemporaryFile(/tmp/multipartBody2524880784847768519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146356684,"filename":"image_17012025_19_40_59_6405.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/65fb3aef06e5bfec77b8ed6fc1978051.jpg","text":"TemporaryFile(/tmp/multipartBody7032739740383003029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146356684,"filename":"image_17012025_19_42_04_6469.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d1df8e1480613c24dae16dfb80a8b9ed.jpg","text":"TemporaryFile(/tmp/multipartBody6273240806746757538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146356684,"filename":"image_17012025_19_41_10_6395.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/98b39444757c675389adc9c86d8685ec.jpg","text":"TemporaryFile(/tmp/multipartBody2978508937190087164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146356684,"filename":"image_17012025_19_41_04_4992.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/486b09d0d20aecc5f1dfd2c0f4906975.jpg","text":"TemporaryFile(/tmp/multipartBody3726127574794284786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146356684,"filename":"image_17012025_19_41_17_6369.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c78593b0e201736432e0502360d69c74.jpg","text":"TemporaryFile(/tmp/multipartBody8873691125822032048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146356684,"filename":"image_17012025_19_41_58_5198.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329567010","file1":"1329567004","file0":"1329566983","file4":"1329567016","file5":"1329567027","file3":"1329567013"},"map_files_photo_id_array":[{"photo_id":"1329567027","filename":"file5"},{"photo_id":"1329567010","filename":"file2"},{"photo_id":"1329567016","filename":"file4"},{"photo_id":"1329567004","filename":"file1"},{"photo_id":"1329566983","filename":"file0"},{"photo_id":"1329567013","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329567027":["hashtag1","hashtag2"]},{"1329566983":["hashtag1","hashtag2"]},{"1329567013":["hashtag1","hashtag2"]},{"1329567016":["hashtag1","hashtag2"]},{"1329567010":["hashtag1","hashtag2"]},{"1329567004":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329567027, 1329566983, 1329567013, 1329567016, 1329567010, 1329567004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.14382266998291 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
 val : 1 : upload photos already in processing! 
2025-01-17 21:39:02.124017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/14/image_17012025_07_14_59_5189.jpg', '/media/data/images/17012025/07/15/image_17012025_07_15_05_6238.jpg', '/media/data/images/17012025/07/15/image_17012025_07_15_11_6468.jpg', '/media/data/images/17012025/07/15/image_17012025_07_15_16_5213.jpg', '/media/data/images/17012025/07/15/image_17012025_07_15_23_6441.jpg', '/media/data/images/17012025/07/15/image_17012025_07_15_29_6430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/14/image_17012025_07_14_59_5189.jpg
/media/data/images/17012025/07/15/image_17012025_07_15_05_6238.jpg
/media/data/images/17012025/07/15/image_17012025_07_15_11_6468.jpg
/media/data/images/17012025/07/15/image_17012025_07_15_16_5213.jpg
/media/data/images/17012025/07/15/image_17012025_07_15_23_6441.jpg
/media/data/images/17012025/07/15/image_17012025_07_15_29_6430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329567096","1329567111","1329567120","1329567102","1329567119","1329567115"],"photo_ids_order":["1329567096","1329567102","1329567111","1329567115","1329567119","1329567120"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/91803b25b741c7a75958ecf125c31ae6.jpg","text":"TemporaryFile(/tmp/multipartBody7576343885524281361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146411002,"filename":"image_17012025_07_14_59_5189.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a32219932b0b0f47a75c5ffbc0af5b9f.jpg","text":"TemporaryFile(/tmp/multipartBody2970448564056622341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146411002,"filename":"image_17012025_07_15_11_6468.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a750c16491f7a6cc254baa9a4d701ba1.jpg","text":"TemporaryFile(/tmp/multipartBody1389472492044199735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146411002,"filename":"image_17012025_07_15_29_6430.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a306aa534f67eedbf3d35ddf9489dabd.jpg","text":"TemporaryFile(/tmp/multipartBody1048026991163188057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146411002,"filename":"image_17012025_07_15_05_6238.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/93ebb3b896abead8e83c8c40c0bf4dae.jpg","text":"TemporaryFile(/tmp/multipartBody4746588527751380162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146411002,"filename":"image_17012025_07_15_23_6441.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cf8f41064d5e3402e93371828f9ed3bc.jpg","text":"TemporaryFile(/tmp/multipartBody1646085315204581771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146411002,"filename":"image_17012025_07_15_16_5213.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329567111","file1":"1329567102","file0":"1329567096","file4":"1329567119","file5":"1329567120","file3":"1329567115"},"map_files_photo_id_array":[{"photo_id":"1329567120","filename":"file5"},{"photo_id":"1329567111","filename":"file2"},{"photo_id":"1329567119","filename":"file4"},{"photo_id":"1329567102","filename":"file1"},{"photo_id":"1329567096","filename":"file0"},{"photo_id":"1329567115","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329567096":["hashtag1","hashtag2"]},{"1329567111":["hashtag1","hashtag2"]},{"1329567120":["hashtag1","hashtag2"]},{"1329567102":["hashtag1","hashtag2"]},{"1329567119":["hashtag1","hashtag2"]},{"1329567115":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329567096, 1329567111, 1329567120, 1329567102, 1329567119, 1329567115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.34233236312866 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 21:40:02.169931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/15/image_17012025_07_15_35_5172.jpg', '/media/data/images/17012025/07/15/image_17012025_07_15_41_6384.jpg', '/media/data/images/17012025/07/15/image_17012025_07_15_47_6395.jpg', '/media/data/images/17012025/07/15/image_17012025_07_15_53_5195.jpg', '/media/data/images/17012025/07/15/image_17012025_07_15_59_6389.jpg', '/media/data/images/17012025/07/16/image_17012025_07_16_05_6347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/15/image_17012025_07_15_35_5172.jpg
/media/data/images/17012025/07/15/image_17012025_07_15_41_6384.jpg
/media/data/images/17012025/07/15/image_17012025_07_15_47_6395.jpg
/media/data/images/17012025/07/15/image_17012025_07_15_53_5195.jpg
/media/data/images/17012025/07/15/image_17012025_07_15_59_6389.jpg
/media/data/images/17012025/07/16/image_17012025_07_16_05_6347.jpg
2025-01-17 21:40:02.237346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/40/image_17012025_19_40_17_6376.jpg', '/media/data/images/17012025/19/40/image_17012025_19_40_10_6414.jpg', '/media/data/images/17012025/19/40/image_17012025_19_40_04_4984.jpg', '/media/data/images/17012025/19/39/image_17012025_19_39_59_6390.jpg', '/media/data/images/17012025/19/39/image_17012025_19_39_16_6377.jpg', '/media/data/images/17012025/19/39/image_17012025_19_39_10_6466.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/40/image_17012025_19_40_17_6376.jpg
/media/data/images/17012025/19/40/image_17012025_19_40_10_6414.jpg
/media/data/images/17012025/19/40/image_17012025_19_40_04_4984.jpg
/media/data/images/17012025/19/39/image_17012025_19_39_59_6390.jpg
/media/data/images/17012025/19/39/image_17012025_19_39_16_6377.jpg
/media/data/images/17012025/19/39/image_17012025_19_39_10_6466.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329567369","1329567360","1329567357","1329567377","1329567365","1329567353"],"photo_ids_order":["1329567353","1329567357","1329567360","1329567365","1329567369","1329567377"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/292531cd74bc7a3b1a511b9861b519cb.jpg","text":"TemporaryFile(/tmp/multipartBody7093218299429437605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146477755,"filename":"image_17012025_19_39_16_6377.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9dbcdaf92b3cc0002d7b44cad8ebe4b7.jpg","text":"TemporaryFile(/tmp/multipartBody7495111604331122452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146477755,"filename":"image_17012025_19_40_04_4984.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/08e666bfa95c09d485bd4488d1998380.jpg","text":"TemporaryFile(/tmp/multipartBody6021054582022746624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146477755,"filename":"image_17012025_19_40_10_6414.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cf5a775c377a69403e529cca3d90e554.jpg","text":"TemporaryFile(/tmp/multipartBody559526276837976881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146477755,"filename":"image_17012025_19_39_10_6466.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ef4fe84713adc755b57e17d9b10013f9.jpg","text":"TemporaryFile(/tmp/multipartBody116487677320396097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146477755,"filename":"image_17012025_19_39_59_6390.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/aa0eb20cd8cf05076b6b9284b920bf6d.jpg","text":"TemporaryFile(/tmp/multipartBody1842360045882396553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146477755,"filename":"image_17012025_19_40_17_6376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329567360","file1":"1329567357","file0":"1329567353","file4":"1329567369","file5":"1329567377","file3":"1329567365"},"map_files_photo_id_array":[{"photo_id":"1329567377","filename":"file5"},{"photo_id":"1329567360","filename":"file2"},{"photo_id":"1329567369","filename":"file4"},{"photo_id":"1329567357","filename":"file1"},{"photo_id":"1329567353","filename":"file0"},{"photo_id":"1329567365","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329567369":["hashtag1","hashtag2"]},{"1329567360":["hashtag1","hashtag2"]},{"1329567357":["hashtag1","hashtag2"]},{"1329567377":["hashtag1","hashtag2"]},{"1329567365":["hashtag1","hashtag2"]},{"1329567353":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329567369, 1329567360, 1329567357, 1329567377, 1329567365, 1329567353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.60880160331726 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329567366","1329567354","1329567359","1329567370","1329567364","1329567378"],"photo_ids_order":["1329567354","1329567359","1329567364","1329567366","1329567370","1329567378"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5273bbb1e761f48979034812177529d8.jpg","text":"TemporaryFile(/tmp/multipartBody4131238430269972798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146478238,"filename":"image_17012025_07_15_53_5195.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4fea346ac2779201f393f6b828ca634b.jpg","text":"TemporaryFile(/tmp/multipartBody8931359887215474182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146478238,"filename":"image_17012025_07_15_35_5172.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/39b0b417e89f85987e226f0399e0250d.jpg","text":"TemporaryFile(/tmp/multipartBody1685691679838962743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146478238,"filename":"image_17012025_07_15_41_6384.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/42e83fc4d20b06dfdc03aaac65a6ee97.jpg","text":"TemporaryFile(/tmp/multipartBody2089994250338569327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146478238,"filename":"image_17012025_07_15_59_6389.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/20690def29d6b3ee8b9a152b5d5df806.jpg","text":"TemporaryFile(/tmp/multipartBody5407108093498554545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146478238,"filename":"image_17012025_07_15_47_6395.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/77a551bebe327b17f9f9457e20a1d6a7.jpg","text":"TemporaryFile(/tmp/multipartBody7371665486297293828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146478238,"filename":"image_17012025_07_16_05_6347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329567364","file1":"1329567359","file0":"1329567354","file4":"1329567370","file5":"1329567378","file3":"1329567366"},"map_files_photo_id_array":[{"photo_id":"1329567378","filename":"file5"},{"photo_id":"1329567364","filename":"file2"},{"photo_id":"1329567370","filename":"file4"},{"photo_id":"1329567359","filename":"file1"},{"photo_id":"1329567354","filename":"file0"},{"photo_id":"1329567366","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329567366":["hashtag1","hashtag2"]},{"1329567354":["hashtag1","hashtag2"]},{"1329567359":["hashtag1","hashtag2"]},{"1329567370":["hashtag1","hashtag2"]},{"1329567364":["hashtag1","hashtag2"]},{"1329567378":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329567366, 1329567354, 1329567359, 1329567370, 1329567364, 1329567378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.91677761077881 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 21:41:02.459233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/39/image_17012025_19_39_04_5086.jpg', '/media/data/images/17012025/19/38/image_17012025_19_38_52_5248.jpg', '/media/data/images/17012025/19/37/image_17012025_19_37_52_6439.jpg', '/media/data/images/17012025/19/37/image_17012025_19_37_34_6434.jpg', '/media/data/images/17012025/19/37/image_17012025_19_37_23_6426.jpg', '/media/data/images/17012025/19/37/image_17012025_19_37_16_6454.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/39/image_17012025_19_39_04_5086.jpg
/media/data/images/17012025/19/38/image_17012025_19_38_52_5248.jpg
/media/data/images/17012025/19/37/image_17012025_19_37_52_6439.jpg
/media/data/images/17012025/19/37/image_17012025_19_37_34_6434.jpg
/media/data/images/17012025/19/37/image_17012025_19_37_23_6426.jpg
/media/data/images/17012025/19/37/image_17012025_19_37_16_6454.jpg
2025-01-17 21:41:02.459190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/16/image_17012025_07_16_12_6406.jpg', '/media/data/images/17012025/07/16/image_17012025_07_16_17_5173.jpg', '/media/data/images/17012025/07/16/image_17012025_07_16_23_6391.jpg', '/media/data/images/17012025/07/16/image_17012025_07_16_30_6432.jpg', '/media/data/images/17012025/07/16/image_17012025_07_16_35_5202.jpg', '/media/data/images/17012025/07/16/image_17012025_07_16_41_6411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/16/image_17012025_07_16_12_6406.jpg
/media/data/images/17012025/07/16/image_17012025_07_16_17_5173.jpg
/media/data/images/17012025/07/16/image_17012025_07_16_23_6391.jpg
/media/data/images/17012025/07/16/image_17012025_07_16_30_6432.jpg
/media/data/images/17012025/07/16/image_17012025_07_16_35_5202.jpg
/media/data/images/17012025/07/16/image_17012025_07_16_41_6411.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329567450","1329567429","1329567438","1329567467","1329567461","1329567455"],"photo_ids_order":["1329567429","1329567438","1329567450","1329567455","1329567461","1329567467"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bc33cadd99eef5c9d4c6bab9df22ce1e.jpg","text":"TemporaryFile(/tmp/multipartBody7264763569945063221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146540152,"filename":"image_17012025_07_16_23_6391.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/85f37af0488ed46c9e9580462fbea396.jpg","text":"TemporaryFile(/tmp/multipartBody4080520289990141636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146540152,"filename":"image_17012025_07_16_12_6406.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bfc1d9c2c624752a8dbd9a187c0b0745.jpg","text":"TemporaryFile(/tmp/multipartBody8889845005306169154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146540152,"filename":"image_17012025_07_16_17_5173.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/162aabf15b818d86923ae656b1b7b9e6.jpg","text":"TemporaryFile(/tmp/multipartBody8644307041293184779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146540152,"filename":"image_17012025_07_16_41_6411.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cade36c5c51b9594b2bae074a92e58f4.jpg","text":"TemporaryFile(/tmp/multipartBody1819636300180187728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146540152,"filename":"image_17012025_07_16_35_5202.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1bc4e21f556ca5fc3b6b4ef3fd80eefb.jpg","text":"TemporaryFile(/tmp/multipartBody3995711711145476497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146540152,"filename":"image_17012025_07_16_30_6432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329567450","file1":"1329567438","file0":"1329567429","file4":"1329567461","file5":"1329567467","file3":"1329567455"},"map_files_photo_id_array":[{"photo_id":"1329567467","filename":"file5"},{"photo_id":"1329567450","filename":"file2"},{"photo_id":"1329567461","filename":"file4"},{"photo_id":"1329567438","filename":"file1"},{"photo_id":"1329567429","filename":"file0"},{"photo_id":"1329567455","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329567450":["hashtag1","hashtag2"]},{"1329567429":["hashtag1","hashtag2"]},{"1329567438":["hashtag1","hashtag2"]},{"1329567467":["hashtag1","hashtag2"]},{"1329567461":["hashtag1","hashtag2"]},{"1329567455":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329567450, 1329567429, 1329567438, 1329567467, 1329567461, 1329567455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.3259654045105 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329567468","1329567456","1329567431","1329567440","1329567451","1329567462"],"photo_ids_order":["1329567431","1329567440","1329567451","1329567456","1329567462","1329567468"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e1671d7470e642f3a10d2aa3f62ab808.jpg","text":"TemporaryFile(/tmp/multipartBody1442226291709611023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146543158,"filename":"image_17012025_19_37_16_6454.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3da960a6df13f9fb5fb9b67656394bee.jpg","text":"TemporaryFile(/tmp/multipartBody4143852923179336657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146543158,"filename":"image_17012025_19_37_34_6434.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8001a69eb7226f74d1d65e2074995e54.jpg","text":"TemporaryFile(/tmp/multipartBody4567646900764944068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146543158,"filename":"image_17012025_19_39_04_5086.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e9dcc1406cb8af68bc2726ffdad73054.jpg","text":"TemporaryFile(/tmp/multipartBody4395750368783074931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146543158,"filename":"image_17012025_19_38_52_5248.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/47051cfeb21f7d1c1c7139da26dd94e9.jpg","text":"TemporaryFile(/tmp/multipartBody2310220515589264736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146543158,"filename":"image_17012025_19_37_52_6439.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e1680d107eda6b4ae69644f24b2f1db5.jpg","text":"TemporaryFile(/tmp/multipartBody8331694333994763214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146543158,"filename":"image_17012025_19_37_23_6426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329567451","file1":"1329567440","file0":"1329567431","file4":"1329567462","file5":"1329567468","file3":"1329567456"},"map_files_photo_id_array":[{"photo_id":"1329567468","filename":"file5"},{"photo_id":"1329567451","filename":"file2"},{"photo_id":"1329567462","filename":"file4"},{"photo_id":"1329567440","filename":"file1"},{"photo_id":"1329567431","filename":"file0"},{"photo_id":"1329567456","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329567468":["hashtag1","hashtag2"]},{"1329567456":["hashtag1","hashtag2"]},{"1329567431":["hashtag1","hashtag2"]},{"1329567440":["hashtag1","hashtag2"]},{"1329567451":["hashtag1","hashtag2"]},{"1329567462":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329567468, 1329567456, 1329567431, 1329567440, 1329567451, 1329567462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.57787871360779 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 21:42:02.468438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/37/image_17012025_19_37_10_5245.jpg', '/media/data/images/17012025/19/36/image_17012025_19_36_58_5282.jpg', '/media/data/images/17012025/19/35/image_17012025_19_35_58_6489.jpg', '/media/data/images/17012025/19/34/image_17012025_19_35_05_6417.jpg', '/media/data/images/17012025/19/34/image_17012025_19_34_52_5166.jpg', '/media/data/images/17012025/19/34/image_17012025_19_34_04_5379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/37/image_17012025_19_37_10_5245.jpg
/media/data/images/17012025/19/36/image_17012025_19_36_58_5282.jpg
/media/data/images/17012025/19/35/image_17012025_19_35_58_6489.jpg
/media/data/images/17012025/19/34/image_17012025_19_35_05_6417.jpg
/media/data/images/17012025/19/34/image_17012025_19_34_52_5166.jpg
/media/data/images/17012025/19/34/image_17012025_19_34_04_5379.jpg
2025-01-17 21:42:02.445753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/16/image_17012025_07_16_46_5187.jpg', '/media/data/images/17012025/07/16/image_17012025_07_16_53_6422.jpg', '/media/data/images/17012025/07/16/image_17012025_07_16_59_6388.jpg', '/media/data/images/17012025/07/17/image_17012025_07_17_04_5184.jpg', '/media/data/images/17012025/07/17/image_17012025_07_17_11_6515.jpg', '/media/data/images/17012025/07/17/image_17012025_07_17_23_5317.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/16/image_17012025_07_16_46_5187.jpg
/media/data/images/17012025/07/16/image_17012025_07_16_53_6422.jpg
/media/data/images/17012025/07/16/image_17012025_07_16_59_6388.jpg
/media/data/images/17012025/07/17/image_17012025_07_17_04_5184.jpg
/media/data/images/17012025/07/17/image_17012025_07_17_11_6515.jpg
/media/data/images/17012025/07/17/image_17012025_07_17_23_5317.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329567534","1329567519","1329567536","1329567530","1329567527","1329567523"],"photo_ids_order":["1329567519","1329567523","1329567527","1329567530","1329567534","1329567536"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7d2f05a8626f6f8ea4072696b1042a09.jpg","text":"TemporaryFile(/tmp/multipartBody1656954069331911605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146600642,"filename":"image_17012025_19_34_52_5166.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e1a5710dbf884fbc771a0cc60456e4bb.jpg","text":"TemporaryFile(/tmp/multipartBody5718060905717288170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146600642,"filename":"image_17012025_19_37_10_5245.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/de2546f8513c24e80182dba16e53666b.jpg","text":"TemporaryFile(/tmp/multipartBody3396169260828959008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146600642,"filename":"image_17012025_19_34_04_5379.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/74cc13c0e8528dbbbfae3ea4a818aa0c.jpg","text":"TemporaryFile(/tmp/multipartBody508997468485552372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146600642,"filename":"image_17012025_19_35_05_6417.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/38a754b5243886e4265bcd0e0f2a9cd5.jpg","text":"TemporaryFile(/tmp/multipartBody848716850962884750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146600642,"filename":"image_17012025_19_35_58_6489.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4cda2cf3c838385efad022a996aa022e.jpg","text":"TemporaryFile(/tmp/multipartBody39755256144715673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146600642,"filename":"image_17012025_19_36_58_5282.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329567527","file1":"1329567523","file0":"1329567519","file4":"1329567534","file5":"1329567536","file3":"1329567530"},"map_files_photo_id_array":[{"photo_id":"1329567536","filename":"file5"},{"photo_id":"1329567527","filename":"file2"},{"photo_id":"1329567534","filename":"file4"},{"photo_id":"1329567523","filename":"file1"},{"photo_id":"1329567519","filename":"file0"},{"photo_id":"1329567530","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329567534":["hashtag1","hashtag2"]},{"1329567519":["hashtag1","hashtag2"]},{"1329567536":["hashtag1","hashtag2"]},{"1329567530":["hashtag1","hashtag2"]},{"1329567527":["hashtag1","hashtag2"]},{"1329567523":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329567534, 1329567519, 1329567536, 1329567530, 1329567527, 1329567523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.43643236160278 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329567525","1329567537","1329567522","1329567533","1329567541","1329567529"],"photo_ids_order":["1329567522","1329567525","1329567529","1329567533","1329567537","1329567541"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/aed3d71bb96ae9535e9c483246cb6ff3.jpg","text":"TemporaryFile(/tmp/multipartBody3634410673322119906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146603297,"filename":"image_17012025_07_16_53_6422.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b87532cae5adff5cd91c0b9b8a57f22f.jpg","text":"TemporaryFile(/tmp/multipartBody6652415528839179356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146603297,"filename":"image_17012025_07_17_11_6515.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7a0afa7a42b64a28b75567f791a51445.jpg","text":"TemporaryFile(/tmp/multipartBody3888894932366890025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146603297,"filename":"image_17012025_07_16_46_5187.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ae5e18f28b91d8ee09dd9607d63cd86b.jpg","text":"TemporaryFile(/tmp/multipartBody6598247796977441402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146603297,"filename":"image_17012025_07_17_04_5184.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4f53fd3220005d22c59575b655896f8a.jpg","text":"TemporaryFile(/tmp/multipartBody2794101202298206340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146603297,"filename":"image_17012025_07_17_23_5317.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bf4b3feba13ddc62a1fab00d430b0747.jpg","text":"TemporaryFile(/tmp/multipartBody5710490803148254663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146603297,"filename":"image_17012025_07_16_59_6388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329567529","file1":"1329567525","file0":"1329567522","file4":"1329567537","file5":"1329567541","file3":"1329567533"},"map_files_photo_id_array":[{"photo_id":"1329567541","filename":"file5"},{"photo_id":"1329567529","filename":"file2"},{"photo_id":"1329567537","filename":"file4"},{"photo_id":"1329567525","filename":"file1"},{"photo_id":"1329567522","filename":"file0"},{"photo_id":"1329567533","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329567525":["hashtag1","hashtag2"]},{"1329567537":["hashtag1","hashtag2"]},{"1329567522":["hashtag1","hashtag2"]},{"1329567533":["hashtag1","hashtag2"]},{"1329567541":["hashtag1","hashtag2"]},{"1329567529":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329567525, 1329567537, 1329567522, 1329567533, 1329567541, 1329567529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.016119956970215 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 21:43:02.613199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/33/image_17012025_19_33_58_6513.jpg', '/media/data/images/17012025/19/33/image_17012025_19_33_05_6299.jpg', '/media/data/images/17012025/19/32/image_17012025_19_32_59_6445.jpg', '/media/data/images/17012025/19/32/image_17012025_19_32_16_6468.jpg', '/media/data/images/17012025/19/32/image_17012025_19_32_10_5236.jpg', '/media/data/images/17012025/19/32/image_17012025_19_32_05_6256.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/33/image_17012025_19_33_58_6513.jpg
/media/data/images/17012025/19/33/image_17012025_19_33_05_6299.jpg
/media/data/images/17012025/19/32/image_17012025_19_32_59_6445.jpg
/media/data/images/17012025/19/32/image_17012025_19_32_16_6468.jpg
/media/data/images/17012025/19/32/image_17012025_19_32_10_5236.jpg
/media/data/images/17012025/19/32/image_17012025_19_32_05_6256.jpg
2025-01-17 21:43:02.634722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/17/image_17012025_07_17_29_6532.jpg', '/media/data/images/17012025/07/19/image_17012025_07_19_06_6432.jpg', '/media/data/images/17012025/07/19/image_17012025_07_19_11_5343.jpg', '/media/data/images/17012025/07/19/image_17012025_07_19_17_6530.jpg', '/media/data/images/17012025/07/19/image_17012025_07_19_23_5300.jpg', '/media/data/images/17012025/07/19/image_17012025_07_19_29_6570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/17/image_17012025_07_17_29_6532.jpg
/media/data/images/17012025/07/19/image_17012025_07_19_06_6432.jpg
/media/data/images/17012025/07/19/image_17012025_07_19_11_5343.jpg
/media/data/images/17012025/07/19/image_17012025_07_19_17_6530.jpg
/media/data/images/17012025/07/19/image_17012025_07_19_23_5300.jpg
/media/data/images/17012025/07/19/image_17012025_07_19_29_6570.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329567630","1329567606","1329567638","1329567626","1329567655","1329567634"],"photo_ids_order":["1329567606","1329567626","1329567630","1329567634","1329567638","1329567655"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9ae5a4831cd64b67be9dbbdd0e2edbc7.jpg","text":"TemporaryFile(/tmp/multipartBody450719697615855267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146663084,"filename":"image_17012025_19_32_59_6445.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/33b10236456cfabbf4c91b11efc57a31.jpg","text":"TemporaryFile(/tmp/multipartBody7906150746510730343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146663084,"filename":"image_17012025_19_33_58_6513.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b527ee5d5dc78742967dd0a1485b0d68.jpg","text":"TemporaryFile(/tmp/multipartBody218854683457419348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146663084,"filename":"image_17012025_19_32_10_5236.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/18562d8f2eb35680f2bc1ebcf107eba1.jpg","text":"TemporaryFile(/tmp/multipartBody7758723237115548193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146663084,"filename":"image_17012025_19_33_05_6299.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f3887ce4c7ce7e781cdecc992d29b153.jpg","text":"TemporaryFile(/tmp/multipartBody7336304312921916525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146663084,"filename":"image_17012025_19_32_05_6256.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2b27185422a00a3aefa675e6ce77d7b1.jpg","text":"TemporaryFile(/tmp/multipartBody8931060470034543734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146663084,"filename":"image_17012025_19_32_16_6468.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329567630","file1":"1329567626","file0":"1329567606","file4":"1329567638","file5":"1329567655","file3":"1329567634"},"map_files_photo_id_array":[{"photo_id":"1329567655","filename":"file5"},{"photo_id":"1329567630","filename":"file2"},{"photo_id":"1329567638","filename":"file4"},{"photo_id":"1329567626","filename":"file1"},{"photo_id":"1329567606","filename":"file0"},{"photo_id":"1329567634","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329567630":["hashtag1","hashtag2"]},{"1329567606":["hashtag1","hashtag2"]},{"1329567638":["hashtag1","hashtag2"]},{"1329567626":["hashtag1","hashtag2"]},{"1329567655":["hashtag1","hashtag2"]},{"1329567634":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329567630, 1329567606, 1329567638, 1329567626, 1329567655, 1329567634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.149641036987305 secondes ---
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329567624","1329567656","1329567635","1329567659","1329567631","1329567643"],"photo_ids_order":["1329567624","1329567631","1329567635","1329567643","1329567656","1329567659"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3588c75fd7ea99699e043383c270be3f.jpg","text":"TemporaryFile(/tmp/multipartBody6223291306601314966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146665746,"filename":"image_17012025_07_17_29_6532.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f2ce8ff22b7da87cd2484dba9071b9f6.jpg","text":"TemporaryFile(/tmp/multipartBody5435649023186999081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146665746,"filename":"image_17012025_07_19_23_5300.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f864ebcc0acbb93afb512e160afc7a49.jpg","text":"TemporaryFile(/tmp/multipartBody8349848986633168386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146665746,"filename":"image_17012025_07_19_11_5343.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2ca1745259b5ef3c2153aa4a8e56fbbf.jpg","text":"TemporaryFile(/tmp/multipartBody2162933840434936105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146665746,"filename":"image_17012025_07_19_29_6570.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c11819ef4ef6c2cf617e19376b62f9bb.jpg","text":"TemporaryFile(/tmp/multipartBody1548642061902718117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146665746,"filename":"image_17012025_07_19_06_6432.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/323e51e309a3a54f96a2707dd3c47692.jpg","text":"TemporaryFile(/tmp/multipartBody2348753273513855425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146665746,"filename":"image_17012025_07_19_17_6530.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329567635","file1":"1329567631","file0":"1329567624","file4":"1329567656","file5":"1329567659","file3":"1329567643"},"map_files_photo_id_array":[{"photo_id":"1329567659","filename":"file5"},{"photo_id":"1329567635","filename":"file2"},{"photo_id":"1329567656","filename":"file4"},{"photo_id":"1329567631","filename":"file1"},{"photo_id":"1329567624","filename":"file0"},{"photo_id":"1329567643","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329567624":["hashtag1","hashtag2"]},{"1329567656":["hashtag1","hashtag2"]},{"1329567635":["hashtag1","hashtag2"]},{"1329567659":["hashtag1","hashtag2"]},{"1329567631":["hashtag1","hashtag2"]},{"1329567643":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329567624, 1329567656, 1329567635, 1329567659, 1329567631, 1329567643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.44264769554138 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 21:44:22.522768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/31/image_17012025_19_31_58_6417.jpg', '/media/data/images/17012025/19/31/image_17012025_19_31_16_6400.jpg', '/media/data/images/17012025/19/31/image_17012025_19_31_10_5239.jpg', '/media/data/images/17012025/19/31/image_17012025_19_31_05_6293.jpg', '/media/data/images/17012025/19/30/image_17012025_19_30_58_6432.jpg', '/media/data/images/17012025/19/30/image_17012025_19_30_16_6329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/31/image_17012025_19_31_58_6417.jpg
/media/data/images/17012025/19/31/image_17012025_19_31_16_6400.jpg
/media/data/images/17012025/19/31/image_17012025_19_31_10_5239.jpg
/media/data/images/17012025/19/31/image_17012025_19_31_05_6293.jpg
/media/data/images/17012025/19/30/image_17012025_19_30_58_6432.jpg
/media/data/images/17012025/19/30/image_17012025_19_30_16_6329.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329567713","1329567709","1329567700","1329567703","1329567706","1329567696"],"photo_ids_order":["1329567696","1329567700","1329567703","1329567706","1329567709","1329567713"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/942dcbeae37dcbf4843e0b934ba5c0be.jpg","text":"TemporaryFile(/tmp/multipartBody5845314276546560433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146730316,"filename":"image_17012025_19_30_16_6329.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/63c409cc7f871f03238a7587e61d8715.jpg","text":"TemporaryFile(/tmp/multipartBody3643028029844886174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146730316,"filename":"image_17012025_19_30_58_6432.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/af4d1d09b4cce218d7bf5b323e6f856b.jpg","text":"TemporaryFile(/tmp/multipartBody2917127993823586724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146730316,"filename":"image_17012025_19_31_16_6400.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8fee76935146db7b17574c6cfb49b452.jpg","text":"TemporaryFile(/tmp/multipartBody6987004952554125116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146730316,"filename":"image_17012025_19_31_10_5239.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5beaa4de97439aba546fab7cda18459b.jpg","text":"TemporaryFile(/tmp/multipartBody3116813646848210486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146730316,"filename":"image_17012025_19_31_05_6293.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a06fb798ef8f891af88def336dc9713a.jpg","text":"TemporaryFile(/tmp/multipartBody1754166149681476300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146730316,"filename":"image_17012025_19_31_58_6417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329567703","file1":"1329567700","file0":"1329567696","file4":"1329567709","file5":"1329567713","file3":"1329567706"},"map_files_photo_id_array":[{"photo_id":"1329567713","filename":"file5"},{"photo_id":"1329567703","filename":"file2"},{"photo_id":"1329567709","filename":"file4"},{"photo_id":"1329567700","filename":"file1"},{"photo_id":"1329567696","filename":"file0"},{"photo_id":"1329567706","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329567713":["hashtag1","hashtag2"]},{"1329567709":["hashtag1","hashtag2"]},{"1329567700":["hashtag1","hashtag2"]},{"1329567703":["hashtag1","hashtag2"]},{"1329567706":["hashtag1","hashtag2"]},{"1329567696":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329567713, 1329567709, 1329567700, 1329567703, 1329567706, 1329567696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.75506830215454 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 21:45:22.697734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/30/image_17012025_19_30_10_5184.jpg', '/media/data/images/17012025/19/30/image_17012025_19_30_05_6303.jpg', '/media/data/images/17012025/19/29/image_17012025_19_29_58_6331.jpg', '/media/data/images/17012025/19/29/image_17012025_19_29_16_6369.jpg', '/media/data/images/17012025/19/29/image_17012025_19_29_10_5119.jpg', '/media/data/images/17012025/19/29/image_17012025_19_29_05_6202.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/30/image_17012025_19_30_10_5184.jpg
/media/data/images/17012025/19/30/image_17012025_19_30_05_6303.jpg
/media/data/images/17012025/19/29/image_17012025_19_29_58_6331.jpg
/media/data/images/17012025/19/29/image_17012025_19_29_16_6369.jpg
/media/data/images/17012025/19/29/image_17012025_19_29_10_5119.jpg
/media/data/images/17012025/19/29/image_17012025_19_29_05_6202.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329567744","1329567738","1329567729","1329567725","1329567748","1329567733"],"photo_ids_order":["1329567725","1329567729","1329567733","1329567738","1329567744","1329567748"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/16e4720e5b43a286bcc0a36516e4f222.jpg","text":"TemporaryFile(/tmp/multipartBody2817472682354228129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146786759,"filename":"image_17012025_19_29_10_5119.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c2cc9aa6fa0392e622719a918b9eb7c1.jpg","text":"TemporaryFile(/tmp/multipartBody7518590321132024795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146786759,"filename":"image_17012025_19_29_16_6369.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d0986a29f31b0c94d134d89c14e15fa4.jpg","text":"TemporaryFile(/tmp/multipartBody2227909961305076136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146786759,"filename":"image_17012025_19_30_05_6303.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5ab0634c8ebfde1825657cc99c5f78a7.jpg","text":"TemporaryFile(/tmp/multipartBody2982702737541313610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146786759,"filename":"image_17012025_19_30_10_5184.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b1620828c1e9c89fc196ac5b7ce2ec5d.jpg","text":"TemporaryFile(/tmp/multipartBody6237443239417523418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146786759,"filename":"image_17012025_19_29_05_6202.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a00f8752ce5fa4204cd32a72e048f9e6.jpg","text":"TemporaryFile(/tmp/multipartBody1286213840495989089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146786759,"filename":"image_17012025_19_29_58_6331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329567733","file1":"1329567729","file0":"1329567725","file4":"1329567744","file5":"1329567748","file3":"1329567738"},"map_files_photo_id_array":[{"photo_id":"1329567748","filename":"file5"},{"photo_id":"1329567733","filename":"file2"},{"photo_id":"1329567744","filename":"file4"},{"photo_id":"1329567729","filename":"file1"},{"photo_id":"1329567725","filename":"file0"},{"photo_id":"1329567738","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329567744":["hashtag1","hashtag2"]},{"1329567738":["hashtag1","hashtag2"]},{"1329567729":["hashtag1","hashtag2"]},{"1329567725":["hashtag1","hashtag2"]},{"1329567748":["hashtag1","hashtag2"]},{"1329567733":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329567744, 1329567738, 1329567729, 1329567725, 1329567748, 1329567733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.13286328315735 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 21:46:21.857467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/28/image_17012025_19_28_58_6408.jpg', '/media/data/images/17012025/19/28/image_17012025_19_28_16_6394.jpg', '/media/data/images/17012025/19/28/image_17012025_19_28_10_5219.jpg', '/media/data/images/17012025/19/28/image_17012025_19_28_05_6263.jpg', '/media/data/images/17012025/19/27/image_17012025_19_27_58_6361.jpg', '/media/data/images/17012025/19/27/image_17012025_19_27_16_6423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/28/image_17012025_19_28_58_6408.jpg
/media/data/images/17012025/19/28/image_17012025_19_28_16_6394.jpg
/media/data/images/17012025/19/28/image_17012025_19_28_10_5219.jpg
/media/data/images/17012025/19/28/image_17012025_19_28_05_6263.jpg
/media/data/images/17012025/19/27/image_17012025_19_27_58_6361.jpg
/media/data/images/17012025/19/27/image_17012025_19_27_16_6423.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: 5.181177854537964 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 21:46:41.821170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/28/image_17012025_19_28_58_6408.jpg', '/media/data/images/17012025/19/28/image_17012025_19_28_16_6394.jpg', '/media/data/images/17012025/19/28/image_17012025_19_28_10_5219.jpg', '/media/data/images/17012025/19/28/image_17012025_19_28_05_6263.jpg', '/media/data/images/17012025/19/27/image_17012025_19_27_58_6361.jpg', '/media/data/images/17012025/19/27/image_17012025_19_27_16_6423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/28/image_17012025_19_28_58_6408.jpg
/media/data/images/17012025/19/28/image_17012025_19_28_16_6394.jpg
/media/data/images/17012025/19/28/image_17012025_19_28_10_5219.jpg
/media/data/images/17012025/19/28/image_17012025_19_28_05_6263.jpg
/media/data/images/17012025/19/27/image_17012025_19_27_58_6361.jpg
/media/data/images/17012025/19/27/image_17012025_19_27_16_6423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329567849","1329567843","1329567807","1329567827","1329567798","1329567802"],"photo_ids_order":["1329567798","1329567802","1329567807","1329567827","1329567843","1329567849"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a4c3ef8662fcd67037646d6ef528baf6.jpg","text":"TemporaryFile(/tmp/multipartBody5627131566298757517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146870252,"filename":"image_17012025_19_27_16_6423.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/13cdf0d7fcc1e63984f94debf34994d1.jpg","text":"TemporaryFile(/tmp/multipartBody6944823070870779659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146870252,"filename":"image_17012025_19_27_58_6361.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/034f4132e5554585cf9b565fbb86215e.jpg","text":"TemporaryFile(/tmp/multipartBody9131094435880476960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146870252,"filename":"image_17012025_19_28_10_5219.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b3ddf494043ab5ad0941440db6a34549.jpg","text":"TemporaryFile(/tmp/multipartBody5861075282095545680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146870252,"filename":"image_17012025_19_28_05_6263.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/73739241f7055430f5eb38c6c0fdc2b1.jpg","text":"TemporaryFile(/tmp/multipartBody5544203024653806521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146870252,"filename":"image_17012025_19_28_58_6408.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ff5c901d5c885dd94bcf8bf2f07768d1.jpg","text":"TemporaryFile(/tmp/multipartBody544506439982137528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146870252,"filename":"image_17012025_19_28_16_6394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329567807","file1":"1329567802","file0":"1329567798","file4":"1329567843","file5":"1329567849","file3":"1329567827"},"map_files_photo_id_array":[{"photo_id":"1329567849","filename":"file5"},{"photo_id":"1329567807","filename":"file2"},{"photo_id":"1329567843","filename":"file4"},{"photo_id":"1329567802","filename":"file1"},{"photo_id":"1329567798","filename":"file0"},{"photo_id":"1329567827","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329567849":["hashtag1","hashtag2"]},{"1329567843":["hashtag1","hashtag2"]},{"1329567807":["hashtag1","hashtag2"]},{"1329567827":["hashtag1","hashtag2"]},{"1329567798":["hashtag1","hashtag2"]},{"1329567802":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329567849, 1329567843, 1329567807, 1329567827, 1329567798, 1329567802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.37822675704956 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 21:47:41.953354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/27/image_17012025_19_27_10_5183.jpg', '/media/data/images/17012025/19/27/image_17012025_19_27_04_6182.jpg', '/media/data/images/17012025/19/26/image_17012025_19_26_58_6384.jpg', '/media/data/images/17012025/19/26/image_17012025_19_26_16_6392.jpg', '/media/data/images/17012025/19/26/image_17012025_19_26_10_5308.jpg', '/media/data/images/17012025/19/26/image_17012025_19_26_05_6264.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/27/image_17012025_19_27_10_5183.jpg
/media/data/images/17012025/19/27/image_17012025_19_27_04_6182.jpg
/media/data/images/17012025/19/26/image_17012025_19_26_58_6384.jpg
/media/data/images/17012025/19/26/image_17012025_19_26_16_6392.jpg
/media/data/images/17012025/19/26/image_17012025_19_26_10_5308.jpg
/media/data/images/17012025/19/26/image_17012025_19_26_05_6264.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329567924","1329567932","1329567941","1329567946","1329567951","1329567888"],"photo_ids_order":["1329567888","1329567924","1329567932","1329567941","1329567946","1329567951"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/277a99baa230fde2d2eca1406c2f3b79.jpg","text":"TemporaryFile(/tmp/multipartBody6695194732805610125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146928105,"filename":"image_17012025_19_27_04_6182.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/63a4704c27c7e47c24665733a20ca757.jpg","text":"TemporaryFile(/tmp/multipartBody2568797514151175226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146928105,"filename":"image_17012025_19_26_58_6384.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/05fdfe4b7865f443d135d2ed6793a8fa.jpg","text":"TemporaryFile(/tmp/multipartBody6277597146253683388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146928105,"filename":"image_17012025_19_26_16_6392.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c9b04c205c3384ee426e41c8acf1f659.jpg","text":"TemporaryFile(/tmp/multipartBody4323256983933162300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146928105,"filename":"image_17012025_19_26_10_5308.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c56e311b77d1f49d30078118d527b6cd.jpg","text":"TemporaryFile(/tmp/multipartBody8345362999729924112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146928105,"filename":"image_17012025_19_26_05_6264.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7db47e34517d4c2e8277d4b675779fc5.jpg","text":"TemporaryFile(/tmp/multipartBody3880364097480411978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146928105,"filename":"image_17012025_19_27_10_5183.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329567932","file1":"1329567924","file0":"1329567888","file4":"1329567946","file5":"1329567951","file3":"1329567941"},"map_files_photo_id_array":[{"photo_id":"1329567951","filename":"file5"},{"photo_id":"1329567932","filename":"file2"},{"photo_id":"1329567946","filename":"file4"},{"photo_id":"1329567924","filename":"file1"},{"photo_id":"1329567888","filename":"file0"},{"photo_id":"1329567941","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329567924":["hashtag1","hashtag2"]},{"1329567932":["hashtag1","hashtag2"]},{"1329567941":["hashtag1","hashtag2"]},{"1329567946":["hashtag1","hashtag2"]},{"1329567951":["hashtag1","hashtag2"]},{"1329567888":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329567924, 1329567932, 1329567941, 1329567946, 1329567951, 1329567888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.35959601402283 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 21:48:22.055846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/25/image_17012025_19_25_58_6399.jpg', '/media/data/images/17012025/19/25/image_17012025_19_25_16_6364.jpg', '/media/data/images/17012025/19/25/image_17012025_19_25_10_5169.jpg', '/media/data/images/17012025/19/24/image_17012025_19_25_05_6564.jpg', '/media/data/images/17012025/19/24/image_17012025_19_24_58_5151.jpg', '/media/data/images/17012025/19/24/image_17012025_19_24_16_5179.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/25/image_17012025_19_25_58_6399.jpg
/media/data/images/17012025/19/25/image_17012025_19_25_16_6364.jpg
/media/data/images/17012025/19/25/image_17012025_19_25_10_5169.jpg
/media/data/images/17012025/19/24/image_17012025_19_25_05_6564.jpg
/media/data/images/17012025/19/24/image_17012025_19_24_58_5151.jpg
/media/data/images/17012025/19/24/image_17012025_19_24_16_5179.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329568022","1329568016","1329568036","1329568039","1329567984","1329567987"],"photo_ids_order":["1329567984","1329567987","1329568016","1329568022","1329568036","1329568039"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d778d7aa3024c95da936caae58dc0757.jpg","text":"TemporaryFile(/tmp/multipartBody1882028487422936976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146971026,"filename":"image_17012025_19_25_05_6564.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f0fb295029ac3b9298b1a7021a61cb9e.jpg","text":"TemporaryFile(/tmp/multipartBody2148486599547284769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146971026,"filename":"image_17012025_19_25_10_5169.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/397eb56cd07677648846b09432375d7f.jpg","text":"TemporaryFile(/tmp/multipartBody8655946585785868350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146971026,"filename":"image_17012025_19_24_58_5151.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/652a8be15e22760cbf0cb0d85fde4947.jpg","text":"TemporaryFile(/tmp/multipartBody2904311167858197247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146971026,"filename":"image_17012025_19_24_16_5179.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7608d4ea833242ca482996868c2e821f.jpg","text":"TemporaryFile(/tmp/multipartBody633340944980536387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146971026,"filename":"image_17012025_19_25_58_6399.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/419a09bb17525e988f12870bbbc454f7.jpg","text":"TemporaryFile(/tmp/multipartBody4572694786194448677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737146971026,"filename":"image_17012025_19_25_16_6364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329568016","file1":"1329567987","file0":"1329567984","file4":"1329568036","file5":"1329568039","file3":"1329568022"},"map_files_photo_id_array":[{"photo_id":"1329568039","filename":"file5"},{"photo_id":"1329568016","filename":"file2"},{"photo_id":"1329568036","filename":"file4"},{"photo_id":"1329567987","filename":"file1"},{"photo_id":"1329567984","filename":"file0"},{"photo_id":"1329568022","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329568022":["hashtag1","hashtag2"]},{"1329568016":["hashtag1","hashtag2"]},{"1329568036":["hashtag1","hashtag2"]},{"1329568039":["hashtag1","hashtag2"]},{"1329567984":["hashtag1","hashtag2"]},{"1329567987":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329568022, 1329568016, 1329568036, 1329568039, 1329567984, 1329567987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.25740194320679 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 21:49:22.247333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/24/image_17012025_19_24_11_6373.jpg', '/media/data/images/17012025/19/23/image_17012025_19_24_04_6566.jpg', '/media/data/images/17012025/19/23/image_17012025_19_23_58_5159.jpg', '/media/data/images/17012025/19/23/image_17012025_19_23_16_6358.jpg', '/media/data/images/17012025/19/23/image_17012025_19_23_10_6353.jpg', '/media/data/images/17012025/19/23/image_17012025_19_23_04_4972.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/24/image_17012025_19_24_11_6373.jpg
/media/data/images/17012025/19/23/image_17012025_19_24_04_6566.jpg
/media/data/images/17012025/19/23/image_17012025_19_23_58_5159.jpg
/media/data/images/17012025/19/23/image_17012025_19_23_16_6358.jpg
/media/data/images/17012025/19/23/image_17012025_19_23_10_6353.jpg
/media/data/images/17012025/19/23/image_17012025_19_23_04_4972.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329568193","1329568076","1329568061","1329568067","1329568095","1329568080"],"photo_ids_order":["1329568061","1329568067","1329568076","1329568080","1329568095","1329568193"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/19d9430e5c864673984633eb2a829b10.jpg","text":"TemporaryFile(/tmp/multipartBody3859513640784078210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147040252,"filename":"image_17012025_19_23_04_4972.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d64393b1f2904974f5507cf42799109b.jpg","text":"TemporaryFile(/tmp/multipartBody169644844356180222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147040252,"filename":"image_17012025_19_23_58_5159.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b1b8e998f98a90b844be4684df797bc0.jpg","text":"TemporaryFile(/tmp/multipartBody2891742877501123646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147040252,"filename":"image_17012025_19_24_11_6373.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bf02775d797ed4f31b4a2816cd3edcd1.jpg","text":"TemporaryFile(/tmp/multipartBody131081441623441000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147040252,"filename":"image_17012025_19_24_04_6566.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e2440abe28cb63721e1318b402450d35.jpg","text":"TemporaryFile(/tmp/multipartBody3908160865842204928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147040252,"filename":"image_17012025_19_23_10_6353.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/05872b6697a53212aa46a1f43cfeb087.jpg","text":"TemporaryFile(/tmp/multipartBody7204404326379095239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147040252,"filename":"image_17012025_19_23_16_6358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329568076","file1":"1329568067","file0":"1329568061","file4":"1329568095","file5":"1329568193","file3":"1329568080"},"map_files_photo_id_array":[{"photo_id":"1329568193","filename":"file5"},{"photo_id":"1329568076","filename":"file2"},{"photo_id":"1329568095","filename":"file4"},{"photo_id":"1329568067","filename":"file1"},{"photo_id":"1329568061","filename":"file0"},{"photo_id":"1329568080","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329568193":["hashtag1","hashtag2"]},{"1329568076":["hashtag1","hashtag2"]},{"1329568061":["hashtag1","hashtag2"]},{"1329568067":["hashtag1","hashtag2"]},{"1329568095":["hashtag1","hashtag2"]},{"1329568080":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329568193, 1329568076, 1329568061, 1329568067, 1329568095, 1329568080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.139169692993164 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 21:50:22.362166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/22/image_17012025_19_22_59_6376.jpg', '/media/data/images/17012025/19/22/image_17012025_19_22_16_6380.jpg', '/media/data/images/17012025/19/22/image_17012025_19_22_10_6386.jpg', '/media/data/images/17012025/19/22/image_17012025_19_22_04_5116.jpg', '/media/data/images/17012025/19/21/image_17012025_19_21_59_6367.jpg', '/media/data/images/17012025/19/20/image_17012025_19_20_04_4979.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/22/image_17012025_19_22_59_6376.jpg
/media/data/images/17012025/19/22/image_17012025_19_22_16_6380.jpg
/media/data/images/17012025/19/22/image_17012025_19_22_10_6386.jpg
/media/data/images/17012025/19/22/image_17012025_19_22_04_5116.jpg
/media/data/images/17012025/19/21/image_17012025_19_21_59_6367.jpg
/media/data/images/17012025/19/20/image_17012025_19_20_04_4979.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329568329","1329568320","1329568314","1329568316","1329568333","1329568324"],"photo_ids_order":["1329568314","1329568316","1329568320","1329568324","1329568329","1329568333"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8c524ae5da86a388e0ca001f4a5e1e1f.jpg","text":"TemporaryFile(/tmp/multipartBody2000658817289195305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147090045,"filename":"image_17012025_19_21_59_6367.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a6cd7e13090b9507e4c48fd42ab21997.jpg","text":"TemporaryFile(/tmp/multipartBody2313940727662476916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147090045,"filename":"image_17012025_19_22_10_6386.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6918adcdeafa012041f73bbe4a25bc6a.jpg","text":"TemporaryFile(/tmp/multipartBody3949393274126399845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147090045,"filename":"image_17012025_19_22_59_6376.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c314261cb2e7536c98871e602dad1922.jpg","text":"TemporaryFile(/tmp/multipartBody1451232281966449711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147090045,"filename":"image_17012025_19_22_16_6380.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6b5d3cd2ee88adafc6a3fb4836277c24.jpg","text":"TemporaryFile(/tmp/multipartBody7441998703987274670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147090045,"filename":"image_17012025_19_20_04_4979.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7c191b07d28cd67b521e5c9336fa4561.jpg","text":"TemporaryFile(/tmp/multipartBody1237621576818608565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147090045,"filename":"image_17012025_19_22_04_5116.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329568320","file1":"1329568316","file0":"1329568314","file4":"1329568329","file5":"1329568333","file3":"1329568324"},"map_files_photo_id_array":[{"photo_id":"1329568333","filename":"file5"},{"photo_id":"1329568320","filename":"file2"},{"photo_id":"1329568329","filename":"file4"},{"photo_id":"1329568316","filename":"file1"},{"photo_id":"1329568314","filename":"file0"},{"photo_id":"1329568324","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329568329":["hashtag1","hashtag2"]},{"1329568320":["hashtag1","hashtag2"]},{"1329568314":["hashtag1","hashtag2"]},{"1329568316":["hashtag1","hashtag2"]},{"1329568333":["hashtag1","hashtag2"]},{"1329568324":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329568329, 1329568320, 1329568314, 1329568316, 1329568333, 1329568324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.51625156402588 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 21:51:22.496040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/19/image_17012025_19_19_59_6391.jpg', '/media/data/images/17012025/19/19/image_17012025_19_19_17_6421.jpg', '/media/data/images/17012025/19/19/image_17012025_19_19_10_6404.jpg', '/media/data/images/17012025/19/19/image_17012025_19_19_04_4996.jpg', '/media/data/images/17012025/19/18/image_17012025_19_18_59_6418.jpg', '/media/data/images/17012025/19/18/image_17012025_19_18_16_6467.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/19/image_17012025_19_19_59_6391.jpg
/media/data/images/17012025/19/19/image_17012025_19_19_17_6421.jpg
/media/data/images/17012025/19/19/image_17012025_19_19_10_6404.jpg
/media/data/images/17012025/19/19/image_17012025_19_19_04_4996.jpg
/media/data/images/17012025/19/18/image_17012025_19_18_59_6418.jpg
/media/data/images/17012025/19/18/image_17012025_19_18_16_6467.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329569267","1329569269","1329568541","1329569032","1329568363","1329568732"],"photo_ids_order":["1329568363","1329568541","1329568732","1329569032","1329569267","1329569269"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/815b6ec6763e49c0d2892125b51c26b2.jpg","text":"TemporaryFile(/tmp/multipartBody8108121774989531806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147149754,"filename":"image_17012025_19_18_59_6418.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1c0e787e352f0ba1e73f6e9893d75c81.jpg","text":"TemporaryFile(/tmp/multipartBody7421364937755327455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147149754,"filename":"image_17012025_19_18_16_6467.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/27e62f23058eeef7e02ec7b08dcdfcf8.jpg","text":"TemporaryFile(/tmp/multipartBody8959298673088015818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147149754,"filename":"image_17012025_19_19_17_6421.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b20331b45e7680c4140e8dac723f11ac.jpg","text":"TemporaryFile(/tmp/multipartBody2190931320490518770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147149754,"filename":"image_17012025_19_19_04_4996.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2d70739fa4aa85483137a1a68ee8bf8c.jpg","text":"TemporaryFile(/tmp/multipartBody1850263888703098577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147149754,"filename":"image_17012025_19_19_59_6391.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3611fcae8cd8e98a6f469d4446c529d7.jpg","text":"TemporaryFile(/tmp/multipartBody3320582962518930982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147149754,"filename":"image_17012025_19_19_10_6404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329568732","file1":"1329568541","file0":"1329568363","file4":"1329569267","file5":"1329569269","file3":"1329569032"},"map_files_photo_id_array":[{"photo_id":"1329569269","filename":"file5"},{"photo_id":"1329568732","filename":"file2"},{"photo_id":"1329569267","filename":"file4"},{"photo_id":"1329568541","filename":"file1"},{"photo_id":"1329568363","filename":"file0"},{"photo_id":"1329569032","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329569267":["hashtag1","hashtag2"]},{"1329569269":["hashtag1","hashtag2"]},{"1329568541":["hashtag1","hashtag2"]},{"1329569032":["hashtag1","hashtag2"]},{"1329568363":["hashtag1","hashtag2"]},{"1329568732":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329569267, 1329569269, 1329568541, 1329569032, 1329568363, 1329568732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.01931571960449 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 21:52:22.647383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/18/image_17012025_19_18_10_5294.jpg', '/media/data/images/17012025/19/18/image_17012025_19_18_05_6239.jpg', '/media/data/images/17012025/19/17/image_17012025_19_17_58_6449.jpg', '/media/data/images/17012025/19/17/image_17012025_19_17_17_6547.jpg', '/media/data/images/17012025/19/17/image_17012025_19_17_05_6344.jpg', '/media/data/images/17012025/19/16/image_17012025_19_16_46_6550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/18/image_17012025_19_18_10_5294.jpg
/media/data/images/17012025/19/18/image_17012025_19_18_05_6239.jpg
/media/data/images/17012025/19/17/image_17012025_19_17_58_6449.jpg
/media/data/images/17012025/19/17/image_17012025_19_17_17_6547.jpg
/media/data/images/17012025/19/17/image_17012025_19_17_05_6344.jpg
/media/data/images/17012025/19/16/image_17012025_19_16_46_6550.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":["1329569657","1329569642","1329569686","1329569638","1329569643","1329569628"],"photo_ids_order":["1329569628","1329569638","1329569642","1329569643","1329569657","1329569686"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/54e8ad3fb43b77f2522044e16e2aab41.jpg","text":"TemporaryFile(/tmp/multipartBody2468047927952057313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147239270,"filename":"image_17012025_19_17_05_6344.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/deb659cb363d76ec02b199284f3d072f.jpg","text":"TemporaryFile(/tmp/multipartBody5891993848302534033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147239270,"filename":"image_17012025_19_17_58_6449.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c68630bb65b07e06fb06ee57da1a7d12.jpg","text":"TemporaryFile(/tmp/multipartBody3952176152668860408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147239270,"filename":"image_17012025_19_16_46_6550.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bcb3bedf119af223598612d2fd96d6c2.jpg","text":"TemporaryFile(/tmp/multipartBody5420343491171754811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147239270,"filename":"image_17012025_19_18_05_6239.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/83034d90b3b1a687c7f33fb32c016e28.jpg","text":"TemporaryFile(/tmp/multipartBody7682581201144099500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147239270,"filename":"image_17012025_19_17_17_6547.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/61dfb1bf1d0c4a8cbae6d5cd6d4357d8.jpg","text":"TemporaryFile(/tmp/multipartBody765847970014989341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147239270,"filename":"image_17012025_19_18_10_5294.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329569642","file1":"1329569638","file0":"1329569628","file4":"1329569657","file5":"1329569686","file3":"1329569643"},"map_files_photo_id_array":[{"photo_id":"1329569686","filename":"file5"},{"photo_id":"1329569642","filename":"file2"},{"photo_id":"1329569657","filename":"file4"},{"photo_id":"1329569638","filename":"file1"},{"photo_id":"1329569628","filename":"file0"},{"photo_id":"1329569643","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329569657":["hashtag1","hashtag2"]},{"1329569642":["hashtag1","hashtag2"]},{"1329569686":["hashtag1","hashtag2"]},{"1329569638":["hashtag1","hashtag2"]},{"1329569643":["hashtag1","hashtag2"]},{"1329569628":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329569657, 1329569642, 1329569686, 1329569638, 1329569643, 1329569628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 80.98102283477783 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 21:54:02.231325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/16/image_17012025_19_16_05_6278.jpg', '/media/data/images/17012025/19/15/image_17012025_19_15_58_6521.jpg', '/media/data/images/17012025/19/15/image_17012025_19_15_16_6506.jpg', '/media/data/images/17012025/19/15/image_17012025_19_15_10_5268.jpg', '/media/data/images/17012025/19/14/image_17012025_19_15_05_6537.jpg', '/media/data/images/17012025/19/14/image_17012025_19_14_58_5255.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/16/image_17012025_19_16_05_6278.jpg
/media/data/images/17012025/19/15/image_17012025_19_15_58_6521.jpg
/media/data/images/17012025/19/15/image_17012025_19_15_16_6506.jpg
/media/data/images/17012025/19/15/image_17012025_19_15_10_5268.jpg
/media/data/images/17012025/19/14/image_17012025_19_15_05_6537.jpg
/media/data/images/17012025/19/14/image_17012025_19_14_58_5255.jpg
2025-01-17 21:54:02.192225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/19/image_17012025_07_19_35_5328.jpg', '/media/data/images/17012025/07/19/image_17012025_07_20_00_6563.jpg', '/media/data/images/17012025/07/20/image_17012025_07_20_41_5323.jpg', '/media/data/images/17012025/07/20/image_17012025_07_20_54_6562.jpg', '/media/data/images/17012025/07/20/image_17012025_07_20_59_5327.jpg', '/media/data/images/17012025/07/21/image_17012025_07_21_05_6349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/19/image_17012025_07_19_35_5328.jpg
/media/data/images/17012025/07/19/image_17012025_07_20_00_6563.jpg
/media/data/images/17012025/07/20/image_17012025_07_20_41_5323.jpg
/media/data/images/17012025/07/20/image_17012025_07_20_54_6562.jpg
/media/data/images/17012025/07/20/image_17012025_07_20_59_5327.jpg
/media/data/images/17012025/07/21/image_17012025_07_21_05_6349.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329570089","1329570181","1329570175","1329570178","1329570109","1329570081"],"photo_ids_order":["1329570081","1329570089","1329570109","1329570175","1329570178","1329570181"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5c4f4a09b3589d01d1b015a2f81e280c.jpg","text":"TemporaryFile(/tmp/multipartBody9216470429107393019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147316390,"filename":"image_17012025_19_15_58_6521.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b629f9b512466c3f5e5f50f049e9b00a.jpg","text":"TemporaryFile(/tmp/multipartBody4948501381171091287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147316390,"filename":"image_17012025_19_14_58_5255.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ed577cdccee6bf6165a8415f250e6581.jpg","text":"TemporaryFile(/tmp/multipartBody8570170123849403711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147316390,"filename":"image_17012025_19_15_10_5268.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8c6f0de32bc735b7155647f4c536df3b.jpg","text":"TemporaryFile(/tmp/multipartBody8703229415876336533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147316390,"filename":"image_17012025_19_15_05_6537.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ff2798fce1419766e9e5ba42aa657ac2.jpg","text":"TemporaryFile(/tmp/multipartBody7641483145804108700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147316390,"filename":"image_17012025_19_15_16_6506.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/724bc11866c23e6db0116986b24c2fbe.jpg","text":"TemporaryFile(/tmp/multipartBody7987951863138087696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147316390,"filename":"image_17012025_19_16_05_6278.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329570109","file1":"1329570089","file0":"1329570081","file4":"1329570178","file5":"1329570181","file3":"1329570175"},"map_files_photo_id_array":[{"photo_id":"1329570181","filename":"file5"},{"photo_id":"1329570109","filename":"file2"},{"photo_id":"1329570178","filename":"file4"},{"photo_id":"1329570089","filename":"file1"},{"photo_id":"1329570081","filename":"file0"},{"photo_id":"1329570175","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329570089":["hashtag1","hashtag2"]},{"1329570181":["hashtag1","hashtag2"]},{"1329570175":["hashtag1","hashtag2"]},{"1329570178":["hashtag1","hashtag2"]},{"1329570109":["hashtag1","hashtag2"]},{"1329570081":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329570089, 1329570181, 1329570175, 1329570178, 1329570109, 1329570081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.48440861701965 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329570182","1329570176","1329570179","1329570092","1329570157","1329570084"],"photo_ids_order":["1329570084","1329570092","1329570157","1329570176","1329570179","1329570182"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d33e9b8d972ba6b1966375f5a414fb7b.jpg","text":"TemporaryFile(/tmp/multipartBody3184013498872549460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147318304,"filename":"image_17012025_07_21_05_6349.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5851adec510afe48bab3f34f2f71565f.jpg","text":"TemporaryFile(/tmp/multipartBody8409400874341347254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147318304,"filename":"image_17012025_07_20_54_6562.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d431bfe83bd9eef1dfe46d6ceb94145f.jpg","text":"TemporaryFile(/tmp/multipartBody2000597304708467035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147318304,"filename":"image_17012025_07_20_59_5327.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2ef2574940aeba617c0ebc17bbe4e555.jpg","text":"TemporaryFile(/tmp/multipartBody3771595768671507321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147318304,"filename":"image_17012025_07_20_00_6563.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8a89a35d3a4526a9dd37df8c9ad902df.jpg","text":"TemporaryFile(/tmp/multipartBody6285638100190061474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147318304,"filename":"image_17012025_07_20_41_5323.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/aab6d259639bdd2f3ad9ed2345ab9fd1.jpg","text":"TemporaryFile(/tmp/multipartBody8462018977883799131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147318304,"filename":"image_17012025_07_19_35_5328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329570157","file1":"1329570092","file0":"1329570084","file4":"1329570179","file5":"1329570182","file3":"1329570176"},"map_files_photo_id_array":[{"photo_id":"1329570182","filename":"file5"},{"photo_id":"1329570157","filename":"file2"},{"photo_id":"1329570179","filename":"file4"},{"photo_id":"1329570092","filename":"file1"},{"photo_id":"1329570084","filename":"file0"},{"photo_id":"1329570176","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329570182":["hashtag1","hashtag2"]},{"1329570176":["hashtag1","hashtag2"]},{"1329570179":["hashtag1","hashtag2"]},{"1329570092":["hashtag1","hashtag2"]},{"1329570157":["hashtag1","hashtag2"]},{"1329570084":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329570182, 1329570176, 1329570179, 1329570092, 1329570157, 1329570084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.54596138000488 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 21:55:02.386165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/21/image_17012025_07_21_11_5314.jpg', '/media/data/images/17012025/07/21/image_17012025_07_21_22_5287.jpg', '/media/data/images/17012025/07/21/image_17012025_07_21_29_6554.jpg', '/media/data/images/17012025/07/21/image_17012025_07_21_36_6548.jpg', '/media/data/images/17012025/07/21/image_17012025_07_21_47_6559.jpg', '/media/data/images/17012025/07/21/image_17012025_07_21_59_6573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/21/image_17012025_07_21_11_5314.jpg
/media/data/images/17012025/07/21/image_17012025_07_21_22_5287.jpg
/media/data/images/17012025/07/21/image_17012025_07_21_29_6554.jpg
/media/data/images/17012025/07/21/image_17012025_07_21_36_6548.jpg
/media/data/images/17012025/07/21/image_17012025_07_21_47_6559.jpg
/media/data/images/17012025/07/21/image_17012025_07_21_59_6573.jpg
2025-01-17 21:55:02.451633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/14/image_17012025_19_14_16_6513.jpg', '/media/data/images/17012025/19/14/image_17012025_19_14_10_5275.jpg', '/media/data/images/17012025/19/13/image_17012025_19_14_04_6485.jpg', '/media/data/images/17012025/19/13/image_17012025_19_13_58_5262.jpg', '/media/data/images/17012025/19/13/image_17012025_19_13_17_6388.jpg', '/media/data/images/17012025/19/13/image_17012025_19_13_10_6375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/14/image_17012025_19_14_16_6513.jpg
/media/data/images/17012025/19/14/image_17012025_19_14_10_5275.jpg
/media/data/images/17012025/19/13/image_17012025_19_14_04_6485.jpg
/media/data/images/17012025/19/13/image_17012025_19_13_58_5262.jpg
/media/data/images/17012025/19/13/image_17012025_19_13_17_6388.jpg
/media/data/images/17012025/19/13/image_17012025_19_13_10_6375.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329570210","1329570207","1329570221","1329570218","1329570205","1329570214"],"photo_ids_order":["1329570205","1329570207","1329570210","1329570214","1329570218","1329570221"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ddb962d805bf124c64e6290c51fcfafc.jpg","text":"TemporaryFile(/tmp/multipartBody1495180573578951690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147379997,"filename":"image_17012025_19_14_04_6485.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/20ddaf9213f86da2c0e0356c4bd0b319.jpg","text":"TemporaryFile(/tmp/multipartBody3320296876719989064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147379997,"filename":"image_17012025_19_14_10_5275.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4d72c67b0194812d6f6fc9a1cc551229.jpg","text":"TemporaryFile(/tmp/multipartBody81470785624130311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147379997,"filename":"image_17012025_19_13_10_6375.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b5fe8d5e4c20e804abdaf5e0b97342ee.jpg","text":"TemporaryFile(/tmp/multipartBody776633543976883304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147379997,"filename":"image_17012025_19_13_17_6388.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6c1ccdb11ef2f58f3229acb9bc7aef8f.jpg","text":"TemporaryFile(/tmp/multipartBody7417711639797043310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147379997,"filename":"image_17012025_19_14_16_6513.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9633dee69af264e8fc56503d032b2f9e.jpg","text":"TemporaryFile(/tmp/multipartBody9096726763305456302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147379997,"filename":"image_17012025_19_13_58_5262.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329570210","file1":"1329570207","file0":"1329570205","file4":"1329570218","file5":"1329570221","file3":"1329570214"},"map_files_photo_id_array":[{"photo_id":"1329570221","filename":"file5"},{"photo_id":"1329570210","filename":"file2"},{"photo_id":"1329570218","filename":"file4"},{"photo_id":"1329570207","filename":"file1"},{"photo_id":"1329570205","filename":"file0"},{"photo_id":"1329570214","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329570210":["hashtag1","hashtag2"]},{"1329570207":["hashtag1","hashtag2"]},{"1329570221":["hashtag1","hashtag2"]},{"1329570218":["hashtag1","hashtag2"]},{"1329570205":["hashtag1","hashtag2"]},{"1329570214":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329570210, 1329570207, 1329570221, 1329570218, 1329570205, 1329570214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.88430309295654 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329570225","1329570212","1329570235","1329570220","1329570208","1329570217"],"photo_ids_order":["1329570208","1329570212","1329570217","1329570220","1329570225","1329570235"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/123f8f7864a08b8bf25f2af9e0704c42.jpg","text":"TemporaryFile(/tmp/multipartBody1465552411522388537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147386734,"filename":"image_17012025_07_21_47_6559.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2053b37066246534b8ceb09386502610.jpg","text":"TemporaryFile(/tmp/multipartBody7615737702712566526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147386734,"filename":"image_17012025_07_21_22_5287.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d25d21588b3c912a29b3ed04d54beec3.jpg","text":"TemporaryFile(/tmp/multipartBody4587175198891144376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147386734,"filename":"image_17012025_07_21_59_6573.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/65aa8a90107ae843d21dfd68f0f2b052.jpg","text":"TemporaryFile(/tmp/multipartBody5331640940805391490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147386734,"filename":"image_17012025_07_21_36_6548.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/11b34db853946f52f4518cddb8f32061.jpg","text":"TemporaryFile(/tmp/multipartBody4468758795558007923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147386734,"filename":"image_17012025_07_21_11_5314.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8ace28136355271c0d55dd449fef0277.jpg","text":"TemporaryFile(/tmp/multipartBody7191112720629022747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147386734,"filename":"image_17012025_07_21_29_6554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329570217","file1":"1329570212","file0":"1329570208","file4":"1329570225","file5":"1329570235","file3":"1329570220"},"map_files_photo_id_array":[{"photo_id":"1329570235","filename":"file5"},{"photo_id":"1329570217","filename":"file2"},{"photo_id":"1329570225","filename":"file4"},{"photo_id":"1329570212","filename":"file1"},{"photo_id":"1329570208","filename":"file0"},{"photo_id":"1329570220","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329570225":["hashtag1","hashtag2"]},{"1329570212":["hashtag1","hashtag2"]},{"1329570235":["hashtag1","hashtag2"]},{"1329570220":["hashtag1","hashtag2"]},{"1329570208":["hashtag1","hashtag2"]},{"1329570217":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329570225, 1329570212, 1329570235, 1329570220, 1329570208, 1329570217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.765082359313965 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 21:56:02.372362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/22/image_17012025_07_22_05_5546.jpg', '/media/data/images/17012025/07/22/image_17012025_07_22_17_5315.jpg', '/media/data/images/17012025/07/22/image_17012025_07_22_35_6562.jpg', '/media/data/images/17012025/07/22/image_17012025_07_22_47_6564.jpg', '/media/data/images/17012025/07/22/image_17012025_07_22_59_5339.jpg', '/media/data/images/17012025/07/23/image_17012025_07_23_05_6351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/22/image_17012025_07_22_05_5546.jpg
/media/data/images/17012025/07/22/image_17012025_07_22_17_5315.jpg
/media/data/images/17012025/07/22/image_17012025_07_22_35_6562.jpg
/media/data/images/17012025/07/22/image_17012025_07_22_47_6564.jpg
/media/data/images/17012025/07/22/image_17012025_07_22_59_5339.jpg
/media/data/images/17012025/07/23/image_17012025_07_23_05_6351.jpg
2025-01-17 21:56:02.431674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/13/image_17012025_19_13_04_4954.jpg', '/media/data/images/17012025/19/12/image_17012025_19_12_59_6363.jpg', '/media/data/images/17012025/19/12/image_17012025_19_12_17_6398.jpg', '/media/data/images/17012025/19/12/image_17012025_19_12_10_6424.jpg', '/media/data/images/17012025/19/12/image_17012025_19_12_04_5031.jpg', '/media/data/images/17012025/19/11/image_17012025_19_11_59_6423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/13/image_17012025_19_13_04_4954.jpg
/media/data/images/17012025/19/12/image_17012025_19_12_59_6363.jpg
/media/data/images/17012025/19/12/image_17012025_19_12_17_6398.jpg
/media/data/images/17012025/19/12/image_17012025_19_12_10_6424.jpg
/media/data/images/17012025/19/12/image_17012025_19_12_04_5031.jpg
/media/data/images/17012025/19/11/image_17012025_19_11_59_6423.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329570275","1329570289","1329570277","1329570282","1329570285","1329570279"],"photo_ids_order":["1329570275","1329570277","1329570279","1329570282","1329570285","1329570289"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9e618a2c15d53c894518adae364b65a6.jpg","text":"TemporaryFile(/tmp/multipartBody1156125614577163523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147436441,"filename":"image_17012025_19_13_04_4954.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1b85e42831d2ca6b7e4cf7ec48e2a697.jpg","text":"TemporaryFile(/tmp/multipartBody3665863626276626681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147436441,"filename":"image_17012025_19_11_59_6423.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6bdb1f8de534d56239071daebf5646cf.jpg","text":"TemporaryFile(/tmp/multipartBody4664587337962728404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147436441,"filename":"image_17012025_19_12_59_6363.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d1fcf8a08eef86220cd5a2c18a7b8538.jpg","text":"TemporaryFile(/tmp/multipartBody1682067392127265257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147436441,"filename":"image_17012025_19_12_10_6424.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7f7a04bc2cda7ab292e86daf887d8e72.jpg","text":"TemporaryFile(/tmp/multipartBody30710613300684996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147436441,"filename":"image_17012025_19_12_04_5031.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cb3172a99764dacd989939b288dbea54.jpg","text":"TemporaryFile(/tmp/multipartBody104182989853931669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147436441,"filename":"image_17012025_19_12_17_6398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329570279","file1":"1329570277","file0":"1329570275","file4":"1329570285","file5":"1329570289","file3":"1329570282"},"map_files_photo_id_array":[{"photo_id":"1329570289","filename":"file5"},{"photo_id":"1329570279","filename":"file2"},{"photo_id":"1329570285","filename":"file4"},{"photo_id":"1329570277","filename":"file1"},{"photo_id":"1329570275","filename":"file0"},{"photo_id":"1329570282","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329570275":["hashtag1","hashtag2"]},{"1329570289":["hashtag1","hashtag2"]},{"1329570277":["hashtag1","hashtag2"]},{"1329570282":["hashtag1","hashtag2"]},{"1329570285":["hashtag1","hashtag2"]},{"1329570279":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329570275, 1329570289, 1329570277, 1329570282, 1329570285, 1329570279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.20623016357422 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329570303","1329570298","1329570292","1329570280","1329570283","1329570288"],"photo_ids_order":["1329570280","1329570283","1329570288","1329570292","1329570298","1329570303"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b77f5eca54e8bbd948ba259102ad376d.jpg","text":"TemporaryFile(/tmp/multipartBody685871579763735409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147447547,"filename":"image_17012025_07_23_05_6351.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/80bf5495d94767309d3dfab52fb1357f.jpg","text":"TemporaryFile(/tmp/multipartBody1286597515986629572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147447547,"filename":"image_17012025_07_22_59_5339.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bc3ec3525669e157f51e004e01e37110.jpg","text":"TemporaryFile(/tmp/multipartBody2642528627639539375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147447547,"filename":"image_17012025_07_22_47_6564.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/93433964a2831810b2acdc9c5cbd8f88.jpg","text":"TemporaryFile(/tmp/multipartBody2393684866351918315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147447547,"filename":"image_17012025_07_22_05_5546.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/35e1ae530680fee4bc414840821c9403.jpg","text":"TemporaryFile(/tmp/multipartBody455896251647469703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147447547,"filename":"image_17012025_07_22_17_5315.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cfbfd67206ee74d2b506057fb64e6efa.jpg","text":"TemporaryFile(/tmp/multipartBody3033738012185831614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147447547,"filename":"image_17012025_07_22_35_6562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329570288","file1":"1329570283","file0":"1329570280","file4":"1329570298","file5":"1329570303","file3":"1329570292"},"map_files_photo_id_array":[{"photo_id":"1329570303","filename":"file5"},{"photo_id":"1329570288","filename":"file2"},{"photo_id":"1329570298","filename":"file4"},{"photo_id":"1329570283","filename":"file1"},{"photo_id":"1329570280","filename":"file0"},{"photo_id":"1329570292","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329570303":["hashtag1","hashtag2"]},{"1329570298":["hashtag1","hashtag2"]},{"1329570292":["hashtag1","hashtag2"]},{"1329570280":["hashtag1","hashtag2"]},{"1329570283":["hashtag1","hashtag2"]},{"1329570288":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329570303, 1329570298, 1329570292, 1329570280, 1329570283, 1329570288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.68922758102417 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 21:57:02.693374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/11/image_17012025_19_11_17_6575.jpg', '/media/data/images/17012025/19/11/image_17012025_19_11_10_5360.jpg', '/media/data/images/17012025/19/10/image_17012025_19_11_05_6619.jpg', '/media/data/images/17012025/19/10/image_17012025_19_10_58_5332.jpg', '/media/data/images/17012025/19/10/image_17012025_19_10_04_5113.jpg', '/media/data/images/17012025/19/09/image_17012025_19_09_59_6574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/11/image_17012025_19_11_17_6575.jpg
/media/data/images/17012025/19/11/image_17012025_19_11_10_5360.jpg
/media/data/images/17012025/19/10/image_17012025_19_11_05_6619.jpg
/media/data/images/17012025/19/10/image_17012025_19_10_58_5332.jpg
/media/data/images/17012025/19/10/image_17012025_19_10_04_5113.jpg
/media/data/images/17012025/19/09/image_17012025_19_09_59_6574.jpg
2025-01-17 21:57:02.745419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/23/image_17012025_07_23_29_6560.jpg', '/media/data/images/17012025/07/23/image_17012025_07_23_41_6554.jpg', '/media/data/images/17012025/07/23/image_17012025_07_23_48_6575.jpg', '/media/data/images/17012025/07/23/image_17012025_07_23_59_6533.jpg', '/media/data/images/17012025/07/24/image_17012025_07_24_17_5299.jpg', '/media/data/images/17012025/07/24/image_17012025_07_24_29_5326.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/23/image_17012025_07_23_29_6560.jpg
/media/data/images/17012025/07/23/image_17012025_07_23_41_6554.jpg
/media/data/images/17012025/07/23/image_17012025_07_23_48_6575.jpg
/media/data/images/17012025/07/23/image_17012025_07_23_59_6533.jpg
/media/data/images/17012025/07/24/image_17012025_07_24_17_5299.jpg
/media/data/images/17012025/07/24/image_17012025_07_24_29_5326.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 21:58:02.587495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/23/image_17012025_07_23_29_6560.jpg', '/media/data/images/17012025/07/23/image_17012025_07_23_41_6554.jpg', '/media/data/images/17012025/07/23/image_17012025_07_23_48_6575.jpg', '/media/data/images/17012025/07/23/image_17012025_07_23_59_6533.jpg', '/media/data/images/17012025/07/24/image_17012025_07_24_17_5299.jpg', '/media/data/images/17012025/07/24/image_17012025_07_24_29_5326.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/23/image_17012025_07_23_29_6560.jpg
/media/data/images/17012025/07/23/image_17012025_07_23_41_6554.jpg
/media/data/images/17012025/07/23/image_17012025_07_23_48_6575.jpg
/media/data/images/17012025/07/23/image_17012025_07_23_59_6533.jpg
/media/data/images/17012025/07/24/image_17012025_07_24_17_5299.jpg
/media/data/images/17012025/07/24/image_17012025_07_24_29_5326.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: 15.698737144470215 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 21:59:02.384943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/11/image_17012025_19_11_17_6575.jpg', '/media/data/images/17012025/19/11/image_17012025_19_11_10_5360.jpg', '/media/data/images/17012025/19/10/image_17012025_19_11_05_6619.jpg', '/media/data/images/17012025/19/10/image_17012025_19_10_58_5332.jpg', '/media/data/images/17012025/19/10/image_17012025_19_10_04_5113.jpg', '/media/data/images/17012025/19/09/image_17012025_19_09_59_6574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/11/image_17012025_19_11_17_6575.jpg
/media/data/images/17012025/19/11/image_17012025_19_11_10_5360.jpg
/media/data/images/17012025/19/10/image_17012025_19_11_05_6619.jpg
/media/data/images/17012025/19/10/image_17012025_19_10_58_5332.jpg
/media/data/images/17012025/19/10/image_17012025_19_10_04_5113.jpg
/media/data/images/17012025/19/09/image_17012025_19_09_59_6574.jpg
2025-01-17 21:59:02.554085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/23/image_17012025_07_23_29_6560.jpg', '/media/data/images/17012025/07/23/image_17012025_07_23_41_6554.jpg', '/media/data/images/17012025/07/23/image_17012025_07_23_48_6575.jpg', '/media/data/images/17012025/07/23/image_17012025_07_23_59_6533.jpg', '/media/data/images/17012025/07/24/image_17012025_07_24_17_5299.jpg', '/media/data/images/17012025/07/24/image_17012025_07_24_29_5326.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/23/image_17012025_07_23_29_6560.jpg
/media/data/images/17012025/07/23/image_17012025_07_23_41_6554.jpg
/media/data/images/17012025/07/23/image_17012025_07_23_48_6575.jpg
/media/data/images/17012025/07/23/image_17012025_07_23_59_6533.jpg
/media/data/images/17012025/07/24/image_17012025_07_24_17_5299.jpg
/media/data/images/17012025/07/24/image_17012025_07_24_29_5326.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329570482","1329570479","1329570493","1329570489","1329570498","1329570486"],"photo_ids_order":["1329570479","1329570482","1329570486","1329570489","1329570493","1329570498"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/72c58b170e9cf78f455056ba560eff60.jpg","text":"TemporaryFile(/tmp/multipartBody8201913497453239139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147640251,"filename":"image_17012025_19_11_10_5360.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/974a77539ed7b7bac8318f9fdf2226fb.jpg","text":"TemporaryFile(/tmp/multipartBody3103340058161622935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147640251,"filename":"image_17012025_19_11_17_6575.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4fe6a3d272e313bfeec885edab0c6728.jpg","text":"TemporaryFile(/tmp/multipartBody6601899283449658439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147640251,"filename":"image_17012025_19_10_04_5113.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3f6068f5bc9de9329700402d41f003a7.jpg","text":"TemporaryFile(/tmp/multipartBody8590057018062621512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147640251,"filename":"image_17012025_19_10_58_5332.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5298a45369e8fb9da2f1c0202a8ee1cf.jpg","text":"TemporaryFile(/tmp/multipartBody8820639588193941327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147640251,"filename":"image_17012025_19_09_59_6574.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fd1b84b3698638129e09ce7e84e79bc7.jpg","text":"TemporaryFile(/tmp/multipartBody1664428777844892324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147640251,"filename":"image_17012025_19_11_05_6619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329570486","file1":"1329570482","file0":"1329570479","file4":"1329570493","file5":"1329570498","file3":"1329570489"},"map_files_photo_id_array":[{"photo_id":"1329570498","filename":"file5"},{"photo_id":"1329570486","filename":"file2"},{"photo_id":"1329570493","filename":"file4"},{"photo_id":"1329570482","filename":"file1"},{"photo_id":"1329570479","filename":"file0"},{"photo_id":"1329570489","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329570482":["hashtag1","hashtag2"]},{"1329570479":["hashtag1","hashtag2"]},{"1329570493":["hashtag1","hashtag2"]},{"1329570489":["hashtag1","hashtag2"]},{"1329570498":["hashtag1","hashtag2"]},{"1329570486":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329570482, 1329570479, 1329570493, 1329570489, 1329570498, 1329570486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 72.1502013206482 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329570494","1329570499","1329570490","1329570487","1329570502","1329570483"],"photo_ids_order":["1329570483","1329570487","1329570490","1329570494","1329570499","1329570502"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4475826deae014f2c993ba1b5627dec3.jpg","text":"TemporaryFile(/tmp/multipartBody8210640797071133955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147645879,"filename":"image_17012025_07_23_59_6533.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/df6561f1dd5bf4897d831796f8056454.jpg","text":"TemporaryFile(/tmp/multipartBody7622085187889972306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147645879,"filename":"image_17012025_07_24_17_5299.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dcf91966f54ca1cbc799823c9a705f01.jpg","text":"TemporaryFile(/tmp/multipartBody7337643991858397477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147645879,"filename":"image_17012025_07_23_48_6575.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/81f152d7990b3ee3541061ee23a13f85.jpg","text":"TemporaryFile(/tmp/multipartBody475073295921769049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147645879,"filename":"image_17012025_07_23_41_6554.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/93c50c74ef572e488e5f4f48e067ac47.jpg","text":"TemporaryFile(/tmp/multipartBody7691532125930696942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147645879,"filename":"image_17012025_07_24_29_5326.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/13558241f2238ed339925778be40fd3f.jpg","text":"TemporaryFile(/tmp/multipartBody1292516436166684299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147645879,"filename":"image_17012025_07_23_29_6560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329570490","file1":"1329570487","file0":"1329570483","file4":"1329570499","file5":"1329570502","file3":"1329570494"},"map_files_photo_id_array":[{"photo_id":"1329570502","filename":"file5"},{"photo_id":"1329570490","filename":"file2"},{"photo_id":"1329570499","filename":"file4"},{"photo_id":"1329570487","filename":"file1"},{"photo_id":"1329570483","filename":"file0"},{"photo_id":"1329570494","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329570494":["hashtag1","hashtag2"]},{"1329570499":["hashtag1","hashtag2"]},{"1329570490":["hashtag1","hashtag2"]},{"1329570487":["hashtag1","hashtag2"]},{"1329570502":["hashtag1","hashtag2"]},{"1329570483":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329570494, 1329570499, 1329570490, 1329570487, 1329570502, 1329570483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 75.8909478187561 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 22:00:22.232270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/08/image_17012025_19_08_29_6609.jpg', '/media/data/images/17012025/19/08/image_17012025_19_08_22_5363.jpg', '/media/data/images/17012025/19/08/image_17012025_19_08_17_6615.jpg', '/media/data/images/17012025/19/08/image_17012025_19_08_10_5398.jpg', '/media/data/images/17012025/19/07/image_17012025_19_07_58_5332.jpg', '/media/data/images/17012025/19/06/image_17012025_19_06_58_5369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/08/image_17012025_19_08_29_6609.jpg
/media/data/images/17012025/19/08/image_17012025_19_08_22_5363.jpg
/media/data/images/17012025/19/08/image_17012025_19_08_17_6615.jpg
/media/data/images/17012025/19/08/image_17012025_19_08_10_5398.jpg
/media/data/images/17012025/19/07/image_17012025_19_07_58_5332.jpg
/media/data/images/17012025/19/06/image_17012025_19_06_58_5369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329570522","1329570530","1329570524","1329570518","1329570526","1329570528"],"photo_ids_order":["1329570518","1329570522","1329570524","1329570526","1329570528","1329570530"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f694b6d424e8b3483d046a21ea3d7846.jpg","text":"TemporaryFile(/tmp/multipartBody1154074532336298864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147698026,"filename":"image_17012025_19_08_22_5363.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0c9e3b4cff69224aaef276fd429a4adb.jpg","text":"TemporaryFile(/tmp/multipartBody8234855288204573788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147698026,"filename":"image_17012025_19_06_58_5369.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7ea60ea891a034fcfd9661dbe0214d35.jpg","text":"TemporaryFile(/tmp/multipartBody7680458781254864859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147698026,"filename":"image_17012025_19_08_17_6615.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/27551561d3f791382c09822e531b5591.jpg","text":"TemporaryFile(/tmp/multipartBody8015433626726748395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147698026,"filename":"image_17012025_19_08_29_6609.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/10efe53765ab8ea270f5dffb9204c0e0.jpg","text":"TemporaryFile(/tmp/multipartBody5096038947478316346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147698026,"filename":"image_17012025_19_08_10_5398.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ecf2f82b4bd7bb2a5fb4101b0a4b703b.jpg","text":"TemporaryFile(/tmp/multipartBody4676011038920234601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147698026,"filename":"image_17012025_19_07_58_5332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329570524","file1":"1329570522","file0":"1329570518","file4":"1329570528","file5":"1329570530","file3":"1329570526"},"map_files_photo_id_array":[{"photo_id":"1329570530","filename":"file5"},{"photo_id":"1329570524","filename":"file2"},{"photo_id":"1329570528","filename":"file4"},{"photo_id":"1329570522","filename":"file1"},{"photo_id":"1329570518","filename":"file0"},{"photo_id":"1329570526","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329570522":["hashtag1","hashtag2"]},{"1329570530":["hashtag1","hashtag2"]},{"1329570524":["hashtag1","hashtag2"]},{"1329570518":["hashtag1","hashtag2"]},{"1329570526":["hashtag1","hashtag2"]},{"1329570528":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329570522, 1329570530, 1329570524, 1329570518, 1329570526, 1329570528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.07156229019165 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 22:01:22.389651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/19/05/image_17012025_19_05_58_6572.jpg', '/media/data/images/17012025/19/04/image_17012025_19_04_58_5333.jpg', '/media/data/images/17012025/19/03/image_17012025_19_03_58_5380.jpg', '/media/data/images/17012025/19/00/image_17012025_19_00_58_6605.jpg', '/media/data/images/17012025/18/59/image_17012025_18_59_52_6578.jpg', '/media/data/images/17012025/18/59/image_17012025_18_59_46_5332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/19/05/image_17012025_19_05_58_6572.jpg
/media/data/images/17012025/19/04/image_17012025_19_04_58_5333.jpg
/media/data/images/17012025/19/03/image_17012025_19_03_58_5380.jpg
/media/data/images/17012025/19/00/image_17012025_19_00_58_6605.jpg
/media/data/images/17012025/18/59/image_17012025_18_59_52_6578.jpg
/media/data/images/17012025/18/59/image_17012025_18_59_46_5332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329570593","1329570611","1329570631","1329570628","1329570616","1329570625"],"photo_ids_order":["1329570593","1329570611","1329570616","1329570625","1329570628","1329570631"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/587922c16990b7e25fe6b258dd7b48a5.jpg","text":"TemporaryFile(/tmp/multipartBody1270185597202526054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147761751,"filename":"image_17012025_19_05_58_6572.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4b92fcce9e0426848a5a30ea0ae0103e.jpg","text":"TemporaryFile(/tmp/multipartBody7252249936358839845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147761751,"filename":"image_17012025_19_04_58_5333.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/250a23bbe78efabd10a4f0499239f542.jpg","text":"TemporaryFile(/tmp/multipartBody3660420243569741155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147761751,"filename":"image_17012025_18_59_46_5332.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/802c8292b3411124524c9b3cca4dd076.jpg","text":"TemporaryFile(/tmp/multipartBody1664709212417156955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147761751,"filename":"image_17012025_18_59_52_6578.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/19b18a4e0ac1ebd93cce1d8410ec7d80.jpg","text":"TemporaryFile(/tmp/multipartBody1101302517215102255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147761751,"filename":"image_17012025_19_03_58_5380.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e791bd3ce28aefe9da5f9f1d3c65af4d.jpg","text":"TemporaryFile(/tmp/multipartBody627651756249091823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147761751,"filename":"image_17012025_19_00_58_6605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329570616","file1":"1329570611","file0":"1329570593","file4":"1329570628","file5":"1329570631","file3":"1329570625"},"map_files_photo_id_array":[{"photo_id":"1329570631","filename":"file5"},{"photo_id":"1329570616","filename":"file2"},{"photo_id":"1329570628","filename":"file4"},{"photo_id":"1329570611","filename":"file1"},{"photo_id":"1329570593","filename":"file0"},{"photo_id":"1329570625","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329570593":["hashtag1","hashtag2"]},{"1329570611":["hashtag1","hashtag2"]},{"1329570631":["hashtag1","hashtag2"]},{"1329570628":["hashtag1","hashtag2"]},{"1329570616":["hashtag1","hashtag2"]},{"1329570625":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329570593, 1329570611, 1329570631, 1329570628, 1329570616, 1329570625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.41941952705383 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 22:02:22.528635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/59/image_17012025_18_59_40_6566.jpg', '/media/data/images/17012025/18/59/image_17012025_18_59_34_5334.jpg', '/media/data/images/17012025/18/59/image_17012025_18_59_28_6580.jpg', '/media/data/images/17012025/18/59/image_17012025_18_59_22_5331.jpg', '/media/data/images/17012025/18/59/image_17012025_18_59_17_6576.jpg', '/media/data/images/17012025/18/59/image_17012025_18_59_10_5346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/59/image_17012025_18_59_40_6566.jpg
/media/data/images/17012025/18/59/image_17012025_18_59_34_5334.jpg
/media/data/images/17012025/18/59/image_17012025_18_59_28_6580.jpg
/media/data/images/17012025/18/59/image_17012025_18_59_22_5331.jpg
/media/data/images/17012025/18/59/image_17012025_18_59_17_6576.jpg
/media/data/images/17012025/18/59/image_17012025_18_59_10_5346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329570653","1329570647","1329570656","1329570644","1329570649","1329570651"],"photo_ids_order":["1329570644","1329570647","1329570649","1329570651","1329570653","1329570656"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8be0a4a4fcfd4c24fa52690f569549ac.jpg","text":"TemporaryFile(/tmp/multipartBody7414395888358524324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147822238,"filename":"image_17012025_18_59_17_6576.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8b0063a8d74f3142e7bc96445661ac35.jpg","text":"TemporaryFile(/tmp/multipartBody7728096851677231746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147822238,"filename":"image_17012025_18_59_34_5334.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4fd338e796a14b6728e61710f975622b.jpg","text":"TemporaryFile(/tmp/multipartBody6916102901763394490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147822238,"filename":"image_17012025_18_59_10_5346.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2a01a1c510f08c9e051f03071e58283d.jpg","text":"TemporaryFile(/tmp/multipartBody334138468753623078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147822238,"filename":"image_17012025_18_59_40_6566.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/82264ba32a009b83f432d09a9310ddb8.jpg","text":"TemporaryFile(/tmp/multipartBody3832816919870905462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147822238,"filename":"image_17012025_18_59_28_6580.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8639b19bd50ffd24c3a7e3a2712f7836.jpg","text":"TemporaryFile(/tmp/multipartBody4810524178661907957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147822238,"filename":"image_17012025_18_59_22_5331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329570649","file1":"1329570647","file0":"1329570644","file4":"1329570653","file5":"1329570656","file3":"1329570651"},"map_files_photo_id_array":[{"photo_id":"1329570656","filename":"file5"},{"photo_id":"1329570649","filename":"file2"},{"photo_id":"1329570653","filename":"file4"},{"photo_id":"1329570647","filename":"file1"},{"photo_id":"1329570644","filename":"file0"},{"photo_id":"1329570651","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329570653":["hashtag1","hashtag2"]},{"1329570647":["hashtag1","hashtag2"]},{"1329570656":["hashtag1","hashtag2"]},{"1329570644":["hashtag1","hashtag2"]},{"1329570649":["hashtag1","hashtag2"]},{"1329570651":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329570653, 1329570647, 1329570656, 1329570644, 1329570649, 1329570651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.19776272773743 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 22:03:22.676545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/58/image_17012025_18_58_58_5332.jpg', '/media/data/images/17012025/18/57/image_17012025_18_57_52_5334.jpg', '/media/data/images/17012025/18/57/image_17012025_18_57_40_5335.jpg', '/media/data/images/17012025/18/57/image_17012025_18_57_35_6571.jpg', '/media/data/images/17012025/18/57/image_17012025_18_57_22_5328.jpg', '/media/data/images/17012025/18/56/image_17012025_18_57_04_6611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/58/image_17012025_18_58_58_5332.jpg
/media/data/images/17012025/18/57/image_17012025_18_57_52_5334.jpg
/media/data/images/17012025/18/57/image_17012025_18_57_40_5335.jpg
/media/data/images/17012025/18/57/image_17012025_18_57_35_6571.jpg
/media/data/images/17012025/18/57/image_17012025_18_57_22_5328.jpg
/media/data/images/17012025/18/56/image_17012025_18_57_04_6611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329570698","1329570702","1329570722","1329570673","1329570690","1329570706"],"photo_ids_order":["1329570673","1329570690","1329570698","1329570702","1329570706","1329570722"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/47e1467c0ef3371de1a79cb4e3d1bcf2.jpg","text":"TemporaryFile(/tmp/multipartBody181197527848321924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147877787,"filename":"image_17012025_18_57_40_5335.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9ecba712d6d6750cf4028f7fb651b19b.jpg","text":"TemporaryFile(/tmp/multipartBody4256600310893997298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147877787,"filename":"image_17012025_18_57_35_6571.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/212a5293eb7d7cda5b5b84ce7db29a3e.jpg","text":"TemporaryFile(/tmp/multipartBody4637976126570535989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147877787,"filename":"image_17012025_18_57_04_6611.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/244b1ba04a744056b716f70e76f33a1b.jpg","text":"TemporaryFile(/tmp/multipartBody2356800024567184377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147877787,"filename":"image_17012025_18_58_58_5332.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/14aaec10f838bf4b08d798e83174e616.jpg","text":"TemporaryFile(/tmp/multipartBody7205229429105641693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147877787,"filename":"image_17012025_18_57_52_5334.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/066aa1198720ed4f00d1393c971b53f5.jpg","text":"TemporaryFile(/tmp/multipartBody923577065581979178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147877787,"filename":"image_17012025_18_57_22_5328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329570698","file1":"1329570690","file0":"1329570673","file4":"1329570706","file5":"1329570722","file3":"1329570702"},"map_files_photo_id_array":[{"photo_id":"1329570722","filename":"file5"},{"photo_id":"1329570698","filename":"file2"},{"photo_id":"1329570706","filename":"file4"},{"photo_id":"1329570690","filename":"file1"},{"photo_id":"1329570673","filename":"file0"},{"photo_id":"1329570702","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329570698":["hashtag1","hashtag2"]},{"1329570702":["hashtag1","hashtag2"]},{"1329570722":["hashtag1","hashtag2"]},{"1329570673":["hashtag1","hashtag2"]},{"1329570690":["hashtag1","hashtag2"]},{"1329570706":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329570698, 1329570702, 1329570722, 1329570673, 1329570690, 1329570706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.99837851524353 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 22:04:21.827471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/56/image_17012025_18_56_52_6603.jpg', '/media/data/images/17012025/18/56/image_17012025_18_56_34_5359.jpg', '/media/data/images/17012025/18/56/image_17012025_18_56_29_6606.jpg', '/media/data/images/17012025/18/56/image_17012025_18_56_10_5343.jpg', '/media/data/images/17012025/18/56/image_17012025_18_56_05_6380.jpg', '/media/data/images/17012025/18/55/image_17012025_18_55_52_5363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/56/image_17012025_18_56_52_6603.jpg
/media/data/images/17012025/18/56/image_17012025_18_56_34_5359.jpg
/media/data/images/17012025/18/56/image_17012025_18_56_29_6606.jpg
/media/data/images/17012025/18/56/image_17012025_18_56_10_5343.jpg
/media/data/images/17012025/18/56/image_17012025_18_56_05_6380.jpg
/media/data/images/17012025/18/55/image_17012025_18_55_52_5363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329570767","1329570758","1329570778","1329570771","1329570774","1329570765"],"photo_ids_order":["1329570758","1329570765","1329570767","1329570771","1329570774","1329570778"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/87dcfb919003133f42729d6a8bdfa9b3.jpg","text":"TemporaryFile(/tmp/multipartBody1610004041124593508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147945105,"filename":"image_17012025_18_56_29_6606.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8de8452cbd4ca4b0535cbb73c99fceba.jpg","text":"TemporaryFile(/tmp/multipartBody4896201737824937337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147945105,"filename":"image_17012025_18_56_52_6603.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0b09aa1d3a2dc0860f0ddd9089a6666a.jpg","text":"TemporaryFile(/tmp/multipartBody3406798434465935689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147945105,"filename":"image_17012025_18_55_52_5363.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fbb6586116068b3eb9f70d9c18d0b1fc.jpg","text":"TemporaryFile(/tmp/multipartBody7942096416887912362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147945105,"filename":"image_17012025_18_56_10_5343.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/43654f47c577cb964ee9cf7fc46ece7d.jpg","text":"TemporaryFile(/tmp/multipartBody6086921574674603241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147945105,"filename":"image_17012025_18_56_05_6380.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/333bf5771d357d861903d16ccfe83eb8.jpg","text":"TemporaryFile(/tmp/multipartBody6285438852831723947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147945105,"filename":"image_17012025_18_56_34_5359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329570767","file1":"1329570765","file0":"1329570758","file4":"1329570774","file5":"1329570778","file3":"1329570771"},"map_files_photo_id_array":[{"photo_id":"1329570778","filename":"file5"},{"photo_id":"1329570767","filename":"file2"},{"photo_id":"1329570774","filename":"file4"},{"photo_id":"1329570765","filename":"file1"},{"photo_id":"1329570758","filename":"file0"},{"photo_id":"1329570771","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329570767":["hashtag1","hashtag2"]},{"1329570758":["hashtag1","hashtag2"]},{"1329570778":["hashtag1","hashtag2"]},{"1329570771":["hashtag1","hashtag2"]},{"1329570774":["hashtag1","hashtag2"]},{"1329570765":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329570767, 1329570758, 1329570778, 1329570771, 1329570774, 1329570765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.74553322792053 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 22:05:21.949499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/55/image_17012025_18_55_40_5335.jpg', '/media/data/images/17012025/18/55/image_17012025_18_55_28_5358.jpg', '/media/data/images/17012025/18/55/image_17012025_18_55_22_6613.jpg', '/media/data/images/17012025/18/55/image_17012025_18_55_16_5360.jpg', '/media/data/images/17012025/18/55/image_17012025_18_55_11_6628.jpg', '/media/data/images/17012025/18/54/image_17012025_18_54_52_5342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/55/image_17012025_18_55_40_5335.jpg
/media/data/images/17012025/18/55/image_17012025_18_55_28_5358.jpg
/media/data/images/17012025/18/55/image_17012025_18_55_22_6613.jpg
/media/data/images/17012025/18/55/image_17012025_18_55_16_5360.jpg
/media/data/images/17012025/18/55/image_17012025_18_55_11_6628.jpg
/media/data/images/17012025/18/54/image_17012025_18_54_52_5342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329571643","1329571669","1329571666","1329571648","1329571653","1329571662"],"photo_ids_order":["1329571643","1329571648","1329571653","1329571662","1329571666","1329571669"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/54af5f88e9768e135e0e7a06b5ae77e2.jpg","text":"TemporaryFile(/tmp/multipartBody5267503775252233467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147998915,"filename":"image_17012025_18_55_40_5335.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ce547dbac1346a1e469197f08729e807.jpg","text":"TemporaryFile(/tmp/multipartBody5283725473898985654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147998915,"filename":"image_17012025_18_54_52_5342.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9011d8adce35ac63ff1068e005480688.jpg","text":"TemporaryFile(/tmp/multipartBody6774049439518083228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147998915,"filename":"image_17012025_18_55_11_6628.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cdc08db95ba1fe59fa4069c62662df89.jpg","text":"TemporaryFile(/tmp/multipartBody312163787791048340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147998915,"filename":"image_17012025_18_55_28_5358.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f95e4c67a806ac2332530dc77ef4c3dc.jpg","text":"TemporaryFile(/tmp/multipartBody2448316893381067005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147998915,"filename":"image_17012025_18_55_22_6613.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7ceab0311e91d257bdb712a3e5be2926.jpg","text":"TemporaryFile(/tmp/multipartBody4103530887361828291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737147998915,"filename":"image_17012025_18_55_16_5360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329571653","file1":"1329571648","file0":"1329571643","file4":"1329571666","file5":"1329571669","file3":"1329571662"},"map_files_photo_id_array":[{"photo_id":"1329571669","filename":"file5"},{"photo_id":"1329571653","filename":"file2"},{"photo_id":"1329571666","filename":"file4"},{"photo_id":"1329571648","filename":"file1"},{"photo_id":"1329571643","filename":"file0"},{"photo_id":"1329571662","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329571643":["hashtag1","hashtag2"]},{"1329571669":["hashtag1","hashtag2"]},{"1329571666":["hashtag1","hashtag2"]},{"1329571648":["hashtag1","hashtag2"]},{"1329571653":["hashtag1","hashtag2"]},{"1329571662":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329571643, 1329571669, 1329571666, 1329571648, 1329571653, 1329571662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.47279715538025 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 22:06:22.091846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/54/image_17012025_18_54_47_6583.jpg', '/media/data/images/17012025/18/54/image_17012025_18_54_40_6582.jpg', '/media/data/images/17012025/18/54/image_17012025_18_54_34_5334.jpg', '/media/data/images/17012025/18/54/image_17012025_18_54_22_5332.jpg', '/media/data/images/17012025/18/54/image_17012025_18_54_16_6585.jpg', '/media/data/images/17012025/18/53/image_17012025_18_53_58_5365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/54/image_17012025_18_54_47_6583.jpg
/media/data/images/17012025/18/54/image_17012025_18_54_40_6582.jpg
/media/data/images/17012025/18/54/image_17012025_18_54_34_5334.jpg
/media/data/images/17012025/18/54/image_17012025_18_54_22_5332.jpg
/media/data/images/17012025/18/54/image_17012025_18_54_16_6585.jpg
/media/data/images/17012025/18/53/image_17012025_18_53_58_5365.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":["1329572125","1329572072","1329572036","1329571994","1329572123","1329572102"],"photo_ids_order":["1329571994","1329572036","1329572072","1329572102","1329572123","1329572125"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8bdd1e8e1443a9fb31204258394aa825.jpg","text":"TemporaryFile(/tmp/multipartBody6971977910912522084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148069229,"filename":"image_17012025_18_53_58_5365.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c998e34a1d0dd8d8693cde12b552460c.jpg","text":"TemporaryFile(/tmp/multipartBody8738993817943914996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148069229,"filename":"image_17012025_18_54_34_5334.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7b9c8690b160c1a8c63468b5b94b7119.jpg","text":"TemporaryFile(/tmp/multipartBody7829463021416798959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148069229,"filename":"image_17012025_18_54_40_6582.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5e705ca22267eda4d2eebcbb598d7e1c.jpg","text":"TemporaryFile(/tmp/multipartBody82666114783002831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148069229,"filename":"image_17012025_18_54_47_6583.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/63e6d81f358b1be64f0c75ee67f1cf30.jpg","text":"TemporaryFile(/tmp/multipartBody8082973217169807529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148069229,"filename":"image_17012025_18_54_16_6585.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a71a4813fde79eab5cf368d16c6a296f.jpg","text":"TemporaryFile(/tmp/multipartBody4200586009528227365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148069229,"filename":"image_17012025_18_54_22_5332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329572072","file1":"1329572036","file0":"1329571994","file4":"1329572123","file5":"1329572125","file3":"1329572102"},"map_files_photo_id_array":[{"photo_id":"1329572125","filename":"file5"},{"photo_id":"1329572072","filename":"file2"},{"photo_id":"1329572123","filename":"file4"},{"photo_id":"1329572036","filename":"file1"},{"photo_id":"1329571994","filename":"file0"},{"photo_id":"1329572102","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329572125":["hashtag1","hashtag2"]},{"1329572072":["hashtag1","hashtag2"]},{"1329572036":["hashtag1","hashtag2"]},{"1329571994":["hashtag1","hashtag2"]},{"1329572123":["hashtag1","hashtag2"]},{"1329572102":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329572125, 1329572072, 1329572036, 1329571994, 1329572123, 1329572102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.68208503723145 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 22:07:42.248717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/53/image_17012025_18_53_46_5365.jpg', '/media/data/images/17012025/18/53/image_17012025_18_53_41_6606.jpg', '/media/data/images/17012025/18/53/image_17012025_18_53_34_5330.jpg', '/media/data/images/17012025/18/53/image_17012025_18_53_29_6575.jpg', '/media/data/images/17012025/18/53/image_17012025_18_53_22_5362.jpg', '/media/data/images/17012025/18/53/image_17012025_18_53_17_6608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/53/image_17012025_18_53_46_5365.jpg
/media/data/images/17012025/18/53/image_17012025_18_53_41_6606.jpg
/media/data/images/17012025/18/53/image_17012025_18_53_34_5330.jpg
/media/data/images/17012025/18/53/image_17012025_18_53_29_6575.jpg
/media/data/images/17012025/18/53/image_17012025_18_53_22_5362.jpg
/media/data/images/17012025/18/53/image_17012025_18_53_17_6608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329572176","1329572245","1329572254","1329572253","1329572256","1329572159"],"photo_ids_order":["1329572159","1329572176","1329572245","1329572253","1329572254","1329572256"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c72645d837166feee4381fba4c004708.jpg","text":"TemporaryFile(/tmp/multipartBody2092289665234732619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148140071,"filename":"image_17012025_18_53_41_6606.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c4715ae0e3c506a9144ab1ea975b2fa4.jpg","text":"TemporaryFile(/tmp/multipartBody2853692318313614644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148140071,"filename":"image_17012025_18_53_34_5330.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5858a51b53951f644233292833cee6c6.jpg","text":"TemporaryFile(/tmp/multipartBody8568352122125757206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148140071,"filename":"image_17012025_18_53_22_5362.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/451b33a1604dda812081009b02dbba02.jpg","text":"TemporaryFile(/tmp/multipartBody8642084880984519037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148140071,"filename":"image_17012025_18_53_29_6575.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3493110bad13fdc74f5fd4086e6e0fb2.jpg","text":"TemporaryFile(/tmp/multipartBody7405501423563830347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148140071,"filename":"image_17012025_18_53_17_6608.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/84e19fd7919d29a52806529b10143a8a.jpg","text":"TemporaryFile(/tmp/multipartBody4153755590552756131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148140071,"filename":"image_17012025_18_53_46_5365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329572245","file1":"1329572176","file0":"1329572159","file4":"1329572254","file5":"1329572256","file3":"1329572253"},"map_files_photo_id_array":[{"photo_id":"1329572256","filename":"file5"},{"photo_id":"1329572245","filename":"file2"},{"photo_id":"1329572254","filename":"file4"},{"photo_id":"1329572176","filename":"file1"},{"photo_id":"1329572159","filename":"file0"},{"photo_id":"1329572253","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329572176":["hashtag1","hashtag2"]},{"1329572245":["hashtag1","hashtag2"]},{"1329572254":["hashtag1","hashtag2"]},{"1329572253":["hashtag1","hashtag2"]},{"1329572256":["hashtag1","hashtag2"]},{"1329572159":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329572176, 1329572245, 1329572254, 1329572253, 1329572256, 1329572159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.09050917625427 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 22:08:42.384692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/52/image_17012025_18_53_05_6636.jpg', '/media/data/images/17012025/18/52/image_17012025_18_52_53_6558.jpg', '/media/data/images/17012025/18/52/image_17012025_18_52_46_5335.jpg', '/media/data/images/17012025/18/52/image_17012025_18_52_41_6574.jpg', '/media/data/images/17012025/18/52/image_17012025_18_52_29_6571.jpg', '/media/data/images/17012025/18/52/image_17012025_18_52_16_5352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/52/image_17012025_18_53_05_6636.jpg
/media/data/images/17012025/18/52/image_17012025_18_52_53_6558.jpg
/media/data/images/17012025/18/52/image_17012025_18_52_46_5335.jpg
/media/data/images/17012025/18/52/image_17012025_18_52_41_6574.jpg
/media/data/images/17012025/18/52/image_17012025_18_52_29_6571.jpg
/media/data/images/17012025/18/52/image_17012025_18_52_16_5352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
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: 47.284729957580566 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 22:09:42.534550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/52/image_17012025_18_53_05_6636.jpg', '/media/data/images/17012025/18/52/image_17012025_18_52_53_6558.jpg', '/media/data/images/17012025/18/52/image_17012025_18_52_46_5335.jpg', '/media/data/images/17012025/18/52/image_17012025_18_52_41_6574.jpg', '/media/data/images/17012025/18/52/image_17012025_18_52_29_6571.jpg', '/media/data/images/17012025/18/52/image_17012025_18_52_16_5352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/52/image_17012025_18_53_05_6636.jpg
/media/data/images/17012025/18/52/image_17012025_18_52_53_6558.jpg
/media/data/images/17012025/18/52/image_17012025_18_52_46_5335.jpg
/media/data/images/17012025/18/52/image_17012025_18_52_41_6574.jpg
/media/data/images/17012025/18/52/image_17012025_18_52_29_6571.jpg
/media/data/images/17012025/18/52/image_17012025_18_52_16_5352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329572392","1329572410","1329572412","1329572406","1329572384","1329572408"],"photo_ids_order":["1329572384","1329572392","1329572406","1329572408","1329572410","1329572412"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/60fe6bfbb236559b34d0bbdb99b741e2.jpg","text":"TemporaryFile(/tmp/multipartBody3690837353821735513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148264555,"filename":"image_17012025_18_52_53_6558.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9f70017ec3cfdab9e086e9d17f3df92c.jpg","text":"TemporaryFile(/tmp/multipartBody602934707156119253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148264555,"filename":"image_17012025_18_52_29_6571.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b1a70f394f51fb67ccbcdd6453c215e9.jpg","text":"TemporaryFile(/tmp/multipartBody7004801549553173869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148264555,"filename":"image_17012025_18_52_16_5352.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/187e69e8a4ec301dce9363de16e8aea7.jpg","text":"TemporaryFile(/tmp/multipartBody8416959227248433127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148264555,"filename":"image_17012025_18_52_46_5335.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c6811352bc6d078eaffe891ff4440a34.jpg","text":"TemporaryFile(/tmp/multipartBody3058583908055811951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148264555,"filename":"image_17012025_18_53_05_6636.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5fb7cc846398bfde6856dd017cb4b32b.jpg","text":"TemporaryFile(/tmp/multipartBody598051225731139175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148264555,"filename":"image_17012025_18_52_41_6574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329572406","file1":"1329572392","file0":"1329572384","file4":"1329572410","file5":"1329572412","file3":"1329572408"},"map_files_photo_id_array":[{"photo_id":"1329572412","filename":"file5"},{"photo_id":"1329572406","filename":"file2"},{"photo_id":"1329572410","filename":"file4"},{"photo_id":"1329572392","filename":"file1"},{"photo_id":"1329572384","filename":"file0"},{"photo_id":"1329572408","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329572392":["hashtag1","hashtag2"]},{"1329572410":["hashtag1","hashtag2"]},{"1329572412":["hashtag1","hashtag2"]},{"1329572406":["hashtag1","hashtag2"]},{"1329572384":["hashtag1","hashtag2"]},{"1329572408":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329572392, 1329572410, 1329572412, 1329572406, 1329572384, 1329572408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.886521100997925 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 22:10:42.670648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/52/image_17012025_18_52_10_6603.jpg', '/media/data/images/17012025/18/52/image_17012025_18_52_04_5149.jpg', '/media/data/images/17012025/18/51/image_17012025_18_51_52_5328.jpg', '/media/data/images/17012025/18/51/image_17012025_18_51_47_6574.jpg', '/media/data/images/17012025/18/51/image_17012025_18_51_28_5333.jpg', '/media/data/images/17012025/18/51/image_17012025_18_51_16_6573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/52/image_17012025_18_52_10_6603.jpg
/media/data/images/17012025/18/52/image_17012025_18_52_04_5149.jpg
/media/data/images/17012025/18/51/image_17012025_18_51_52_5328.jpg
/media/data/images/17012025/18/51/image_17012025_18_51_47_6574.jpg
/media/data/images/17012025/18/51/image_17012025_18_51_28_5333.jpg
/media/data/images/17012025/18/51/image_17012025_18_51_16_6573.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329572467","1329572464","1329572439","1329572424","1329572474","1329572471"],"photo_ids_order":["1329572424","1329572439","1329572464","1329572467","1329572471","1329572474"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/00732cd9f7556728986dc265beaadc77.jpg","text":"TemporaryFile(/tmp/multipartBody2320702506243493283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148319859,"filename":"image_17012025_18_51_47_6574.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c003f9065f658286e45c607e5c3bc80e.jpg","text":"TemporaryFile(/tmp/multipartBody6204379726318772458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148319859,"filename":"image_17012025_18_51_52_5328.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6d2d2a2a3df39f6f3e9b37f46eb00e91.jpg","text":"TemporaryFile(/tmp/multipartBody4573600749645457404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148319859,"filename":"image_17012025_18_52_04_5149.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4ab43a008c5bfe7a53dbbb0ee3d0aafa.jpg","text":"TemporaryFile(/tmp/multipartBody1254515044249571491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148319859,"filename":"image_17012025_18_52_10_6603.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ae1c173d1222695bb190d5bf7ac1294a.jpg","text":"TemporaryFile(/tmp/multipartBody394951853584023109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148319859,"filename":"image_17012025_18_51_16_6573.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f58c5aecbed1259eada40a10dba3f2ec.jpg","text":"TemporaryFile(/tmp/multipartBody451792974121674990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148319859,"filename":"image_17012025_18_51_28_5333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329572464","file1":"1329572439","file0":"1329572424","file4":"1329572471","file5":"1329572474","file3":"1329572467"},"map_files_photo_id_array":[{"photo_id":"1329572474","filename":"file5"},{"photo_id":"1329572464","filename":"file2"},{"photo_id":"1329572471","filename":"file4"},{"photo_id":"1329572439","filename":"file1"},{"photo_id":"1329572424","filename":"file0"},{"photo_id":"1329572467","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329572467":["hashtag1","hashtag2"]},{"1329572464":["hashtag1","hashtag2"]},{"1329572439":["hashtag1","hashtag2"]},{"1329572424":["hashtag1","hashtag2"]},{"1329572474":["hashtag1","hashtag2"]},{"1329572471":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329572467, 1329572464, 1329572439, 1329572424, 1329572474, 1329572471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.817397117614746 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 22:11:41.804809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/50/image_17012025_18_50_58_5345.jpg', '/media/data/images/17012025/18/50/image_17012025_18_50_46_5366.jpg', '/media/data/images/17012025/18/50/image_17012025_18_50_40_6610.jpg', '/media/data/images/17012025/18/50/image_17012025_18_50_29_6610.jpg', '/media/data/images/17012025/18/50/image_17012025_18_50_22_5331.jpg', '/media/data/images/17012025/18/49/image_17012025_18_49_58_5322.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/50/image_17012025_18_50_58_5345.jpg
/media/data/images/17012025/18/50/image_17012025_18_50_46_5366.jpg
/media/data/images/17012025/18/50/image_17012025_18_50_40_6610.jpg
/media/data/images/17012025/18/50/image_17012025_18_50_29_6610.jpg
/media/data/images/17012025/18/50/image_17012025_18_50_22_5331.jpg
/media/data/images/17012025/18/49/image_17012025_18_49_58_5322.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329572542","1329572536","1329572545","1329572539","1329572547","1329572543"],"photo_ids_order":["1329572536","1329572539","1329572542","1329572543","1329572545","1329572547"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b1630570fceebb8941393e51dd10daff.jpg","text":"TemporaryFile(/tmp/multipartBody5821949420344862739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148376314,"filename":"image_17012025_18_50_40_6610.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7502f026dd8e030bb57050392e125c15.jpg","text":"TemporaryFile(/tmp/multipartBody5358731313883804467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148376314,"filename":"image_17012025_18_50_58_5345.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fc3b62c8477caaa1c6e27f4c3b0da7bd.jpg","text":"TemporaryFile(/tmp/multipartBody40342605255085552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148376314,"filename":"image_17012025_18_50_22_5331.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/94943bcfb0ed2f3d9ade7d254c2b838d.jpg","text":"TemporaryFile(/tmp/multipartBody7772250339479158285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148376314,"filename":"image_17012025_18_50_46_5366.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a5a1d8b9901c4abc0437580a3c437e96.jpg","text":"TemporaryFile(/tmp/multipartBody4599951530293204549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148376314,"filename":"image_17012025_18_49_58_5322.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/033d6f4a63b9daa3dc07d67978a61849.jpg","text":"TemporaryFile(/tmp/multipartBody6335792137230639503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148376314,"filename":"image_17012025_18_50_29_6610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329572542","file1":"1329572539","file0":"1329572536","file4":"1329572545","file5":"1329572547","file3":"1329572543"},"map_files_photo_id_array":[{"photo_id":"1329572547","filename":"file5"},{"photo_id":"1329572542","filename":"file2"},{"photo_id":"1329572545","filename":"file4"},{"photo_id":"1329572539","filename":"file1"},{"photo_id":"1329572536","filename":"file0"},{"photo_id":"1329572543","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329572542":["hashtag1","hashtag2"]},{"1329572536":["hashtag1","hashtag2"]},{"1329572545":["hashtag1","hashtag2"]},{"1329572539":["hashtag1","hashtag2"]},{"1329572547":["hashtag1","hashtag2"]},{"1329572543":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329572542, 1329572536, 1329572545, 1329572539, 1329572547, 1329572543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.74991011619568 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 22:12:41.962923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/49/image_17012025_18_49_53_6557.jpg', '/media/data/images/17012025/18/49/image_17012025_18_49_46_6572.jpg', '/media/data/images/17012025/18/49/image_17012025_18_49_22_6571.jpg', '/media/data/images/17012025/18/49/image_17012025_18_49_16_5325.jpg', '/media/data/images/17012025/18/49/image_17012025_18_49_11_6571.jpg', '/media/data/images/17012025/18/48/image_17012025_18_48_59_6562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/49/image_17012025_18_49_53_6557.jpg
/media/data/images/17012025/18/49/image_17012025_18_49_46_6572.jpg
/media/data/images/17012025/18/49/image_17012025_18_49_22_6571.jpg
/media/data/images/17012025/18/49/image_17012025_18_49_16_5325.jpg
/media/data/images/17012025/18/49/image_17012025_18_49_11_6571.jpg
/media/data/images/17012025/18/48/image_17012025_18_48_59_6562.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329573246","1329572958","1329573152","1329573044","1329572861","1329572759"],"photo_ids_order":["1329572759","1329572861","1329572958","1329573044","1329573152","1329573246"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0543f98eabf88309e42cc6b1716ef605.jpg","text":"TemporaryFile(/tmp/multipartBody9115931277952061847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148437433,"filename":"image_17012025_18_48_59_6562.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f1435b3827ef14aae03938aa68a3aeec.jpg","text":"TemporaryFile(/tmp/multipartBody1690643114948212648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148437433,"filename":"image_17012025_18_49_22_6571.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fc0b391601fe3a836f6a2e6d449973f1.jpg","text":"TemporaryFile(/tmp/multipartBody8492819498473808499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148437433,"filename":"image_17012025_18_49_11_6571.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7ce790522292bc2fa65c412b9b27915c.jpg","text":"TemporaryFile(/tmp/multipartBody379146375498534036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148437433,"filename":"image_17012025_18_49_16_5325.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a8b3f3217a0938628223ad9d753f502b.jpg","text":"TemporaryFile(/tmp/multipartBody6824708818946513943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148437433,"filename":"image_17012025_18_49_46_6572.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0e75258b5afeaee6759cd265a9b00215.jpg","text":"TemporaryFile(/tmp/multipartBody2972534293497739177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148437433,"filename":"image_17012025_18_49_53_6557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329572958","file1":"1329572861","file0":"1329572759","file4":"1329573152","file5":"1329573246","file3":"1329573044"},"map_files_photo_id_array":[{"photo_id":"1329573246","filename":"file5"},{"photo_id":"1329572958","filename":"file2"},{"photo_id":"1329573152","filename":"file4"},{"photo_id":"1329572861","filename":"file1"},{"photo_id":"1329572759","filename":"file0"},{"photo_id":"1329573044","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329573246":["hashtag1","hashtag2"]},{"1329572958":["hashtag1","hashtag2"]},{"1329573152":["hashtag1","hashtag2"]},{"1329573044":["hashtag1","hashtag2"]},{"1329572861":["hashtag1","hashtag2"]},{"1329572759":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329573246, 1329572958, 1329573152, 1329573044, 1329572861, 1329572759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.12325739860535 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 22:13:42.089034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/48/image_17012025_18_48_52_6583.jpg', '/media/data/images/17012025/18/48/image_17012025_18_48_46_5366.jpg', '/media/data/images/17012025/18/48/image_17012025_18_48_40_6612.jpg', '/media/data/images/17012025/18/48/image_17012025_18_48_34_5364.jpg', '/media/data/images/17012025/18/48/image_17012025_18_48_28_6609.jpg', '/media/data/images/17012025/18/48/image_17012025_18_48_22_5358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/48/image_17012025_18_48_52_6583.jpg
/media/data/images/17012025/18/48/image_17012025_18_48_46_5366.jpg
/media/data/images/17012025/18/48/image_17012025_18_48_40_6612.jpg
/media/data/images/17012025/18/48/image_17012025_18_48_34_5364.jpg
/media/data/images/17012025/18/48/image_17012025_18_48_28_6609.jpg
/media/data/images/17012025/18/48/image_17012025_18_48_22_5358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329573337","1329573322","1329573325","1329573330","1329573341","1329573332"],"photo_ids_order":["1329573322","1329573325","1329573330","1329573332","1329573337","1329573341"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b2e48948cbff9a3d7d957195604f742f.jpg","text":"TemporaryFile(/tmp/multipartBody4952859760819448102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148498189,"filename":"image_17012025_18_48_28_6609.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/590774d040156ce8dc7d803d035b8e87.jpg","text":"TemporaryFile(/tmp/multipartBody1409082955239980509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148498189,"filename":"image_17012025_18_48_52_6583.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/82672fcfba3c4380a571a0e17d4fb9f6.jpg","text":"TemporaryFile(/tmp/multipartBody4050844065380102144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148498189,"filename":"image_17012025_18_48_46_5366.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0cee1e2e8b1c7e73a8a09a549b6b0093.jpg","text":"TemporaryFile(/tmp/multipartBody7508675410609136912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148498189,"filename":"image_17012025_18_48_40_6612.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a3e852afac7b1fd41b0eeb3b98f362b5.jpg","text":"TemporaryFile(/tmp/multipartBody138663782902653655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148498189,"filename":"image_17012025_18_48_22_5358.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/188e48aa398863d58573b30ffa904718.jpg","text":"TemporaryFile(/tmp/multipartBody9150108789746752834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148498189,"filename":"image_17012025_18_48_34_5364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329573330","file1":"1329573325","file0":"1329573322","file4":"1329573337","file5":"1329573341","file3":"1329573332"},"map_files_photo_id_array":[{"photo_id":"1329573341","filename":"file5"},{"photo_id":"1329573330","filename":"file2"},{"photo_id":"1329573337","filename":"file4"},{"photo_id":"1329573325","filename":"file1"},{"photo_id":"1329573322","filename":"file0"},{"photo_id":"1329573332","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329573337":["hashtag1","hashtag2"]},{"1329573322":["hashtag1","hashtag2"]},{"1329573325":["hashtag1","hashtag2"]},{"1329573330":["hashtag1","hashtag2"]},{"1329573341":["hashtag1","hashtag2"]},{"1329573332":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329573337, 1329573322, 1329573325, 1329573330, 1329573341, 1329573332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.93859815597534 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 22:14:42.224155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/48/image_17012025_18_48_10_5358.jpg', '/media/data/images/17012025/18/47/image_17012025_18_48_04_6698.jpg', '/media/data/images/17012025/18/47/image_17012025_18_47_58_5368.jpg', '/media/data/images/17012025/18/47/image_17012025_18_47_52_6614.jpg', '/media/data/images/17012025/18/47/image_17012025_18_47_46_5366.jpg', '/media/data/images/17012025/18/47/image_17012025_18_47_40_6615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/48/image_17012025_18_48_10_5358.jpg
/media/data/images/17012025/18/47/image_17012025_18_48_04_6698.jpg
/media/data/images/17012025/18/47/image_17012025_18_47_58_5368.jpg
/media/data/images/17012025/18/47/image_17012025_18_47_52_6614.jpg
/media/data/images/17012025/18/47/image_17012025_18_47_46_5366.jpg
/media/data/images/17012025/18/47/image_17012025_18_47_40_6615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329573739","1329573730","1329573736","1329573732","1329573734","1329573716"],"photo_ids_order":["1329573716","1329573730","1329573732","1329573734","1329573736","1329573739"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9c847159f8a45cc7e17c3516a3f630b6.jpg","text":"TemporaryFile(/tmp/multipartBody717572116514776086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148562184,"filename":"image_17012025_18_47_40_6615.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/19d378b5a1a6622e808a2df408a61efc.jpg","text":"TemporaryFile(/tmp/multipartBody3304042761851191369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148562184,"filename":"image_17012025_18_48_04_6698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/daec16f2f11877e1daadc7434fe06cdd.jpg","text":"TemporaryFile(/tmp/multipartBody8514683589476309111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148562184,"filename":"image_17012025_18_47_46_5366.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/22ca2fe956508b579042673f915b8b85.jpg","text":"TemporaryFile(/tmp/multipartBody2757292674175640335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148562184,"filename":"image_17012025_18_47_58_5368.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fb1c60444eefae7c8ebff438e5a3f98c.jpg","text":"TemporaryFile(/tmp/multipartBody5775859369490399500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148562184,"filename":"image_17012025_18_47_52_6614.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/99e73da35387ed51fc7bc5cd5a986634.jpg","text":"TemporaryFile(/tmp/multipartBody425638465979583002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148562184,"filename":"image_17012025_18_48_10_5358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329573732","file1":"1329573730","file0":"1329573716","file4":"1329573736","file5":"1329573739","file3":"1329573734"},"map_files_photo_id_array":[{"photo_id":"1329573739","filename":"file5"},{"photo_id":"1329573732","filename":"file2"},{"photo_id":"1329573736","filename":"file4"},{"photo_id":"1329573730","filename":"file1"},{"photo_id":"1329573716","filename":"file0"},{"photo_id":"1329573734","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329573739":["hashtag1","hashtag2"]},{"1329573730":["hashtag1","hashtag2"]},{"1329573736":["hashtag1","hashtag2"]},{"1329573732":["hashtag1","hashtag2"]},{"1329573734":["hashtag1","hashtag2"]},{"1329573716":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329573739, 1329573730, 1329573736, 1329573732, 1329573734, 1329573716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.21506643295288 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 22:15:42.443388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/47/image_17012025_18_47_34_5355.jpg', '/media/data/images/17012025/18/47/image_17012025_18_47_28_6546.jpg', '/media/data/images/17012025/18/47/image_17012025_18_47_22_5310.jpg', '/media/data/images/17012025/18/47/image_17012025_18_47_17_6576.jpg', '/media/data/images/17012025/18/47/image_17012025_18_47_05_6349.jpg', '/media/data/images/17012025/18/46/image_17012025_18_46_46_6580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/47/image_17012025_18_47_34_5355.jpg
/media/data/images/17012025/18/47/image_17012025_18_47_28_6546.jpg
/media/data/images/17012025/18/47/image_17012025_18_47_22_5310.jpg
/media/data/images/17012025/18/47/image_17012025_18_47_17_6576.jpg
/media/data/images/17012025/18/47/image_17012025_18_47_05_6349.jpg
/media/data/images/17012025/18/46/image_17012025_18_46_46_6580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329573960","1329573831","1329573974","1329573983","1329573938","1329573877"],"photo_ids_order":["1329573831","1329573877","1329573938","1329573960","1329573974","1329573983"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c1629d180452da9d893bcf91e46530cd.jpg","text":"TemporaryFile(/tmp/multipartBody3634003760508312459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148619749,"filename":"image_17012025_18_47_17_6576.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9b14547b7cbb945e7ed14e7149e3ea95.jpg","text":"TemporaryFile(/tmp/multipartBody8676636553510532623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148619749,"filename":"image_17012025_18_47_34_5355.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/678294e6b0c0fafac1692bead879b289.jpg","text":"TemporaryFile(/tmp/multipartBody7088938195734113171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148619749,"filename":"image_17012025_18_47_05_6349.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ab00ea53f8d9a878bd546096e56c123d.jpg","text":"TemporaryFile(/tmp/multipartBody9045545979122152857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148619749,"filename":"image_17012025_18_46_46_6580.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/853ddea9939ff892a9c846a6e716bd0a.jpg","text":"TemporaryFile(/tmp/multipartBody4207994676982672661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148619749,"filename":"image_17012025_18_47_22_5310.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/060b92dc2cbd91fbd18133f338d85314.jpg","text":"TemporaryFile(/tmp/multipartBody1382286476082581853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148619749,"filename":"image_17012025_18_47_28_6546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329573938","file1":"1329573877","file0":"1329573831","file4":"1329573974","file5":"1329573983","file3":"1329573960"},"map_files_photo_id_array":[{"photo_id":"1329573983","filename":"file5"},{"photo_id":"1329573938","filename":"file2"},{"photo_id":"1329573974","filename":"file4"},{"photo_id":"1329573877","filename":"file1"},{"photo_id":"1329573831","filename":"file0"},{"photo_id":"1329573960","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329573960":["hashtag1","hashtag2"]},{"1329573831":["hashtag1","hashtag2"]},{"1329573974":["hashtag1","hashtag2"]},{"1329573983":["hashtag1","hashtag2"]},{"1329573938":["hashtag1","hashtag2"]},{"1329573877":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329573960, 1329573831, 1329573974, 1329573983, 1329573938, 1329573877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.223702907562256 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 22:16:42.600783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/46/image_17012025_18_46_34_6575.jpg', '/media/data/images/17012025/18/46/image_17012025_18_46_28_5334.jpg', '/media/data/images/17012025/18/46/image_17012025_18_46_23_6605.jpg', '/media/data/images/17012025/18/46/image_17012025_18_46_16_5366.jpg', '/media/data/images/17012025/18/46/image_17012025_18_46_11_6624.jpg', '/media/data/images/17012025/18/45/image_17012025_18_45_59_6577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/46/image_17012025_18_46_34_6575.jpg
/media/data/images/17012025/18/46/image_17012025_18_46_28_5334.jpg
/media/data/images/17012025/18/46/image_17012025_18_46_23_6605.jpg
/media/data/images/17012025/18/46/image_17012025_18_46_16_5366.jpg
/media/data/images/17012025/18/46/image_17012025_18_46_11_6624.jpg
/media/data/images/17012025/18/45/image_17012025_18_45_59_6577.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: 14.467264890670776 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 22:17:03.016978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/24/image_17012025_07_24_35_6563.jpg', '/media/data/images/17012025/07/24/image_17012025_07_24_47_5314.jpg', '/media/data/images/17012025/07/24/image_17012025_07_24_54_6569.jpg', '/media/data/images/17012025/07/25/image_17012025_07_25_41_5289.jpg', '/media/data/images/17012025/07/25/image_17012025_07_25_47_6536.jpg', '/media/data/images/17012025/07/25/image_17012025_07_25_53_5297.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/24/image_17012025_07_24_35_6563.jpg
/media/data/images/17012025/07/24/image_17012025_07_24_47_5314.jpg
/media/data/images/17012025/07/24/image_17012025_07_24_54_6569.jpg
/media/data/images/17012025/07/25/image_17012025_07_25_41_5289.jpg
/media/data/images/17012025/07/25/image_17012025_07_25_47_6536.jpg
/media/data/images/17012025/07/25/image_17012025_07_25_53_5297.jpg
2025-01-17 22:17:03.102503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/46/image_17012025_18_46_34_6575.jpg', '/media/data/images/17012025/18/46/image_17012025_18_46_28_5334.jpg', '/media/data/images/17012025/18/46/image_17012025_18_46_23_6605.jpg', '/media/data/images/17012025/18/46/image_17012025_18_46_16_5366.jpg', '/media/data/images/17012025/18/46/image_17012025_18_46_11_6624.jpg', '/media/data/images/17012025/18/45/image_17012025_18_45_59_6577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/46/image_17012025_18_46_34_6575.jpg
/media/data/images/17012025/18/46/image_17012025_18_46_28_5334.jpg
/media/data/images/17012025/18/46/image_17012025_18_46_23_6605.jpg
/media/data/images/17012025/18/46/image_17012025_18_46_16_5366.jpg
/media/data/images/17012025/18/46/image_17012025_18_46_11_6624.jpg
/media/data/images/17012025/18/45/image_17012025_18_45_59_6577.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329574027","1329574023","1329574010","1329574013","1329574007","1329574018"],"photo_ids_order":["1329574007","1329574010","1329574013","1329574018","1329574023","1329574027"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b2c6133d2c8c72ebf4facd0391b35f92.jpg","text":"TemporaryFile(/tmp/multipartBody8982490069758644045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148701678,"filename":"image_17012025_07_25_53_5297.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a5e38c1c380dac9cb19ac5cc9e5c4383.jpg","text":"TemporaryFile(/tmp/multipartBody6120201630320203035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148701678,"filename":"image_17012025_07_25_47_6536.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1dd5aaf1b1101c98f682141bde4251f4.jpg","text":"TemporaryFile(/tmp/multipartBody4187290598664153622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148701678,"filename":"image_17012025_07_24_47_5314.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c890cf28acd7b109fb08b4d98209f339.jpg","text":"TemporaryFile(/tmp/multipartBody2227938898573930744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148701678,"filename":"image_17012025_07_24_54_6569.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ed8662c05ed0775d10a293db81fb158f.jpg","text":"TemporaryFile(/tmp/multipartBody5439010444058257891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148701678,"filename":"image_17012025_07_24_35_6563.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/071623da50468ff2d6d6704cadda47e6.jpg","text":"TemporaryFile(/tmp/multipartBody1556644051240668186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148701678,"filename":"image_17012025_07_25_41_5289.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329574013","file1":"1329574010","file0":"1329574007","file4":"1329574023","file5":"1329574027","file3":"1329574018"},"map_files_photo_id_array":[{"photo_id":"1329574027","filename":"file5"},{"photo_id":"1329574013","filename":"file2"},{"photo_id":"1329574023","filename":"file4"},{"photo_id":"1329574010","filename":"file1"},{"photo_id":"1329574007","filename":"file0"},{"photo_id":"1329574018","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329574027":["hashtag1","hashtag2"]},{"1329574023":["hashtag1","hashtag2"]},{"1329574010":["hashtag1","hashtag2"]},{"1329574013":["hashtag1","hashtag2"]},{"1329574007":["hashtag1","hashtag2"]},{"1329574018":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329574027, 1329574023, 1329574010, 1329574013, 1329574007, 1329574018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.238913774490356 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329574012","1329574009","1329574026","1329574037","1329574022","1329574016"],"photo_ids_order":["1329574009","1329574012","1329574016","1329574022","1329574026","1329574037"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a607a8883f4ff3a4975368ab6c93d0dd.jpg","text":"TemporaryFile(/tmp/multipartBody812280732618333797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148704776,"filename":"image_17012025_18_46_28_5334.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/29f3fede1fa1f0e95ebc922d3316a7c3.jpg","text":"TemporaryFile(/tmp/multipartBody8750013201317908624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148704776,"filename":"image_17012025_18_46_34_6575.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a108b5d51afb5086155b75f4b9e8b137.jpg","text":"TemporaryFile(/tmp/multipartBody7782511499137709312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148704776,"filename":"image_17012025_18_46_11_6624.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d80b144ef489ea588438a79e93ef08ce.jpg","text":"TemporaryFile(/tmp/multipartBody6952989265944753502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148704776,"filename":"image_17012025_18_45_59_6577.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/11cc9af4e08aad574a185d845f129b66.jpg","text":"TemporaryFile(/tmp/multipartBody5481636117553207624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148704776,"filename":"image_17012025_18_46_16_5366.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0d011eccf3c5d76aac67db36faf53acf.jpg","text":"TemporaryFile(/tmp/multipartBody3727113760362356427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148704776,"filename":"image_17012025_18_46_23_6605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329574016","file1":"1329574012","file0":"1329574009","file4":"1329574026","file5":"1329574037","file3":"1329574022"},"map_files_photo_id_array":[{"photo_id":"1329574037","filename":"file5"},{"photo_id":"1329574016","filename":"file2"},{"photo_id":"1329574026","filename":"file4"},{"photo_id":"1329574012","filename":"file1"},{"photo_id":"1329574009","filename":"file0"},{"photo_id":"1329574022","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329574012":["hashtag1","hashtag2"]},{"1329574009":["hashtag1","hashtag2"]},{"1329574026":["hashtag1","hashtag2"]},{"1329574037":["hashtag1","hashtag2"]},{"1329574022":["hashtag1","hashtag2"]},{"1329574016":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329574012, 1329574009, 1329574026, 1329574037, 1329574022, 1329574016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.806471824645996 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 22:18:21.883217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/45/image_17012025_18_45_40_5334.jpg', '/media/data/images/17012025/18/45/image_17012025_18_45_35_6573.jpg', '/media/data/images/17012025/18/45/image_17012025_18_45_28_6576.jpg', '/media/data/images/17012025/18/45/image_17012025_18_45_16_6576.jpg', '/media/data/images/17012025/18/44/image_17012025_18_45_04_6585.jpg', '/media/data/images/17012025/18/44/image_17012025_18_44_58_5335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/45/image_17012025_18_45_40_5334.jpg
/media/data/images/17012025/18/45/image_17012025_18_45_35_6573.jpg
/media/data/images/17012025/18/45/image_17012025_18_45_28_6576.jpg
/media/data/images/17012025/18/45/image_17012025_18_45_16_6576.jpg
/media/data/images/17012025/18/44/image_17012025_18_45_04_6585.jpg
/media/data/images/17012025/18/44/image_17012025_18_44_58_5335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329574095","1329574110","1329574145","1329574115","1329574103","1329574138"],"photo_ids_order":["1329574095","1329574103","1329574110","1329574115","1329574138","1329574145"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4e0d29fbdc411c34cc2609ff27f8a8be.jpg","text":"TemporaryFile(/tmp/multipartBody7123387275935009594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148779574,"filename":"image_17012025_18_45_40_5334.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/843344a4a82d36b9b48940830aa00656.jpg","text":"TemporaryFile(/tmp/multipartBody3804548792752892322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148779574,"filename":"image_17012025_18_45_28_6576.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/00648a56268b1e1fd579edfd92273d2c.jpg","text":"TemporaryFile(/tmp/multipartBody4122147200027146906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148779574,"filename":"image_17012025_18_44_58_5335.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2a5528fd0465ac83d7d3089430ac7c11.jpg","text":"TemporaryFile(/tmp/multipartBody4429980255119386272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148779574,"filename":"image_17012025_18_45_16_6576.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/242db1f6ead316cf176f50dffb5138dd.jpg","text":"TemporaryFile(/tmp/multipartBody4044519350955338244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148779574,"filename":"image_17012025_18_45_35_6573.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ef259ff39c4cb74e21d5e0d37cbaab38.jpg","text":"TemporaryFile(/tmp/multipartBody2131792456015613694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148779574,"filename":"image_17012025_18_45_04_6585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329574110","file1":"1329574103","file0":"1329574095","file4":"1329574138","file5":"1329574145","file3":"1329574115"},"map_files_photo_id_array":[{"photo_id":"1329574145","filename":"file5"},{"photo_id":"1329574110","filename":"file2"},{"photo_id":"1329574138","filename":"file4"},{"photo_id":"1329574103","filename":"file1"},{"photo_id":"1329574095","filename":"file0"},{"photo_id":"1329574115","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329574095":["hashtag1","hashtag2"]},{"1329574110":["hashtag1","hashtag2"]},{"1329574145":["hashtag1","hashtag2"]},{"1329574115":["hashtag1","hashtag2"]},{"1329574103":["hashtag1","hashtag2"]},{"1329574138":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329574095, 1329574110, 1329574145, 1329574115, 1329574103, 1329574138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.29493427276611 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 22:19:22.025949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/44/image_17012025_18_44_53_6579.jpg', '/media/data/images/17012025/18/44/image_17012025_18_44_41_6580.jpg', '/media/data/images/17012025/18/44/image_17012025_18_44_29_6604.jpg', '/media/data/images/17012025/18/44/image_17012025_18_44_22_5368.jpg', '/media/data/images/17012025/18/44/image_17012025_18_44_05_6426.jpg', '/media/data/images/17012025/18/43/image_17012025_18_43_58_6582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/44/image_17012025_18_44_53_6579.jpg
/media/data/images/17012025/18/44/image_17012025_18_44_41_6580.jpg
/media/data/images/17012025/18/44/image_17012025_18_44_29_6604.jpg
/media/data/images/17012025/18/44/image_17012025_18_44_22_5368.jpg
/media/data/images/17012025/18/44/image_17012025_18_44_05_6426.jpg
/media/data/images/17012025/18/43/image_17012025_18_43_58_6582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329574194","1329574191","1329574164","1329574187","1329574172","1329574184"],"photo_ids_order":["1329574164","1329574172","1329574184","1329574187","1329574191","1329574194"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4668dcd21f0cbff7001a21c9da8b0647.jpg","text":"TemporaryFile(/tmp/multipartBody7925877597441907146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148837022,"filename":"image_17012025_18_43_58_6582.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a0ac2d096a0cc23ca48b018cf3be8479.jpg","text":"TemporaryFile(/tmp/multipartBody2482246769449716154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148837022,"filename":"image_17012025_18_44_05_6426.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6fedd03ac8f1c907bed72cf6d22dfa83.jpg","text":"TemporaryFile(/tmp/multipartBody6123431224360000722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148837022,"filename":"image_17012025_18_44_53_6579.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/baef689e1a4bc315db334196ec240885.jpg","text":"TemporaryFile(/tmp/multipartBody225965131136304418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148837022,"filename":"image_17012025_18_44_22_5368.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f37f05adae0efc96694f53dd829e8955.jpg","text":"TemporaryFile(/tmp/multipartBody2290377924728274466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148837022,"filename":"image_17012025_18_44_41_6580.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4971c29b8bb2d7ee14f09eb7adff8f81.jpg","text":"TemporaryFile(/tmp/multipartBody3010827218458183393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148837022,"filename":"image_17012025_18_44_29_6604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329574184","file1":"1329574172","file0":"1329574164","file4":"1329574191","file5":"1329574194","file3":"1329574187"},"map_files_photo_id_array":[{"photo_id":"1329574194","filename":"file5"},{"photo_id":"1329574184","filename":"file2"},{"photo_id":"1329574191","filename":"file4"},{"photo_id":"1329574172","filename":"file1"},{"photo_id":"1329574164","filename":"file0"},{"photo_id":"1329574187","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329574194":["hashtag1","hashtag2"]},{"1329574191":["hashtag1","hashtag2"]},{"1329574164":["hashtag1","hashtag2"]},{"1329574187":["hashtag1","hashtag2"]},{"1329574172":["hashtag1","hashtag2"]},{"1329574184":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329574194, 1329574191, 1329574164, 1329574187, 1329574172, 1329574184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.131110191345215 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 22:20:22.164221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/43/image_17012025_18_43_40_5336.jpg', '/media/data/images/17012025/18/43/image_17012025_18_43_34_6584.jpg', '/media/data/images/17012025/18/43/image_17012025_18_43_22_6654.jpg', '/media/data/images/17012025/18/43/image_17012025_18_43_10_6599.jpg', '/media/data/images/17012025/18/43/image_17012025_18_43_04_5117.jpg', '/media/data/images/17012025/18/42/image_17012025_18_42_59_6612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/43/image_17012025_18_43_40_5336.jpg
/media/data/images/17012025/18/43/image_17012025_18_43_34_6584.jpg
/media/data/images/17012025/18/43/image_17012025_18_43_22_6654.jpg
/media/data/images/17012025/18/43/image_17012025_18_43_10_6599.jpg
/media/data/images/17012025/18/43/image_17012025_18_43_04_5117.jpg
/media/data/images/17012025/18/42/image_17012025_18_42_59_6612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329574263","1329574256","1329574259","1329574226","1329574246","1329574231"],"photo_ids_order":["1329574226","1329574231","1329574246","1329574256","1329574259","1329574263"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/df7a0eff4615490871c6b6043065a763.jpg","text":"TemporaryFile(/tmp/multipartBody6679141956520365406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148900584,"filename":"image_17012025_18_42_59_6612.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/18d1e2d7ce3655f2412d1d4a978be5c1.jpg","text":"TemporaryFile(/tmp/multipartBody6455340359894590238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148900584,"filename":"image_17012025_18_43_10_6599.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0b1116a8a02d6c9bf7c931148fe6384c.jpg","text":"TemporaryFile(/tmp/multipartBody3170162671666359497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148900584,"filename":"image_17012025_18_43_04_5117.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e7f13c9fdb84f542dd08f37ace1a8381.jpg","text":"TemporaryFile(/tmp/multipartBody2440631496490022931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148900584,"filename":"image_17012025_18_43_40_5336.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5f9aff759a1c52511a7b56cb90d93a79.jpg","text":"TemporaryFile(/tmp/multipartBody1962533553417906898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148900584,"filename":"image_17012025_18_43_22_6654.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4232a1dcab51f90b2127031cd74f0182.jpg","text":"TemporaryFile(/tmp/multipartBody8731382976327438769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148900584,"filename":"image_17012025_18_43_34_6584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329574246","file1":"1329574231","file0":"1329574226","file4":"1329574259","file5":"1329574263","file3":"1329574256"},"map_files_photo_id_array":[{"photo_id":"1329574263","filename":"file5"},{"photo_id":"1329574246","filename":"file2"},{"photo_id":"1329574259","filename":"file4"},{"photo_id":"1329574231","filename":"file1"},{"photo_id":"1329574226","filename":"file0"},{"photo_id":"1329574256","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329574263":["hashtag1","hashtag2"]},{"1329574256":["hashtag1","hashtag2"]},{"1329574259":["hashtag1","hashtag2"]},{"1329574226":["hashtag1","hashtag2"]},{"1329574246":["hashtag1","hashtag2"]},{"1329574231":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329574263, 1329574256, 1329574259, 1329574226, 1329574246, 1329574231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.773892402648926 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 22:21:22.299171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/42/image_17012025_18_42_47_6706.jpg', '/media/data/images/17012025/18/42/image_17012025_18_42_28_5334.jpg', '/media/data/images/17012025/18/42/image_17012025_18_42_23_6574.jpg', '/media/data/images/17012025/18/42/image_17012025_18_42_16_6590.jpg', '/media/data/images/17012025/18/42/image_17012025_18_42_10_5350.jpg', '/media/data/images/17012025/18/41/image_17012025_18_42_04_6663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/42/image_17012025_18_42_47_6706.jpg
/media/data/images/17012025/18/42/image_17012025_18_42_28_5334.jpg
/media/data/images/17012025/18/42/image_17012025_18_42_23_6574.jpg
/media/data/images/17012025/18/42/image_17012025_18_42_16_6590.jpg
/media/data/images/17012025/18/42/image_17012025_18_42_10_5350.jpg
/media/data/images/17012025/18/41/image_17012025_18_42_04_6663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329575079","1329574466","1329574850","1329574673","1329575251","1329574285"],"photo_ids_order":["1329574285","1329574466","1329574673","1329574850","1329575079","1329575251"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/aef9c2a33a608afcc5425b70f7b8dd3b.jpg","text":"TemporaryFile(/tmp/multipartBody907620048005325937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148959985,"filename":"image_17012025_18_42_10_5350.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d32ba5906842c81c1752fc4a6f37072b.jpg","text":"TemporaryFile(/tmp/multipartBody4288392741662327821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148959985,"filename":"image_17012025_18_42_28_5334.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/981b9e68c980522f1493ad730992c7d5.jpg","text":"TemporaryFile(/tmp/multipartBody8782278050317326030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148959985,"filename":"image_17012025_18_42_16_6590.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f5ae33c68695e2fec08d9970da5a1686.jpg","text":"TemporaryFile(/tmp/multipartBody2805861838448847818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148959985,"filename":"image_17012025_18_42_23_6574.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f319edaaab6cb3b259b3fc0be01a85ba.jpg","text":"TemporaryFile(/tmp/multipartBody5687076682167406755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148959985,"filename":"image_17012025_18_42_04_6663.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e79f46cd5e0d890083bdbda9d66d0ed2.jpg","text":"TemporaryFile(/tmp/multipartBody8514014293566682019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737148959985,"filename":"image_17012025_18_42_47_6706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329574673","file1":"1329574466","file0":"1329574285","file4":"1329575079","file5":"1329575251","file3":"1329574850"},"map_files_photo_id_array":[{"photo_id":"1329575251","filename":"file5"},{"photo_id":"1329574673","filename":"file2"},{"photo_id":"1329575079","filename":"file4"},{"photo_id":"1329574466","filename":"file1"},{"photo_id":"1329574285","filename":"file0"},{"photo_id":"1329574850","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329575079":["hashtag1","hashtag2"]},{"1329574466":["hashtag1","hashtag2"]},{"1329574850":["hashtag1","hashtag2"]},{"1329574673":["hashtag1","hashtag2"]},{"1329575251":["hashtag1","hashtag2"]},{"1329574285":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329575079, 1329574466, 1329574850, 1329574673, 1329575251, 1329574285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.237114667892456 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 22:22:22.429565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/41/image_17012025_18_41_52_6582.jpg', '/media/data/images/17012025/18/41/image_17012025_18_41_40_6608.jpg', '/media/data/images/17012025/18/41/image_17012025_18_41_34_5331.jpg', '/media/data/images/17012025/18/41/image_17012025_18_41_17_6612.jpg', '/media/data/images/17012025/18/40/image_17012025_18_41_05_6750.jpg', '/media/data/images/17012025/18/40/image_17012025_18_40_58_5369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/41/image_17012025_18_41_52_6582.jpg
/media/data/images/17012025/18/41/image_17012025_18_41_40_6608.jpg
/media/data/images/17012025/18/41/image_17012025_18_41_34_5331.jpg
/media/data/images/17012025/18/41/image_17012025_18_41_17_6612.jpg
/media/data/images/17012025/18/40/image_17012025_18_41_05_6750.jpg
/media/data/images/17012025/18/40/image_17012025_18_40_58_5369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329575277","1329575294","1329575287","1329575290","1329575284","1329575280"],"photo_ids_order":["1329575277","1329575280","1329575284","1329575287","1329575290","1329575294"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/374b9fdb8fb34c854d3f5566dacf1c8f.jpg","text":"TemporaryFile(/tmp/multipartBody7372233728469928332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149015527,"filename":"image_17012025_18_41_52_6582.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6c1e43a6daa41659477da42a294bc62c.jpg","text":"TemporaryFile(/tmp/multipartBody7715693576061776113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149015527,"filename":"image_17012025_18_40_58_5369.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/81c216112e81aed0dead5181a60c70e4.jpg","text":"TemporaryFile(/tmp/multipartBody2759557820943827850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149015527,"filename":"image_17012025_18_41_17_6612.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/22ce5f0bdbf5727e9b55c87714a51e15.jpg","text":"TemporaryFile(/tmp/multipartBody3327839841606389350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149015527,"filename":"image_17012025_18_41_05_6750.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2c6d9daa866a87263376d8924a30cf84.jpg","text":"TemporaryFile(/tmp/multipartBody228209977715253910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149015527,"filename":"image_17012025_18_41_34_5331.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cf575707548766004e2c2b98b98297dd.jpg","text":"TemporaryFile(/tmp/multipartBody8785330414019123019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149015527,"filename":"image_17012025_18_41_40_6608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329575284","file1":"1329575280","file0":"1329575277","file4":"1329575290","file5":"1329575294","file3":"1329575287"},"map_files_photo_id_array":[{"photo_id":"1329575294","filename":"file5"},{"photo_id":"1329575284","filename":"file2"},{"photo_id":"1329575290","filename":"file4"},{"photo_id":"1329575280","filename":"file1"},{"photo_id":"1329575277","filename":"file0"},{"photo_id":"1329575287","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329575277":["hashtag1","hashtag2"]},{"1329575294":["hashtag1","hashtag2"]},{"1329575287":["hashtag1","hashtag2"]},{"1329575290":["hashtag1","hashtag2"]},{"1329575284":["hashtag1","hashtag2"]},{"1329575280":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329575277, 1329575294, 1329575287, 1329575290, 1329575284, 1329575280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.31002759933472 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 22:23:22.555298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/40/image_17012025_18_40_52_6613.jpg', '/media/data/images/17012025/18/40/image_17012025_18_40_28_6606.jpg', '/media/data/images/17012025/18/40/image_17012025_18_40_22_5335.jpg', '/media/data/images/17012025/18/40/image_17012025_18_40_17_6580.jpg', '/media/data/images/17012025/18/40/image_17012025_18_40_10_5372.jpg', '/media/data/images/17012025/18/39/image_17012025_18_40_05_6797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/40/image_17012025_18_40_52_6613.jpg
/media/data/images/17012025/18/40/image_17012025_18_40_28_6606.jpg
/media/data/images/17012025/18/40/image_17012025_18_40_22_5335.jpg
/media/data/images/17012025/18/40/image_17012025_18_40_17_6580.jpg
/media/data/images/17012025/18/40/image_17012025_18_40_10_5372.jpg
/media/data/images/17012025/18/39/image_17012025_18_40_05_6797.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329575783","1329575709","1329575771","1329575705","1329575621","1329575713"],"photo_ids_order":["1329575621","1329575705","1329575709","1329575713","1329575771","1329575783"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/de68896491669216cb3e7ddd7c5e096d.jpg","text":"TemporaryFile(/tmp/multipartBody160590328621246964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149080680,"filename":"image_17012025_18_40_05_6797.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fd6185f4f38e238ad7ed2275ace5ab31.jpg","text":"TemporaryFile(/tmp/multipartBody1718586143876933446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149080680,"filename":"image_17012025_18_40_22_5335.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/891d075aa386d2d56b423aa60710033d.jpg","text":"TemporaryFile(/tmp/multipartBody4626300365716588812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149080680,"filename":"image_17012025_18_40_10_5372.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c2bf71464e2a1ac795dbe3ca8d442316.jpg","text":"TemporaryFile(/tmp/multipartBody8466871818478753006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149080680,"filename":"image_17012025_18_40_28_6606.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/05c17f649d05f7c30748c90e295c29dd.jpg","text":"TemporaryFile(/tmp/multipartBody2905361651995600504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149080680,"filename":"image_17012025_18_40_52_6613.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/22eab6a334e03bb818d8d8d608d40cf2.jpg","text":"TemporaryFile(/tmp/multipartBody640069613261567993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149080680,"filename":"image_17012025_18_40_17_6580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329575709","file1":"1329575705","file0":"1329575621","file4":"1329575771","file5":"1329575783","file3":"1329575713"},"map_files_photo_id_array":[{"photo_id":"1329575783","filename":"file5"},{"photo_id":"1329575709","filename":"file2"},{"photo_id":"1329575771","filename":"file4"},{"photo_id":"1329575705","filename":"file1"},{"photo_id":"1329575621","filename":"file0"},{"photo_id":"1329575713","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329575783":["hashtag1","hashtag2"]},{"1329575709":["hashtag1","hashtag2"]},{"1329575771":["hashtag1","hashtag2"]},{"1329575705":["hashtag1","hashtag2"]},{"1329575621":["hashtag1","hashtag2"]},{"1329575713":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329575783, 1329575709, 1329575771, 1329575705, 1329575621, 1329575713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.022756814956665 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 22:24:22.768128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/39/image_17012025_18_39_58_5365.jpg', '/media/data/images/17012025/18/39/image_17012025_18_39_46_5336.jpg', '/media/data/images/17012025/18/39/image_17012025_18_39_22_5374.jpg', '/media/data/images/17012025/18/39/image_17012025_18_39_16_6626.jpg', '/media/data/images/17012025/18/39/image_17012025_18_39_10_5382.jpg', '/media/data/images/17012025/18/38/image_17012025_18_38_58_5363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/39/image_17012025_18_39_58_5365.jpg
/media/data/images/17012025/18/39/image_17012025_18_39_46_5336.jpg
/media/data/images/17012025/18/39/image_17012025_18_39_22_5374.jpg
/media/data/images/17012025/18/39/image_17012025_18_39_16_6626.jpg
/media/data/images/17012025/18/39/image_17012025_18_39_10_5382.jpg
/media/data/images/17012025/18/38/image_17012025_18_38_58_5363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329575936","1329575909","1329575938","1329575932","1329575941","1329575929"],"photo_ids_order":["1329575909","1329575929","1329575932","1329575936","1329575938","1329575941"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fff49004304bad5c7163eb648399f3a7.jpg","text":"TemporaryFile(/tmp/multipartBody4270981803643574817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149138196,"filename":"image_17012025_18_39_16_6626.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d0bbc0eaedf02e01c6e8daa8c9058681.jpg","text":"TemporaryFile(/tmp/multipartBody2360244221809749220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149138196,"filename":"image_17012025_18_39_58_5365.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0b009e4ce330d6202686804e8081e7a4.jpg","text":"TemporaryFile(/tmp/multipartBody1953706312103616609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149138196,"filename":"image_17012025_18_39_10_5382.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ae57f67c8034d942aa8b9a40d62247b2.jpg","text":"TemporaryFile(/tmp/multipartBody4487648455583851896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149138196,"filename":"image_17012025_18_39_22_5374.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/794f525d8b188789a4b86e99391a338c.jpg","text":"TemporaryFile(/tmp/multipartBody6199372455979699522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149138196,"filename":"image_17012025_18_38_58_5363.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e9cc90665338ed91f8b6f93bf66a0f4a.jpg","text":"TemporaryFile(/tmp/multipartBody4264984172383129608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149138196,"filename":"image_17012025_18_39_46_5336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329575932","file1":"1329575929","file0":"1329575909","file4":"1329575938","file5":"1329575941","file3":"1329575936"},"map_files_photo_id_array":[{"photo_id":"1329575941","filename":"file5"},{"photo_id":"1329575932","filename":"file2"},{"photo_id":"1329575938","filename":"file4"},{"photo_id":"1329575929","filename":"file1"},{"photo_id":"1329575909","filename":"file0"},{"photo_id":"1329575936","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329575936":["hashtag1","hashtag2"]},{"1329575909":["hashtag1","hashtag2"]},{"1329575938":["hashtag1","hashtag2"]},{"1329575932":["hashtag1","hashtag2"]},{"1329575941":["hashtag1","hashtag2"]},{"1329575929":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329575936, 1329575909, 1329575938, 1329575932, 1329575941, 1329575929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.641621112823486 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 22:25:21.828558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/38/image_17012025_18_38_52_6612.jpg', '/media/data/images/17012025/18/38/image_17012025_18_38_46_5363.jpg', '/media/data/images/17012025/18/38/image_17012025_18_38_40_6612.jpg', '/media/data/images/17012025/18/38/image_17012025_18_38_34_5364.jpg', '/media/data/images/17012025/18/38/image_17012025_18_38_22_5369.jpg', '/media/data/images/17012025/18/38/image_17012025_18_38_17_6583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/38/image_17012025_18_38_52_6612.jpg
/media/data/images/17012025/18/38/image_17012025_18_38_46_5363.jpg
/media/data/images/17012025/18/38/image_17012025_18_38_40_6612.jpg
/media/data/images/17012025/18/38/image_17012025_18_38_34_5364.jpg
/media/data/images/17012025/18/38/image_17012025_18_38_22_5369.jpg
/media/data/images/17012025/18/38/image_17012025_18_38_17_6583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329575978","1329575989","1329575971","1329575985","1329575973","1329575976"],"photo_ids_order":["1329575971","1329575973","1329575976","1329575978","1329575985","1329575989"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6090d6b93338e656ac77af59dd6745e4.jpg","text":"TemporaryFile(/tmp/multipartBody7179783513234320785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149193382,"filename":"image_17012025_18_38_34_5364.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/185dcb598a3099eaaf2875bb371adb3d.jpg","text":"TemporaryFile(/tmp/multipartBody8606394658738989189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149193382,"filename":"image_17012025_18_38_17_6583.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a5a31d122998f6944ee40dd2db87f2db.jpg","text":"TemporaryFile(/tmp/multipartBody6724892341196060811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149193382,"filename":"image_17012025_18_38_52_6612.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b3497c3ffe6f309eddfc7a32ea5ede7a.jpg","text":"TemporaryFile(/tmp/multipartBody3705446298008024741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149193382,"filename":"image_17012025_18_38_22_5369.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/63aed8731c2885fb27b589e565f7d993.jpg","text":"TemporaryFile(/tmp/multipartBody7269842008367989648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149193382,"filename":"image_17012025_18_38_46_5363.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1f2b11a78f4d8195cd5f26ce0f3c75d3.jpg","text":"TemporaryFile(/tmp/multipartBody8596827751029614949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149193382,"filename":"image_17012025_18_38_40_6612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329575976","file1":"1329575973","file0":"1329575971","file4":"1329575985","file5":"1329575989","file3":"1329575978"},"map_files_photo_id_array":[{"photo_id":"1329575989","filename":"file5"},{"photo_id":"1329575976","filename":"file2"},{"photo_id":"1329575985","filename":"file4"},{"photo_id":"1329575973","filename":"file1"},{"photo_id":"1329575971","filename":"file0"},{"photo_id":"1329575978","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329575978":["hashtag1","hashtag2"]},{"1329575989":["hashtag1","hashtag2"]},{"1329575971":["hashtag1","hashtag2"]},{"1329575985":["hashtag1","hashtag2"]},{"1329575973":["hashtag1","hashtag2"]},{"1329575976":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329575978, 1329575989, 1329575971, 1329575985, 1329575973, 1329575976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.99698615074158 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 22:26:21.926187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/37/image_17012025_18_37_46_5362.jpg', '/media/data/images/17012025/18/37/image_17012025_18_37_22_5335.jpg', '/media/data/images/17012025/18/37/image_17012025_18_37_10_6595.jpg', '/media/data/images/17012025/18/37/image_17012025_18_37_04_5115.jpg', '/media/data/images/17012025/18/36/image_17012025_18_36_59_6574.jpg', '/media/data/images/17012025/18/36/image_17012025_18_36_47_6575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/37/image_17012025_18_37_46_5362.jpg
/media/data/images/17012025/18/37/image_17012025_18_37_22_5335.jpg
/media/data/images/17012025/18/37/image_17012025_18_37_10_6595.jpg
/media/data/images/17012025/18/37/image_17012025_18_37_04_5115.jpg
/media/data/images/17012025/18/36/image_17012025_18_36_59_6574.jpg
/media/data/images/17012025/18/36/image_17012025_18_36_47_6575.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":["1329576086","1329576059","1329576074","1329576101","1329576110","1329576093"],"photo_ids_order":["1329576059","1329576074","1329576086","1329576093","1329576101","1329576110"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/89611ce4a05e79e68981f95e05ed074e.jpg","text":"TemporaryFile(/tmp/multipartBody5734922071331875894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149268526,"filename":"image_17012025_18_37_10_6595.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/01bd5aa87f8e51eab6fa940e9d225263.jpg","text":"TemporaryFile(/tmp/multipartBody5348016902265712471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149268526,"filename":"image_17012025_18_37_46_5362.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f535fe39af560f214dd67740b4dadd96.jpg","text":"TemporaryFile(/tmp/multipartBody7735424044896821576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149268526,"filename":"image_17012025_18_37_22_5335.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7870f346f0d40226db101dea7912a9f9.jpg","text":"TemporaryFile(/tmp/multipartBody6202419876569580691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149268526,"filename":"image_17012025_18_36_59_6574.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/68d8ffa8e0e1ed2100345cd1f12481bb.jpg","text":"TemporaryFile(/tmp/multipartBody3466618282725766028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149268526,"filename":"image_17012025_18_36_47_6575.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b5349820c5b1afb4b88623e9727bb1ce.jpg","text":"TemporaryFile(/tmp/multipartBody2268690481240281303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149268526,"filename":"image_17012025_18_37_04_5115.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329576086","file1":"1329576074","file0":"1329576059","file4":"1329576101","file5":"1329576110","file3":"1329576093"},"map_files_photo_id_array":[{"photo_id":"1329576110","filename":"file5"},{"photo_id":"1329576086","filename":"file2"},{"photo_id":"1329576101","filename":"file4"},{"photo_id":"1329576074","filename":"file1"},{"photo_id":"1329576059","filename":"file0"},{"photo_id":"1329576093","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329576086":["hashtag1","hashtag2"]},{"1329576059":["hashtag1","hashtag2"]},{"1329576074":["hashtag1","hashtag2"]},{"1329576101":["hashtag1","hashtag2"]},{"1329576110":["hashtag1","hashtag2"]},{"1329576093":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329576086, 1329576059, 1329576074, 1329576101, 1329576110, 1329576093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.6919915676117 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 22:27:42.094076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/36/image_17012025_18_36_40_5335.jpg', '/media/data/images/17012025/18/36/image_17012025_18_36_23_6576.jpg', '/media/data/images/17012025/18/36/image_17012025_18_36_16_6574.jpg', '/media/data/images/17012025/18/35/image_17012025_18_35_52_6608.jpg', '/media/data/images/17012025/18/35/image_17012025_18_35_46_5363.jpg', '/media/data/images/17012025/18/35/image_17012025_18_35_28_6589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/36/image_17012025_18_36_40_5335.jpg
/media/data/images/17012025/18/36/image_17012025_18_36_23_6576.jpg
/media/data/images/17012025/18/36/image_17012025_18_36_16_6574.jpg
/media/data/images/17012025/18/35/image_17012025_18_35_52_6608.jpg
/media/data/images/17012025/18/35/image_17012025_18_35_46_5363.jpg
/media/data/images/17012025/18/35/image_17012025_18_35_28_6589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329576161","1329576167","1329576175","1329576195","1329576171","1329576180"],"photo_ids_order":["1329576161","1329576167","1329576171","1329576175","1329576180","1329576195"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/de62dd0f31b87a0ec5fa0ecc53097bbe.jpg","text":"TemporaryFile(/tmp/multipartBody7915834546124520986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149339244,"filename":"image_17012025_18_36_40_5335.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/677c5b6d8320f4dd49344516ae1b002f.jpg","text":"TemporaryFile(/tmp/multipartBody4391620128460608773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149339244,"filename":"image_17012025_18_36_23_6576.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/98829e5f857df320f6bd83b8e40d55a0.jpg","text":"TemporaryFile(/tmp/multipartBody2599212768997298311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149339244,"filename":"image_17012025_18_35_52_6608.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a4e2b81b7a20efbf166b920f430108cc.jpg","text":"TemporaryFile(/tmp/multipartBody2924145290986082521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149339244,"filename":"image_17012025_18_35_28_6589.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cc3236ed5dda888aa75607bebe31d431.jpg","text":"TemporaryFile(/tmp/multipartBody4393419372848500903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149339244,"filename":"image_17012025_18_36_16_6574.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a2eefb0df9a156e4c86d7ad4f7d73ff6.jpg","text":"TemporaryFile(/tmp/multipartBody6418864521928666695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149339244,"filename":"image_17012025_18_35_46_5363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329576171","file1":"1329576167","file0":"1329576161","file4":"1329576180","file5":"1329576195","file3":"1329576175"},"map_files_photo_id_array":[{"photo_id":"1329576195","filename":"file5"},{"photo_id":"1329576171","filename":"file2"},{"photo_id":"1329576180","filename":"file4"},{"photo_id":"1329576167","filename":"file1"},{"photo_id":"1329576161","filename":"file0"},{"photo_id":"1329576175","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329576161":["hashtag1","hashtag2"]},{"1329576167":["hashtag1","hashtag2"]},{"1329576175":["hashtag1","hashtag2"]},{"1329576195":["hashtag1","hashtag2"]},{"1329576171":["hashtag1","hashtag2"]},{"1329576180":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329576161, 1329576167, 1329576175, 1329576195, 1329576171, 1329576180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.344422817230225 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 22:28:42.233038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/35/image_17012025_18_35_16_6575.jpg', '/media/data/images/17012025/18/34/image_17012025_18_35_05_6579.jpg', '/media/data/images/17012025/18/34/image_17012025_18_34_58_5334.jpg', '/media/data/images/17012025/18/34/image_17012025_18_34_53_6574.jpg', '/media/data/images/17012025/18/34/image_17012025_18_34_46_5338.jpg', '/media/data/images/17012025/18/34/image_17012025_18_34_41_6577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/35/image_17012025_18_35_16_6575.jpg
/media/data/images/17012025/18/34/image_17012025_18_35_05_6579.jpg
/media/data/images/17012025/18/34/image_17012025_18_34_58_5334.jpg
/media/data/images/17012025/18/34/image_17012025_18_34_53_6574.jpg
/media/data/images/17012025/18/34/image_17012025_18_34_46_5338.jpg
/media/data/images/17012025/18/34/image_17012025_18_34_41_6577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329576959","1329577048","1329576769","1329576864","1329577247","1329577148"],"photo_ids_order":["1329576769","1329576864","1329576959","1329577048","1329577148","1329577247"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dd0edd05514e5fba876ccc3976c95849.jpg","text":"TemporaryFile(/tmp/multipartBody4395621257090129413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149395772,"filename":"image_17012025_18_34_58_5334.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7f7c6724d46e90eaa549ba88f61d23cb.jpg","text":"TemporaryFile(/tmp/multipartBody7985191663969612144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149395772,"filename":"image_17012025_18_34_53_6574.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d282692323b1dca28520627e7cbd1ef8.jpg","text":"TemporaryFile(/tmp/multipartBody7031836882227834102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149395772,"filename":"image_17012025_18_35_16_6575.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0f56c506b7fa0192fb631fb40bdeedf3.jpg","text":"TemporaryFile(/tmp/multipartBody7947489563376487179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149395772,"filename":"image_17012025_18_35_05_6579.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2f1868e0058778f3f15a207926138141.jpg","text":"TemporaryFile(/tmp/multipartBody4912620829641877250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149395772,"filename":"image_17012025_18_34_41_6577.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9fe32dec20623655daa1b2fe661b56f7.jpg","text":"TemporaryFile(/tmp/multipartBody4764215916610481562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149395772,"filename":"image_17012025_18_34_46_5338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329576959","file1":"1329576864","file0":"1329576769","file4":"1329577148","file5":"1329577247","file3":"1329577048"},"map_files_photo_id_array":[{"photo_id":"1329577247","filename":"file5"},{"photo_id":"1329576959","filename":"file2"},{"photo_id":"1329577148","filename":"file4"},{"photo_id":"1329576864","filename":"file1"},{"photo_id":"1329576769","filename":"file0"},{"photo_id":"1329577048","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329576959":["hashtag1","hashtag2"]},{"1329577048":["hashtag1","hashtag2"]},{"1329576769":["hashtag1","hashtag2"]},{"1329576864":["hashtag1","hashtag2"]},{"1329577247":["hashtag1","hashtag2"]},{"1329577148":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329576959, 1329577048, 1329576769, 1329576864, 1329577247, 1329577148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.82394099235535 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 22:29:42.405348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/34/image_17012025_18_34_34_5335.jpg', '/media/data/images/17012025/18/34/image_17012025_18_34_29_6578.jpg', '/media/data/images/17012025/18/34/image_17012025_18_34_17_6572.jpg', '/media/data/images/17012025/18/33/image_17012025_18_33_52_5361.jpg', '/media/data/images/17012025/18/33/image_17012025_18_33_46_6608.jpg', '/media/data/images/17012025/18/33/image_17012025_18_33_40_5363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/34/image_17012025_18_34_34_5335.jpg
/media/data/images/17012025/18/34/image_17012025_18_34_29_6578.jpg
/media/data/images/17012025/18/34/image_17012025_18_34_17_6572.jpg
/media/data/images/17012025/18/33/image_17012025_18_33_52_5361.jpg
/media/data/images/17012025/18/33/image_17012025_18_33_46_6608.jpg
/media/data/images/17012025/18/33/image_17012025_18_33_40_5363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329577865","1329577844","1329577820","1329577870","1329577855","1329577822"],"photo_ids_order":["1329577820","1329577822","1329577844","1329577855","1329577865","1329577870"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fdb6b745af0a9fa23e98a1f3ddcbda16.jpg","text":"TemporaryFile(/tmp/multipartBody6395752789813027089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149455953,"filename":"image_17012025_18_33_46_6608.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/89a721280ab6292477deff8433298243.jpg","text":"TemporaryFile(/tmp/multipartBody5134777597218833772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149455953,"filename":"image_17012025_18_34_17_6572.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5fc5b38769ad78ac91062c24fcf3e83f.jpg","text":"TemporaryFile(/tmp/multipartBody1421918341438319675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149455953,"filename":"image_17012025_18_34_34_5335.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/53ca6cd37c12e3f53550066a2219ddaf.jpg","text":"TemporaryFile(/tmp/multipartBody4991850942959219705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149455953,"filename":"image_17012025_18_33_40_5363.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7afb7e41f2abc596eb38f9e6068bc837.jpg","text":"TemporaryFile(/tmp/multipartBody4475665272014485231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149455953,"filename":"image_17012025_18_33_52_5361.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b0a7d2c7b679e7e6dbf1ab52fb9fa097.jpg","text":"TemporaryFile(/tmp/multipartBody4547766356988598530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149455953,"filename":"image_17012025_18_34_29_6578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329577844","file1":"1329577822","file0":"1329577820","file4":"1329577865","file5":"1329577870","file3":"1329577855"},"map_files_photo_id_array":[{"photo_id":"1329577870","filename":"file5"},{"photo_id":"1329577844","filename":"file2"},{"photo_id":"1329577865","filename":"file4"},{"photo_id":"1329577822","filename":"file1"},{"photo_id":"1329577820","filename":"file0"},{"photo_id":"1329577855","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329577865":["hashtag1","hashtag2"]},{"1329577844":["hashtag1","hashtag2"]},{"1329577820":["hashtag1","hashtag2"]},{"1329577870":["hashtag1","hashtag2"]},{"1329577855":["hashtag1","hashtag2"]},{"1329577822":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329577865, 1329577844, 1329577820, 1329577870, 1329577855, 1329577822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.083168268203735 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 22:30:42.521773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/33/image_17012025_18_33_34_6612.jpg', '/media/data/images/17012025/18/33/image_17012025_18_33_28_5365.jpg', '/media/data/images/17012025/18/33/image_17012025_18_33_23_6609.jpg', '/media/data/images/17012025/18/33/image_17012025_18_33_11_6589.jpg', '/media/data/images/17012025/18/32/image_17012025_18_32_59_6574.jpg', '/media/data/images/17012025/18/32/image_17012025_18_32_52_6575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/33/image_17012025_18_33_34_6612.jpg
/media/data/images/17012025/18/33/image_17012025_18_33_28_5365.jpg
/media/data/images/17012025/18/33/image_17012025_18_33_23_6609.jpg
/media/data/images/17012025/18/33/image_17012025_18_33_11_6589.jpg
/media/data/images/17012025/18/32/image_17012025_18_32_59_6574.jpg
/media/data/images/17012025/18/32/image_17012025_18_32_52_6575.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329577927","1329578187","1329578349","1329578262","1329578103","1329578016"],"photo_ids_order":["1329577927","1329578016","1329578103","1329578187","1329578262","1329578349"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fb356f75c66a5972216f3e63b2b6b029.jpg","text":"TemporaryFile(/tmp/multipartBody3607536182888011657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149517849,"filename":"image_17012025_18_33_34_6612.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4e649011d2686e3dcbba858bf91d49d3.jpg","text":"TemporaryFile(/tmp/multipartBody2979725162325753775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149517849,"filename":"image_17012025_18_33_11_6589.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bde57fdc19ed58ca9671c36c05fdebe4.jpg","text":"TemporaryFile(/tmp/multipartBody481844141559231693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149517849,"filename":"image_17012025_18_32_52_6575.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8e93a01da208602fb69c47d46f4b579d.jpg","text":"TemporaryFile(/tmp/multipartBody4872607157640239772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149517849,"filename":"image_17012025_18_32_59_6574.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4a173532c74a86a4ed2924f5137687e8.jpg","text":"TemporaryFile(/tmp/multipartBody6374146316397206742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149517849,"filename":"image_17012025_18_33_23_6609.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ff16a34dd91b5b7b10663ec90d53d1c8.jpg","text":"TemporaryFile(/tmp/multipartBody7432415710700664187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149517849,"filename":"image_17012025_18_33_28_5365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329578103","file1":"1329578016","file0":"1329577927","file4":"1329578262","file5":"1329578349","file3":"1329578187"},"map_files_photo_id_array":[{"photo_id":"1329578349","filename":"file5"},{"photo_id":"1329578103","filename":"file2"},{"photo_id":"1329578262","filename":"file4"},{"photo_id":"1329578016","filename":"file1"},{"photo_id":"1329577927","filename":"file0"},{"photo_id":"1329578187","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329577927":["hashtag1","hashtag2"]},{"1329578187":["hashtag1","hashtag2"]},{"1329578349":["hashtag1","hashtag2"]},{"1329578262":["hashtag1","hashtag2"]},{"1329578103":["hashtag1","hashtag2"]},{"1329578016":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329577927, 1329578187, 1329578349, 1329578262, 1329578103, 1329578016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.94657778739929 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 22:31:42.645697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/32/image_17012025_18_32_46_5335.jpg', '/media/data/images/17012025/18/32/image_17012025_18_32_40_6583.jpg', '/media/data/images/17012025/18/32/image_17012025_18_32_34_5369.jpg', '/media/data/images/17012025/18/32/image_17012025_18_32_10_5354.jpg', '/media/data/images/17012025/18/31/image_17012025_18_32_05_6681.jpg', '/media/data/images/17012025/18/31/image_17012025_18_31_58_5364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/32/image_17012025_18_32_46_5335.jpg
/media/data/images/17012025/18/32/image_17012025_18_32_40_6583.jpg
/media/data/images/17012025/18/32/image_17012025_18_32_34_5369.jpg
/media/data/images/17012025/18/32/image_17012025_18_32_10_5354.jpg
/media/data/images/17012025/18/31/image_17012025_18_32_05_6681.jpg
/media/data/images/17012025/18/31/image_17012025_18_31_58_5364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329578899","1329579406","1329579360","1329579227","1329579113","1329578998"],"photo_ids_order":["1329578899","1329578998","1329579113","1329579227","1329579360","1329579406"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/107eab5560e87b40a777fa1d7b02a77e.jpg","text":"TemporaryFile(/tmp/multipartBody5340695921131024571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149578549,"filename":"image_17012025_18_32_46_5335.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f122f6afbc9cd73dc14caab7af65c8db.jpg","text":"TemporaryFile(/tmp/multipartBody5435483648625962356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149578549,"filename":"image_17012025_18_31_58_5364.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8c3e7587ab10d3ea62605f1f2250735f.jpg","text":"TemporaryFile(/tmp/multipartBody2347508994353075897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149578549,"filename":"image_17012025_18_32_05_6681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/01bdafc19be0a732695d62ce652b1a04.jpg","text":"TemporaryFile(/tmp/multipartBody188611838888271461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149578549,"filename":"image_17012025_18_32_10_5354.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ad2f432ffe1286930f69f1af7d96d909.jpg","text":"TemporaryFile(/tmp/multipartBody2965203284380698639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149578549,"filename":"image_17012025_18_32_34_5369.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/52b351e9987f6646f7c8659827307ede.jpg","text":"TemporaryFile(/tmp/multipartBody8561333626538831566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149578549,"filename":"image_17012025_18_32_40_6583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329579113","file1":"1329578998","file0":"1329578899","file4":"1329579360","file5":"1329579406","file3":"1329579227"},"map_files_photo_id_array":[{"photo_id":"1329579406","filename":"file5"},{"photo_id":"1329579113","filename":"file2"},{"photo_id":"1329579360","filename":"file4"},{"photo_id":"1329578998","filename":"file1"},{"photo_id":"1329578899","filename":"file0"},{"photo_id":"1329579227","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329578899":["hashtag1","hashtag2"]},{"1329579406":["hashtag1","hashtag2"]},{"1329579360":["hashtag1","hashtag2"]},{"1329579227":["hashtag1","hashtag2"]},{"1329579113":["hashtag1","hashtag2"]},{"1329578998":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329578899, 1329579406, 1329579360, 1329579227, 1329579113, 1329578998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.30563998222351 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 22:32:41.762396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/31/image_17012025_18_31_46_5363.jpg', '/media/data/images/17012025/18/31/image_17012025_18_31_41_6615.jpg', '/media/data/images/17012025/18/31/image_17012025_18_31_34_5374.jpg', '/media/data/images/17012025/18/31/image_17012025_18_31_29_6620.jpg', '/media/data/images/17012025/18/31/image_17012025_18_31_22_5364.jpg', '/media/data/images/17012025/18/31/image_17012025_18_31_17_6567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/31/image_17012025_18_31_46_5363.jpg
/media/data/images/17012025/18/31/image_17012025_18_31_41_6615.jpg
/media/data/images/17012025/18/31/image_17012025_18_31_34_5374.jpg
/media/data/images/17012025/18/31/image_17012025_18_31_29_6620.jpg
/media/data/images/17012025/18/31/image_17012025_18_31_22_5364.jpg
/media/data/images/17012025/18/31/image_17012025_18_31_17_6567.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329579768","1329580044","1329579560","1329579617","1329579902","1329579574"],"photo_ids_order":["1329579560","1329579574","1329579617","1329579768","1329579902","1329580044"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/702ab1e421cc0c8932face233f4e6127.jpg","text":"TemporaryFile(/tmp/multipartBody7415472404245179344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149634419,"filename":"image_17012025_18_31_29_6620.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4ce537d084f6ea15ca7e024f611e6a67.jpg","text":"TemporaryFile(/tmp/multipartBody2646164683764443123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149634419,"filename":"image_17012025_18_31_17_6567.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bdbadd6c8dd5e63f523e3e8806b648f2.jpg","text":"TemporaryFile(/tmp/multipartBody8927350448668816337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149634419,"filename":"image_17012025_18_31_46_5363.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/eb6377d07617a0e7f68ba0d3cb287e2d.jpg","text":"TemporaryFile(/tmp/multipartBody1481599536882721728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149634419,"filename":"image_17012025_18_31_34_5374.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/412d771e5c4e8127750ae01fc37393bc.jpg","text":"TemporaryFile(/tmp/multipartBody1572844375485186954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149634419,"filename":"image_17012025_18_31_22_5364.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3bd11986c40c7c96b4e28a5f49674be9.jpg","text":"TemporaryFile(/tmp/multipartBody8412696237327115654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149634419,"filename":"image_17012025_18_31_41_6615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329579617","file1":"1329579574","file0":"1329579560","file4":"1329579902","file5":"1329580044","file3":"1329579768"},"map_files_photo_id_array":[{"photo_id":"1329580044","filename":"file5"},{"photo_id":"1329579617","filename":"file2"},{"photo_id":"1329579902","filename":"file4"},{"photo_id":"1329579574","filename":"file1"},{"photo_id":"1329579560","filename":"file0"},{"photo_id":"1329579768","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329579768":["hashtag1","hashtag2"]},{"1329580044":["hashtag1","hashtag2"]},{"1329579560":["hashtag1","hashtag2"]},{"1329579617":["hashtag1","hashtag2"]},{"1329579902":["hashtag1","hashtag2"]},{"1329579574":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329579768, 1329580044, 1329579560, 1329579617, 1329579902, 1329579574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.48344421386719 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 22:33:41.910520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/31/image_17012025_18_31_10_5378.jpg', '/media/data/images/17012025/18/30/image_17012025_18_31_05_6611.jpg', '/media/data/images/17012025/18/30/image_17012025_18_30_46_5364.jpg', '/media/data/images/17012025/18/30/image_17012025_18_30_41_6608.jpg', '/media/data/images/17012025/18/30/image_17012025_18_30_34_5336.jpg', '/media/data/images/17012025/18/30/image_17012025_18_30_29_6573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/31/image_17012025_18_31_10_5378.jpg
/media/data/images/17012025/18/30/image_17012025_18_31_05_6611.jpg
/media/data/images/17012025/18/30/image_17012025_18_30_46_5364.jpg
/media/data/images/17012025/18/30/image_17012025_18_30_41_6608.jpg
/media/data/images/17012025/18/30/image_17012025_18_30_34_5336.jpg
/media/data/images/17012025/18/30/image_17012025_18_30_29_6573.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: 16.474059581756592 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 22:34:02.223887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/31/image_17012025_18_31_10_5378.jpg', '/media/data/images/17012025/18/30/image_17012025_18_31_05_6611.jpg', '/media/data/images/17012025/18/30/image_17012025_18_30_46_5364.jpg', '/media/data/images/17012025/18/30/image_17012025_18_30_41_6608.jpg', '/media/data/images/17012025/18/30/image_17012025_18_30_34_5336.jpg', '/media/data/images/17012025/18/30/image_17012025_18_30_29_6573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/31/image_17012025_18_31_10_5378.jpg
/media/data/images/17012025/18/30/image_17012025_18_31_05_6611.jpg
/media/data/images/17012025/18/30/image_17012025_18_30_46_5364.jpg
/media/data/images/17012025/18/30/image_17012025_18_30_41_6608.jpg
/media/data/images/17012025/18/30/image_17012025_18_30_34_5336.jpg
/media/data/images/17012025/18/30/image_17012025_18_30_29_6573.jpg
2025-01-17 22:34:02.285042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/26/image_17012025_07_26_05_5494.jpg', '/media/data/images/17012025/07/26/image_17012025_07_26_23_6556.jpg', '/media/data/images/17012025/07/26/image_17012025_07_26_30_6549.jpg', '/media/data/images/17012025/07/26/image_17012025_07_26_35_5291.jpg', '/media/data/images/17012025/07/26/image_17012025_07_26_41_6521.jpg', '/media/data/images/17012025/07/26/image_17012025_07_26_47_5303.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/26/image_17012025_07_26_05_5494.jpg
/media/data/images/17012025/07/26/image_17012025_07_26_23_6556.jpg
/media/data/images/17012025/07/26/image_17012025_07_26_30_6549.jpg
/media/data/images/17012025/07/26/image_17012025_07_26_35_5291.jpg
/media/data/images/17012025/07/26/image_17012025_07_26_41_6521.jpg
/media/data/images/17012025/07/26/image_17012025_07_26_47_5303.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329580270","1329580275","1329580263","1329580266","1329580286","1329580280"],"photo_ids_order":["1329580263","1329580266","1329580270","1329580275","1329580280","1329580286"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2915216b214350f99e6bda49a1258cf8.jpg","text":"TemporaryFile(/tmp/multipartBody4582906337258498537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149725159,"filename":"image_17012025_18_30_46_5364.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/70311893649be33a7480c22945384b67.jpg","text":"TemporaryFile(/tmp/multipartBody7662285990148629008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149725159,"filename":"image_17012025_18_30_41_6608.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c25ab66349045e3d4d42baf24f84ce8e.jpg","text":"TemporaryFile(/tmp/multipartBody2632364845408700087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149725159,"filename":"image_17012025_18_31_10_5378.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b1045305356cbbcab723f7b04f723501.jpg","text":"TemporaryFile(/tmp/multipartBody2749529165293860705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149725159,"filename":"image_17012025_18_31_05_6611.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c065e201dc79c4fd3aea93c1f0c3e3ab.jpg","text":"TemporaryFile(/tmp/multipartBody2134062932686748297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149725159,"filename":"image_17012025_18_30_29_6573.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7102d2684cac39c2d56b588cf71650a1.jpg","text":"TemporaryFile(/tmp/multipartBody983756770939671552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149725159,"filename":"image_17012025_18_30_34_5336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329580270","file1":"1329580266","file0":"1329580263","file4":"1329580280","file5":"1329580286","file3":"1329580275"},"map_files_photo_id_array":[{"photo_id":"1329580286","filename":"file5"},{"photo_id":"1329580270","filename":"file2"},{"photo_id":"1329580280","filename":"file4"},{"photo_id":"1329580266","filename":"file1"},{"photo_id":"1329580263","filename":"file0"},{"photo_id":"1329580275","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329580270":["hashtag1","hashtag2"]},{"1329580275":["hashtag1","hashtag2"]},{"1329580263":["hashtag1","hashtag2"]},{"1329580266":["hashtag1","hashtag2"]},{"1329580286":["hashtag1","hashtag2"]},{"1329580280":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329580270, 1329580275, 1329580263, 1329580266, 1329580286, 1329580280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.334938049316406 secondes ---
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329580290","1329580269","1329580278","1329580283","1329580265","1329580274"],"photo_ids_order":["1329580265","1329580269","1329580274","1329580278","1329580283","1329580290"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fc8036641374ba89b29eb2aab882912b.jpg","text":"TemporaryFile(/tmp/multipartBody2012170516101754735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149729171,"filename":"image_17012025_07_26_47_5303.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5f5241148a36da369b20d9f79848d43a.jpg","text":"TemporaryFile(/tmp/multipartBody3359028983994196474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149729171,"filename":"image_17012025_07_26_23_6556.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e0d32fd13404e6b0d0709741d3044411.jpg","text":"TemporaryFile(/tmp/multipartBody1833910706286964355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149729171,"filename":"image_17012025_07_26_35_5291.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b652a5f061038e8f8acb72aa51525595.jpg","text":"TemporaryFile(/tmp/multipartBody665040283005674365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149729171,"filename":"image_17012025_07_26_41_6521.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a49007cda207cbba86ea25d5ee24ccb5.jpg","text":"TemporaryFile(/tmp/multipartBody3262518847522367485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149729171,"filename":"image_17012025_07_26_05_5494.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/553b6a3fbcb1bfe6cd9048be6c2c8b81.jpg","text":"TemporaryFile(/tmp/multipartBody3647274753167562819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149729171,"filename":"image_17012025_07_26_30_6549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329580274","file1":"1329580269","file0":"1329580265","file4":"1329580283","file5":"1329580290","file3":"1329580278"},"map_files_photo_id_array":[{"photo_id":"1329580290","filename":"file5"},{"photo_id":"1329580274","filename":"file2"},{"photo_id":"1329580283","filename":"file4"},{"photo_id":"1329580269","filename":"file1"},{"photo_id":"1329580265","filename":"file0"},{"photo_id":"1329580278","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329580290":["hashtag1","hashtag2"]},{"1329580269":["hashtag1","hashtag2"]},{"1329580278":["hashtag1","hashtag2"]},{"1329580283":["hashtag1","hashtag2"]},{"1329580265":["hashtag1","hashtag2"]},{"1329580274":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329580290, 1329580269, 1329580278, 1329580283, 1329580265, 1329580274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.97326445579529 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 22:35:22.170782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/30/image_17012025_18_30_17_6572.jpg', '/media/data/images/17012025/18/30/image_17012025_18_30_10_5352.jpg', '/media/data/images/17012025/18/30/image_17012025_18_30_05_6350.jpg', '/media/data/images/17012025/18/29/image_17012025_18_29_52_5330.jpg', '/media/data/images/17012025/18/29/image_17012025_18_29_47_6577.jpg', '/media/data/images/17012025/18/29/image_17012025_18_29_40_5335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/30/image_17012025_18_30_17_6572.jpg
/media/data/images/17012025/18/30/image_17012025_18_30_10_5352.jpg
/media/data/images/17012025/18/30/image_17012025_18_30_05_6350.jpg
/media/data/images/17012025/18/29/image_17012025_18_29_52_5330.jpg
/media/data/images/17012025/18/29/image_17012025_18_29_47_6577.jpg
/media/data/images/17012025/18/29/image_17012025_18_29_40_5335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329580363","1329580372","1329580354","1329580380","1329580350","1329580376"],"photo_ids_order":["1329580350","1329580354","1329580363","1329580372","1329580376","1329580380"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f046f149f4edb74c1dd96e4d4cf0811a.jpg","text":"TemporaryFile(/tmp/multipartBody7339063074178145108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149800869,"filename":"image_17012025_18_30_05_6350.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4f97540201d4cef6a4ea40a85c049ef4.jpg","text":"TemporaryFile(/tmp/multipartBody2867115968015520316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149800869,"filename":"image_17012025_18_29_52_5330.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e55eee034a05b1598cd961bcaa840921.jpg","text":"TemporaryFile(/tmp/multipartBody8483582499313967128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149800869,"filename":"image_17012025_18_30_10_5352.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2a591b05376d649198fe98bf2cc02149.jpg","text":"TemporaryFile(/tmp/multipartBody417367711109692359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149800869,"filename":"image_17012025_18_29_40_5335.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c16e1e7045d9943658c7d8e9fba4ca34.jpg","text":"TemporaryFile(/tmp/multipartBody7423669743506275836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149800869,"filename":"image_17012025_18_30_17_6572.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0471ccbba2e3b81087b911595c96f5de.jpg","text":"TemporaryFile(/tmp/multipartBody2328189514956872422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149800869,"filename":"image_17012025_18_29_47_6577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329580363","file1":"1329580354","file0":"1329580350","file4":"1329580376","file5":"1329580380","file3":"1329580372"},"map_files_photo_id_array":[{"photo_id":"1329580380","filename":"file5"},{"photo_id":"1329580363","filename":"file2"},{"photo_id":"1329580376","filename":"file4"},{"photo_id":"1329580354","filename":"file1"},{"photo_id":"1329580350","filename":"file0"},{"photo_id":"1329580372","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329580363":["hashtag1","hashtag2"]},{"1329580372":["hashtag1","hashtag2"]},{"1329580354":["hashtag1","hashtag2"]},{"1329580380":["hashtag1","hashtag2"]},{"1329580350":["hashtag1","hashtag2"]},{"1329580376":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329580363, 1329580372, 1329580354, 1329580380, 1329580350, 1329580376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.06961965560913 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 22:36:22.343501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/29/image_17012025_18_29_35_6573.jpg', '/media/data/images/17012025/18/29/image_17012025_18_29_16_6573.jpg', '/media/data/images/17012025/18/29/image_17012025_18_29_10_5346.jpg', '/media/data/images/17012025/18/28/image_17012025_18_29_04_6586.jpg', '/media/data/images/17012025/18/28/image_17012025_18_28_58_5333.jpg', '/media/data/images/17012025/18/28/image_17012025_18_28_52_6576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/29/image_17012025_18_29_35_6573.jpg
/media/data/images/17012025/18/29/image_17012025_18_29_16_6573.jpg
/media/data/images/17012025/18/29/image_17012025_18_29_10_5346.jpg
/media/data/images/17012025/18/28/image_17012025_18_29_04_6586.jpg
/media/data/images/17012025/18/28/image_17012025_18_28_58_5333.jpg
/media/data/images/17012025/18/28/image_17012025_18_28_52_6576.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329581464","1329581360","1329581471","1329580967","1329581467","1329581161"],"photo_ids_order":["1329580967","1329581161","1329581360","1329581464","1329581467","1329581471"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5931c2996442b7648f03c16f5af06d3d.jpg","text":"TemporaryFile(/tmp/multipartBody4828048721957849257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149857824,"filename":"image_17012025_18_29_04_6586.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/62ed7252e30ef841fb33ac75f766443b.jpg","text":"TemporaryFile(/tmp/multipartBody1131267758348504677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149857824,"filename":"image_17012025_18_29_10_5346.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e678348afbbe685db68abe99b36636a9.jpg","text":"TemporaryFile(/tmp/multipartBody1974349094092187841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149857824,"filename":"image_17012025_18_28_52_6576.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e0026768f2c8d25029c74ff2fb5c5950.jpg","text":"TemporaryFile(/tmp/multipartBody3767114145871499094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149857824,"filename":"image_17012025_18_29_35_6573.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ad9248e16111892f6bca457cfce4a1ea.jpg","text":"TemporaryFile(/tmp/multipartBody7207434945012665152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149857824,"filename":"image_17012025_18_28_58_5333.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/89a73f95663782f3a3b10d8efcaaade8.jpg","text":"TemporaryFile(/tmp/multipartBody5872833461808270132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149857824,"filename":"image_17012025_18_29_16_6573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329581360","file1":"1329581161","file0":"1329580967","file4":"1329581467","file5":"1329581471","file3":"1329581464"},"map_files_photo_id_array":[{"photo_id":"1329581471","filename":"file5"},{"photo_id":"1329581360","filename":"file2"},{"photo_id":"1329581467","filename":"file4"},{"photo_id":"1329581161","filename":"file1"},{"photo_id":"1329580967","filename":"file0"},{"photo_id":"1329581464","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329581464":["hashtag1","hashtag2"]},{"1329581360":["hashtag1","hashtag2"]},{"1329581471":["hashtag1","hashtag2"]},{"1329580967":["hashtag1","hashtag2"]},{"1329581467":["hashtag1","hashtag2"]},{"1329581161":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329581464, 1329581360, 1329581471, 1329580967, 1329581467, 1329581161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.751030921936035 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 22:37:22.473854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/28/image_17012025_18_28_46_6199.jpg', '/media/data/images/17012025/18/28/image_17012025_18_28_40_5175.jpg', '/media/data/images/17012025/18/28/image_17012025_18_28_35_6381.jpg', '/media/data/images/17012025/18/28/image_17012025_18_28_28_6374.jpg', '/media/data/images/17012025/18/28/image_17012025_18_28_22_5167.jpg', '/media/data/images/17012025/18/28/image_17012025_18_28_17_6393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/28/image_17012025_18_28_46_6199.jpg
/media/data/images/17012025/18/28/image_17012025_18_28_40_5175.jpg
/media/data/images/17012025/18/28/image_17012025_18_28_35_6381.jpg
/media/data/images/17012025/18/28/image_17012025_18_28_28_6374.jpg
/media/data/images/17012025/18/28/image_17012025_18_28_22_5167.jpg
/media/data/images/17012025/18/28/image_17012025_18_28_17_6393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329581503","1329581487","1329581492","1329581525","1329581528","1329581516"],"photo_ids_order":["1329581487","1329581492","1329581503","1329581516","1329581525","1329581528"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/be7ad1eefbf305bd39a88f86a633e2f6.jpg","text":"TemporaryFile(/tmp/multipartBody3045253867495798838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149912342,"filename":"image_17012025_18_28_35_6381.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/01566b7ed326e1ccf2959d25e17ac006.jpg","text":"TemporaryFile(/tmp/multipartBody7659280260850827780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149912342,"filename":"image_17012025_18_28_46_6199.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/22db4bd76da2ce55e8a4ed60f2a16f50.jpg","text":"TemporaryFile(/tmp/multipartBody68680459545338609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149912342,"filename":"image_17012025_18_28_40_5175.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5b0473cde37dfeaec724fb77e4e3d699.jpg","text":"TemporaryFile(/tmp/multipartBody3890601366230353914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149912342,"filename":"image_17012025_18_28_22_5167.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/75261e6553206ed34d0975fd858f6f56.jpg","text":"TemporaryFile(/tmp/multipartBody6600986163834066343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149912342,"filename":"image_17012025_18_28_17_6393.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c1040b42394e8896da03a5b4991a9faf.jpg","text":"TemporaryFile(/tmp/multipartBody9131420958400418307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149912342,"filename":"image_17012025_18_28_28_6374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329581503","file1":"1329581492","file0":"1329581487","file4":"1329581525","file5":"1329581528","file3":"1329581516"},"map_files_photo_id_array":[{"photo_id":"1329581528","filename":"file5"},{"photo_id":"1329581503","filename":"file2"},{"photo_id":"1329581525","filename":"file4"},{"photo_id":"1329581492","filename":"file1"},{"photo_id":"1329581487","filename":"file0"},{"photo_id":"1329581516","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329581503":["hashtag1","hashtag2"]},{"1329581487":["hashtag1","hashtag2"]},{"1329581492":["hashtag1","hashtag2"]},{"1329581525":["hashtag1","hashtag2"]},{"1329581528":["hashtag1","hashtag2"]},{"1329581516":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329581503, 1329581487, 1329581492, 1329581525, 1329581528, 1329581516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.64386200904846 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 22:38:22.642140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/28/image_17012025_18_28_10_6421.jpg', '/media/data/images/17012025/18/28/image_17012025_18_28_04_5023.jpg', '/media/data/images/17012025/18/27/image_17012025_18_27_59_6436.jpg', '/media/data/images/17012025/18/27/image_17012025_18_27_52_6439.jpg', '/media/data/images/17012025/18/27/image_17012025_18_27_46_5210.jpg', '/media/data/images/17012025/18/27/image_17012025_18_27_41_6431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/28/image_17012025_18_28_10_6421.jpg
/media/data/images/17012025/18/28/image_17012025_18_28_04_5023.jpg
/media/data/images/17012025/18/27/image_17012025_18_27_59_6436.jpg
/media/data/images/17012025/18/27/image_17012025_18_27_52_6439.jpg
/media/data/images/17012025/18/27/image_17012025_18_27_46_5210.jpg
/media/data/images/17012025/18/27/image_17012025_18_27_41_6431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329581996","1329581990","1329581978","1329581657","1329581986","1329581839"],"photo_ids_order":["1329581657","1329581839","1329581978","1329581986","1329581990","1329581996"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b5557494a51adc737cc01e6170cffbf5.jpg","text":"TemporaryFile(/tmp/multipartBody448202189367431554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149971486,"filename":"image_17012025_18_27_41_6431.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6dc850bb761311a914ee2bfec8e70078.jpg","text":"TemporaryFile(/tmp/multipartBody3090472136996726987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149971486,"filename":"image_17012025_18_27_46_5210.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2e9824e90e3ed0c9a4763d8079e920b9.jpg","text":"TemporaryFile(/tmp/multipartBody1284075357974027556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149971486,"filename":"image_17012025_18_27_59_6436.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f0eecc1ece3150d2f00efd1ce533fa32.jpg","text":"TemporaryFile(/tmp/multipartBody7893532304195688727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149971486,"filename":"image_17012025_18_28_10_6421.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/273e9f91364098da3396ec5b1c67f261.jpg","text":"TemporaryFile(/tmp/multipartBody6996883805582884592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149971486,"filename":"image_17012025_18_27_52_6439.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8562b0e625f17f001e2671d7e343c92f.jpg","text":"TemporaryFile(/tmp/multipartBody7295852381473328946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737149971486,"filename":"image_17012025_18_28_04_5023.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329581978","file1":"1329581839","file0":"1329581657","file4":"1329581990","file5":"1329581996","file3":"1329581986"},"map_files_photo_id_array":[{"photo_id":"1329581996","filename":"file5"},{"photo_id":"1329581978","filename":"file2"},{"photo_id":"1329581990","filename":"file4"},{"photo_id":"1329581839","filename":"file1"},{"photo_id":"1329581657","filename":"file0"},{"photo_id":"1329581986","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329581996":["hashtag1","hashtag2"]},{"1329581990":["hashtag1","hashtag2"]},{"1329581978":["hashtag1","hashtag2"]},{"1329581657":["hashtag1","hashtag2"]},{"1329581986":["hashtag1","hashtag2"]},{"1329581839":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329581996, 1329581990, 1329581978, 1329581657, 1329581986, 1329581839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.814494609832764 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 22:39:22.772814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/27/image_17012025_18_27_34_6432.jpg', '/media/data/images/17012025/18/27/image_17012025_18_27_28_5210.jpg', '/media/data/images/17012025/18/27/image_17012025_18_27_23_6426.jpg', '/media/data/images/17012025/18/27/image_17012025_18_27_16_6415.jpg', '/media/data/images/17012025/18/27/image_17012025_18_27_10_5212.jpg', '/media/data/images/17012025/18/27/image_17012025_18_27_05_6187.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/27/image_17012025_18_27_34_6432.jpg
/media/data/images/17012025/18/27/image_17012025_18_27_28_5210.jpg
/media/data/images/17012025/18/27/image_17012025_18_27_23_6426.jpg
/media/data/images/17012025/18/27/image_17012025_18_27_16_6415.jpg
/media/data/images/17012025/18/27/image_17012025_18_27_10_5212.jpg
/media/data/images/17012025/18/27/image_17012025_18_27_05_6187.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329582150","1329582156","1329582164","1329582160","1329582154","1329582145"],"photo_ids_order":["1329582145","1329582150","1329582154","1329582156","1329582160","1329582164"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/895ae094f9faa744ddbb5847398367c9.jpg","text":"TemporaryFile(/tmp/multipartBody3579556016175287971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150028644,"filename":"image_17012025_18_27_28_5210.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e884668eab54fa3e332dba488deda244.jpg","text":"TemporaryFile(/tmp/multipartBody127178781122558532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150028644,"filename":"image_17012025_18_27_16_6415.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6df445eb125f617be0da734ef8f09742.jpg","text":"TemporaryFile(/tmp/multipartBody1745287673343518666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150028644,"filename":"image_17012025_18_27_05_6187.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a697fc01de0554bfb13c0676782a97c0.jpg","text":"TemporaryFile(/tmp/multipartBody3385335225151942041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150028644,"filename":"image_17012025_18_27_10_5212.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/73d3d1136c9abd35210048381739e7b6.jpg","text":"TemporaryFile(/tmp/multipartBody739381967747736941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150028644,"filename":"image_17012025_18_27_23_6426.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/347f751e8518aa359c1969443a3f44ba.jpg","text":"TemporaryFile(/tmp/multipartBody6661913315928773894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150028644,"filename":"image_17012025_18_27_34_6432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329582154","file1":"1329582150","file0":"1329582145","file4":"1329582160","file5":"1329582164","file3":"1329582156"},"map_files_photo_id_array":[{"photo_id":"1329582164","filename":"file5"},{"photo_id":"1329582154","filename":"file2"},{"photo_id":"1329582160","filename":"file4"},{"photo_id":"1329582150","filename":"file1"},{"photo_id":"1329582145","filename":"file0"},{"photo_id":"1329582156","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329582150":["hashtag1","hashtag2"]},{"1329582156":["hashtag1","hashtag2"]},{"1329582164":["hashtag1","hashtag2"]},{"1329582160":["hashtag1","hashtag2"]},{"1329582154":["hashtag1","hashtag2"]},{"1329582145":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329582150, 1329582156, 1329582164, 1329582160, 1329582154, 1329582145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.61493182182312 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 22:40:02.134518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/26/image_17012025_18_26_58_6365.jpg', '/media/data/images/17012025/18/26/image_17012025_18_26_52_5208.jpg', '/media/data/images/17012025/18/26/image_17012025_18_26_47_6428.jpg', '/media/data/images/17012025/18/26/image_17012025_18_26_40_6417.jpg', '/media/data/images/17012025/18/26/image_17012025_18_26_34_5178.jpg', '/media/data/images/17012025/18/26/image_17012025_18_26_29_6367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/26/image_17012025_18_26_58_6365.jpg
/media/data/images/17012025/18/26/image_17012025_18_26_52_5208.jpg
/media/data/images/17012025/18/26/image_17012025_18_26_47_6428.jpg
/media/data/images/17012025/18/26/image_17012025_18_26_40_6417.jpg
/media/data/images/17012025/18/26/image_17012025_18_26_34_5178.jpg
/media/data/images/17012025/18/26/image_17012025_18_26_29_6367.jpg
2025-01-17 22:40:02.146848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/26/image_17012025_07_26_53_6576.jpg', '/media/data/images/17012025/07/26/image_17012025_07_26_59_5335.jpg', '/media/data/images/17012025/07/27/image_17012025_07_27_05_6358.jpg', '/media/data/images/17012025/07/27/image_17012025_07_27_12_6553.jpg', '/media/data/images/17012025/07/27/image_17012025_07_27_17_5298.jpg', '/media/data/images/17012025/07/27/image_17012025_07_27_41_5322.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/26/image_17012025_07_26_53_6576.jpg
/media/data/images/17012025/07/26/image_17012025_07_26_59_5335.jpg
/media/data/images/17012025/07/27/image_17012025_07_27_05_6358.jpg
/media/data/images/17012025/07/27/image_17012025_07_27_12_6553.jpg
/media/data/images/17012025/07/27/image_17012025_07_27_17_5298.jpg
/media/data/images/17012025/07/27/image_17012025_07_27_41_5322.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329582207","1329582219","1329582204","1329582215","1329582226","1329582211"],"photo_ids_order":["1329582204","1329582207","1329582211","1329582215","1329582219","1329582226"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d592b7c8b552ee23d42a88f71929a1e8.jpg","text":"TemporaryFile(/tmp/multipartBody732874778680937773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150074132,"filename":"image_17012025_18_26_52_5208.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ecb8639121ab7b64b3d8337710e67868.jpg","text":"TemporaryFile(/tmp/multipartBody5219400742433337676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150074132,"filename":"image_17012025_18_26_34_5178.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7851bd5c7db7147452f3eccd0cfeebc0.jpg","text":"TemporaryFile(/tmp/multipartBody3741515340960427756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150074132,"filename":"image_17012025_18_26_58_6365.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/401f10c6be53a4f3ae6aab42750968fa.jpg","text":"TemporaryFile(/tmp/multipartBody4519246188520654298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150074132,"filename":"image_17012025_18_26_40_6417.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/831d61a8d06f8e2a25f8e80823022b08.jpg","text":"TemporaryFile(/tmp/multipartBody5857337250306888119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150074132,"filename":"image_17012025_18_26_29_6367.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1965040aff99a0d5d963173dc045f88f.jpg","text":"TemporaryFile(/tmp/multipartBody8296723272506765217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150074132,"filename":"image_17012025_18_26_47_6428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329582211","file1":"1329582207","file0":"1329582204","file4":"1329582219","file5":"1329582226","file3":"1329582215"},"map_files_photo_id_array":[{"photo_id":"1329582226","filename":"file5"},{"photo_id":"1329582211","filename":"file2"},{"photo_id":"1329582219","filename":"file4"},{"photo_id":"1329582207","filename":"file1"},{"photo_id":"1329582204","filename":"file0"},{"photo_id":"1329582215","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329582207":["hashtag1","hashtag2"]},{"1329582219":["hashtag1","hashtag2"]},{"1329582204":["hashtag1","hashtag2"]},{"1329582215":["hashtag1","hashtag2"]},{"1329582226":["hashtag1","hashtag2"]},{"1329582211":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329582207, 1329582219, 1329582204, 1329582215, 1329582226, 1329582211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.299691677093506 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329582214","1329582222","1329582218","1329582227","1329582206","1329582209"],"photo_ids_order":["1329582206","1329582209","1329582214","1329582218","1329582222","1329582227"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0b8c830ff75428d20bb1479c72bcf42a.jpg","text":"TemporaryFile(/tmp/multipartBody4592593893955271190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150075645,"filename":"image_17012025_07_27_05_6358.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f461a214e6ad5249b8635cf3d46a113a.jpg","text":"TemporaryFile(/tmp/multipartBody8396346456828988981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150075645,"filename":"image_17012025_07_27_17_5298.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f1a84a2d7f378d24645b53d9e3815ec7.jpg","text":"TemporaryFile(/tmp/multipartBody6721577633492997854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150075645,"filename":"image_17012025_07_27_12_6553.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c8e527e47e122d4279938a2a960443bb.jpg","text":"TemporaryFile(/tmp/multipartBody314850801378507683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150075645,"filename":"image_17012025_07_27_41_5322.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bb55ebef29fd24be8f8e7cefda4146c0.jpg","text":"TemporaryFile(/tmp/multipartBody2586530597754082283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150075645,"filename":"image_17012025_07_26_53_6576.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3993a045c4329dda2e07f0da49ecd5e0.jpg","text":"TemporaryFile(/tmp/multipartBody6673702985192735903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150075645,"filename":"image_17012025_07_26_59_5335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329582214","file1":"1329582209","file0":"1329582206","file4":"1329582222","file5":"1329582227","file3":"1329582218"},"map_files_photo_id_array":[{"photo_id":"1329582227","filename":"file5"},{"photo_id":"1329582214","filename":"file2"},{"photo_id":"1329582222","filename":"file4"},{"photo_id":"1329582209","filename":"file1"},{"photo_id":"1329582206","filename":"file0"},{"photo_id":"1329582218","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329582214":["hashtag1","hashtag2"]},{"1329582222":["hashtag1","hashtag2"]},{"1329582218":["hashtag1","hashtag2"]},{"1329582227":["hashtag1","hashtag2"]},{"1329582206":["hashtag1","hashtag2"]},{"1329582209":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329582214, 1329582222, 1329582218, 1329582227, 1329582206, 1329582209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.65164256095886 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 22:41:02.339018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/26/image_17012025_18_26_22_6351.jpg', '/media/data/images/17012025/18/26/image_17012025_18_26_16_5180.jpg', '/media/data/images/17012025/18/26/image_17012025_18_26_11_6488.jpg', '/media/data/images/17012025/18/25/image_17012025_18_26_04_6644.jpg', '/media/data/images/17012025/18/25/image_17012025_18_25_58_5167.jpg', '/media/data/images/17012025/18/25/image_17012025_18_25_53_6387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/26/image_17012025_18_26_22_6351.jpg
/media/data/images/17012025/18/26/image_17012025_18_26_16_5180.jpg
/media/data/images/17012025/18/26/image_17012025_18_26_11_6488.jpg
/media/data/images/17012025/18/25/image_17012025_18_26_04_6644.jpg
/media/data/images/17012025/18/25/image_17012025_18_25_58_5167.jpg
/media/data/images/17012025/18/25/image_17012025_18_25_53_6387.jpg
2025-01-17 22:41:02.331319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/28/image_17012025_07_28_17_6526.jpg', '/media/data/images/17012025/07/28/image_17012025_07_28_29_5294.jpg', '/media/data/images/17012025/07/28/image_17012025_07_28_41_5289.jpg', '/media/data/images/17012025/07/28/image_17012025_07_28_53_5287.jpg', '/media/data/images/17012025/07/28/image_17012025_07_28_59_6550.jpg', '/media/data/images/17012025/07/29/image_17012025_07_29_11_6528.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/28/image_17012025_07_28_17_6526.jpg
/media/data/images/17012025/07/28/image_17012025_07_28_29_5294.jpg
/media/data/images/17012025/07/28/image_17012025_07_28_41_5289.jpg
/media/data/images/17012025/07/28/image_17012025_07_28_53_5287.jpg
/media/data/images/17012025/07/28/image_17012025_07_28_59_6550.jpg
/media/data/images/17012025/07/29/image_17012025_07_29_11_6528.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329582279","1329582252","1329582272","1329582266","1329582277","1329582247"],"photo_ids_order":["1329582247","1329582252","1329582266","1329582272","1329582277","1329582279"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/efb74d21fc26bdf610799311fb4fb97c.jpg","text":"TemporaryFile(/tmp/multipartBody1689928801049989187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150133286,"filename":"image_17012025_18_25_53_6387.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e821bfe1c617df9f7fee3af8c304777c.jpg","text":"TemporaryFile(/tmp/multipartBody6180314550940466243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150133286,"filename":"image_17012025_18_26_16_5180.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/78ac63fd2f9d22355dc9f7486ba4f48f.jpg","text":"TemporaryFile(/tmp/multipartBody7267195242225846496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150133286,"filename":"image_17012025_18_26_04_6644.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c2a1fc072b5058e8b96f76960ea95857.jpg","text":"TemporaryFile(/tmp/multipartBody5528145471371530690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150133286,"filename":"image_17012025_18_26_11_6488.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fca9ef350b6ae7de8408a58b478d8579.jpg","text":"TemporaryFile(/tmp/multipartBody4046866506757576054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150133286,"filename":"image_17012025_18_25_58_5167.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9b050685451057bbbd73ff3eb180459c.jpg","text":"TemporaryFile(/tmp/multipartBody7021273947742049595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150133286,"filename":"image_17012025_18_26_22_6351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329582266","file1":"1329582252","file0":"1329582247","file4":"1329582277","file5":"1329582279","file3":"1329582272"},"map_files_photo_id_array":[{"photo_id":"1329582279","filename":"file5"},{"photo_id":"1329582266","filename":"file2"},{"photo_id":"1329582277","filename":"file4"},{"photo_id":"1329582252","filename":"file1"},{"photo_id":"1329582247","filename":"file0"},{"photo_id":"1329582272","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329582279":["hashtag1","hashtag2"]},{"1329582252":["hashtag1","hashtag2"]},{"1329582272":["hashtag1","hashtag2"]},{"1329582266":["hashtag1","hashtag2"]},{"1329582277":["hashtag1","hashtag2"]},{"1329582247":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329582279, 1329582252, 1329582272, 1329582266, 1329582277, 1329582247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.17955565452576 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329582276","1329582278","1329582271","1329582265","1329582250","1329582288"],"photo_ids_order":["1329582250","1329582265","1329582271","1329582276","1329582278","1329582288"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/640214937e86969b0e24aa2700325088.jpg","text":"TemporaryFile(/tmp/multipartBody9128208194319905047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150136720,"filename":"image_17012025_07_28_53_5287.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/695fd5bdc563c34b7854808e2cc9a6a2.jpg","text":"TemporaryFile(/tmp/multipartBody8471938498901202925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150136720,"filename":"image_17012025_07_28_59_6550.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0a5aa872727db1268a086fbad9c9ebce.jpg","text":"TemporaryFile(/tmp/multipartBody8284879124648281616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150136720,"filename":"image_17012025_07_28_41_5289.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a91e8ff9c472817f41405a5270a4af7a.jpg","text":"TemporaryFile(/tmp/multipartBody8074825375438739308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150136720,"filename":"image_17012025_07_28_29_5294.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bafa2fc6a8ed36dc072d778c8d024996.jpg","text":"TemporaryFile(/tmp/multipartBody3946459871278036663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150136720,"filename":"image_17012025_07_28_17_6526.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f104e1a2b4fcd73d46823e08ade82739.jpg","text":"TemporaryFile(/tmp/multipartBody109095107398536949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150136720,"filename":"image_17012025_07_29_11_6528.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329582271","file1":"1329582265","file0":"1329582250","file4":"1329582278","file5":"1329582288","file3":"1329582276"},"map_files_photo_id_array":[{"photo_id":"1329582288","filename":"file5"},{"photo_id":"1329582271","filename":"file2"},{"photo_id":"1329582278","filename":"file4"},{"photo_id":"1329582265","filename":"file1"},{"photo_id":"1329582250","filename":"file0"},{"photo_id":"1329582276","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329582276":["hashtag1","hashtag2"]},{"1329582278":["hashtag1","hashtag2"]},{"1329582271":["hashtag1","hashtag2"]},{"1329582265":["hashtag1","hashtag2"]},{"1329582250":["hashtag1","hashtag2"]},{"1329582288":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329582276, 1329582278, 1329582271, 1329582265, 1329582250, 1329582288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.16736721992493 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 22:42:02.305523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/29/image_17012025_07_29_18_6519.jpg', '/media/data/images/17012025/07/29/image_17012025_07_29_23_5289.jpg', '/media/data/images/17012025/07/29/image_17012025_07_29_35_5293.jpg', '/media/data/images/17012025/07/29/image_17012025_07_29_41_6533.jpg', '/media/data/images/17012025/07/29/image_17012025_07_29_46_5304.jpg', '/media/data/images/17012025/07/29/image_17012025_07_30_00_6547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/29/image_17012025_07_29_18_6519.jpg
/media/data/images/17012025/07/29/image_17012025_07_29_23_5289.jpg
/media/data/images/17012025/07/29/image_17012025_07_29_35_5293.jpg
/media/data/images/17012025/07/29/image_17012025_07_29_41_6533.jpg
/media/data/images/17012025/07/29/image_17012025_07_29_46_5304.jpg
/media/data/images/17012025/07/29/image_17012025_07_30_00_6547.jpg
2025-01-17 22:42:02.382473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/25/image_17012025_18_25_46_6390.jpg', '/media/data/images/17012025/18/25/image_17012025_18_25_40_5174.jpg', '/media/data/images/17012025/18/25/image_17012025_18_25_35_6339.jpg', '/media/data/images/17012025/18/25/image_17012025_18_25_28_6363.jpg', '/media/data/images/17012025/18/25/image_17012025_18_25_22_5174.jpg', '/media/data/images/17012025/18/25/image_17012025_18_25_17_6381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/25/image_17012025_18_25_46_6390.jpg
/media/data/images/17012025/18/25/image_17012025_18_25_40_5174.jpg
/media/data/images/17012025/18/25/image_17012025_18_25_35_6339.jpg
/media/data/images/17012025/18/25/image_17012025_18_25_28_6363.jpg
/media/data/images/17012025/18/25/image_17012025_18_25_22_5174.jpg
/media/data/images/17012025/18/25/image_17012025_18_25_17_6381.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329582396","1329582390","1329582383","1329582379","1329582393","1329582387"],"photo_ids_order":["1329582379","1329582383","1329582387","1329582390","1329582393","1329582396"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/886d24fb59a66e4c34358f6d7050bdf4.jpg","text":"TemporaryFile(/tmp/multipartBody3946810564999802202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150190670,"filename":"image_17012025_18_25_17_6381.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4ae1833be29447777a84695125f4e792.jpg","text":"TemporaryFile(/tmp/multipartBody3539571992438986584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150190670,"filename":"image_17012025_18_25_28_6363.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f79b32f3e84841662ccf378fc8840743.jpg","text":"TemporaryFile(/tmp/multipartBody8862505980112757517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150190670,"filename":"image_17012025_18_25_40_5174.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/decc0ad6b63315e88efc9c684e2d1079.jpg","text":"TemporaryFile(/tmp/multipartBody4306866230357768663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150190670,"filename":"image_17012025_18_25_46_6390.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/682d5be153c34dc98a1d75497fb60282.jpg","text":"TemporaryFile(/tmp/multipartBody326617849260078293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150190670,"filename":"image_17012025_18_25_22_5174.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5081388e52702f0b87f9eda702a8a840.jpg","text":"TemporaryFile(/tmp/multipartBody857220542486324603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150190670,"filename":"image_17012025_18_25_35_6339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329582387","file1":"1329582383","file0":"1329582379","file4":"1329582393","file5":"1329582396","file3":"1329582390"},"map_files_photo_id_array":[{"photo_id":"1329582396","filename":"file5"},{"photo_id":"1329582387","filename":"file2"},{"photo_id":"1329582393","filename":"file4"},{"photo_id":"1329582383","filename":"file1"},{"photo_id":"1329582379","filename":"file0"},{"photo_id":"1329582390","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329582396":["hashtag1","hashtag2"]},{"1329582390":["hashtag1","hashtag2"]},{"1329582383":["hashtag1","hashtag2"]},{"1329582379":["hashtag1","hashtag2"]},{"1329582393":["hashtag1","hashtag2"]},{"1329582387":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329582396, 1329582390, 1329582383, 1329582379, 1329582393, 1329582387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.42292928695679 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329582399","1329582384","1329582392","1329582395","1329582397","1329582388"],"photo_ids_order":["1329582384","1329582388","1329582392","1329582395","1329582397","1329582399"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c2204c69a1a7ffe60cfc63cc4ccadf2a.jpg","text":"TemporaryFile(/tmp/multipartBody8646300496483590928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150195539,"filename":"image_17012025_07_30_00_6547.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f9274cc561d318de2ab968fb6a308044.jpg","text":"TemporaryFile(/tmp/multipartBody8981665492758468879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150195539,"filename":"image_17012025_07_29_18_6519.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dcba38832d28244d2dfb59d3d49bcbcf.jpg","text":"TemporaryFile(/tmp/multipartBody728679535810418636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150195539,"filename":"image_17012025_07_29_35_5293.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3774f620d1a8990c030b09d59c19d22b.jpg","text":"TemporaryFile(/tmp/multipartBody7302282487464054540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150195539,"filename":"image_17012025_07_29_41_6533.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e247d3f2383c40ed327e249a612a35a0.jpg","text":"TemporaryFile(/tmp/multipartBody768809325099583197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150195539,"filename":"image_17012025_07_29_46_5304.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/60b4e3a2329ed116e3c54eb46dd52889.jpg","text":"TemporaryFile(/tmp/multipartBody2592089230711832083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150195539,"filename":"image_17012025_07_29_23_5289.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329582392","file1":"1329582388","file0":"1329582384","file4":"1329582397","file5":"1329582399","file3":"1329582395"},"map_files_photo_id_array":[{"photo_id":"1329582399","filename":"file5"},{"photo_id":"1329582392","filename":"file2"},{"photo_id":"1329582397","filename":"file4"},{"photo_id":"1329582388","filename":"file1"},{"photo_id":"1329582384","filename":"file0"},{"photo_id":"1329582395","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329582399":["hashtag1","hashtag2"]},{"1329582384":["hashtag1","hashtag2"]},{"1329582392":["hashtag1","hashtag2"]},{"1329582395":["hashtag1","hashtag2"]},{"1329582397":["hashtag1","hashtag2"]},{"1329582388":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329582399, 1329582384, 1329582392, 1329582395, 1329582397, 1329582388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.25792121887207 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 22:43:02.574248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/25/image_17012025_18_25_10_6415.jpg', '/media/data/images/17012025/18/25/image_17012025_18_25_04_5094.jpg', '/media/data/images/17012025/18/24/image_17012025_18_24_59_6420.jpg', '/media/data/images/17012025/18/24/image_17012025_18_24_52_6419.jpg', '/media/data/images/17012025/18/24/image_17012025_18_24_46_5209.jpg', '/media/data/images/17012025/18/24/image_17012025_18_24_41_6385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/25/image_17012025_18_25_10_6415.jpg
/media/data/images/17012025/18/25/image_17012025_18_25_04_5094.jpg
/media/data/images/17012025/18/24/image_17012025_18_24_59_6420.jpg
/media/data/images/17012025/18/24/image_17012025_18_24_52_6419.jpg
/media/data/images/17012025/18/24/image_17012025_18_24_46_5209.jpg
/media/data/images/17012025/18/24/image_17012025_18_24_41_6385.jpg
2025-01-17 22:43:02.569500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/30/image_17012025_07_30_05_5316.jpg', '/media/data/images/17012025/07/30/image_17012025_07_30_11_6548.jpg', '/media/data/images/17012025/07/30/image_17012025_07_30_17_5291.jpg', '/media/data/images/17012025/07/30/image_17012025_07_30_23_6519.jpg', '/media/data/images/17012025/07/30/image_17012025_07_30_35_6531.jpg', '/media/data/images/17012025/07/30/image_17012025_07_30_42_6543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/30/image_17012025_07_30_05_5316.jpg
/media/data/images/17012025/07/30/image_17012025_07_30_11_6548.jpg
/media/data/images/17012025/07/30/image_17012025_07_30_17_5291.jpg
/media/data/images/17012025/07/30/image_17012025_07_30_23_6519.jpg
/media/data/images/17012025/07/30/image_17012025_07_30_35_6531.jpg
/media/data/images/17012025/07/30/image_17012025_07_30_42_6543.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329582468","1329582441","1329582479","1329582431","1329582475","1329582454"],"photo_ids_order":["1329582431","1329582441","1329582454","1329582468","1329582475","1329582479"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/170d98094a0b9eedaa8e6364628ebcbc.jpg","text":"TemporaryFile(/tmp/multipartBody7702010388127511066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150251692,"filename":"image_17012025_18_24_52_6419.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3cc00e025ef3a88ee39793ddc72e74e4.jpg","text":"TemporaryFile(/tmp/multipartBody8380358865628079926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150251692,"filename":"image_17012025_18_25_04_5094.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/43effd08240e7df97e8235ec9c67701f.jpg","text":"TemporaryFile(/tmp/multipartBody1207805225671827476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150251692,"filename":"image_17012025_18_24_41_6385.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2f76dcd8cc9bdff701265e3a34c04451.jpg","text":"TemporaryFile(/tmp/multipartBody195437981754173745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150251692,"filename":"image_17012025_18_25_10_6415.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/acfbb366569583799048703f97577a63.jpg","text":"TemporaryFile(/tmp/multipartBody3141872767227836605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150251692,"filename":"image_17012025_18_24_46_5209.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4647467fe4768519ad90d0755d18f31d.jpg","text":"TemporaryFile(/tmp/multipartBody3003627183268510119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150251692,"filename":"image_17012025_18_24_59_6420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329582454","file1":"1329582441","file0":"1329582431","file4":"1329582475","file5":"1329582479","file3":"1329582468"},"map_files_photo_id_array":[{"photo_id":"1329582479","filename":"file5"},{"photo_id":"1329582454","filename":"file2"},{"photo_id":"1329582475","filename":"file4"},{"photo_id":"1329582441","filename":"file1"},{"photo_id":"1329582431","filename":"file0"},{"photo_id":"1329582468","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329582468":["hashtag1","hashtag2"]},{"1329582441":["hashtag1","hashtag2"]},{"1329582479":["hashtag1","hashtag2"]},{"1329582431":["hashtag1","hashtag2"]},{"1329582475":["hashtag1","hashtag2"]},{"1329582454":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329582468, 1329582441, 1329582479, 1329582431, 1329582475, 1329582454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.85090517997742 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329582474","1329582477","1329582464","1329582449","1329582434","1329582481"],"photo_ids_order":["1329582434","1329582449","1329582464","1329582474","1329582477","1329582481"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/30e06a1f3e2cbae7b37b9fd184e15bdf.jpg","text":"TemporaryFile(/tmp/multipartBody8858286403641137725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150255789,"filename":"image_17012025_07_30_23_6519.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8a4c0aa0da7e9c96d3ca6042c7369343.jpg","text":"TemporaryFile(/tmp/multipartBody5054395973373195614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150255789,"filename":"image_17012025_07_30_35_6531.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4355d3a491acf03af6e24a05b0f82805.jpg","text":"TemporaryFile(/tmp/multipartBody3614102076700898153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150255789,"filename":"image_17012025_07_30_17_5291.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/60a4e2b205921acc23a3f4b9e2bd1a90.jpg","text":"TemporaryFile(/tmp/multipartBody6714346696540780191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150255789,"filename":"image_17012025_07_30_11_6548.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4ee632ee9590c0b60c3d01c1dfcc8eec.jpg","text":"TemporaryFile(/tmp/multipartBody2229251305460928377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150255789,"filename":"image_17012025_07_30_05_5316.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c9ff1f226654db65d0cf46976a0d7b82.jpg","text":"TemporaryFile(/tmp/multipartBody3099487560597812556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150255789,"filename":"image_17012025_07_30_42_6543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329582464","file1":"1329582449","file0":"1329582434","file4":"1329582477","file5":"1329582481","file3":"1329582474"},"map_files_photo_id_array":[{"photo_id":"1329582481","filename":"file5"},{"photo_id":"1329582464","filename":"file2"},{"photo_id":"1329582477","filename":"file4"},{"photo_id":"1329582449","filename":"file1"},{"photo_id":"1329582434","filename":"file0"},{"photo_id":"1329582474","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329582474":["hashtag1","hashtag2"]},{"1329582477":["hashtag1","hashtag2"]},{"1329582464":["hashtag1","hashtag2"]},{"1329582449":["hashtag1","hashtag2"]},{"1329582434":["hashtag1","hashtag2"]},{"1329582481":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329582474, 1329582477, 1329582464, 1329582449, 1329582434, 1329582481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.16602897644043 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
 val : 1 : upload photos already in processing! 
2025-01-17 22:44:02.543297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/30/image_17012025_07_30_59_5294.jpg', '/media/data/images/17012025/07/31/image_17012025_07_31_05_6309.jpg', '/media/data/images/17012025/07/31/image_17012025_07_31_12_6557.jpg', '/media/data/images/17012025/07/31/image_17012025_07_31_29_5321.jpg', '/media/data/images/17012025/07/31/image_17012025_07_31_35_6532.jpg', '/media/data/images/17012025/07/31/image_17012025_07_31_41_5288.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/30/image_17012025_07_30_59_5294.jpg
/media/data/images/17012025/07/31/image_17012025_07_31_05_6309.jpg
/media/data/images/17012025/07/31/image_17012025_07_31_12_6557.jpg
/media/data/images/17012025/07/31/image_17012025_07_31_29_5321.jpg
/media/data/images/17012025/07/31/image_17012025_07_31_35_6532.jpg
/media/data/images/17012025/07/31/image_17012025_07_31_41_5288.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329582522","1329582531","1329582525","1329582528","1329582518","1329582532"],"photo_ids_order":["1329582518","1329582522","1329582525","1329582528","1329582531","1329582532"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/28d68b0a4a4b694398d0dec554bd9762.jpg","text":"TemporaryFile(/tmp/multipartBody4230200156668460751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150311007,"filename":"image_17012025_07_31_05_6309.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bdd1f90503ce37d7f1b8553a22ae802d.jpg","text":"TemporaryFile(/tmp/multipartBody3820376667678674922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150311007,"filename":"image_17012025_07_31_35_6532.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4636b2a9a3d387f5b753deae489bea9d.jpg","text":"TemporaryFile(/tmp/multipartBody1713003714215366927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150311007,"filename":"image_17012025_07_31_12_6557.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f611b877b49f7b174573494973b60f7a.jpg","text":"TemporaryFile(/tmp/multipartBody5844850290119535109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150311007,"filename":"image_17012025_07_31_29_5321.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1ef84aaa49043bc8595b29818adf67df.jpg","text":"TemporaryFile(/tmp/multipartBody7235688391229040173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150311007,"filename":"image_17012025_07_30_59_5294.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/996164133d044cece13fb56cec6bb526.jpg","text":"TemporaryFile(/tmp/multipartBody1443739049802530659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150311007,"filename":"image_17012025_07_31_41_5288.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329582525","file1":"1329582522","file0":"1329582518","file4":"1329582531","file5":"1329582532","file3":"1329582528"},"map_files_photo_id_array":[{"photo_id":"1329582532","filename":"file5"},{"photo_id":"1329582525","filename":"file2"},{"photo_id":"1329582531","filename":"file4"},{"photo_id":"1329582522","filename":"file1"},{"photo_id":"1329582518","filename":"file0"},{"photo_id":"1329582528","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329582522":["hashtag1","hashtag2"]},{"1329582531":["hashtag1","hashtag2"]},{"1329582525":["hashtag1","hashtag2"]},{"1329582528":["hashtag1","hashtag2"]},{"1329582518":["hashtag1","hashtag2"]},{"1329582532":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329582522, 1329582531, 1329582525, 1329582528, 1329582518, 1329582532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.78993535041809 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 22:45:02.801115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/24/image_17012025_18_24_34_6392.jpg', '/media/data/images/17012025/18/24/image_17012025_18_24_28_5189.jpg', '/media/data/images/17012025/18/24/image_17012025_18_24_23_6427.jpg', '/media/data/images/17012025/18/24/image_17012025_18_24_16_6408.jpg', '/media/data/images/17012025/18/24/image_17012025_18_24_10_5185.jpg', '/media/data/images/17012025/18/24/image_17012025_18_24_05_6325.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/24/image_17012025_18_24_34_6392.jpg
/media/data/images/17012025/18/24/image_17012025_18_24_28_5189.jpg
/media/data/images/17012025/18/24/image_17012025_18_24_23_6427.jpg
/media/data/images/17012025/18/24/image_17012025_18_24_16_6408.jpg
/media/data/images/17012025/18/24/image_17012025_18_24_10_5185.jpg
/media/data/images/17012025/18/24/image_17012025_18_24_05_6325.jpg
2025-01-17 22:45:02.964163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/31/image_17012025_07_31_47_6526.jpg', '/media/data/images/17012025/07/31/image_17012025_07_31_54_6524.jpg', '/media/data/images/17012025/07/32/image_17012025_07_32_05_6357.jpg', '/media/data/images/17012025/07/32/image_17012025_07_32_48_6553.jpg', '/media/data/images/17012025/07/33/image_17012025_07_33_05_5362.jpg', '/media/data/images/17012025/07/33/image_17012025_07_33_11_6537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/31/image_17012025_07_31_47_6526.jpg
/media/data/images/17012025/07/31/image_17012025_07_31_54_6524.jpg
/media/data/images/17012025/07/32/image_17012025_07_32_05_6357.jpg
/media/data/images/17012025/07/32/image_17012025_07_32_48_6553.jpg
/media/data/images/17012025/07/33/image_17012025_07_33_05_5362.jpg
/media/data/images/17012025/07/33/image_17012025_07_33_11_6537.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329582618","1329582632","1329582637","1329582625","1329582628","1329582622"],"photo_ids_order":["1329582618","1329582622","1329582625","1329582628","1329582632","1329582637"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c6738312e0f94dc24bc85baf82a06285.jpg","text":"TemporaryFile(/tmp/multipartBody5905846309300155986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150377782,"filename":"image_17012025_18_24_34_6392.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/26f4801dbdf264e6d1ed1a0c903aa0b3.jpg","text":"TemporaryFile(/tmp/multipartBody9113477583790285271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150377782,"filename":"image_17012025_18_24_10_5185.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4ebe56f82368e4c8076e8c2fa7772887.jpg","text":"TemporaryFile(/tmp/multipartBody3579400875603532009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150377782,"filename":"image_17012025_18_24_05_6325.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3299feaab547b1d80515a2ea52ecaa30.jpg","text":"TemporaryFile(/tmp/multipartBody7159131767329870440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150377782,"filename":"image_17012025_18_24_23_6427.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8ce18a49b6f1e7e4f59dc396d6a79e45.jpg","text":"TemporaryFile(/tmp/multipartBody8326329897150309672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150377782,"filename":"image_17012025_18_24_16_6408.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/18b0b8bda945489251c8372baf7a7dc7.jpg","text":"TemporaryFile(/tmp/multipartBody8348788293996116315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150377782,"filename":"image_17012025_18_24_28_5189.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329582625","file1":"1329582622","file0":"1329582618","file4":"1329582632","file5":"1329582637","file3":"1329582628"},"map_files_photo_id_array":[{"photo_id":"1329582637","filename":"file5"},{"photo_id":"1329582625","filename":"file2"},{"photo_id":"1329582632","filename":"file4"},{"photo_id":"1329582622","filename":"file1"},{"photo_id":"1329582618","filename":"file0"},{"photo_id":"1329582628","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329582618":["hashtag1","hashtag2"]},{"1329582632":["hashtag1","hashtag2"]},{"1329582637":["hashtag1","hashtag2"]},{"1329582625":["hashtag1","hashtag2"]},{"1329582628":["hashtag1","hashtag2"]},{"1329582622":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329582618, 1329582632, 1329582637, 1329582625, 1329582628, 1329582622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.6930627822876 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329582642","1329582630","1329582626","1329582641","1329582635","1329582623"],"photo_ids_order":["1329582623","1329582626","1329582630","1329582635","1329582641","1329582642"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/01f15837af958dcdc4c2999339c0a299.jpg","text":"TemporaryFile(/tmp/multipartBody2150821077900812291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150387096,"filename":"image_17012025_07_33_11_6537.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6f7bc9539fe4a0c474991d48eca27d74.jpg","text":"TemporaryFile(/tmp/multipartBody7122658062261888596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150387096,"filename":"image_17012025_07_32_05_6357.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b20c9715d9c2291cec10330e808b4965.jpg","text":"TemporaryFile(/tmp/multipartBody1384895487153473974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150387096,"filename":"image_17012025_07_31_54_6524.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ac153894f15a75d6543878caa01a2dcc.jpg","text":"TemporaryFile(/tmp/multipartBody5422037873644636145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150387096,"filename":"image_17012025_07_33_05_5362.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6fc4097dfef8c402129b74f0174cb337.jpg","text":"TemporaryFile(/tmp/multipartBody1274352195254532105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150387096,"filename":"image_17012025_07_32_48_6553.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/876038cd2c2a6d71421822b578c1b2d6.jpg","text":"TemporaryFile(/tmp/multipartBody6224304480867716836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150387096,"filename":"image_17012025_07_31_47_6526.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329582630","file1":"1329582626","file0":"1329582623","file4":"1329582641","file5":"1329582642","file3":"1329582635"},"map_files_photo_id_array":[{"photo_id":"1329582642","filename":"file5"},{"photo_id":"1329582630","filename":"file2"},{"photo_id":"1329582641","filename":"file4"},{"photo_id":"1329582626","filename":"file1"},{"photo_id":"1329582623","filename":"file0"},{"photo_id":"1329582635","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329582642":["hashtag1","hashtag2"]},{"1329582630":["hashtag1","hashtag2"]},{"1329582626":["hashtag1","hashtag2"]},{"1329582641":["hashtag1","hashtag2"]},{"1329582635":["hashtag1","hashtag2"]},{"1329582623":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329582642, 1329582630, 1329582626, 1329582641, 1329582635, 1329582623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.782384634017944 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 22:46:02.889143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/33/image_17012025_07_33_23_6522.jpg', '/media/data/images/17012025/07/33/image_17012025_07_33_30_6526.jpg', '/media/data/images/17012025/07/33/image_17012025_07_33_35_5297.jpg', '/media/data/images/17012025/07/33/image_17012025_07_33_41_6543.jpg', '/media/data/images/17012025/07/33/image_17012025_07_33_59_5289.jpg', '/media/data/images/17012025/07/34/image_17012025_07_34_12_6549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/33/image_17012025_07_33_23_6522.jpg
/media/data/images/17012025/07/33/image_17012025_07_33_30_6526.jpg
/media/data/images/17012025/07/33/image_17012025_07_33_35_5297.jpg
/media/data/images/17012025/07/33/image_17012025_07_33_41_6543.jpg
/media/data/images/17012025/07/33/image_17012025_07_33_59_5289.jpg
/media/data/images/17012025/07/34/image_17012025_07_34_12_6549.jpg
2025-01-17 22:46:02.892731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/23/image_17012025_18_23_58_6396.jpg', '/media/data/images/17012025/18/23/image_17012025_18_23_16_6386.jpg', '/media/data/images/17012025/18/23/image_17012025_18_23_10_5202.jpg', '/media/data/images/17012025/18/22/image_17012025_18_23_04_6426.jpg', '/media/data/images/17012025/18/22/image_17012025_18_22_58_5186.jpg', '/media/data/images/17012025/18/22/image_17012025_18_22_16_5199.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/23/image_17012025_18_23_58_6396.jpg
/media/data/images/17012025/18/23/image_17012025_18_23_16_6386.jpg
/media/data/images/17012025/18/23/image_17012025_18_23_10_5202.jpg
/media/data/images/17012025/18/22/image_17012025_18_23_04_6426.jpg
/media/data/images/17012025/18/22/image_17012025_18_22_58_5186.jpg
/media/data/images/17012025/18/22/image_17012025_18_22_16_5199.jpg
 val : 2 : upload photos already in processing! 
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: 27.240652322769165 secondes ---
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329582666","1329582662","1329582659","1329582674","1329582668","1329582664"],"photo_ids_order":["1329582659","1329582662","1329582664","1329582666","1329582668","1329582674"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/77a1e82803870e9e286cae2c1f44fb68.jpg","text":"TemporaryFile(/tmp/multipartBody5315490990051154888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150438262,"filename":"image_17012025_18_23_04_6426.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fa6a58291bf3d7b3c9aaade56db19104.jpg","text":"TemporaryFile(/tmp/multipartBody7209214440150316398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150438262,"filename":"image_17012025_18_23_16_6386.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a3bb36b8bfddc01a028b6772d9b7b545.jpg","text":"TemporaryFile(/tmp/multipartBody3468506962328781364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150438262,"filename":"image_17012025_18_23_58_6396.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3ecc9df5f3cce7e5b0bacd999b145f99.jpg","text":"TemporaryFile(/tmp/multipartBody4439639890931132018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150438262,"filename":"image_17012025_18_22_16_5199.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9b5c00db2ee9e8f6a5dffdd5660794de.jpg","text":"TemporaryFile(/tmp/multipartBody8950283453911803374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150438262,"filename":"image_17012025_18_22_58_5186.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c85ec542ff1459b2baf55b1845e934d7.jpg","text":"TemporaryFile(/tmp/multipartBody1738539838011880555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150438262,"filename":"image_17012025_18_23_10_5202.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329582664","file1":"1329582662","file0":"1329582659","file4":"1329582668","file5":"1329582674","file3":"1329582666"},"map_files_photo_id_array":[{"photo_id":"1329582674","filename":"file5"},{"photo_id":"1329582664","filename":"file2"},{"photo_id":"1329582668","filename":"file4"},{"photo_id":"1329582662","filename":"file1"},{"photo_id":"1329582659","filename":"file0"},{"photo_id":"1329582666","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329582666":["hashtag1","hashtag2"]},{"1329582662":["hashtag1","hashtag2"]},{"1329582659":["hashtag1","hashtag2"]},{"1329582674":["hashtag1","hashtag2"]},{"1329582668":["hashtag1","hashtag2"]},{"1329582664":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329582666, 1329582662, 1329582659, 1329582674, 1329582668, 1329582664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.591943979263306 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 22:47:02.134563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/22/image_17012025_18_22_11_6403.jpg', '/media/data/images/17012025/18/21/image_17012025_18_22_04_6424.jpg', '/media/data/images/17012025/18/21/image_17012025_18_21_58_5175.jpg', '/media/data/images/17012025/18/21/image_17012025_18_21_17_6387.jpg', '/media/data/images/17012025/18/21/image_17012025_18_21_10_6403.jpg', '/media/data/images/17012025/18/21/image_17012025_18_21_04_4994.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/22/image_17012025_18_22_11_6403.jpg
/media/data/images/17012025/18/21/image_17012025_18_22_04_6424.jpg
/media/data/images/17012025/18/21/image_17012025_18_21_58_5175.jpg
/media/data/images/17012025/18/21/image_17012025_18_21_17_6387.jpg
/media/data/images/17012025/18/21/image_17012025_18_21_10_6403.jpg
/media/data/images/17012025/18/21/image_17012025_18_21_04_4994.jpg
2025-01-17 22:47:02.138688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/33/image_17012025_07_33_23_6522.jpg', '/media/data/images/17012025/07/33/image_17012025_07_33_30_6526.jpg', '/media/data/images/17012025/07/33/image_17012025_07_33_35_5297.jpg', '/media/data/images/17012025/07/33/image_17012025_07_33_41_6543.jpg', '/media/data/images/17012025/07/33/image_17012025_07_33_59_5289.jpg', '/media/data/images/17012025/07/34/image_17012025_07_34_12_6549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/33/image_17012025_07_33_23_6522.jpg
/media/data/images/17012025/07/33/image_17012025_07_33_30_6526.jpg
/media/data/images/17012025/07/33/image_17012025_07_33_35_5297.jpg
/media/data/images/17012025/07/33/image_17012025_07_33_41_6543.jpg
/media/data/images/17012025/07/33/image_17012025_07_33_59_5289.jpg
/media/data/images/17012025/07/34/image_17012025_07_34_12_6549.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329582753","1329582741","1329582749","1329582697","1329582696","1329582721"],"photo_ids_order":["1329582696","1329582697","1329582721","1329582741","1329582749","1329582753"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d2724ec2c04c8b8fad056084347db936.jpg","text":"TemporaryFile(/tmp/multipartBody972178037756186263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150493168,"filename":"image_17012025_18_21_04_4994.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/186800ae853e38a73d0cb1d67d548d2e.jpg","text":"TemporaryFile(/tmp/multipartBody9078600433315424558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150493168,"filename":"image_17012025_18_21_17_6387.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7b3d1c05a5d13fec3925404341f2e230.jpg","text":"TemporaryFile(/tmp/multipartBody2981539444227906857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150493168,"filename":"image_17012025_18_21_10_6403.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/81af7a566f90b48d331b4433d459ce1b.jpg","text":"TemporaryFile(/tmp/multipartBody3869275436022391851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150493168,"filename":"image_17012025_18_22_04_6424.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/99652878967e1ef23f30a10d8cbcfc23.jpg","text":"TemporaryFile(/tmp/multipartBody2202857853995308871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150493168,"filename":"image_17012025_18_22_11_6403.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6e12cba796e39df918435e2d4cad1006.jpg","text":"TemporaryFile(/tmp/multipartBody4001907001196074121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150493168,"filename":"image_17012025_18_21_58_5175.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329582721","file1":"1329582697","file0":"1329582696","file4":"1329582749","file5":"1329582753","file3":"1329582741"},"map_files_photo_id_array":[{"photo_id":"1329582753","filename":"file5"},{"photo_id":"1329582721","filename":"file2"},{"photo_id":"1329582749","filename":"file4"},{"photo_id":"1329582697","filename":"file1"},{"photo_id":"1329582696","filename":"file0"},{"photo_id":"1329582741","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329582753":["hashtag1","hashtag2"]},{"1329582741":["hashtag1","hashtag2"]},{"1329582749":["hashtag1","hashtag2"]},{"1329582697":["hashtag1","hashtag2"]},{"1329582696":["hashtag1","hashtag2"]},{"1329582721":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329582753, 1329582741, 1329582749, 1329582697, 1329582696, 1329582721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.32337164878845 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329582762","1329582731","1329582757","1329582751","1329582745","1329582712"],"photo_ids_order":["1329582712","1329582731","1329582745","1329582751","1329582757","1329582762"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4d9a306ed5939e5d0f7f90f74846a712.jpg","text":"TemporaryFile(/tmp/multipartBody1729543578955096982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150498383,"filename":"image_17012025_07_34_12_6549.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/70385511111b2ec4d6aa865005a367f7.jpg","text":"TemporaryFile(/tmp/multipartBody8861335285078397703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150498383,"filename":"image_17012025_07_33_30_6526.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4f3ed3fe9159b2b555d604f75a7dfd3c.jpg","text":"TemporaryFile(/tmp/multipartBody200479113874890939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150498383,"filename":"image_17012025_07_33_59_5289.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/aed54a58d643a06921020826942f9741.jpg","text":"TemporaryFile(/tmp/multipartBody1454529292264775353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150498383,"filename":"image_17012025_07_33_41_6543.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/18f94761392e6d64cf2c5cc2acb5c9db.jpg","text":"TemporaryFile(/tmp/multipartBody679702476476310547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150498383,"filename":"image_17012025_07_33_35_5297.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8387e8302d60f8ef14ae4c4f809ffc09.jpg","text":"TemporaryFile(/tmp/multipartBody873829289913257857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150498383,"filename":"image_17012025_07_33_23_6522.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329582745","file1":"1329582731","file0":"1329582712","file4":"1329582757","file5":"1329582762","file3":"1329582751"},"map_files_photo_id_array":[{"photo_id":"1329582762","filename":"file5"},{"photo_id":"1329582745","filename":"file2"},{"photo_id":"1329582757","filename":"file4"},{"photo_id":"1329582731","filename":"file1"},{"photo_id":"1329582712","filename":"file0"},{"photo_id":"1329582751","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329582762":["hashtag1","hashtag2"]},{"1329582731":["hashtag1","hashtag2"]},{"1329582757":["hashtag1","hashtag2"]},{"1329582751":["hashtag1","hashtag2"]},{"1329582745":["hashtag1","hashtag2"]},{"1329582712":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329582762, 1329582731, 1329582757, 1329582751, 1329582745, 1329582712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.4636664390564 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 22:48:02.089558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/20/image_17012025_18_20_59_6430.jpg', '/media/data/images/17012025/18/20/image_17012025_18_20_16_6399.jpg', '/media/data/images/17012025/18/20/image_17012025_18_20_10_5203.jpg', '/media/data/images/17012025/18/20/image_17012025_18_20_05_6244.jpg', '/media/data/images/17012025/18/19/image_17012025_18_19_58_6372.jpg', '/media/data/images/17012025/18/19/image_17012025_18_19_16_6393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/20/image_17012025_18_20_59_6430.jpg
/media/data/images/17012025/18/20/image_17012025_18_20_16_6399.jpg
/media/data/images/17012025/18/20/image_17012025_18_20_10_5203.jpg
/media/data/images/17012025/18/20/image_17012025_18_20_05_6244.jpg
/media/data/images/17012025/18/19/image_17012025_18_19_58_6372.jpg
/media/data/images/17012025/18/19/image_17012025_18_19_16_6393.jpg
2025-01-17 22:48:02.194028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/34/image_17012025_07_34_17_5288.jpg', '/media/data/images/17012025/07/34/image_17012025_07_34_23_6524.jpg', '/media/data/images/17012025/07/34/image_17012025_07_34_41_5302.jpg', '/media/data/images/17012025/07/34/image_17012025_07_34_47_6540.jpg', '/media/data/images/17012025/07/35/image_17012025_07_35_05_6346.jpg', '/media/data/images/17012025/07/35/image_17012025_07_35_24_6529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/34/image_17012025_07_34_17_5288.jpg
/media/data/images/17012025/07/34/image_17012025_07_34_23_6524.jpg
/media/data/images/17012025/07/34/image_17012025_07_34_41_5302.jpg
/media/data/images/17012025/07/34/image_17012025_07_34_47_6540.jpg
/media/data/images/17012025/07/35/image_17012025_07_35_05_6346.jpg
/media/data/images/17012025/07/35/image_17012025_07_35_24_6529.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329582870","1329582873","1329582875","1329582878","1329582866","1329582882"],"photo_ids_order":["1329582866","1329582870","1329582873","1329582875","1329582878","1329582882"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e64614ab928d21240b8e8c3b4b697f1d.jpg","text":"TemporaryFile(/tmp/multipartBody7724831432983007055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150555576,"filename":"image_17012025_18_20_16_6399.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/484b9fb3b2e3bc17263d0562d4442fc8.jpg","text":"TemporaryFile(/tmp/multipartBody403522285861775904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150555576,"filename":"image_17012025_18_20_10_5203.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5e0929792a4ae721b1cdd8996e906097.jpg","text":"TemporaryFile(/tmp/multipartBody2107758147797961346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150555576,"filename":"image_17012025_18_20_05_6244.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2d8f1a547ff06283897e59f72104d2ca.jpg","text":"TemporaryFile(/tmp/multipartBody5127911750227774368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150555576,"filename":"image_17012025_18_19_58_6372.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7b3bf0b93ece6b237685f7b65f6e1670.jpg","text":"TemporaryFile(/tmp/multipartBody1750498328324058275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150555576,"filename":"image_17012025_18_20_59_6430.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/43da8d57ad61edddfc265393b3961faa.jpg","text":"TemporaryFile(/tmp/multipartBody8417077928566064848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150555576,"filename":"image_17012025_18_19_16_6393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329582873","file1":"1329582870","file0":"1329582866","file4":"1329582878","file5":"1329582882","file3":"1329582875"},"map_files_photo_id_array":[{"photo_id":"1329582882","filename":"file5"},{"photo_id":"1329582873","filename":"file2"},{"photo_id":"1329582878","filename":"file4"},{"photo_id":"1329582870","filename":"file1"},{"photo_id":"1329582866","filename":"file0"},{"photo_id":"1329582875","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329582870":["hashtag1","hashtag2"]},{"1329582873":["hashtag1","hashtag2"]},{"1329582875":["hashtag1","hashtag2"]},{"1329582878":["hashtag1","hashtag2"]},{"1329582866":["hashtag1","hashtag2"]},{"1329582882":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329582870, 1329582873, 1329582875, 1329582878, 1329582866, 1329582882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.24494934082031 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329582881","1329582886","1329582871","1329582874","1329582868","1329582877"],"photo_ids_order":["1329582868","1329582871","1329582874","1329582877","1329582881","1329582886"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/723ac93e00aa9935bc1f7aaa3d7250aa.jpg","text":"TemporaryFile(/tmp/multipartBody9093017222307632675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150559420,"filename":"image_17012025_07_35_05_6346.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3c258f4db7eec899b2c3dbb9aa70b8a1.jpg","text":"TemporaryFile(/tmp/multipartBody1191445436434231132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150559420,"filename":"image_17012025_07_35_24_6529.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/aa3396c7014eb9ccdc31f9d4b478f741.jpg","text":"TemporaryFile(/tmp/multipartBody5844109783463897750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150559420,"filename":"image_17012025_07_34_23_6524.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5d7bde990f205cbf6e0eb3ea73e45680.jpg","text":"TemporaryFile(/tmp/multipartBody1005275172536492388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150559420,"filename":"image_17012025_07_34_41_5302.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/48d9363646f6b9a6e8c0ddf2b383ad94.jpg","text":"TemporaryFile(/tmp/multipartBody8480329537459140889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150559420,"filename":"image_17012025_07_34_17_5288.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/62010c5e563f3c4825b750a162c9d2a5.jpg","text":"TemporaryFile(/tmp/multipartBody7512477046785284797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150559420,"filename":"image_17012025_07_34_47_6540.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329582874","file1":"1329582871","file0":"1329582868","file4":"1329582881","file5":"1329582886","file3":"1329582877"},"map_files_photo_id_array":[{"photo_id":"1329582886","filename":"file5"},{"photo_id":"1329582874","filename":"file2"},{"photo_id":"1329582881","filename":"file4"},{"photo_id":"1329582871","filename":"file1"},{"photo_id":"1329582868","filename":"file0"},{"photo_id":"1329582877","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329582881":["hashtag1","hashtag2"]},{"1329582886":["hashtag1","hashtag2"]},{"1329582871":["hashtag1","hashtag2"]},{"1329582874":["hashtag1","hashtag2"]},{"1329582868":["hashtag1","hashtag2"]},{"1329582877":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329582881, 1329582886, 1329582871, 1329582874, 1329582868, 1329582877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.00939202308655 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 22:49:02.544401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/19/image_17012025_18_19_10_5208.jpg', '/media/data/images/17012025/18/19/image_17012025_18_19_04_6210.jpg', '/media/data/images/17012025/18/18/image_17012025_18_18_58_6421.jpg', '/media/data/images/17012025/18/18/image_17012025_18_18_16_5182.jpg', '/media/data/images/17012025/18/18/image_17012025_18_18_11_6378.jpg', '/media/data/images/17012025/18/17/image_17012025_18_18_04_6502.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/19/image_17012025_18_19_10_5208.jpg
/media/data/images/17012025/18/19/image_17012025_18_19_04_6210.jpg
/media/data/images/17012025/18/18/image_17012025_18_18_58_6421.jpg
/media/data/images/17012025/18/18/image_17012025_18_18_16_5182.jpg
/media/data/images/17012025/18/18/image_17012025_18_18_11_6378.jpg
/media/data/images/17012025/18/17/image_17012025_18_18_04_6502.jpg
2025-01-17 22:49:02.535073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/35/image_17012025_07_35_29_5274.jpg', '/media/data/images/17012025/07/35/image_17012025_07_35_47_6562.jpg', '/media/data/images/17012025/07/35/image_17012025_07_35_59_6540.jpg', '/media/data/images/17012025/07/36/image_17012025_07_36_05_6339.jpg', '/media/data/images/17012025/07/36/image_17012025_07_36_23_5292.jpg', '/media/data/images/17012025/07/36/image_17012025_07_36_53_5284.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/35/image_17012025_07_35_29_5274.jpg
/media/data/images/17012025/07/35/image_17012025_07_35_47_6562.jpg
/media/data/images/17012025/07/35/image_17012025_07_35_59_6540.jpg
/media/data/images/17012025/07/36/image_17012025_07_36_05_6339.jpg
/media/data/images/17012025/07/36/image_17012025_07_36_23_5292.jpg
/media/data/images/17012025/07/36/image_17012025_07_36_53_5284.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329582923","1329582905","1329582929","1329582914","1329582908","1329582934"],"photo_ids_order":["1329582905","1329582908","1329582914","1329582923","1329582929","1329582934"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/88ca8f7c647d85657264d1e980ce29d1.jpg","text":"TemporaryFile(/tmp/multipartBody3618763482732090974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150626691,"filename":"image_17012025_07_36_05_6339.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0c051515adeef181d0cbe2e5baa2a151.jpg","text":"TemporaryFile(/tmp/multipartBody4206264492262978994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150626691,"filename":"image_17012025_07_35_29_5274.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6941bbcd713f1761e55218c7bf988543.jpg","text":"TemporaryFile(/tmp/multipartBody6548097326969732540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150626691,"filename":"image_17012025_07_36_23_5292.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f2ae35d710aef11d1086a42e62a00b9f.jpg","text":"TemporaryFile(/tmp/multipartBody3708418398281961355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150626691,"filename":"image_17012025_07_35_59_6540.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/97e3bf8eada4e70bc6a7555bc17cf606.jpg","text":"TemporaryFile(/tmp/multipartBody4311065883481742570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150626691,"filename":"image_17012025_07_35_47_6562.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b5096587474cf6f26291e1b0e7d92b69.jpg","text":"TemporaryFile(/tmp/multipartBody7633317223565638360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150626691,"filename":"image_17012025_07_36_53_5284.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329582914","file1":"1329582908","file0":"1329582905","file4":"1329582929","file5":"1329582934","file3":"1329582923"},"map_files_photo_id_array":[{"photo_id":"1329582934","filename":"file5"},{"photo_id":"1329582914","filename":"file2"},{"photo_id":"1329582929","filename":"file4"},{"photo_id":"1329582908","filename":"file1"},{"photo_id":"1329582905","filename":"file0"},{"photo_id":"1329582923","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329582923":["hashtag1","hashtag2"]},{"1329582905":["hashtag1","hashtag2"]},{"1329582929":["hashtag1","hashtag2"]},{"1329582914":["hashtag1","hashtag2"]},{"1329582908":["hashtag1","hashtag2"]},{"1329582934":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329582923, 1329582905, 1329582929, 1329582914, 1329582908, 1329582934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.41596984863281 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329582972","1329582930","1329582927","1329582911","1329582916","1329582907"],"photo_ids_order":["1329582907","1329582911","1329582916","1329582927","1329582930","1329582972"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7f47f744ee736717dc4dc0eaded48dab.jpg","text":"TemporaryFile(/tmp/multipartBody5411028578744064399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150627499,"filename":"image_17012025_18_18_04_6502.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/38fd56e314efc0afe695d817a6ce59ef.jpg","text":"TemporaryFile(/tmp/multipartBody2408040742714788211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150627499,"filename":"image_17012025_18_18_11_6378.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bf1e597b62a571888c9a2243923a3727.jpg","text":"TemporaryFile(/tmp/multipartBody3839088782665914812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150627499,"filename":"image_17012025_18_18_16_5182.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a0ed182618f4226dd0f3e288df7b09a3.jpg","text":"TemporaryFile(/tmp/multipartBody1507473261090505286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150627499,"filename":"image_17012025_18_19_04_6210.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f2b6c537956891853ac50c0dafe71a0b.jpg","text":"TemporaryFile(/tmp/multipartBody5581067157013104138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150627499,"filename":"image_17012025_18_18_58_6421.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/139a36e40900a03c799aec79e225e0e9.jpg","text":"TemporaryFile(/tmp/multipartBody8052446393965778688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150627499,"filename":"image_17012025_18_19_10_5208.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329582916","file1":"1329582911","file0":"1329582907","file4":"1329582930","file5":"1329582972","file3":"1329582927"},"map_files_photo_id_array":[{"photo_id":"1329582972","filename":"file5"},{"photo_id":"1329582916","filename":"file2"},{"photo_id":"1329582930","filename":"file4"},{"photo_id":"1329582911","filename":"file1"},{"photo_id":"1329582907","filename":"file0"},{"photo_id":"1329582927","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329582972":["hashtag1","hashtag2"]},{"1329582930":["hashtag1","hashtag2"]},{"1329582927":["hashtag1","hashtag2"]},{"1329582911":["hashtag1","hashtag2"]},{"1329582916":["hashtag1","hashtag2"]},{"1329582907":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329582972, 1329582930, 1329582927, 1329582911, 1329582916, 1329582907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.34482717514038 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 22:50:02.352992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/17/image_17012025_18_17_58_5181.jpg', '/media/data/images/17012025/18/17/image_17012025_18_17_17_6400.jpg', '/media/data/images/17012025/18/17/image_17012025_18_17_10_6411.jpg', '/media/data/images/17012025/18/17/image_17012025_18_17_04_5007.jpg', '/media/data/images/17012025/18/16/image_17012025_18_16_59_6389.jpg', '/media/data/images/17012025/18/16/image_17012025_18_16_16_6416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/17/image_17012025_18_17_58_5181.jpg
/media/data/images/17012025/18/17/image_17012025_18_17_17_6400.jpg
/media/data/images/17012025/18/17/image_17012025_18_17_10_6411.jpg
/media/data/images/17012025/18/17/image_17012025_18_17_04_5007.jpg
/media/data/images/17012025/18/16/image_17012025_18_16_59_6389.jpg
/media/data/images/17012025/18/16/image_17012025_18_16_16_6416.jpg
2025-01-17 22:50:02.407706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/37/image_17012025_07_37_16_5321.jpg', '/media/data/images/17012025/07/37/image_17012025_07_37_23_6532.jpg', '/media/data/images/17012025/07/37/image_17012025_07_37_41_6587.jpg', '/media/data/images/17012025/07/37/image_17012025_07_37_53_6560.jpg', '/media/data/images/17012025/07/37/image_17012025_07_37_59_5319.jpg', '/media/data/images/17012025/07/38/image_17012025_07_38_05_6347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/37/image_17012025_07_37_16_5321.jpg
/media/data/images/17012025/07/37/image_17012025_07_37_23_6532.jpg
/media/data/images/17012025/07/37/image_17012025_07_37_41_6587.jpg
/media/data/images/17012025/07/37/image_17012025_07_37_53_6560.jpg
/media/data/images/17012025/07/37/image_17012025_07_37_59_5319.jpg
/media/data/images/17012025/07/38/image_17012025_07_38_05_6347.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329583707","1329583699","1329583585","1329583660","1329583702","1329583587"],"photo_ids_order":["1329583585","1329583587","1329583660","1329583699","1329583702","1329583707"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a9994c33da7933125fb7eb967b5bfcd2.jpg","text":"TemporaryFile(/tmp/multipartBody6068932907796909661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150676765,"filename":"image_17012025_18_16_16_6416.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/42b992779cf7bd789168615d3853da9f.jpg","text":"TemporaryFile(/tmp/multipartBody3708012085374239305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150676765,"filename":"image_17012025_18_17_04_5007.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/271ff94c7d76586703165654c2f13dc9.jpg","text":"TemporaryFile(/tmp/multipartBody4710340462363617502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150676765,"filename":"image_17012025_18_17_58_5181.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3e9f254582451418d9f5c13af9f73f41.jpg","text":"TemporaryFile(/tmp/multipartBody6861493044419320440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150676765,"filename":"image_17012025_18_17_10_6411.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ba97ff8b236e8179fe0721d220d9fb4e.jpg","text":"TemporaryFile(/tmp/multipartBody7351606412957971844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150676765,"filename":"image_17012025_18_16_59_6389.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7b3e292a28ccc526b19e00550f3b312f.jpg","text":"TemporaryFile(/tmp/multipartBody250824637206093395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150676765,"filename":"image_17012025_18_17_17_6400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329583660","file1":"1329583587","file0":"1329583585","file4":"1329583702","file5":"1329583707","file3":"1329583699"},"map_files_photo_id_array":[{"photo_id":"1329583707","filename":"file5"},{"photo_id":"1329583660","filename":"file2"},{"photo_id":"1329583702","filename":"file4"},{"photo_id":"1329583587","filename":"file1"},{"photo_id":"1329583585","filename":"file0"},{"photo_id":"1329583699","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329583707":["hashtag1","hashtag2"]},{"1329583699":["hashtag1","hashtag2"]},{"1329583585":["hashtag1","hashtag2"]},{"1329583660":["hashtag1","hashtag2"]},{"1329583702":["hashtag1","hashtag2"]},{"1329583587":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329583707, 1329583699, 1329583585, 1329583660, 1329583702, 1329583587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.84489679336548 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329583688","1329583589","1329583700","1329583703","1329583714","1329583708"],"photo_ids_order":["1329583589","1329583688","1329583700","1329583703","1329583708","1329583714"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/52ec0caef150f1ccc8bc27e7be7bab0f.jpg","text":"TemporaryFile(/tmp/multipartBody4527032218275303463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150682765,"filename":"image_17012025_07_37_23_6532.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d89b033897bdd270302c6793ed3bfd87.jpg","text":"TemporaryFile(/tmp/multipartBody8557254587360441320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150682765,"filename":"image_17012025_07_37_16_5321.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/836f91e79f50492c2031e7fa9ef5d340.jpg","text":"TemporaryFile(/tmp/multipartBody6161315451105622077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150682765,"filename":"image_17012025_07_37_41_6587.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/10ccc1e1f212e7990a2f5394c3370861.jpg","text":"TemporaryFile(/tmp/multipartBody6180788600508956681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150682765,"filename":"image_17012025_07_37_53_6560.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/15507d44e91aadffca79b7e38e0e43a6.jpg","text":"TemporaryFile(/tmp/multipartBody5870357042400023351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150682765,"filename":"image_17012025_07_38_05_6347.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3a0fd62bb25edd3517faba7a9ea35da6.jpg","text":"TemporaryFile(/tmp/multipartBody2612428547235327724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150682765,"filename":"image_17012025_07_37_59_5319.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329583700","file1":"1329583688","file0":"1329583589","file4":"1329583708","file5":"1329583714","file3":"1329583703"},"map_files_photo_id_array":[{"photo_id":"1329583714","filename":"file5"},{"photo_id":"1329583700","filename":"file2"},{"photo_id":"1329583708","filename":"file4"},{"photo_id":"1329583688","filename":"file1"},{"photo_id":"1329583589","filename":"file0"},{"photo_id":"1329583703","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329583688":["hashtag1","hashtag2"]},{"1329583589":["hashtag1","hashtag2"]},{"1329583700":["hashtag1","hashtag2"]},{"1329583703":["hashtag1","hashtag2"]},{"1329583714":["hashtag1","hashtag2"]},{"1329583708":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329583688, 1329583589, 1329583700, 1329583703, 1329583714, 1329583708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.79484295845032 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 22:51:02.663619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/16/image_17012025_18_16_10_5237.jpg', '/media/data/images/17012025/18/16/image_17012025_18_16_05_6242.jpg', '/media/data/images/17012025/18/15/image_17012025_18_15_59_6406.jpg', '/media/data/images/17012025/18/15/image_17012025_18_15_16_6440.jpg', '/media/data/images/17012025/18/15/image_17012025_18_15_10_5202.jpg', '/media/data/images/17012025/18/14/image_17012025_18_15_05_6391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/16/image_17012025_18_16_10_5237.jpg
/media/data/images/17012025/18/16/image_17012025_18_16_05_6242.jpg
/media/data/images/17012025/18/15/image_17012025_18_15_59_6406.jpg
/media/data/images/17012025/18/15/image_17012025_18_15_16_6440.jpg
/media/data/images/17012025/18/15/image_17012025_18_15_10_5202.jpg
/media/data/images/17012025/18/14/image_17012025_18_15_05_6391.jpg
2025-01-17 22:51:02.773121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/38/image_17012025_07_38_12_6538.jpg', '/media/data/images/17012025/07/38/image_17012025_07_38_17_5288.jpg', '/media/data/images/17012025/07/38/image_17012025_07_38_23_6575.jpg', '/media/data/images/17012025/07/38/image_17012025_07_38_29_5336.jpg', '/media/data/images/17012025/07/38/image_17012025_07_38_35_6559.jpg', '/media/data/images/17012025/07/38/image_17012025_07_38_41_5298.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/38/image_17012025_07_38_12_6538.jpg
/media/data/images/17012025/07/38/image_17012025_07_38_17_5288.jpg
/media/data/images/17012025/07/38/image_17012025_07_38_23_6575.jpg
/media/data/images/17012025/07/38/image_17012025_07_38_29_5336.jpg
/media/data/images/17012025/07/38/image_17012025_07_38_35_6559.jpg
/media/data/images/17012025/07/38/image_17012025_07_38_41_5298.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329583848","1329583850","1329583855","1329584016","1329584010","1329583923"],"photo_ids_order":["1329583848","1329583850","1329583855","1329583923","1329584010","1329584016"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/73168a015d307eecb94da84fc555c794.jpg","text":"TemporaryFile(/tmp/multipartBody4198729276653242868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150735017,"filename":"image_17012025_18_16_10_5237.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6865dd4d135297be5038982930c1dec5.jpg","text":"TemporaryFile(/tmp/multipartBody4630500156575211551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150735017,"filename":"image_17012025_18_16_05_6242.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c67ebe2cea623e465407e8c3e2f85fc1.jpg","text":"TemporaryFile(/tmp/multipartBody7209605888288032607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150735017,"filename":"image_17012025_18_15_59_6406.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9acfa5414d4db27f5b402b66394aeec4.jpg","text":"TemporaryFile(/tmp/multipartBody1424686980312196997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150735017,"filename":"image_17012025_18_15_05_6391.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/18d37a1b20011369bbf3619856322c1f.jpg","text":"TemporaryFile(/tmp/multipartBody6171187312259504167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150735017,"filename":"image_17012025_18_15_10_5202.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c36790ef5bd34f3d5601fdb7c78542b6.jpg","text":"TemporaryFile(/tmp/multipartBody6375329675276399023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150735017,"filename":"image_17012025_18_15_16_6440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329583855","file1":"1329583850","file0":"1329583848","file4":"1329584010","file5":"1329584016","file3":"1329583923"},"map_files_photo_id_array":[{"photo_id":"1329584016","filename":"file5"},{"photo_id":"1329583855","filename":"file2"},{"photo_id":"1329584010","filename":"file4"},{"photo_id":"1329583850","filename":"file1"},{"photo_id":"1329583848","filename":"file0"},{"photo_id":"1329583923","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329583848":["hashtag1","hashtag2"]},{"1329583850":["hashtag1","hashtag2"]},{"1329583855":["hashtag1","hashtag2"]},{"1329584016":["hashtag1","hashtag2"]},{"1329584010":["hashtag1","hashtag2"]},{"1329583923":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329583848, 1329583850, 1329583855, 1329584016, 1329584010, 1329583923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.864073514938354 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329583854","1329583865","1329584014","1329584019","1329583956","1329583851"],"photo_ids_order":["1329583851","1329583854","1329583865","1329583956","1329584014","1329584019"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/30db5de42be1bfc0fd67522ef12d77e3.jpg","text":"TemporaryFile(/tmp/multipartBody5678478120877147729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150739973,"filename":"image_17012025_07_38_17_5288.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4b8c7a60393306d8e30dfb15a106c391.jpg","text":"TemporaryFile(/tmp/multipartBody843344550934869319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150739973,"filename":"image_17012025_07_38_23_6575.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/46b3bbdf29e5449400fcda1ed8512ef8.jpg","text":"TemporaryFile(/tmp/multipartBody6789561044898994944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150739973,"filename":"image_17012025_07_38_35_6559.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0288644c23747d8f1f889d348281db35.jpg","text":"TemporaryFile(/tmp/multipartBody3366286749028331383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150739973,"filename":"image_17012025_07_38_41_5298.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a8ceb4847428ca19799673f49fd42fae.jpg","text":"TemporaryFile(/tmp/multipartBody5400321907839565985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150739973,"filename":"image_17012025_07_38_29_5336.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ee7cfac2387bf3b8073a8dcacb92975f.jpg","text":"TemporaryFile(/tmp/multipartBody875009697505682318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150739973,"filename":"image_17012025_07_38_12_6538.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329583865","file1":"1329583854","file0":"1329583851","file4":"1329584014","file5":"1329584019","file3":"1329583956"},"map_files_photo_id_array":[{"photo_id":"1329584019","filename":"file5"},{"photo_id":"1329583865","filename":"file2"},{"photo_id":"1329584014","filename":"file4"},{"photo_id":"1329583854","filename":"file1"},{"photo_id":"1329583851","filename":"file0"},{"photo_id":"1329583956","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329583854":["hashtag1","hashtag2"]},{"1329583865":["hashtag1","hashtag2"]},{"1329584014":["hashtag1","hashtag2"]},{"1329584019":["hashtag1","hashtag2"]},{"1329583956":["hashtag1","hashtag2"]},{"1329583851":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329583854, 1329583865, 1329584014, 1329584019, 1329583956, 1329583851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.795841693878174 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 22:52:02.723492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/38/image_17012025_07_38_47_6535.jpg', '/media/data/images/17012025/07/38/image_17012025_07_38_54_6531.jpg', '/media/data/images/17012025/07/38/image_17012025_07_38_59_5297.jpg', '/media/data/images/17012025/07/39/image_17012025_07_39_05_6387.jpg', '/media/data/images/17012025/07/39/image_17012025_07_39_11_5315.jpg', '/media/data/images/17012025/07/39/image_17012025_07_39_17_6524.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/38/image_17012025_07_38_47_6535.jpg
/media/data/images/17012025/07/38/image_17012025_07_38_54_6531.jpg
/media/data/images/17012025/07/38/image_17012025_07_38_59_5297.jpg
/media/data/images/17012025/07/39/image_17012025_07_39_05_6387.jpg
/media/data/images/17012025/07/39/image_17012025_07_39_11_5315.jpg
/media/data/images/17012025/07/39/image_17012025_07_39_17_6524.jpg
2025-01-17 22:52:02.756528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/14/image_17012025_18_14_58_6393.jpg', '/media/data/images/17012025/18/14/image_17012025_18_14_16_5158.jpg', '/media/data/images/17012025/18/14/image_17012025_18_14_11_6396.jpg', '/media/data/images/17012025/18/13/image_17012025_18_14_04_6408.jpg', '/media/data/images/17012025/18/13/image_17012025_18_13_58_5182.jpg', '/media/data/images/17012025/18/13/image_17012025_18_13_17_6391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/14/image_17012025_18_14_58_6393.jpg
/media/data/images/17012025/18/14/image_17012025_18_14_16_5158.jpg
/media/data/images/17012025/18/14/image_17012025_18_14_11_6396.jpg
/media/data/images/17012025/18/13/image_17012025_18_14_04_6408.jpg
/media/data/images/17012025/18/13/image_17012025_18_13_58_5182.jpg
/media/data/images/17012025/18/13/image_17012025_18_13_17_6391.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: 16.48928713798523 secondes ---
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329584048","1329584042","1329584039","1329584050","1329584053","1329584034"],"photo_ids_order":["1329584034","1329584039","1329584042","1329584048","1329584050","1329584053"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/43869690e022fa4a11373ef1956f335f.jpg","text":"TemporaryFile(/tmp/multipartBody4061175855345240380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150794693,"filename":"image_17012025_18_14_04_6408.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c3b02ddb7a5f9a6008e6c1986463ac8d.jpg","text":"TemporaryFile(/tmp/multipartBody1195493448708980399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150794693,"filename":"image_17012025_18_14_11_6396.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e7828631fde4a8b79034e8fc9b32e259.jpg","text":"TemporaryFile(/tmp/multipartBody6674387375177284310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150794693,"filename":"image_17012025_18_14_16_5158.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5084313a64582a8f90a0d65c111d9d62.jpg","text":"TemporaryFile(/tmp/multipartBody382510542903228727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150794693,"filename":"image_17012025_18_13_58_5182.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1fe300cd20ddb2d18271794cfe332043.jpg","text":"TemporaryFile(/tmp/multipartBody7172499825675501387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150794693,"filename":"image_17012025_18_13_17_6391.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/30da42bd514ccf0d05e309511bc10b18.jpg","text":"TemporaryFile(/tmp/multipartBody2360841017549638429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150794693,"filename":"image_17012025_18_14_58_6393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329584042","file1":"1329584039","file0":"1329584034","file4":"1329584050","file5":"1329584053","file3":"1329584048"},"map_files_photo_id_array":[{"photo_id":"1329584053","filename":"file5"},{"photo_id":"1329584042","filename":"file2"},{"photo_id":"1329584050","filename":"file4"},{"photo_id":"1329584039","filename":"file1"},{"photo_id":"1329584034","filename":"file0"},{"photo_id":"1329584048","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329584048":["hashtag1","hashtag2"]},{"1329584042":["hashtag1","hashtag2"]},{"1329584039":["hashtag1","hashtag2"]},{"1329584050":["hashtag1","hashtag2"]},{"1329584053":["hashtag1","hashtag2"]},{"1329584034":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329584048, 1329584042, 1329584039, 1329584050, 1329584053, 1329584034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.67676401138306 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 22:53:02.993092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/13/image_17012025_18_13_10_6445.jpg', '/media/data/images/17012025/18/13/image_17012025_18_13_04_5062.jpg', '/media/data/images/17012025/18/12/image_17012025_18_12_59_6437.jpg', '/media/data/images/17012025/18/12/image_17012025_18_12_16_6388.jpg', '/media/data/images/17012025/18/12/image_17012025_18_12_10_6402.jpg', '/media/data/images/17012025/18/12/image_17012025_18_12_04_5178.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/13/image_17012025_18_13_10_6445.jpg
/media/data/images/17012025/18/13/image_17012025_18_13_04_5062.jpg
/media/data/images/17012025/18/12/image_17012025_18_12_59_6437.jpg
/media/data/images/17012025/18/12/image_17012025_18_12_16_6388.jpg
/media/data/images/17012025/18/12/image_17012025_18_12_10_6402.jpg
/media/data/images/17012025/18/12/image_17012025_18_12_04_5178.jpg
2025-01-17 22:53:03.103366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/38/image_17012025_07_38_47_6535.jpg', '/media/data/images/17012025/07/38/image_17012025_07_38_54_6531.jpg', '/media/data/images/17012025/07/38/image_17012025_07_38_59_5297.jpg', '/media/data/images/17012025/07/39/image_17012025_07_39_05_6387.jpg', '/media/data/images/17012025/07/39/image_17012025_07_39_11_5315.jpg', '/media/data/images/17012025/07/39/image_17012025_07_39_17_6524.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/38/image_17012025_07_38_47_6535.jpg
/media/data/images/17012025/07/38/image_17012025_07_38_54_6531.jpg
/media/data/images/17012025/07/38/image_17012025_07_38_59_5297.jpg
/media/data/images/17012025/07/39/image_17012025_07_39_05_6387.jpg
/media/data/images/17012025/07/39/image_17012025_07_39_11_5315.jpg
/media/data/images/17012025/07/39/image_17012025_07_39_17_6524.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329584138","1329584149","1329584119","1329584085","1329584124","1329584081"],"photo_ids_order":["1329584081","1329584085","1329584119","1329584124","1329584138","1329584149"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/06c1324773dbeea8d46f5db880a82cbe.jpg","text":"TemporaryFile(/tmp/multipartBody3220231817834714100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150852697,"filename":"image_17012025_18_12_10_6402.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/82d963b9149fdbd1a99ae118734650a6.jpg","text":"TemporaryFile(/tmp/multipartBody7412349407339859105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150852697,"filename":"image_17012025_18_12_04_5178.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3b4b7f86e4b978bec827d923b28c101c.jpg","text":"TemporaryFile(/tmp/multipartBody6469347943833848240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150852697,"filename":"image_17012025_18_12_59_6437.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e2d2b7b817e5d072577412720937d509.jpg","text":"TemporaryFile(/tmp/multipartBody5691303379690359146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150852697,"filename":"image_17012025_18_13_04_5062.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/732c9c1936f88c1b108bc9c4d765d8d4.jpg","text":"TemporaryFile(/tmp/multipartBody3606233849280363232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150852697,"filename":"image_17012025_18_12_16_6388.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/839f0faffadf9f6eb7c057b41d5bf701.jpg","text":"TemporaryFile(/tmp/multipartBody5298775062672475897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150852697,"filename":"image_17012025_18_13_10_6445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329584119","file1":"1329584085","file0":"1329584081","file4":"1329584138","file5":"1329584149","file3":"1329584124"},"map_files_photo_id_array":[{"photo_id":"1329584149","filename":"file5"},{"photo_id":"1329584119","filename":"file2"},{"photo_id":"1329584138","filename":"file4"},{"photo_id":"1329584085","filename":"file1"},{"photo_id":"1329584081","filename":"file0"},{"photo_id":"1329584124","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329584138":["hashtag1","hashtag2"]},{"1329584149":["hashtag1","hashtag2"]},{"1329584119":["hashtag1","hashtag2"]},{"1329584085":["hashtag1","hashtag2"]},{"1329584124":["hashtag1","hashtag2"]},{"1329584081":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329584138, 1329584149, 1329584119, 1329584085, 1329584124, 1329584081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.88476347923279 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329584156","1329584123","1329584152","1329584097","1329584148","1329584127"],"photo_ids_order":["1329584097","1329584123","1329584127","1329584148","1329584152","1329584156"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5b13a64cd68443b98a5062c9f0487af0.jpg","text":"TemporaryFile(/tmp/multipartBody6897834832675723648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150860505,"filename":"image_17012025_07_39_17_6524.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5d421da49478e677c0bd9359a0e27713.jpg","text":"TemporaryFile(/tmp/multipartBody1307714841343840753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150860505,"filename":"image_17012025_07_38_54_6531.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/91158f315bee51f105fa09c5e0b6274a.jpg","text":"TemporaryFile(/tmp/multipartBody3328346194845957945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150860505,"filename":"image_17012025_07_39_11_5315.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/738d1929284ca067dd53027f628e73e8.jpg","text":"TemporaryFile(/tmp/multipartBody4442501235495254534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150860505,"filename":"image_17012025_07_38_47_6535.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f88b027acd855b641bc940c0b59bc243.jpg","text":"TemporaryFile(/tmp/multipartBody7823005133949561236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150860505,"filename":"image_17012025_07_39_05_6387.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1269d107bb833f827a0d2c1666e71e2b.jpg","text":"TemporaryFile(/tmp/multipartBody1444779241004615165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150860505,"filename":"image_17012025_07_38_59_5297.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329584127","file1":"1329584123","file0":"1329584097","file4":"1329584152","file5":"1329584156","file3":"1329584148"},"map_files_photo_id_array":[{"photo_id":"1329584156","filename":"file5"},{"photo_id":"1329584127","filename":"file2"},{"photo_id":"1329584152","filename":"file4"},{"photo_id":"1329584123","filename":"file1"},{"photo_id":"1329584097","filename":"file0"},{"photo_id":"1329584148","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329584156":["hashtag1","hashtag2"]},{"1329584123":["hashtag1","hashtag2"]},{"1329584152":["hashtag1","hashtag2"]},{"1329584097":["hashtag1","hashtag2"]},{"1329584148":["hashtag1","hashtag2"]},{"1329584127":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329584156, 1329584123, 1329584152, 1329584097, 1329584148, 1329584127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.34841179847717 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 22:54:02.051100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/11/image_17012025_18_11_59_6394.jpg', '/media/data/images/17012025/18/11/image_17012025_18_11_16_6357.jpg', '/media/data/images/17012025/18/11/image_17012025_18_11_10_5203.jpg', '/media/data/images/17012025/18/11/image_17012025_18_11_05_6352.jpg', '/media/data/images/17012025/18/10/image_17012025_18_10_58_6404.jpg', '/media/data/images/17012025/18/10/image_17012025_18_10_16_5253.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/11/image_17012025_18_11_59_6394.jpg
/media/data/images/17012025/18/11/image_17012025_18_11_16_6357.jpg
/media/data/images/17012025/18/11/image_17012025_18_11_10_5203.jpg
/media/data/images/17012025/18/11/image_17012025_18_11_05_6352.jpg
/media/data/images/17012025/18/10/image_17012025_18_10_58_6404.jpg
/media/data/images/17012025/18/10/image_17012025_18_10_16_5253.jpg
2025-01-17 22:54:02.056752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/40/image_17012025_07_40_05_5518.jpg', '/media/data/images/17012025/07/40/image_17012025_07_40_11_6489.jpg', '/media/data/images/17012025/07/40/image_17012025_07_40_35_5286.jpg', '/media/data/images/17012025/07/40/image_17012025_07_40_47_5288.jpg', '/media/data/images/17012025/07/40/image_17012025_07_40_53_6533.jpg', '/media/data/images/17012025/07/40/image_17012025_07_41_00_6517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/40/image_17012025_07_40_05_5518.jpg
/media/data/images/17012025/07/40/image_17012025_07_40_11_6489.jpg
/media/data/images/17012025/07/40/image_17012025_07_40_35_5286.jpg
/media/data/images/17012025/07/40/image_17012025_07_40_47_5288.jpg
/media/data/images/17012025/07/40/image_17012025_07_40_53_6533.jpg
/media/data/images/17012025/07/40/image_17012025_07_41_00_6517.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329584192","1329584185","1329584182","1329584179","1329584195","1329584189"],"photo_ids_order":["1329584179","1329584182","1329584185","1329584189","1329584192","1329584195"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7fd3abc4b9d5615abe926e86278a0665.jpg","text":"TemporaryFile(/tmp/multipartBody7098664286674866124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150912692,"filename":"image_17012025_18_10_58_6404.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/69f018810e283202074c81cdbef36b7e.jpg","text":"TemporaryFile(/tmp/multipartBody702274876045438891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150912692,"filename":"image_17012025_18_11_10_5203.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b016c0a86271a5a9afea8350f73aa025.jpg","text":"TemporaryFile(/tmp/multipartBody2275020262712615741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150912692,"filename":"image_17012025_18_11_16_6357.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7285d9a02488f279500847d4e5241cab.jpg","text":"TemporaryFile(/tmp/multipartBody792080120192051801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150912692,"filename":"image_17012025_18_11_59_6394.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/458f56c2c98475d834646c7f75d1cf24.jpg","text":"TemporaryFile(/tmp/multipartBody8912507375592008214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150912692,"filename":"image_17012025_18_10_16_5253.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3594ff5744bd29dc2ff2881fce2b550e.jpg","text":"TemporaryFile(/tmp/multipartBody8434438109671362835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150912692,"filename":"image_17012025_18_11_05_6352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329584185","file1":"1329584182","file0":"1329584179","file4":"1329584192","file5":"1329584195","file3":"1329584189"},"map_files_photo_id_array":[{"photo_id":"1329584195","filename":"file5"},{"photo_id":"1329584185","filename":"file2"},{"photo_id":"1329584192","filename":"file4"},{"photo_id":"1329584182","filename":"file1"},{"photo_id":"1329584179","filename":"file0"},{"photo_id":"1329584189","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329584192":["hashtag1","hashtag2"]},{"1329584185":["hashtag1","hashtag2"]},{"1329584182":["hashtag1","hashtag2"]},{"1329584179":["hashtag1","hashtag2"]},{"1329584195":["hashtag1","hashtag2"]},{"1329584189":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329584192, 1329584185, 1329584182, 1329584179, 1329584195, 1329584189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.77736020088196 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329584183","1329584186","1329584196","1329584200","1329584190","1329584193"],"photo_ids_order":["1329584183","1329584186","1329584190","1329584193","1329584196","1329584200"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d2507d31ae99198c30b8e995d7389c48.jpg","text":"TemporaryFile(/tmp/multipartBody7559393670523735428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150917607,"filename":"image_17012025_07_40_05_5518.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a58859b88b585c8fa94c263c1a52c249.jpg","text":"TemporaryFile(/tmp/multipartBody4563961757344085381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150917607,"filename":"image_17012025_07_40_11_6489.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/078bf793e4931506e62732c86bd78e3b.jpg","text":"TemporaryFile(/tmp/multipartBody8882943497215514894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150917607,"filename":"image_17012025_07_40_53_6533.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1fcfe059d4c0d1d092037cde85f98c64.jpg","text":"TemporaryFile(/tmp/multipartBody7732059398802221581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150917607,"filename":"image_17012025_07_41_00_6517.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/77425a13ebb7c62a2da4ed0f15193bbc.jpg","text":"TemporaryFile(/tmp/multipartBody4900077906827607650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150917607,"filename":"image_17012025_07_40_35_5286.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/57f266c8367f4e57f3262ac5dd6468b9.jpg","text":"TemporaryFile(/tmp/multipartBody1783379298172261641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150917607,"filename":"image_17012025_07_40_47_5288.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329584190","file1":"1329584186","file0":"1329584183","file4":"1329584196","file5":"1329584200","file3":"1329584193"},"map_files_photo_id_array":[{"photo_id":"1329584200","filename":"file5"},{"photo_id":"1329584190","filename":"file2"},{"photo_id":"1329584196","filename":"file4"},{"photo_id":"1329584186","filename":"file1"},{"photo_id":"1329584183","filename":"file0"},{"photo_id":"1329584193","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329584183":["hashtag1","hashtag2"]},{"1329584186":["hashtag1","hashtag2"]},{"1329584196":["hashtag1","hashtag2"]},{"1329584200":["hashtag1","hashtag2"]},{"1329584190":["hashtag1","hashtag2"]},{"1329584193":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329584183, 1329584186, 1329584196, 1329584200, 1329584190, 1329584193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.08922791481018 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 22:55:02.225445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/41/image_17012025_07_41_05_5293.jpg', '/media/data/images/17012025/07/41/image_17012025_07_41_12_6548.jpg', '/media/data/images/17012025/07/41/image_17012025_07_41_29_5335.jpg', '/media/data/images/17012025/07/42/image_17012025_07_42_05_6304.jpg', '/media/data/images/17012025/07/42/image_17012025_07_42_11_5325.jpg', '/media/data/images/17012025/07/42/image_17012025_07_42_29_6568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/41/image_17012025_07_41_05_5293.jpg
/media/data/images/17012025/07/41/image_17012025_07_41_12_6548.jpg
/media/data/images/17012025/07/41/image_17012025_07_41_29_5335.jpg
/media/data/images/17012025/07/42/image_17012025_07_42_05_6304.jpg
/media/data/images/17012025/07/42/image_17012025_07_42_11_5325.jpg
/media/data/images/17012025/07/42/image_17012025_07_42_29_6568.jpg
2025-01-17 22:55:02.336613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/10/image_17012025_18_10_11_6449.jpg', '/media/data/images/17012025/18/09/image_17012025_18_10_04_6496.jpg', '/media/data/images/17012025/18/09/image_17012025_18_09_58_5188.jpg', '/media/data/images/17012025/18/09/image_17012025_18_09_17_6399.jpg', '/media/data/images/17012025/18/09/image_17012025_18_09_10_6465.jpg', '/media/data/images/17012025/18/09/image_17012025_18_09_04_4988.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/10/image_17012025_18_10_11_6449.jpg
/media/data/images/17012025/18/09/image_17012025_18_10_04_6496.jpg
/media/data/images/17012025/18/09/image_17012025_18_09_58_5188.jpg
/media/data/images/17012025/18/09/image_17012025_18_09_17_6399.jpg
/media/data/images/17012025/18/09/image_17012025_18_09_10_6465.jpg
/media/data/images/17012025/18/09/image_17012025_18_09_04_4988.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329584243","1329584231","1329584240","1329584234","1329584237","1329584247"],"photo_ids_order":["1329584231","1329584234","1329584237","1329584240","1329584243","1329584247"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/12e8d93958aba767cff7ec94d43da518.jpg","text":"TemporaryFile(/tmp/multipartBody5728158424404127181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150973663,"filename":"image_17012025_18_09_10_6465.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/055cc973e7a121221b41ac08d23319aa.jpg","text":"TemporaryFile(/tmp/multipartBody3374166717468329010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150973663,"filename":"image_17012025_18_10_11_6449.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4731b1cf97c23d60fe643197efa2b88a.jpg","text":"TemporaryFile(/tmp/multipartBody8350618075356752421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150973663,"filename":"image_17012025_18_09_17_6399.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/018c7038185ea5d555dd69044a08163e.jpg","text":"TemporaryFile(/tmp/multipartBody7374955408672215852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150973663,"filename":"image_17012025_18_10_04_6496.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/436f2ac87213db8394cfbc36a11d7be5.jpg","text":"TemporaryFile(/tmp/multipartBody7523411380292346324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150973663,"filename":"image_17012025_18_09_58_5188.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e64ef7d5fdb8ceed7e1af82150636fad.jpg","text":"TemporaryFile(/tmp/multipartBody1939187417804913410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150973663,"filename":"image_17012025_18_09_04_4988.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329584237","file1":"1329584234","file0":"1329584231","file4":"1329584243","file5":"1329584247","file3":"1329584240"},"map_files_photo_id_array":[{"photo_id":"1329584247","filename":"file5"},{"photo_id":"1329584237","filename":"file2"},{"photo_id":"1329584243","filename":"file4"},{"photo_id":"1329584234","filename":"file1"},{"photo_id":"1329584231","filename":"file0"},{"photo_id":"1329584240","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329584243":["hashtag1","hashtag2"]},{"1329584231":["hashtag1","hashtag2"]},{"1329584240":["hashtag1","hashtag2"]},{"1329584234":["hashtag1","hashtag2"]},{"1329584237":["hashtag1","hashtag2"]},{"1329584247":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329584243, 1329584231, 1329584240, 1329584234, 1329584237, 1329584247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.72485160827637 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329584249","1329584242","1329584236","1329584245","1329584239","1329584253"],"photo_ids_order":["1329584236","1329584239","1329584242","1329584245","1329584249","1329584253"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/423b83faf89cdce8dca4c1513c81c5b0.jpg","text":"TemporaryFile(/tmp/multipartBody3482827181866968573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150980984,"filename":"image_17012025_07_42_11_5325.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e0439fe1e501453247cb4872fdccc0ca.jpg","text":"TemporaryFile(/tmp/multipartBody1690741693130984736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150980984,"filename":"image_17012025_07_41_29_5335.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8913fbf6c6d3f8f5e83607b3132f1948.jpg","text":"TemporaryFile(/tmp/multipartBody2676337365374208268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150980984,"filename":"image_17012025_07_41_05_5293.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e9c2c69e3d050fa293af9ae7e2e0c328.jpg","text":"TemporaryFile(/tmp/multipartBody4675520075537365613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150980984,"filename":"image_17012025_07_42_05_6304.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c82b8db709b62eb1d57396e6aa8884e5.jpg","text":"TemporaryFile(/tmp/multipartBody3120137307228078349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150980984,"filename":"image_17012025_07_41_12_6548.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2e9a65c9448033e027c69dd5c63db792.jpg","text":"TemporaryFile(/tmp/multipartBody398279669474314649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737150980984,"filename":"image_17012025_07_42_29_6568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329584242","file1":"1329584239","file0":"1329584236","file4":"1329584249","file5":"1329584253","file3":"1329584245"},"map_files_photo_id_array":[{"photo_id":"1329584253","filename":"file5"},{"photo_id":"1329584242","filename":"file2"},{"photo_id":"1329584249","filename":"file4"},{"photo_id":"1329584239","filename":"file1"},{"photo_id":"1329584236","filename":"file0"},{"photo_id":"1329584245","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329584249":["hashtag1","hashtag2"]},{"1329584242":["hashtag1","hashtag2"]},{"1329584236":["hashtag1","hashtag2"]},{"1329584245":["hashtag1","hashtag2"]},{"1329584239":["hashtag1","hashtag2"]},{"1329584253":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329584249, 1329584242, 1329584236, 1329584245, 1329584239, 1329584253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.168487787246704 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 22:56:02.216737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/08/image_17012025_18_08_59_6406.jpg', '/media/data/images/17012025/18/08/image_17012025_18_08_16_6427.jpg', '/media/data/images/17012025/18/08/image_17012025_18_08_10_5228.jpg', '/media/data/images/17012025/18/08/image_17012025_18_08_05_6304.jpg', '/media/data/images/17012025/18/07/image_17012025_18_07_58_6419.jpg', '/media/data/images/17012025/18/07/image_17012025_18_07_16_6386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/08/image_17012025_18_08_59_6406.jpg
/media/data/images/17012025/18/08/image_17012025_18_08_16_6427.jpg
/media/data/images/17012025/18/08/image_17012025_18_08_10_5228.jpg
/media/data/images/17012025/18/08/image_17012025_18_08_05_6304.jpg
/media/data/images/17012025/18/07/image_17012025_18_07_58_6419.jpg
/media/data/images/17012025/18/07/image_17012025_18_07_16_6386.jpg
2025-01-17 22:56:02.342642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/42/image_17012025_07_42_41_5330.jpg', '/media/data/images/17012025/07/42/image_17012025_07_42_48_6537.jpg', '/media/data/images/17012025/07/42/image_17012025_07_42_53_5296.jpg', '/media/data/images/17012025/07/42/image_17012025_07_42_59_6561.jpg', '/media/data/images/17012025/07/43/image_17012025_07_43_17_5284.jpg', '/media/data/images/17012025/07/43/image_17012025_07_43_23_6575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/42/image_17012025_07_42_41_5330.jpg
/media/data/images/17012025/07/42/image_17012025_07_42_48_6537.jpg
/media/data/images/17012025/07/42/image_17012025_07_42_53_5296.jpg
/media/data/images/17012025/07/42/image_17012025_07_42_59_6561.jpg
/media/data/images/17012025/07/43/image_17012025_07_43_17_5284.jpg
/media/data/images/17012025/07/43/image_17012025_07_43_23_6575.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329584284","1329584269","1329584277","1329584271","1329584280","1329584274"],"photo_ids_order":["1329584269","1329584271","1329584274","1329584277","1329584280","1329584284"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/08f011cf979b440b39584fa8e366a8f7.jpg","text":"TemporaryFile(/tmp/multipartBody8759598402259815180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151030822,"filename":"image_17012025_18_07_16_6386.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/209129fa1cc42210cbb2b9402ac355e5.jpg","text":"TemporaryFile(/tmp/multipartBody9028810215895399875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151030822,"filename":"image_17012025_18_08_59_6406.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/258070104eccbba565b8f0ef20e6ba09.jpg","text":"TemporaryFile(/tmp/multipartBody8946218000975131018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151030822,"filename":"image_17012025_18_08_05_6304.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/13c61cf21c7aeb754814e08169525b34.jpg","text":"TemporaryFile(/tmp/multipartBody4248895793729952358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151030822,"filename":"image_17012025_18_08_16_6427.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/568771db5725b0f637bc1a33ecb33f08.jpg","text":"TemporaryFile(/tmp/multipartBody3421503916249855249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151030822,"filename":"image_17012025_18_07_58_6419.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3559b95bbbb767b093abe3b3f5886400.jpg","text":"TemporaryFile(/tmp/multipartBody8359663636691979952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151030822,"filename":"image_17012025_18_08_10_5228.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329584274","file1":"1329584271","file0":"1329584269","file4":"1329584280","file5":"1329584284","file3":"1329584277"},"map_files_photo_id_array":[{"photo_id":"1329584284","filename":"file5"},{"photo_id":"1329584274","filename":"file2"},{"photo_id":"1329584280","filename":"file4"},{"photo_id":"1329584271","filename":"file1"},{"photo_id":"1329584269","filename":"file0"},{"photo_id":"1329584277","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329584284":["hashtag1","hashtag2"]},{"1329584269":["hashtag1","hashtag2"]},{"1329584277":["hashtag1","hashtag2"]},{"1329584271":["hashtag1","hashtag2"]},{"1329584280":["hashtag1","hashtag2"]},{"1329584274":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329584284, 1329584269, 1329584277, 1329584271, 1329584280, 1329584274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.092978954315186 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329584272","1329584281","1329584275","1329584278","1329584292","1329584288"],"photo_ids_order":["1329584272","1329584275","1329584278","1329584281","1329584288","1329584292"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5881ccbc666bc713ba2be3d2f1a441cc.jpg","text":"TemporaryFile(/tmp/multipartBody5895823672127088955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151037648,"filename":"image_17012025_07_42_41_5330.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/31459809ade12cbf07d2301eb0338506.jpg","text":"TemporaryFile(/tmp/multipartBody5732859831602381582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151037648,"filename":"image_17012025_07_42_59_6561.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fecce10c1054266ccbbc964985c17cad.jpg","text":"TemporaryFile(/tmp/multipartBody6827124521999013254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151037648,"filename":"image_17012025_07_42_48_6537.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2d2e81ab2f016a8b17da2ceb20213469.jpg","text":"TemporaryFile(/tmp/multipartBody1795323333956763453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151037648,"filename":"image_17012025_07_42_53_5296.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/57a044f322462f95a5f5d4a6f478167a.jpg","text":"TemporaryFile(/tmp/multipartBody5913132688314188178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151037648,"filename":"image_17012025_07_43_23_6575.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7aa98ac730d0a3fd63b71cc0eb111a27.jpg","text":"TemporaryFile(/tmp/multipartBody3298702386755925908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151037648,"filename":"image_17012025_07_43_17_5284.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329584278","file1":"1329584275","file0":"1329584272","file4":"1329584288","file5":"1329584292","file3":"1329584281"},"map_files_photo_id_array":[{"photo_id":"1329584292","filename":"file5"},{"photo_id":"1329584278","filename":"file2"},{"photo_id":"1329584288","filename":"file4"},{"photo_id":"1329584275","filename":"file1"},{"photo_id":"1329584272","filename":"file0"},{"photo_id":"1329584281","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329584272":["hashtag1","hashtag2"]},{"1329584281":["hashtag1","hashtag2"]},{"1329584275":["hashtag1","hashtag2"]},{"1329584278":["hashtag1","hashtag2"]},{"1329584292":["hashtag1","hashtag2"]},{"1329584288":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329584272, 1329584281, 1329584275, 1329584278, 1329584292, 1329584288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.50226593017578 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 22:57:02.466038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/43/image_17012025_07_43_29_5326.jpg', '/media/data/images/17012025/07/43/image_17012025_07_43_35_6539.jpg', '/media/data/images/17012025/07/43/image_17012025_07_43_53_6528.jpg', '/media/data/images/17012025/07/43/image_17012025_07_43_59_5292.jpg', '/media/data/images/17012025/07/44/image_17012025_07_44_05_6542.jpg', '/media/data/images/17012025/07/44/image_17012025_07_44_11_5334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/43/image_17012025_07_43_29_5326.jpg
/media/data/images/17012025/07/43/image_17012025_07_43_35_6539.jpg
/media/data/images/17012025/07/43/image_17012025_07_43_53_6528.jpg
/media/data/images/17012025/07/43/image_17012025_07_43_59_5292.jpg
/media/data/images/17012025/07/44/image_17012025_07_44_05_6542.jpg
/media/data/images/17012025/07/44/image_17012025_07_44_11_5334.jpg
2025-01-17 22:57:02.602320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/07/image_17012025_18_07_10_5150.jpg', '/media/data/images/17012025/18/07/image_17012025_18_07_05_6194.jpg', '/media/data/images/17012025/18/06/image_17012025_18_06_58_6415.jpg', '/media/data/images/17012025/18/06/image_17012025_18_06_16_6389.jpg', '/media/data/images/17012025/18/06/image_17012025_18_06_10_5206.jpg', '/media/data/images/17012025/18/05/image_17012025_18_06_04_6493.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/07/image_17012025_18_07_10_5150.jpg
/media/data/images/17012025/18/07/image_17012025_18_07_05_6194.jpg
/media/data/images/17012025/18/06/image_17012025_18_06_58_6415.jpg
/media/data/images/17012025/18/06/image_17012025_18_06_16_6389.jpg
/media/data/images/17012025/18/06/image_17012025_18_06_10_5206.jpg
/media/data/images/17012025/18/05/image_17012025_18_06_04_6493.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329584339","1329584327","1329584335","1329584329","1329584332","1329584343"],"photo_ids_order":["1329584327","1329584329","1329584332","1329584335","1329584339","1329584343"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/057117a6f43c6e4c0701330ab6a60038.jpg","text":"TemporaryFile(/tmp/multipartBody1339412007772938672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151096826,"filename":"image_17012025_18_06_10_5206.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7ff3a0a3aa94ee9194601eb56653c118.jpg","text":"TemporaryFile(/tmp/multipartBody5044383210808743452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151096826,"filename":"image_17012025_18_07_10_5150.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1b0f2698144b8a66640b04ee06176525.jpg","text":"TemporaryFile(/tmp/multipartBody5832743439995553917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151096826,"filename":"image_17012025_18_06_16_6389.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/837203e65e6ce22b633c16186d35db41.jpg","text":"TemporaryFile(/tmp/multipartBody4753639975564849479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151096826,"filename":"image_17012025_18_07_05_6194.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1620d6394dc297a21b33962c103be549.jpg","text":"TemporaryFile(/tmp/multipartBody7542039050325963733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151096826,"filename":"image_17012025_18_06_58_6415.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c49da1a11a62a2a23b998ad29315f0f6.jpg","text":"TemporaryFile(/tmp/multipartBody6972928303477313676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151096826,"filename":"image_17012025_18_06_04_6493.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329584332","file1":"1329584329","file0":"1329584327","file4":"1329584339","file5":"1329584343","file3":"1329584335"},"map_files_photo_id_array":[{"photo_id":"1329584343","filename":"file5"},{"photo_id":"1329584332","filename":"file2"},{"photo_id":"1329584339","filename":"file4"},{"photo_id":"1329584329","filename":"file1"},{"photo_id":"1329584327","filename":"file0"},{"photo_id":"1329584335","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329584339":["hashtag1","hashtag2"]},{"1329584327":["hashtag1","hashtag2"]},{"1329584335":["hashtag1","hashtag2"]},{"1329584329":["hashtag1","hashtag2"]},{"1329584332":["hashtag1","hashtag2"]},{"1329584343":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329584339, 1329584327, 1329584335, 1329584329, 1329584332, 1329584343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.907368183135986 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329584342","1329584338","1329584346","1329584331","1329584349","1329584334"],"photo_ids_order":["1329584331","1329584334","1329584338","1329584342","1329584346","1329584349"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/041c8c65af3edd0a51bbd96cbee27c2f.jpg","text":"TemporaryFile(/tmp/multipartBody280727407060023655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151101410,"filename":"image_17012025_07_43_59_5292.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5ad36364e94be0c30303f314a0908678.jpg","text":"TemporaryFile(/tmp/multipartBody2975357487464033044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151101410,"filename":"image_17012025_07_43_53_6528.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0d3fce29e152a5edd6d69b91549296b2.jpg","text":"TemporaryFile(/tmp/multipartBody857662598854545796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151101410,"filename":"image_17012025_07_44_05_6542.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/10660c1ba2e9b6ba44b3debcdadf02b8.jpg","text":"TemporaryFile(/tmp/multipartBody4417638993614965789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151101410,"filename":"image_17012025_07_43_29_5326.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4fb831e9eea02ebd125e7e9250aa78a2.jpg","text":"TemporaryFile(/tmp/multipartBody5519059798474102419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151101410,"filename":"image_17012025_07_44_11_5334.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/276807628be1a46295f0a5929b7acf41.jpg","text":"TemporaryFile(/tmp/multipartBody8925211639300290465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151101410,"filename":"image_17012025_07_43_35_6539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329584338","file1":"1329584334","file0":"1329584331","file4":"1329584346","file5":"1329584349","file3":"1329584342"},"map_files_photo_id_array":[{"photo_id":"1329584349","filename":"file5"},{"photo_id":"1329584338","filename":"file2"},{"photo_id":"1329584346","filename":"file4"},{"photo_id":"1329584334","filename":"file1"},{"photo_id":"1329584331","filename":"file0"},{"photo_id":"1329584342","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329584342":["hashtag1","hashtag2"]},{"1329584338":["hashtag1","hashtag2"]},{"1329584346":["hashtag1","hashtag2"]},{"1329584331":["hashtag1","hashtag2"]},{"1329584349":["hashtag1","hashtag2"]},{"1329584334":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329584342, 1329584338, 1329584346, 1329584331, 1329584349, 1329584334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.17548108100891 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 22:58:02.506893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/44/image_17012025_07_44_17_6524.jpg', '/media/data/images/17012025/07/44/image_17012025_07_44_24_6516.jpg', '/media/data/images/17012025/07/44/image_17012025_07_44_41_5289.jpg', '/media/data/images/17012025/07/44/image_17012025_07_44_59_6527.jpg', '/media/data/images/17012025/07/45/image_17012025_07_45_05_6319.jpg', '/media/data/images/17012025/07/45/image_17012025_07_45_17_6543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/44/image_17012025_07_44_17_6524.jpg
/media/data/images/17012025/07/44/image_17012025_07_44_24_6516.jpg
/media/data/images/17012025/07/44/image_17012025_07_44_41_5289.jpg
/media/data/images/17012025/07/44/image_17012025_07_44_59_6527.jpg
/media/data/images/17012025/07/45/image_17012025_07_45_05_6319.jpg
/media/data/images/17012025/07/45/image_17012025_07_45_17_6543.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329584369","1329584360","1329584372","1329584371","1329584364","1329584367"],"photo_ids_order":["1329584360","1329584364","1329584367","1329584369","1329584371","1329584372"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/00347e02b3fb2cefce58ba2095537588.jpg","text":"TemporaryFile(/tmp/multipartBody143161933059373501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151152365,"filename":"image_17012025_07_44_59_6527.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/23710bbdae4be4193ec576c36b47ca4a.jpg","text":"TemporaryFile(/tmp/multipartBody6278042477217487821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151152365,"filename":"image_17012025_07_44_17_6524.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f116b8d8d3a9651e6ddc98078c16aa41.jpg","text":"TemporaryFile(/tmp/multipartBody1944284513044038996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151152365,"filename":"image_17012025_07_45_17_6543.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f3e1e08565620c5ba6edcfef8ae76d5b.jpg","text":"TemporaryFile(/tmp/multipartBody152739871901543260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151152365,"filename":"image_17012025_07_45_05_6319.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c5b922b78117daee90ba2912a3e3e8dd.jpg","text":"TemporaryFile(/tmp/multipartBody2636665690307850707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151152365,"filename":"image_17012025_07_44_24_6516.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/16bc336d0f46ee99560bf591a4f749b9.jpg","text":"TemporaryFile(/tmp/multipartBody4986839363969007869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151152365,"filename":"image_17012025_07_44_41_5289.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329584367","file1":"1329584364","file0":"1329584360","file4":"1329584371","file5":"1329584372","file3":"1329584369"},"map_files_photo_id_array":[{"photo_id":"1329584372","filename":"file5"},{"photo_id":"1329584367","filename":"file2"},{"photo_id":"1329584371","filename":"file4"},{"photo_id":"1329584364","filename":"file1"},{"photo_id":"1329584360","filename":"file0"},{"photo_id":"1329584369","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329584369":["hashtag1","hashtag2"]},{"1329584360":["hashtag1","hashtag2"]},{"1329584372":["hashtag1","hashtag2"]},{"1329584371":["hashtag1","hashtag2"]},{"1329584364":["hashtag1","hashtag2"]},{"1329584367":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329584369, 1329584360, 1329584372, 1329584371, 1329584364, 1329584367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.96686339378357 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 22:59:02.386229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/05/image_17012025_18_05_58_5192.jpg', '/media/data/images/17012025/18/05/image_17012025_18_05_17_6393.jpg', '/media/data/images/17012025/18/05/image_17012025_18_05_10_6475.jpg', '/media/data/images/17012025/18/05/image_17012025_18_05_04_5239.jpg', '/media/data/images/17012025/18/04/image_17012025_18_04_59_6405.jpg', '/media/data/images/17012025/18/04/image_17012025_18_04_16_6396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/05/image_17012025_18_05_58_5192.jpg
/media/data/images/17012025/18/05/image_17012025_18_05_17_6393.jpg
/media/data/images/17012025/18/05/image_17012025_18_05_10_6475.jpg
/media/data/images/17012025/18/05/image_17012025_18_05_04_5239.jpg
/media/data/images/17012025/18/04/image_17012025_18_04_59_6405.jpg
/media/data/images/17012025/18/04/image_17012025_18_04_16_6396.jpg
2025-01-17 22:59:02.428062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/45/image_17012025_07_45_29_6559.jpg', '/media/data/images/17012025/07/45/image_17012025_07_45_34_5290.jpg', '/media/data/images/17012025/07/45/image_17012025_07_45_41_6531.jpg', '/media/data/images/17012025/07/45/image_17012025_07_45_48_6525.jpg', '/media/data/images/17012025/07/45/image_17012025_07_45_53_5291.jpg', '/media/data/images/17012025/07/45/image_17012025_07_45_59_6531.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/45/image_17012025_07_45_29_6559.jpg
/media/data/images/17012025/07/45/image_17012025_07_45_34_5290.jpg
/media/data/images/17012025/07/45/image_17012025_07_45_41_6531.jpg
/media/data/images/17012025/07/45/image_17012025_07_45_48_6525.jpg
/media/data/images/17012025/07/45/image_17012025_07_45_53_5291.jpg
/media/data/images/17012025/07/45/image_17012025_07_45_59_6531.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329584462","1329584479","1329584475","1329584457","1329584433","1329584424"],"photo_ids_order":["1329584424","1329584433","1329584457","1329584462","1329584475","1329584479"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e30fe6eca43c382728309f62d8207292.jpg","text":"TemporaryFile(/tmp/multipartBody981962455769382481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151213888,"filename":"image_17012025_18_05_04_5239.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/855cc23d160a6bccabf401ab5aa7b48d.jpg","text":"TemporaryFile(/tmp/multipartBody1260471414102598659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151213888,"filename":"image_17012025_18_04_16_6396.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/064147f6e120ff6ac5206c391c1c4619.jpg","text":"TemporaryFile(/tmp/multipartBody857257175579341735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151213888,"filename":"image_17012025_18_04_59_6405.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/72ac744a5a269b8dcd09f131cdca62f2.jpg","text":"TemporaryFile(/tmp/multipartBody545545360360332060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151213888,"filename":"image_17012025_18_05_10_6475.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dd356c6a34f1e44bcb4dee1e633bcae4.jpg","text":"TemporaryFile(/tmp/multipartBody6066435940685947487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151213888,"filename":"image_17012025_18_05_17_6393.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f3ab7e2d70a51f068a05becd1ac4a2ef.jpg","text":"TemporaryFile(/tmp/multipartBody2399069275200400548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151213888,"filename":"image_17012025_18_05_58_5192.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329584457","file1":"1329584433","file0":"1329584424","file4":"1329584475","file5":"1329584479","file3":"1329584462"},"map_files_photo_id_array":[{"photo_id":"1329584479","filename":"file5"},{"photo_id":"1329584457","filename":"file2"},{"photo_id":"1329584475","filename":"file4"},{"photo_id":"1329584433","filename":"file1"},{"photo_id":"1329584424","filename":"file0"},{"photo_id":"1329584462","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329584462":["hashtag1","hashtag2"]},{"1329584479":["hashtag1","hashtag2"]},{"1329584475":["hashtag1","hashtag2"]},{"1329584457":["hashtag1","hashtag2"]},{"1329584433":["hashtag1","hashtag2"]},{"1329584424":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329584462, 1329584479, 1329584475, 1329584457, 1329584433, 1329584424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.878891706466675 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329584464","1329584437","1329584431","1329584478","1329584460","1329584486"],"photo_ids_order":["1329584431","1329584437","1329584460","1329584464","1329584478","1329584486"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0753323b1e3dda0564816c6c893c43d4.jpg","text":"TemporaryFile(/tmp/multipartBody6072535272110235397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151218038,"filename":"image_17012025_07_45_48_6525.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5fa6a8385fd41adab950b4dfb9c38128.jpg","text":"TemporaryFile(/tmp/multipartBody8798749094414784821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151218038,"filename":"image_17012025_07_45_34_5290.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ac6d65ca038b6f67ef4a79f8cfe40c36.jpg","text":"TemporaryFile(/tmp/multipartBody6448526667008203975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151218038,"filename":"image_17012025_07_45_29_6559.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2c069f55a6ce391541f4664edfae5af7.jpg","text":"TemporaryFile(/tmp/multipartBody1103905465167695658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151218038,"filename":"image_17012025_07_45_53_5291.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/592247f7f47ecd16e49553992b8cfab7.jpg","text":"TemporaryFile(/tmp/multipartBody6048108346318998984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151218038,"filename":"image_17012025_07_45_41_6531.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3b5addcd6519778f600a4becf7821e03.jpg","text":"TemporaryFile(/tmp/multipartBody1860403291258755551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151218038,"filename":"image_17012025_07_45_59_6531.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329584460","file1":"1329584437","file0":"1329584431","file4":"1329584478","file5":"1329584486","file3":"1329584464"},"map_files_photo_id_array":[{"photo_id":"1329584486","filename":"file5"},{"photo_id":"1329584460","filename":"file2"},{"photo_id":"1329584478","filename":"file4"},{"photo_id":"1329584437","filename":"file1"},{"photo_id":"1329584431","filename":"file0"},{"photo_id":"1329584464","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329584464":["hashtag1","hashtag2"]},{"1329584437":["hashtag1","hashtag2"]},{"1329584431":["hashtag1","hashtag2"]},{"1329584478":["hashtag1","hashtag2"]},{"1329584460":["hashtag1","hashtag2"]},{"1329584486":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329584464, 1329584437, 1329584431, 1329584478, 1329584460, 1329584486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.60445308685303 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 23:00:02.314906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/46/image_17012025_07_46_11_6560.jpg', '/media/data/images/17012025/07/46/image_17012025_07_46_35_5290.jpg', '/media/data/images/17012025/07/46/image_17012025_07_46_41_6565.jpg', '/media/data/images/17012025/07/46/image_17012025_07_46_47_5325.jpg', '/media/data/images/17012025/07/46/image_17012025_07_46_53_6535.jpg', '/media/data/images/17012025/07/46/image_17012025_07_46_59_5294.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/46/image_17012025_07_46_11_6560.jpg
/media/data/images/17012025/07/46/image_17012025_07_46_35_5290.jpg
/media/data/images/17012025/07/46/image_17012025_07_46_41_6565.jpg
/media/data/images/17012025/07/46/image_17012025_07_46_47_5325.jpg
/media/data/images/17012025/07/46/image_17012025_07_46_53_6535.jpg
/media/data/images/17012025/07/46/image_17012025_07_46_59_5294.jpg
2025-01-17 23:00:02.375283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/04/image_17012025_18_04_10_5250.jpg', '/media/data/images/17012025/18/04/image_17012025_18_04_05_6218.jpg', '/media/data/images/17012025/18/03/image_17012025_18_03_58_6377.jpg', '/media/data/images/17012025/18/03/image_17012025_18_03_16_6403.jpg', '/media/data/images/17012025/18/03/image_17012025_18_03_10_5205.jpg', '/media/data/images/17012025/18/02/image_17012025_18_02_58_6431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/04/image_17012025_18_04_10_5250.jpg
/media/data/images/17012025/18/04/image_17012025_18_04_05_6218.jpg
/media/data/images/17012025/18/03/image_17012025_18_03_58_6377.jpg
/media/data/images/17012025/18/03/image_17012025_18_03_16_6403.jpg
/media/data/images/17012025/18/03/image_17012025_18_03_10_5205.jpg
/media/data/images/17012025/18/02/image_17012025_18_02_58_6431.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: 13.160087823867798 secondes ---
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329584525","1329584513","1329584521","1329584509","1329584529","1329584517"],"photo_ids_order":["1329584509","1329584513","1329584517","1329584521","1329584525","1329584529"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/06279b5e48c82ad3809bf13a882273b5.jpg","text":"TemporaryFile(/tmp/multipartBody3848358287308743776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151281995,"filename":"image_17012025_07_46_53_6535.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/462abee9817723f3571ad14ec141282b.jpg","text":"TemporaryFile(/tmp/multipartBody5544350033580094981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151281995,"filename":"image_17012025_07_46_35_5290.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/36ee54277bc1a596d1e259d22a28d3cf.jpg","text":"TemporaryFile(/tmp/multipartBody4472619168703430931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151281995,"filename":"image_17012025_07_46_47_5325.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e06ad12fc6ac271b2cc40212b132b584.jpg","text":"TemporaryFile(/tmp/multipartBody9102786191069134760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151281995,"filename":"image_17012025_07_46_11_6560.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6b5c644bdf3f0e80bb820d8560a47f9f.jpg","text":"TemporaryFile(/tmp/multipartBody2858663528813865602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151281995,"filename":"image_17012025_07_46_59_5294.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8f5b4bc5049f5cc041008572db59457c.jpg","text":"TemporaryFile(/tmp/multipartBody7226932875807722955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151281995,"filename":"image_17012025_07_46_41_6565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329584517","file1":"1329584513","file0":"1329584509","file4":"1329584525","file5":"1329584529","file3":"1329584521"},"map_files_photo_id_array":[{"photo_id":"1329584529","filename":"file5"},{"photo_id":"1329584517","filename":"file2"},{"photo_id":"1329584525","filename":"file4"},{"photo_id":"1329584513","filename":"file1"},{"photo_id":"1329584509","filename":"file0"},{"photo_id":"1329584521","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329584525":["hashtag1","hashtag2"]},{"1329584513":["hashtag1","hashtag2"]},{"1329584521":["hashtag1","hashtag2"]},{"1329584509":["hashtag1","hashtag2"]},{"1329584529":["hashtag1","hashtag2"]},{"1329584517":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329584525, 1329584513, 1329584521, 1329584509, 1329584529, 1329584517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.76351857185364 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 23:01:02.550183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/04/image_17012025_18_04_10_5250.jpg', '/media/data/images/17012025/18/04/image_17012025_18_04_05_6218.jpg', '/media/data/images/17012025/18/03/image_17012025_18_03_58_6377.jpg', '/media/data/images/17012025/18/03/image_17012025_18_03_16_6403.jpg', '/media/data/images/17012025/18/03/image_17012025_18_03_10_5205.jpg', '/media/data/images/17012025/18/02/image_17012025_18_02_58_6431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/04/image_17012025_18_04_10_5250.jpg
/media/data/images/17012025/18/04/image_17012025_18_04_05_6218.jpg
/media/data/images/17012025/18/03/image_17012025_18_03_58_6377.jpg
/media/data/images/17012025/18/03/image_17012025_18_03_16_6403.jpg
/media/data/images/17012025/18/03/image_17012025_18_03_10_5205.jpg
/media/data/images/17012025/18/02/image_17012025_18_02_58_6431.jpg
2025-01-17 23:01:02.577311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/47/image_17012025_07_47_12_6534.jpg', '/media/data/images/17012025/07/47/image_17012025_07_47_17_5293.jpg', '/media/data/images/17012025/07/47/image_17012025_07_47_42_6529.jpg', '/media/data/images/17012025/07/47/image_17012025_07_47_47_5265.jpg', '/media/data/images/17012025/07/48/image_17012025_07_48_05_6425.jpg', '/media/data/images/17012025/07/48/image_17012025_07_48_11_5316.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/47/image_17012025_07_47_12_6534.jpg
/media/data/images/17012025/07/47/image_17012025_07_47_17_5293.jpg
/media/data/images/17012025/07/47/image_17012025_07_47_42_6529.jpg
/media/data/images/17012025/07/47/image_17012025_07_47_47_5265.jpg
/media/data/images/17012025/07/48/image_17012025_07_48_05_6425.jpg
/media/data/images/17012025/07/48/image_17012025_07_48_11_5316.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329584792","1329584689","1329584797","1329584781","1329584829","1329584802"],"photo_ids_order":["1329584689","1329584781","1329584792","1329584797","1329584802","1329584829"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/22618aae3b76ccdf6fd76a10df30f468.jpg","text":"TemporaryFile(/tmp/multipartBody6979741793565741476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151339906,"filename":"image_17012025_18_03_58_6377.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8c3e1c003b4d4e7ae78e69e41e38695d.jpg","text":"TemporaryFile(/tmp/multipartBody1359056096450859507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151339906,"filename":"image_17012025_18_04_10_5250.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7ee44529f203d10a1c2c1ecbe643f91d.jpg","text":"TemporaryFile(/tmp/multipartBody811245578335035339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151339906,"filename":"image_17012025_18_03_16_6403.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bda4711996be2fba087f2f8c07a39caf.jpg","text":"TemporaryFile(/tmp/multipartBody7333097553324870242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151339906,"filename":"image_17012025_18_04_05_6218.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c19aae276670e4516fb6cb791cc83725.jpg","text":"TemporaryFile(/tmp/multipartBody7056718648638869476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151339906,"filename":"image_17012025_18_02_58_6431.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ccfbe544803329279626614c99ede498.jpg","text":"TemporaryFile(/tmp/multipartBody1512112373738919297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151339906,"filename":"image_17012025_18_03_10_5205.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329584792","file1":"1329584781","file0":"1329584689","file4":"1329584802","file5":"1329584829","file3":"1329584797"},"map_files_photo_id_array":[{"photo_id":"1329584829","filename":"file5"},{"photo_id":"1329584792","filename":"file2"},{"photo_id":"1329584802","filename":"file4"},{"photo_id":"1329584781","filename":"file1"},{"photo_id":"1329584689","filename":"file0"},{"photo_id":"1329584797","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329584792":["hashtag1","hashtag2"]},{"1329584689":["hashtag1","hashtag2"]},{"1329584797":["hashtag1","hashtag2"]},{"1329584781":["hashtag1","hashtag2"]},{"1329584829":["hashtag1","hashtag2"]},{"1329584802":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329584792, 1329584689, 1329584797, 1329584781, 1329584829, 1329584802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.075050830841064 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329584840","1329584702","1329584785","1329584803","1329584793","1329584798"],"photo_ids_order":["1329584702","1329584785","1329584793","1329584798","1329584803","1329584840"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/402acee7b04827dff7173b3f842a3bdb.jpg","text":"TemporaryFile(/tmp/multipartBody3958690094541241883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151342302,"filename":"image_17012025_07_48_11_5316.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/73d3718ba3ec91b5ce4ff7786ad03940.jpg","text":"TemporaryFile(/tmp/multipartBody7518055561983894091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151342302,"filename":"image_17012025_07_47_12_6534.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/01dd430bbf1bd7b06b7f829f01fd7081.jpg","text":"TemporaryFile(/tmp/multipartBody7607755795252072062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151342302,"filename":"image_17012025_07_47_17_5293.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/01781c69799006ae06371651154afff2.jpg","text":"TemporaryFile(/tmp/multipartBody5642855215040570851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151342302,"filename":"image_17012025_07_48_05_6425.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/61e67f54dc994035300bf4242b6e6a11.jpg","text":"TemporaryFile(/tmp/multipartBody1922681970473811987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151342302,"filename":"image_17012025_07_47_42_6529.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2f03c8e6cf2c21a545b42910fd1eddc1.jpg","text":"TemporaryFile(/tmp/multipartBody2961046322949455944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151342302,"filename":"image_17012025_07_47_47_5265.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329584793","file1":"1329584785","file0":"1329584702","file4":"1329584803","file5":"1329584840","file3":"1329584798"},"map_files_photo_id_array":[{"photo_id":"1329584840","filename":"file5"},{"photo_id":"1329584793","filename":"file2"},{"photo_id":"1329584803","filename":"file4"},{"photo_id":"1329584785","filename":"file1"},{"photo_id":"1329584702","filename":"file0"},{"photo_id":"1329584798","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329584840":["hashtag1","hashtag2"]},{"1329584702":["hashtag1","hashtag2"]},{"1329584785":["hashtag1","hashtag2"]},{"1329584803":["hashtag1","hashtag2"]},{"1329584793":["hashtag1","hashtag2"]},{"1329584798":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329584840, 1329584702, 1329584785, 1329584803, 1329584793, 1329584798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.69589972496033 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 23:02:02.598921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/02/image_17012025_18_02_22_6400.jpg', '/media/data/images/17012025/18/02/image_17012025_18_02_16_5198.jpg', '/media/data/images/17012025/18/02/image_17012025_18_02_11_6443.jpg', '/media/data/images/17012025/18/01/image_17012025_18_02_04_6485.jpg', '/media/data/images/17012025/18/01/image_17012025_18_01_58_5181.jpg', '/media/data/images/17012025/18/01/image_17012025_18_01_16_6423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/02/image_17012025_18_02_22_6400.jpg
/media/data/images/17012025/18/02/image_17012025_18_02_16_5198.jpg
/media/data/images/17012025/18/02/image_17012025_18_02_11_6443.jpg
/media/data/images/17012025/18/01/image_17012025_18_02_04_6485.jpg
/media/data/images/17012025/18/01/image_17012025_18_01_58_5181.jpg
/media/data/images/17012025/18/01/image_17012025_18_01_16_6423.jpg
2025-01-17 23:02:02.580578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/48/image_17012025_07_48_17_6518.jpg', '/media/data/images/17012025/07/48/image_17012025_07_48_24_6518.jpg', '/media/data/images/17012025/07/48/image_17012025_07_48_29_5287.jpg', '/media/data/images/17012025/07/48/image_17012025_07_48_41_5286.jpg', '/media/data/images/17012025/07/48/image_17012025_07_48_47_6523.jpg', '/media/data/images/17012025/07/49/image_17012025_07_49_05_5569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/48/image_17012025_07_48_17_6518.jpg
/media/data/images/17012025/07/48/image_17012025_07_48_24_6518.jpg
/media/data/images/17012025/07/48/image_17012025_07_48_29_5287.jpg
/media/data/images/17012025/07/48/image_17012025_07_48_41_5286.jpg
/media/data/images/17012025/07/48/image_17012025_07_48_47_6523.jpg
/media/data/images/17012025/07/49/image_17012025_07_49_05_5569.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329584978","1329584971","1329584974","1329584982","1329584991","1329584970"],"photo_ids_order":["1329584970","1329584971","1329584974","1329584978","1329584982","1329584991"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0a1a8d80852fe2c88f2835f792be4649.jpg","text":"TemporaryFile(/tmp/multipartBody7480975199882249555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151395471,"filename":"image_17012025_18_02_04_6485.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/19ed826007503bd1c4b08a8c3b9c6596.jpg","text":"TemporaryFile(/tmp/multipartBody7919697618033536898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151395471,"filename":"image_17012025_18_02_16_5198.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/953dae6d9a3b97a0d6d8fdd27971f2ab.jpg","text":"TemporaryFile(/tmp/multipartBody370333567342026748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151395471,"filename":"image_17012025_18_02_11_6443.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7bac260d870a9967f16b31aa9264f274.jpg","text":"TemporaryFile(/tmp/multipartBody7912789695015135892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151395471,"filename":"image_17012025_18_01_58_5181.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4c5b62470fb826c6f78bc9017f04bdf9.jpg","text":"TemporaryFile(/tmp/multipartBody8083535107233659956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151395471,"filename":"image_17012025_18_01_16_6423.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0719365f042dc7f0b71d17d772205887.jpg","text":"TemporaryFile(/tmp/multipartBody5566150431594927810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151395471,"filename":"image_17012025_18_02_22_6400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329584974","file1":"1329584971","file0":"1329584970","file4":"1329584982","file5":"1329584991","file3":"1329584978"},"map_files_photo_id_array":[{"photo_id":"1329584991","filename":"file5"},{"photo_id":"1329584974","filename":"file2"},{"photo_id":"1329584982","filename":"file4"},{"photo_id":"1329584971","filename":"file1"},{"photo_id":"1329584970","filename":"file0"},{"photo_id":"1329584978","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329584978":["hashtag1","hashtag2"]},{"1329584971":["hashtag1","hashtag2"]},{"1329584974":["hashtag1","hashtag2"]},{"1329584982":["hashtag1","hashtag2"]},{"1329584991":["hashtag1","hashtag2"]},{"1329584970":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329584978, 1329584971, 1329584974, 1329584982, 1329584991, 1329584970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.562970876693726 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329584986","1329585010","1329585013","1329585001","1329584979","1329584975"],"photo_ids_order":["1329584975","1329584979","1329584986","1329585001","1329585010","1329585013"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8f34e13a1be0d0dc5e98e4c5890f04f6.jpg","text":"TemporaryFile(/tmp/multipartBody3329625131436905224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151406788,"filename":"image_17012025_07_48_29_5287.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0d38ca32eed75b43b56f5fa1cc3abe4f.jpg","text":"TemporaryFile(/tmp/multipartBody7614616687374781063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151406788,"filename":"image_17012025_07_48_47_6523.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9d7e3fe491b2ee28c47f68840db16a94.jpg","text":"TemporaryFile(/tmp/multipartBody1321955690641838605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151406788,"filename":"image_17012025_07_49_05_5569.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4b3ad93d4ea853400a1179861644a533.jpg","text":"TemporaryFile(/tmp/multipartBody8252403895805571357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151406788,"filename":"image_17012025_07_48_41_5286.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3fdbe6b35ef7f05b7a4673e19f708229.jpg","text":"TemporaryFile(/tmp/multipartBody8340221072364235335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151406788,"filename":"image_17012025_07_48_24_6518.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2ac76e565c642bc9ccd6ed066b47e137.jpg","text":"TemporaryFile(/tmp/multipartBody7281364383246840296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151406788,"filename":"image_17012025_07_48_17_6518.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329584986","file1":"1329584979","file0":"1329584975","file4":"1329585010","file5":"1329585013","file3":"1329585001"},"map_files_photo_id_array":[{"photo_id":"1329585013","filename":"file5"},{"photo_id":"1329584986","filename":"file2"},{"photo_id":"1329585010","filename":"file4"},{"photo_id":"1329584979","filename":"file1"},{"photo_id":"1329584975","filename":"file0"},{"photo_id":"1329585001","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329584986":["hashtag1","hashtag2"]},{"1329585010":["hashtag1","hashtag2"]},{"1329585013":["hashtag1","hashtag2"]},{"1329585001":["hashtag1","hashtag2"]},{"1329584979":["hashtag1","hashtag2"]},{"1329584975":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329584986, 1329585010, 1329585013, 1329585001, 1329584979, 1329584975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.14132833480835 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 23:03:02.789304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/49/image_17012025_07_49_11_6558.jpg', '/media/data/images/17012025/07/49/image_17012025_07_49_18_6548.jpg', '/media/data/images/17012025/07/49/image_17012025_07_49_30_6630.jpg', '/media/data/images/17012025/07/49/image_17012025_07_49_35_5322.jpg', '/media/data/images/17012025/07/49/image_17012025_07_49_54_6568.jpg', '/media/data/images/17012025/07/50/image_17012025_07_50_05_6355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/49/image_17012025_07_49_11_6558.jpg
/media/data/images/17012025/07/49/image_17012025_07_49_18_6548.jpg
/media/data/images/17012025/07/49/image_17012025_07_49_30_6630.jpg
/media/data/images/17012025/07/49/image_17012025_07_49_35_5322.jpg
/media/data/images/17012025/07/49/image_17012025_07_49_54_6568.jpg
/media/data/images/17012025/07/50/image_17012025_07_50_05_6355.jpg
2025-01-17 23:03:03.037009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/18/01/image_17012025_18_01_10_5257.jpg', '/media/data/images/17012025/18/01/image_17012025_18_01_05_6288.jpg', '/media/data/images/17012025/18/00/image_17012025_18_00_58_6397.jpg', '/media/data/images/17012025/18/00/image_17012025_18_00_16_6415.jpg', '/media/data/images/17012025/18/00/image_17012025_18_00_10_5206.jpg', '/media/data/images/17012025/17/59/image_17012025_18_00_05_6802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/18/01/image_17012025_18_01_10_5257.jpg
/media/data/images/17012025/18/01/image_17012025_18_01_05_6288.jpg
/media/data/images/17012025/18/00/image_17012025_18_00_58_6397.jpg
/media/data/images/17012025/18/00/image_17012025_18_00_16_6415.jpg
/media/data/images/17012025/18/00/image_17012025_18_00_10_5206.jpg
/media/data/images/17012025/17/59/image_17012025_18_00_05_6802.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329585073","1329585055","1329585040","1329585031","1329585028","1329585062"],"photo_ids_order":["1329585028","1329585031","1329585040","1329585055","1329585062","1329585073"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5802b8f70b1826eedf00c529597933db.jpg","text":"TemporaryFile(/tmp/multipartBody4955663975470215161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151455979,"filename":"image_17012025_18_00_05_6802.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/160e0081fb3d72b5c12d4050fdd2bc44.jpg","text":"TemporaryFile(/tmp/multipartBody1625131419423385054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151455979,"filename":"image_17012025_18_00_16_6415.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c89ebd26865b91d41acf4d656e63f418.jpg","text":"TemporaryFile(/tmp/multipartBody350324406937206317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151455979,"filename":"image_17012025_18_00_58_6397.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d7a0b441ed0df31ee47229b470879678.jpg","text":"TemporaryFile(/tmp/multipartBody7143669895719866165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151455979,"filename":"image_17012025_18_01_05_6288.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/48eaa2bcbab7149b35a8b05423d45341.jpg","text":"TemporaryFile(/tmp/multipartBody1379699508795130410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151455979,"filename":"image_17012025_18_01_10_5257.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/34a912a731db8a6f7581b80362a5334e.jpg","text":"TemporaryFile(/tmp/multipartBody2872509968779573254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151455979,"filename":"image_17012025_18_00_10_5206.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329585040","file1":"1329585031","file0":"1329585028","file4":"1329585062","file5":"1329585073","file3":"1329585055"},"map_files_photo_id_array":[{"photo_id":"1329585073","filename":"file5"},{"photo_id":"1329585040","filename":"file2"},{"photo_id":"1329585062","filename":"file4"},{"photo_id":"1329585031","filename":"file1"},{"photo_id":"1329585028","filename":"file0"},{"photo_id":"1329585055","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329585073":["hashtag1","hashtag2"]},{"1329585055":["hashtag1","hashtag2"]},{"1329585040":["hashtag1","hashtag2"]},{"1329585031":["hashtag1","hashtag2"]},{"1329585028":["hashtag1","hashtag2"]},{"1329585062":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329585073, 1329585055, 1329585040, 1329585031, 1329585028, 1329585062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.688177824020386 secondes ---
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329585041","1329585081","1329585075","1329585060","1329585054","1329585071"],"photo_ids_order":["1329585041","1329585054","1329585060","1329585071","1329585075","1329585081"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/98715a6a8f8ac857c59df12a33019c6c.jpg","text":"TemporaryFile(/tmp/multipartBody7842753098064977659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151465587,"filename":"image_17012025_07_49_11_6558.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1080b760111aee20547b7357de840f6a.jpg","text":"TemporaryFile(/tmp/multipartBody4307989459774567449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151465587,"filename":"image_17012025_07_50_05_6355.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/caad3aacec6913c2443998b7907d12bc.jpg","text":"TemporaryFile(/tmp/multipartBody7444057582193342892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151465587,"filename":"image_17012025_07_49_54_6568.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/76313409d14e8f8b092dab78d689d9c1.jpg","text":"TemporaryFile(/tmp/multipartBody1896118348385771341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151465587,"filename":"image_17012025_07_49_30_6630.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fa79aed3a33f4e20f3030fc5508b0a14.jpg","text":"TemporaryFile(/tmp/multipartBody7264565716201351426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151465587,"filename":"image_17012025_07_49_18_6548.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/deed5c096dbff5819079f5ac75f35387.jpg","text":"TemporaryFile(/tmp/multipartBody6398505343149713222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151465587,"filename":"image_17012025_07_49_35_5322.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329585060","file1":"1329585054","file0":"1329585041","file4":"1329585075","file5":"1329585081","file3":"1329585071"},"map_files_photo_id_array":[{"photo_id":"1329585081","filename":"file5"},{"photo_id":"1329585060","filename":"file2"},{"photo_id":"1329585075","filename":"file4"},{"photo_id":"1329585054","filename":"file1"},{"photo_id":"1329585041","filename":"file0"},{"photo_id":"1329585071","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329585041":["hashtag1","hashtag2"]},{"1329585081":["hashtag1","hashtag2"]},{"1329585075":["hashtag1","hashtag2"]},{"1329585060":["hashtag1","hashtag2"]},{"1329585054":["hashtag1","hashtag2"]},{"1329585071":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329585041, 1329585081, 1329585075, 1329585060, 1329585054, 1329585071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.55938458442688 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 23:04:22.649135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/59/image_17012025_17_59_58_5179.jpg', '/media/data/images/17012025/17/59/image_17012025_17_59_17_6375.jpg', '/media/data/images/17012025/17/59/image_17012025_17_59_10_6308.jpg', '/media/data/images/17012025/17/58/image_17012025_17_59_04_6379.jpg', '/media/data/images/17012025/17/58/image_17012025_17_58_58_5180.jpg', '/media/data/images/17012025/17/58/image_17012025_17_58_16_6440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/59/image_17012025_17_59_58_5179.jpg
/media/data/images/17012025/17/59/image_17012025_17_59_17_6375.jpg
/media/data/images/17012025/17/59/image_17012025_17_59_10_6308.jpg
/media/data/images/17012025/17/58/image_17012025_17_59_04_6379.jpg
/media/data/images/17012025/17/58/image_17012025_17_58_58_5180.jpg
/media/data/images/17012025/17/58/image_17012025_17_58_16_6440.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329585121","1329585118","1329585180","1329585149","1329585140","1329585164"],"photo_ids_order":["1329585118","1329585121","1329585140","1329585149","1329585164","1329585180"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/aa5a662d03e7dcc266ef4b5b29ee8583.jpg","text":"TemporaryFile(/tmp/multipartBody3555447587432050459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151529930,"filename":"image_17012025_17_59_17_6375.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/56b00b4e2fa7d33d919222707e3a4783.jpg","text":"TemporaryFile(/tmp/multipartBody6031215588415577280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151529930,"filename":"image_17012025_17_59_58_5179.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a99f7ee944ed2d93b29cab408eb34e95.jpg","text":"TemporaryFile(/tmp/multipartBody206885396230096227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151529930,"filename":"image_17012025_17_58_16_6440.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/21783fd13c56bc4962847b05e9107411.jpg","text":"TemporaryFile(/tmp/multipartBody8805349517876131959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151529930,"filename":"image_17012025_17_59_04_6379.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c8c1067e72bfb6eef03a1bf1aead722a.jpg","text":"TemporaryFile(/tmp/multipartBody7239750781527518574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151529930,"filename":"image_17012025_17_59_10_6308.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b0e939c25d5d83988dd537f695b81247.jpg","text":"TemporaryFile(/tmp/multipartBody7521423488634768229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151529930,"filename":"image_17012025_17_58_58_5180.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329585140","file1":"1329585121","file0":"1329585118","file4":"1329585164","file5":"1329585180","file3":"1329585149"},"map_files_photo_id_array":[{"photo_id":"1329585180","filename":"file5"},{"photo_id":"1329585140","filename":"file2"},{"photo_id":"1329585164","filename":"file4"},{"photo_id":"1329585121","filename":"file1"},{"photo_id":"1329585118","filename":"file0"},{"photo_id":"1329585149","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329585121":["hashtag1","hashtag2"]},{"1329585118":["hashtag1","hashtag2"]},{"1329585180":["hashtag1","hashtag2"]},{"1329585149":["hashtag1","hashtag2"]},{"1329585140":["hashtag1","hashtag2"]},{"1329585164":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329585121, 1329585118, 1329585180, 1329585149, 1329585140, 1329585164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.29951286315918 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 23:05:21.815534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/58/image_17012025_17_58_10_5179.jpg', '/media/data/images/17012025/17/58/image_17012025_17_58_05_6188.jpg', '/media/data/images/17012025/17/57/image_17012025_17_57_59_6386.jpg', '/media/data/images/17012025/17/57/image_17012025_17_57_52_6395.jpg', '/media/data/images/17012025/17/57/image_17012025_17_57_46_5178.jpg', '/media/data/images/17012025/17/57/image_17012025_17_57_41_6430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/58/image_17012025_17_58_10_5179.jpg
/media/data/images/17012025/17/58/image_17012025_17_58_05_6188.jpg
/media/data/images/17012025/17/57/image_17012025_17_57_59_6386.jpg
/media/data/images/17012025/17/57/image_17012025_17_57_52_6395.jpg
/media/data/images/17012025/17/57/image_17012025_17_57_46_5178.jpg
/media/data/images/17012025/17/57/image_17012025_17_57_41_6430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329585227","1329585212","1329585223","1329585219","1329585216","1329585210"],"photo_ids_order":["1329585210","1329585212","1329585216","1329585219","1329585223","1329585227"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/490de35e44a69ed87daa8711928abd66.jpg","text":"TemporaryFile(/tmp/multipartBody6282448173655312109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151588700,"filename":"image_17012025_17_57_41_6430.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/16fb0ae0b230f7415502424aefaad689.jpg","text":"TemporaryFile(/tmp/multipartBody4698394105590929714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151588700,"filename":"image_17012025_17_58_05_6188.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/34bdce4f9f5abaee5415b2905188448d.jpg","text":"TemporaryFile(/tmp/multipartBody3223841166441545132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151588700,"filename":"image_17012025_17_57_46_5178.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8fddf87b630e982b62cb8c3765403ef8.jpg","text":"TemporaryFile(/tmp/multipartBody2078488941493618246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151588700,"filename":"image_17012025_17_57_52_6395.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9fe198c6a942e2ba0cea8d5b2921f1c1.jpg","text":"TemporaryFile(/tmp/multipartBody8460930917690528447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151588700,"filename":"image_17012025_17_57_59_6386.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/10633d08fd7ee908fa11b2dd387c2d01.jpg","text":"TemporaryFile(/tmp/multipartBody76913191857184628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151588700,"filename":"image_17012025_17_58_10_5179.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329585216","file1":"1329585212","file0":"1329585210","file4":"1329585223","file5":"1329585227","file3":"1329585219"},"map_files_photo_id_array":[{"photo_id":"1329585227","filename":"file5"},{"photo_id":"1329585216","filename":"file2"},{"photo_id":"1329585223","filename":"file4"},{"photo_id":"1329585212","filename":"file1"},{"photo_id":"1329585210","filename":"file0"},{"photo_id":"1329585219","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329585227":["hashtag1","hashtag2"]},{"1329585212":["hashtag1","hashtag2"]},{"1329585223":["hashtag1","hashtag2"]},{"1329585219":["hashtag1","hashtag2"]},{"1329585216":["hashtag1","hashtag2"]},{"1329585210":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329585227, 1329585212, 1329585223, 1329585219, 1329585216, 1329585210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.18350887298584 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 23:06:21.903611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/57/image_17012025_17_57_34_6429.jpg', '/media/data/images/17012025/17/57/image_17012025_17_57_28_5190.jpg', '/media/data/images/17012025/17/57/image_17012025_17_57_23_6396.jpg', '/media/data/images/17012025/17/57/image_17012025_17_57_16_6402.jpg', '/media/data/images/17012025/17/57/image_17012025_17_57_10_5203.jpg', '/media/data/images/17012025/17/57/image_17012025_17_57_05_6188.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/57/image_17012025_17_57_34_6429.jpg
/media/data/images/17012025/17/57/image_17012025_17_57_28_5190.jpg
/media/data/images/17012025/17/57/image_17012025_17_57_23_6396.jpg
/media/data/images/17012025/17/57/image_17012025_17_57_16_6402.jpg
/media/data/images/17012025/17/57/image_17012025_17_57_10_5203.jpg
/media/data/images/17012025/17/57/image_17012025_17_57_05_6188.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329586099","1329586090","1329586108","1329586131","1329586115","1329586103"],"photo_ids_order":["1329586090","1329586099","1329586103","1329586108","1329586115","1329586131"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e44a660cb0f0cb73004e19fd892528a9.jpg","text":"TemporaryFile(/tmp/multipartBody7530685214197969677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151650186,"filename":"image_17012025_17_57_28_5190.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d6901feac3509501f42c0b6d6e5d1eb8.jpg","text":"TemporaryFile(/tmp/multipartBody8265790513902486004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151650186,"filename":"image_17012025_17_57_34_6429.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e76158f52da452282c1028ba309aabaa.jpg","text":"TemporaryFile(/tmp/multipartBody3495229435606872282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151650186,"filename":"image_17012025_17_57_16_6402.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fc66cf724b62897960b4737096d839ef.jpg","text":"TemporaryFile(/tmp/multipartBody4269235937225165308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151650186,"filename":"image_17012025_17_57_05_6188.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c66371a7be476189a6c24f5b6e248d08.jpg","text":"TemporaryFile(/tmp/multipartBody4647568411890015940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151650186,"filename":"image_17012025_17_57_10_5203.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fda7832925df2d85f12a845e7207ba33.jpg","text":"TemporaryFile(/tmp/multipartBody5526264024935231183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151650186,"filename":"image_17012025_17_57_23_6396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329586103","file1":"1329586099","file0":"1329586090","file4":"1329586115","file5":"1329586131","file3":"1329586108"},"map_files_photo_id_array":[{"photo_id":"1329586131","filename":"file5"},{"photo_id":"1329586103","filename":"file2"},{"photo_id":"1329586115","filename":"file4"},{"photo_id":"1329586099","filename":"file1"},{"photo_id":"1329586090","filename":"file0"},{"photo_id":"1329586108","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329586099":["hashtag1","hashtag2"]},{"1329586090":["hashtag1","hashtag2"]},{"1329586108":["hashtag1","hashtag2"]},{"1329586131":["hashtag1","hashtag2"]},{"1329586115":["hashtag1","hashtag2"]},{"1329586103":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329586099, 1329586090, 1329586108, 1329586131, 1329586115, 1329586103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.96218490600586 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 23:07:22.033249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/56/image_17012025_17_56_58_6380.jpg', '/media/data/images/17012025/17/56/image_17012025_17_56_16_6366.jpg', '/media/data/images/17012025/17/56/image_17012025_17_56_10_5265.jpg', '/media/data/images/17012025/17/56/image_17012025_17_56_05_6264.jpg', '/media/data/images/17012025/17/55/image_17012025_17_55_58_6405.jpg', '/media/data/images/17012025/17/55/image_17012025_17_55_16_5154.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/56/image_17012025_17_56_58_6380.jpg
/media/data/images/17012025/17/56/image_17012025_17_56_16_6366.jpg
/media/data/images/17012025/17/56/image_17012025_17_56_10_5265.jpg
/media/data/images/17012025/17/56/image_17012025_17_56_05_6264.jpg
/media/data/images/17012025/17/55/image_17012025_17_55_58_6405.jpg
/media/data/images/17012025/17/55/image_17012025_17_55_16_5154.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329586552","1329586557","1329586317","1329586493","1329586487","1329586481"],"photo_ids_order":["1329586317","1329586481","1329586487","1329586493","1329586552","1329586557"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/78c984d4315a7469d5ff60d97841316d.jpg","text":"TemporaryFile(/tmp/multipartBody2434587613410556892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151709824,"filename":"image_17012025_17_55_58_6405.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/735c858e11d546b7811c37c9d8522309.jpg","text":"TemporaryFile(/tmp/multipartBody6400333083929763633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151709824,"filename":"image_17012025_17_55_16_5154.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4f2e491cd7d0bb53fb1c83d2e0d817f8.jpg","text":"TemporaryFile(/tmp/multipartBody3493896120004036855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151709824,"filename":"image_17012025_17_56_58_6380.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/21acf3331c229d5215ba682d7bcbbf2f.jpg","text":"TemporaryFile(/tmp/multipartBody8454929957444798041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151709824,"filename":"image_17012025_17_56_05_6264.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7b04d49bb7de63ed87d14db67677a426.jpg","text":"TemporaryFile(/tmp/multipartBody4336314341183262299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151709824,"filename":"image_17012025_17_56_10_5265.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/48fe0d8196301453b8bee4ff7e278df3.jpg","text":"TemporaryFile(/tmp/multipartBody3645482957135175063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151709824,"filename":"image_17012025_17_56_16_6366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329586487","file1":"1329586481","file0":"1329586317","file4":"1329586552","file5":"1329586557","file3":"1329586493"},"map_files_photo_id_array":[{"photo_id":"1329586557","filename":"file5"},{"photo_id":"1329586487","filename":"file2"},{"photo_id":"1329586552","filename":"file4"},{"photo_id":"1329586481","filename":"file1"},{"photo_id":"1329586317","filename":"file0"},{"photo_id":"1329586493","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329586552":["hashtag1","hashtag2"]},{"1329586557":["hashtag1","hashtag2"]},{"1329586317":["hashtag1","hashtag2"]},{"1329586493":["hashtag1","hashtag2"]},{"1329586487":["hashtag1","hashtag2"]},{"1329586481":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329586552, 1329586557, 1329586317, 1329586493, 1329586487, 1329586481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.13703942298889 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 23:08:22.175386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/55/image_17012025_17_55_11_6394.jpg', '/media/data/images/17012025/17/54/image_17012025_17_55_04_6434.jpg', '/media/data/images/17012025/17/54/image_17012025_17_54_58_5176.jpg', '/media/data/images/17012025/17/54/image_17012025_17_54_17_6451.jpg', '/media/data/images/17012025/17/54/image_17012025_17_54_10_5267.jpg', '/media/data/images/17012025/17/54/image_17012025_17_54_05_6247.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/55/image_17012025_17_55_11_6394.jpg
/media/data/images/17012025/17/54/image_17012025_17_55_04_6434.jpg
/media/data/images/17012025/17/54/image_17012025_17_54_58_5176.jpg
/media/data/images/17012025/17/54/image_17012025_17_54_17_6451.jpg
/media/data/images/17012025/17/54/image_17012025_17_54_10_5267.jpg
/media/data/images/17012025/17/54/image_17012025_17_54_05_6247.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: 5.722861051559448 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 23:08:42.165322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/55/image_17012025_17_55_11_6394.jpg', '/media/data/images/17012025/17/54/image_17012025_17_55_04_6434.jpg', '/media/data/images/17012025/17/54/image_17012025_17_54_58_5176.jpg', '/media/data/images/17012025/17/54/image_17012025_17_54_17_6451.jpg', '/media/data/images/17012025/17/54/image_17012025_17_54_10_5267.jpg', '/media/data/images/17012025/17/54/image_17012025_17_54_05_6247.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/55/image_17012025_17_55_11_6394.jpg
/media/data/images/17012025/17/54/image_17012025_17_55_04_6434.jpg
/media/data/images/17012025/17/54/image_17012025_17_54_58_5176.jpg
/media/data/images/17012025/17/54/image_17012025_17_54_17_6451.jpg
/media/data/images/17012025/17/54/image_17012025_17_54_10_5267.jpg
/media/data/images/17012025/17/54/image_17012025_17_54_05_6247.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329586660","1329586692","1329586695","1329586665","1329586668","1329586688"],"photo_ids_order":["1329586660","1329586665","1329586668","1329586688","1329586692","1329586695"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/68eb3d466378bbebe3e78bc97eef4524.jpg","text":"TemporaryFile(/tmp/multipartBody2472655393727379797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151791057,"filename":"image_17012025_17_55_11_6394.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7105788e633e574761155ce48363f6cc.jpg","text":"TemporaryFile(/tmp/multipartBody4640944391277103799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151791057,"filename":"image_17012025_17_54_10_5267.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e2295b4563e154e53e6cf9215cddd9df.jpg","text":"TemporaryFile(/tmp/multipartBody7893193065406547343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151791057,"filename":"image_17012025_17_54_05_6247.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6b8a0a17334acd9271e187cab507104e.jpg","text":"TemporaryFile(/tmp/multipartBody1459961180404491209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151791057,"filename":"image_17012025_17_55_04_6434.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/27ea7f56d342d7757b3d33a733592c4b.jpg","text":"TemporaryFile(/tmp/multipartBody5408322578107392415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151791057,"filename":"image_17012025_17_54_58_5176.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c4b082cabc166153d761d4b5baad1b07.jpg","text":"TemporaryFile(/tmp/multipartBody2978546398600650601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151791057,"filename":"image_17012025_17_54_17_6451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329586668","file1":"1329586665","file0":"1329586660","file4":"1329586692","file5":"1329586695","file3":"1329586688"},"map_files_photo_id_array":[{"photo_id":"1329586695","filename":"file5"},{"photo_id":"1329586668","filename":"file2"},{"photo_id":"1329586692","filename":"file4"},{"photo_id":"1329586665","filename":"file1"},{"photo_id":"1329586660","filename":"file0"},{"photo_id":"1329586688","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329586660":["hashtag1","hashtag2"]},{"1329586692":["hashtag1","hashtag2"]},{"1329586695":["hashtag1","hashtag2"]},{"1329586665":["hashtag1","hashtag2"]},{"1329586668":["hashtag1","hashtag2"]},{"1329586688":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329586660, 1329586692, 1329586695, 1329586665, 1329586668, 1329586688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.405076026916504 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 23:09:42.308737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/53/image_17012025_17_53_59_6384.jpg', '/media/data/images/17012025/17/53/image_17012025_17_53_16_6395.jpg', '/media/data/images/17012025/17/53/image_17012025_17_53_10_5210.jpg', '/media/data/images/17012025/17/53/image_17012025_17_53_05_6326.jpg', '/media/data/images/17012025/17/52/image_17012025_17_52_58_6401.jpg', '/media/data/images/17012025/17/52/image_17012025_17_52_16_6392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/53/image_17012025_17_53_59_6384.jpg
/media/data/images/17012025/17/53/image_17012025_17_53_16_6395.jpg
/media/data/images/17012025/17/53/image_17012025_17_53_10_5210.jpg
/media/data/images/17012025/17/53/image_17012025_17_53_05_6326.jpg
/media/data/images/17012025/17/52/image_17012025_17_52_58_6401.jpg
/media/data/images/17012025/17/52/image_17012025_17_52_16_6392.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329587262","1329587017","1329586912","1329587223","1329587258","1329587129"],"photo_ids_order":["1329586912","1329587017","1329587129","1329587223","1329587258","1329587262"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/613610b5f9abc965449472dc437aef17.jpg","text":"TemporaryFile(/tmp/multipartBody5805512160961680209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151849067,"filename":"image_17012025_17_52_16_6392.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1d6adc08800472a6d809aba0641c523f.jpg","text":"TemporaryFile(/tmp/multipartBody2969627045938574128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151849067,"filename":"image_17012025_17_53_16_6395.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2315c2061d27fefbf74b3141dbfd67d7.jpg","text":"TemporaryFile(/tmp/multipartBody4949144577705954318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151849067,"filename":"image_17012025_17_53_59_6384.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c3148add59ec9938660bcce78b0d8853.jpg","text":"TemporaryFile(/tmp/multipartBody732073490715540888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151849067,"filename":"image_17012025_17_53_05_6326.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/66b6ad978615ad5f404f2a59a5d83a30.jpg","text":"TemporaryFile(/tmp/multipartBody1382289837239347898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151849067,"filename":"image_17012025_17_52_58_6401.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ff1030519ca1b3c723a50f10dfb3fe39.jpg","text":"TemporaryFile(/tmp/multipartBody5097678191593276865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151849067,"filename":"image_17012025_17_53_10_5210.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329587129","file1":"1329587017","file0":"1329586912","file4":"1329587258","file5":"1329587262","file3":"1329587223"},"map_files_photo_id_array":[{"photo_id":"1329587262","filename":"file5"},{"photo_id":"1329587129","filename":"file2"},{"photo_id":"1329587258","filename":"file4"},{"photo_id":"1329587017","filename":"file1"},{"photo_id":"1329586912","filename":"file0"},{"photo_id":"1329587223","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329587262":["hashtag1","hashtag2"]},{"1329587017":["hashtag1","hashtag2"]},{"1329586912":["hashtag1","hashtag2"]},{"1329587223":["hashtag1","hashtag2"]},{"1329587258":["hashtag1","hashtag2"]},{"1329587129":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329587262, 1329587017, 1329586912, 1329587223, 1329587258, 1329587129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.4093554019928 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 23:10:42.451648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/52/image_17012025_17_52_10_5200.jpg', '/media/data/images/17012025/17/51/image_17012025_17_52_04_6447.jpg', '/media/data/images/17012025/17/51/image_17012025_17_51_58_6386.jpg', '/media/data/images/17012025/17/51/image_17012025_17_51_16_5177.jpg', '/media/data/images/17012025/17/51/image_17012025_17_51_11_6435.jpg', '/media/data/images/17012025/17/50/image_17012025_17_51_04_6459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/52/image_17012025_17_52_10_5200.jpg
/media/data/images/17012025/17/51/image_17012025_17_52_04_6447.jpg
/media/data/images/17012025/17/51/image_17012025_17_51_58_6386.jpg
/media/data/images/17012025/17/51/image_17012025_17_51_16_5177.jpg
/media/data/images/17012025/17/51/image_17012025_17_51_11_6435.jpg
/media/data/images/17012025/17/50/image_17012025_17_51_04_6459.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: 8.55543065071106 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 23:11:02.862107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/52/image_17012025_17_52_10_5200.jpg', '/media/data/images/17012025/17/51/image_17012025_17_52_04_6447.jpg', '/media/data/images/17012025/17/51/image_17012025_17_51_58_6386.jpg', '/media/data/images/17012025/17/51/image_17012025_17_51_16_5177.jpg', '/media/data/images/17012025/17/51/image_17012025_17_51_11_6435.jpg', '/media/data/images/17012025/17/50/image_17012025_17_51_04_6459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/52/image_17012025_17_52_10_5200.jpg
/media/data/images/17012025/17/51/image_17012025_17_52_04_6447.jpg
/media/data/images/17012025/17/51/image_17012025_17_51_58_6386.jpg
/media/data/images/17012025/17/51/image_17012025_17_51_16_5177.jpg
/media/data/images/17012025/17/51/image_17012025_17_51_11_6435.jpg
/media/data/images/17012025/17/50/image_17012025_17_51_04_6459.jpg
2025-01-17 23:11:03.089644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/50/image_17012025_07_50_11_5340.jpg', '/media/data/images/17012025/07/50/image_17012025_07_50_53_5287.jpg', '/media/data/images/17012025/07/50/image_17012025_07_50_59_6528.jpg', '/media/data/images/17012025/07/51/image_17012025_07_51_05_6293.jpg', '/media/data/images/17012025/07/51/image_17012025_07_51_11_5317.jpg', '/media/data/images/17012025/07/51/image_17012025_07_51_22_5298.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/50/image_17012025_07_50_11_5340.jpg
/media/data/images/17012025/07/50/image_17012025_07_50_53_5287.jpg
/media/data/images/17012025/07/50/image_17012025_07_50_59_6528.jpg
/media/data/images/17012025/07/51/image_17012025_07_51_05_6293.jpg
/media/data/images/17012025/07/51/image_17012025_07_51_11_5317.jpg
/media/data/images/17012025/07/51/image_17012025_07_51_22_5298.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329587749","1329587685","1329587663","1329587753","1329587729","1329587647"],"photo_ids_order":["1329587647","1329587663","1329587685","1329587729","1329587749","1329587753"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9709b64b5c15c080b6ac7578787066f1.jpg","text":"TemporaryFile(/tmp/multipartBody403530603936195720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151941493,"filename":"image_17012025_17_51_11_6435.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/95d7d854009d5e9a7cec2cb58ec485f1.jpg","text":"TemporaryFile(/tmp/multipartBody7416896023993216791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151941493,"filename":"image_17012025_17_51_58_6386.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8de900675e377d688b4e21b6fdbeb9d4.jpg","text":"TemporaryFile(/tmp/multipartBody857955534620279556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151941493,"filename":"image_17012025_17_52_04_6447.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c0c2c078afa6118d7581e7c308b5c720.jpg","text":"TemporaryFile(/tmp/multipartBody5495001448437361029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151941493,"filename":"image_17012025_17_51_04_6459.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/837732d40d803e886cc4e0d382d92463.jpg","text":"TemporaryFile(/tmp/multipartBody792042383456517168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151941493,"filename":"image_17012025_17_51_16_5177.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/27f175e16bc5666ea318320a4c6a9ef7.jpg","text":"TemporaryFile(/tmp/multipartBody3390537177078753300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151941493,"filename":"image_17012025_17_52_10_5200.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329587685","file1":"1329587663","file0":"1329587647","file4":"1329587749","file5":"1329587753","file3":"1329587729"},"map_files_photo_id_array":[{"photo_id":"1329587753","filename":"file5"},{"photo_id":"1329587685","filename":"file2"},{"photo_id":"1329587749","filename":"file4"},{"photo_id":"1329587663","filename":"file1"},{"photo_id":"1329587647","filename":"file0"},{"photo_id":"1329587729","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329587749":["hashtag1","hashtag2"]},{"1329587685":["hashtag1","hashtag2"]},{"1329587663":["hashtag1","hashtag2"]},{"1329587753":["hashtag1","hashtag2"]},{"1329587729":["hashtag1","hashtag2"]},{"1329587647":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329587749, 1329587685, 1329587663, 1329587753, 1329587729, 1329587647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.64748215675354 secondes ---
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329587754","1329587757","1329587664","1329587750","1329587686","1329587746"],"photo_ids_order":["1329587664","1329587686","1329587746","1329587750","1329587754","1329587757"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ea7ceb21569e783ac14001d002f46158.jpg","text":"TemporaryFile(/tmp/multipartBody8169096911345003008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151949756,"filename":"image_17012025_07_51_11_5317.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/847872ac97b8f621ac2eb3004e26fec9.jpg","text":"TemporaryFile(/tmp/multipartBody6818980483444667610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151949756,"filename":"image_17012025_07_51_22_5298.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a8f53d381a88b16bac839938bcb116b4.jpg","text":"TemporaryFile(/tmp/multipartBody3337505381599428631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151949756,"filename":"image_17012025_07_50_11_5340.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6cd887500aed0c8d8b4a8a04866ec766.jpg","text":"TemporaryFile(/tmp/multipartBody3517872217469816594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151949756,"filename":"image_17012025_07_51_05_6293.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f9e968b212bc532955109556423fb49c.jpg","text":"TemporaryFile(/tmp/multipartBody1627354457736844945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151949756,"filename":"image_17012025_07_50_53_5287.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7e7be82fcf4a3c385548373a5217ceae.jpg","text":"TemporaryFile(/tmp/multipartBody8340576391852336276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737151949756,"filename":"image_17012025_07_50_59_6528.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329587746","file1":"1329587686","file0":"1329587664","file4":"1329587754","file5":"1329587757","file3":"1329587750"},"map_files_photo_id_array":[{"photo_id":"1329587757","filename":"file5"},{"photo_id":"1329587746","filename":"file2"},{"photo_id":"1329587754","filename":"file4"},{"photo_id":"1329587686","filename":"file1"},{"photo_id":"1329587664","filename":"file0"},{"photo_id":"1329587750","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329587754":["hashtag1","hashtag2"]},{"1329587757":["hashtag1","hashtag2"]},{"1329587664":["hashtag1","hashtag2"]},{"1329587750":["hashtag1","hashtag2"]},{"1329587686":["hashtag1","hashtag2"]},{"1329587746":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329587754, 1329587757, 1329587664, 1329587750, 1329587686, 1329587746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.77406096458435 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 23:12:22.721420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/50/image_17012025_17_50_58_5187.jpg', '/media/data/images/17012025/17/50/image_17012025_17_50_17_6420.jpg', '/media/data/images/17012025/17/50/image_17012025_17_50_10_6419.jpg', '/media/data/images/17012025/17/50/image_17012025_17_50_04_5118.jpg', '/media/data/images/17012025/17/49/image_17012025_17_49_59_6445.jpg', '/media/data/images/17012025/17/49/image_17012025_17_49_16_6425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/50/image_17012025_17_50_58_5187.jpg
/media/data/images/17012025/17/50/image_17012025_17_50_17_6420.jpg
/media/data/images/17012025/17/50/image_17012025_17_50_10_6419.jpg
/media/data/images/17012025/17/50/image_17012025_17_50_04_5118.jpg
/media/data/images/17012025/17/49/image_17012025_17_49_59_6445.jpg
/media/data/images/17012025/17/49/image_17012025_17_49_16_6425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329587856","1329587866","1329587875","1329587869","1329587860","1329587854"],"photo_ids_order":["1329587854","1329587856","1329587860","1329587866","1329587869","1329587875"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5ae840e481106cf003f813d4c8f92824.jpg","text":"TemporaryFile(/tmp/multipartBody4891086001543851996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152011242,"filename":"image_17012025_17_50_17_6420.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a3645ab8f160615fdb8312fa5092e85e.jpg","text":"TemporaryFile(/tmp/multipartBody2724361972371958281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152011242,"filename":"image_17012025_17_50_04_5118.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d4ef56d4ae10f377ba21ecc1162d316e.jpg","text":"TemporaryFile(/tmp/multipartBody4583229649382809969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152011242,"filename":"image_17012025_17_49_16_6425.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/55102c1061da2e5b3646fa30401eb620.jpg","text":"TemporaryFile(/tmp/multipartBody3185909436204964438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152011242,"filename":"image_17012025_17_49_59_6445.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/71c41ed91a42e9e9da12286532a78da2.jpg","text":"TemporaryFile(/tmp/multipartBody7926750485817990614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152011242,"filename":"image_17012025_17_50_10_6419.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2dfe0498665e62f873f7155bd056a752.jpg","text":"TemporaryFile(/tmp/multipartBody5000318234379798832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152011242,"filename":"image_17012025_17_50_58_5187.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329587860","file1":"1329587856","file0":"1329587854","file4":"1329587869","file5":"1329587875","file3":"1329587866"},"map_files_photo_id_array":[{"photo_id":"1329587875","filename":"file5"},{"photo_id":"1329587860","filename":"file2"},{"photo_id":"1329587869","filename":"file4"},{"photo_id":"1329587856","filename":"file1"},{"photo_id":"1329587854","filename":"file0"},{"photo_id":"1329587866","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329587856":["hashtag1","hashtag2"]},{"1329587866":["hashtag1","hashtag2"]},{"1329587875":["hashtag1","hashtag2"]},{"1329587869":["hashtag1","hashtag2"]},{"1329587860":["hashtag1","hashtag2"]},{"1329587854":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329587856, 1329587866, 1329587875, 1329587869, 1329587860, 1329587854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.66387987136841 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 23:13:21.851950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/49/image_17012025_17_49_10_5212.jpg', '/media/data/images/17012025/17/49/image_17012025_17_49_05_6209.jpg', '/media/data/images/17012025/17/48/image_17012025_17_48_58_6383.jpg', '/media/data/images/17012025/17/48/image_17012025_17_48_16_5154.jpg', '/media/data/images/17012025/17/48/image_17012025_17_48_11_6477.jpg', '/media/data/images/17012025/17/47/image_17012025_17_48_04_6629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/49/image_17012025_17_49_10_5212.jpg
/media/data/images/17012025/17/49/image_17012025_17_49_05_6209.jpg
/media/data/images/17012025/17/48/image_17012025_17_48_58_6383.jpg
/media/data/images/17012025/17/48/image_17012025_17_48_16_5154.jpg
/media/data/images/17012025/17/48/image_17012025_17_48_11_6477.jpg
/media/data/images/17012025/17/47/image_17012025_17_48_04_6629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329587955","1329587949","1329587943","1329587957","1329587945","1329587953"],"photo_ids_order":["1329587943","1329587945","1329587949","1329587953","1329587955","1329587957"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/670966764d0a54ac74570d6c6301a320.jpg","text":"TemporaryFile(/tmp/multipartBody1579210081879584803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152068002,"filename":"image_17012025_17_48_11_6477.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a149a9b52cdb374302797ce5be6d999f.jpg","text":"TemporaryFile(/tmp/multipartBody1428036082647991597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152068002,"filename":"image_17012025_17_48_58_6383.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4316ff2759e4a7f6c2b2a5b093bb1428.jpg","text":"TemporaryFile(/tmp/multipartBody8456552995862727459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152068002,"filename":"image_17012025_17_49_10_5212.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/edc044cde54e0faee47e674fb8be1d89.jpg","text":"TemporaryFile(/tmp/multipartBody5328250848859400865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152068002,"filename":"image_17012025_17_48_04_6629.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/da03146d0abb67ccc5ab7a6965b6a0d6.jpg","text":"TemporaryFile(/tmp/multipartBody7138149785523323499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152068002,"filename":"image_17012025_17_49_05_6209.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3a9df859307140e307ff0490b9fcd8d4.jpg","text":"TemporaryFile(/tmp/multipartBody5008030329887777983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152068002,"filename":"image_17012025_17_48_16_5154.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329587949","file1":"1329587945","file0":"1329587943","file4":"1329587955","file5":"1329587957","file3":"1329587953"},"map_files_photo_id_array":[{"photo_id":"1329587957","filename":"file5"},{"photo_id":"1329587949","filename":"file2"},{"photo_id":"1329587955","filename":"file4"},{"photo_id":"1329587945","filename":"file1"},{"photo_id":"1329587943","filename":"file0"},{"photo_id":"1329587953","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329587955":["hashtag1","hashtag2"]},{"1329587949":["hashtag1","hashtag2"]},{"1329587943":["hashtag1","hashtag2"]},{"1329587957":["hashtag1","hashtag2"]},{"1329587945":["hashtag1","hashtag2"]},{"1329587953":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329587955, 1329587949, 1329587943, 1329587957, 1329587945, 1329587953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.71482992172241 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 23:14:22.016848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/47/image_17012025_17_47_58_5196.jpg', '/media/data/images/17012025/17/47/image_17012025_17_47_17_6383.jpg', '/media/data/images/17012025/17/47/image_17012025_17_47_10_6429.jpg', '/media/data/images/17012025/17/47/image_17012025_17_47_04_5046.jpg', '/media/data/images/17012025/17/46/image_17012025_17_46_59_6432.jpg', '/media/data/images/17012025/17/46/image_17012025_17_46_16_6387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/47/image_17012025_17_47_58_5196.jpg
/media/data/images/17012025/17/47/image_17012025_17_47_17_6383.jpg
/media/data/images/17012025/17/47/image_17012025_17_47_10_6429.jpg
/media/data/images/17012025/17/47/image_17012025_17_47_04_5046.jpg
/media/data/images/17012025/17/46/image_17012025_17_46_59_6432.jpg
/media/data/images/17012025/17/46/image_17012025_17_46_16_6387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329588000","1329587987","1329588005","1329587990","1329587983","1329587995"],"photo_ids_order":["1329587983","1329587987","1329587990","1329587995","1329588000","1329588005"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7f08fccefe8e57e21e891c3d85ab8d21.jpg","text":"TemporaryFile(/tmp/multipartBody9076050880907408951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152130313,"filename":"image_17012025_17_46_59_6432.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5249a72f6aa8bbb9123dc7bc56b09cda.jpg","text":"TemporaryFile(/tmp/multipartBody1229081417982590743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152130313,"filename":"image_17012025_17_47_17_6383.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a74c11271abeb4703c2e658a0a3de114.jpg","text":"TemporaryFile(/tmp/multipartBody8324375030455331256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152130313,"filename":"image_17012025_17_46_16_6387.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/41de1a9db2ae0a975360560b4c1654b1.jpg","text":"TemporaryFile(/tmp/multipartBody5230805912442050068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152130313,"filename":"image_17012025_17_47_10_6429.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b8066a3cebcc68578b152cfebab5e2e9.jpg","text":"TemporaryFile(/tmp/multipartBody2617178335819789410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152130313,"filename":"image_17012025_17_47_58_5196.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f9cadfc18ace2f7c66a504ba944b6898.jpg","text":"TemporaryFile(/tmp/multipartBody8436729499239946616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152130313,"filename":"image_17012025_17_47_04_5046.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329587990","file1":"1329587987","file0":"1329587983","file4":"1329588000","file5":"1329588005","file3":"1329587995"},"map_files_photo_id_array":[{"photo_id":"1329588005","filename":"file5"},{"photo_id":"1329587990","filename":"file2"},{"photo_id":"1329588000","filename":"file4"},{"photo_id":"1329587987","filename":"file1"},{"photo_id":"1329587983","filename":"file0"},{"photo_id":"1329587995","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329588000":["hashtag1","hashtag2"]},{"1329587987":["hashtag1","hashtag2"]},{"1329588005":["hashtag1","hashtag2"]},{"1329587990":["hashtag1","hashtag2"]},{"1329587983":["hashtag1","hashtag2"]},{"1329587995":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329588000, 1329587987, 1329588005, 1329587990, 1329587983, 1329587995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.38034725189209 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 23:15:22.128368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/46/image_17012025_17_46_10_5212.jpg', '/media/data/images/17012025/17/46/image_17012025_17_46_05_6212.jpg', '/media/data/images/17012025/17/45/image_17012025_17_45_58_6402.jpg', '/media/data/images/17012025/17/45/image_17012025_17_45_16_5179.jpg', '/media/data/images/17012025/17/45/image_17012025_17_45_11_6409.jpg', '/media/data/images/17012025/17/44/image_17012025_17_45_04_6637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/46/image_17012025_17_46_10_5212.jpg
/media/data/images/17012025/17/46/image_17012025_17_46_05_6212.jpg
/media/data/images/17012025/17/45/image_17012025_17_45_58_6402.jpg
/media/data/images/17012025/17/45/image_17012025_17_45_16_5179.jpg
/media/data/images/17012025/17/45/image_17012025_17_45_11_6409.jpg
/media/data/images/17012025/17/44/image_17012025_17_45_04_6637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329588033","1329588221","1329588107","1329588385","1329588028","1329588037"],"photo_ids_order":["1329588028","1329588033","1329588037","1329588107","1329588221","1329588385"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cb8de88048e01b3c5d91c13160a02d4f.jpg","text":"TemporaryFile(/tmp/multipartBody5736480990538055769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152193191,"filename":"image_17012025_17_46_05_6212.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c12f920762149b5abdaea66f6624a504.jpg","text":"TemporaryFile(/tmp/multipartBody8662981601508589865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152193191,"filename":"image_17012025_17_45_11_6409.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/49e5e1da67df1f4a60e7e359731c518a.jpg","text":"TemporaryFile(/tmp/multipartBody5491502647405333920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152193191,"filename":"image_17012025_17_45_16_5179.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dc974809f1dbc1da9cc3700283f1f198.jpg","text":"TemporaryFile(/tmp/multipartBody8021224535398744791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152193191,"filename":"image_17012025_17_45_04_6637.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c402f73a9f39e4da5d6a5bf776235fb6.jpg","text":"TemporaryFile(/tmp/multipartBody3638501548221676124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152193191,"filename":"image_17012025_17_46_10_5212.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/19b99b43e97fb242ad1467ea5cf9471a.jpg","text":"TemporaryFile(/tmp/multipartBody5087534302426332821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152193191,"filename":"image_17012025_17_45_58_6402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329588037","file1":"1329588033","file0":"1329588028","file4":"1329588221","file5":"1329588385","file3":"1329588107"},"map_files_photo_id_array":[{"photo_id":"1329588385","filename":"file5"},{"photo_id":"1329588037","filename":"file2"},{"photo_id":"1329588221","filename":"file4"},{"photo_id":"1329588033","filename":"file1"},{"photo_id":"1329588028","filename":"file0"},{"photo_id":"1329588107","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329588033":["hashtag1","hashtag2"]},{"1329588221":["hashtag1","hashtag2"]},{"1329588107":["hashtag1","hashtag2"]},{"1329588385":["hashtag1","hashtag2"]},{"1329588028":["hashtag1","hashtag2"]},{"1329588037":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329588033, 1329588221, 1329588107, 1329588385, 1329588028, 1329588037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.68534994125366 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 23:16:22.258382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/44/image_17012025_17_44_58_5149.jpg', '/media/data/images/17012025/17/44/image_17012025_17_44_17_6431.jpg', '/media/data/images/17012025/17/44/image_17012025_17_44_10_6415.jpg', '/media/data/images/17012025/17/44/image_17012025_17_44_04_5195.jpg', '/media/data/images/17012025/17/43/image_17012025_17_43_59_6433.jpg', '/media/data/images/17012025/17/42/image_17012025_17_42_04_4975.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/44/image_17012025_17_44_58_5149.jpg
/media/data/images/17012025/17/44/image_17012025_17_44_17_6431.jpg
/media/data/images/17012025/17/44/image_17012025_17_44_10_6415.jpg
/media/data/images/17012025/17/44/image_17012025_17_44_04_5195.jpg
/media/data/images/17012025/17/43/image_17012025_17_43_59_6433.jpg
/media/data/images/17012025/17/42/image_17012025_17_42_04_4975.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329589271","1329589261","1329589255","1329589266","1329589167","1329589074"],"photo_ids_order":["1329589074","1329589167","1329589255","1329589261","1329589266","1329589271"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dc397b0bf0b0e5d421d678a4cdb205ae.jpg","text":"TemporaryFile(/tmp/multipartBody2938610690590655135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152247926,"filename":"image_17012025_17_42_04_4975.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6d18d49bde53cd9707816f179e1d75d0.jpg","text":"TemporaryFile(/tmp/multipartBody8688257702934049737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152247926,"filename":"image_17012025_17_44_04_5195.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6000d4742785d610ba9855d88b62baf7.jpg","text":"TemporaryFile(/tmp/multipartBody5217204249845835872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152247926,"filename":"image_17012025_17_44_10_6415.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/25e21d45203ebd18a7052897327c53f5.jpg","text":"TemporaryFile(/tmp/multipartBody3466575013996761028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152247926,"filename":"image_17012025_17_43_59_6433.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d700f1411e36e579340f4e74538a4e90.jpg","text":"TemporaryFile(/tmp/multipartBody6167961537942548498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152247926,"filename":"image_17012025_17_44_17_6431.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3687469a56a8ea9d54899e382d2a094b.jpg","text":"TemporaryFile(/tmp/multipartBody5051563189987256729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152247926,"filename":"image_17012025_17_44_58_5149.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329589255","file1":"1329589167","file0":"1329589074","file4":"1329589266","file5":"1329589271","file3":"1329589261"},"map_files_photo_id_array":[{"photo_id":"1329589271","filename":"file5"},{"photo_id":"1329589255","filename":"file2"},{"photo_id":"1329589266","filename":"file4"},{"photo_id":"1329589167","filename":"file1"},{"photo_id":"1329589074","filename":"file0"},{"photo_id":"1329589261","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329589271":["hashtag1","hashtag2"]},{"1329589261":["hashtag1","hashtag2"]},{"1329589255":["hashtag1","hashtag2"]},{"1329589266":["hashtag1","hashtag2"]},{"1329589167":["hashtag1","hashtag2"]},{"1329589074":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329589271, 1329589261, 1329589255, 1329589266, 1329589167, 1329589074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.94590353965759 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 23:17:22.402147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/41/image_17012025_17_41_59_6373.jpg', '/media/data/images/17012025/17/41/image_17012025_17_41_16_6388.jpg', '/media/data/images/17012025/17/41/image_17012025_17_41_10_5202.jpg', '/media/data/images/17012025/17/41/image_17012025_17_41_05_6194.jpg', '/media/data/images/17012025/17/40/image_17012025_17_40_59_6413.jpg', '/media/data/images/17012025/17/40/image_17012025_17_40_16_6397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/41/image_17012025_17_41_59_6373.jpg
/media/data/images/17012025/17/41/image_17012025_17_41_16_6388.jpg
/media/data/images/17012025/17/41/image_17012025_17_41_10_5202.jpg
/media/data/images/17012025/17/41/image_17012025_17_41_05_6194.jpg
/media/data/images/17012025/17/40/image_17012025_17_40_59_6413.jpg
/media/data/images/17012025/17/40/image_17012025_17_40_16_6397.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329589604","1329589433","1329589328","1329589337","1329589516","1329589356"],"photo_ids_order":["1329589328","1329589337","1329589356","1329589433","1329589516","1329589604"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c83250606e64e67cddb66e20c516a648.jpg","text":"TemporaryFile(/tmp/multipartBody8789845624342095464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152310375,"filename":"image_17012025_17_40_16_6397.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a8d8752c3a2d462dc1b53e36b03de9d4.jpg","text":"TemporaryFile(/tmp/multipartBody7497962219398831019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152310375,"filename":"image_17012025_17_41_05_6194.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ad8f1aecce0b927d1ceb1c8d5ff2bf41.jpg","text":"TemporaryFile(/tmp/multipartBody8720063697005003168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152310375,"filename":"image_17012025_17_41_59_6373.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cae5a17274c9fa7f9268d07879b7e3b3.jpg","text":"TemporaryFile(/tmp/multipartBody3580000847241567574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152310375,"filename":"image_17012025_17_41_16_6388.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/927d241ca3aa3b36b992dd89da83db5b.jpg","text":"TemporaryFile(/tmp/multipartBody9042492813218369784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152310375,"filename":"image_17012025_17_40_59_6413.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/43c4140ac82050656d431b6cea6369ac.jpg","text":"TemporaryFile(/tmp/multipartBody6637016896234623222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152310375,"filename":"image_17012025_17_41_10_5202.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329589356","file1":"1329589337","file0":"1329589328","file4":"1329589516","file5":"1329589604","file3":"1329589433"},"map_files_photo_id_array":[{"photo_id":"1329589604","filename":"file5"},{"photo_id":"1329589356","filename":"file2"},{"photo_id":"1329589516","filename":"file4"},{"photo_id":"1329589337","filename":"file1"},{"photo_id":"1329589328","filename":"file0"},{"photo_id":"1329589433","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329589604":["hashtag1","hashtag2"]},{"1329589433":["hashtag1","hashtag2"]},{"1329589328":["hashtag1","hashtag2"]},{"1329589337":["hashtag1","hashtag2"]},{"1329589516":["hashtag1","hashtag2"]},{"1329589356":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329589604, 1329589433, 1329589328, 1329589337, 1329589516, 1329589356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.403324127197266 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 23:18:22.562845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/40/image_17012025_17_40_10_5150.jpg', '/media/data/images/17012025/17/40/image_17012025_17_40_05_6255.jpg', '/media/data/images/17012025/17/39/image_17012025_17_39_58_6404.jpg', '/media/data/images/17012025/17/39/image_17012025_17_39_10_6445.jpg', '/media/data/images/17012025/17/39/image_17012025_17_39_04_5078.jpg', '/media/data/images/17012025/17/38/image_17012025_17_38_59_6554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/40/image_17012025_17_40_10_5150.jpg
/media/data/images/17012025/17/40/image_17012025_17_40_05_6255.jpg
/media/data/images/17012025/17/39/image_17012025_17_39_58_6404.jpg
/media/data/images/17012025/17/39/image_17012025_17_39_10_6445.jpg
/media/data/images/17012025/17/39/image_17012025_17_39_04_5078.jpg
/media/data/images/17012025/17/38/image_17012025_17_38_59_6554.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: 11.699819803237915 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 23:18:42.557091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/40/image_17012025_17_40_10_5150.jpg', '/media/data/images/17012025/17/40/image_17012025_17_40_05_6255.jpg', '/media/data/images/17012025/17/39/image_17012025_17_39_58_6404.jpg', '/media/data/images/17012025/17/39/image_17012025_17_39_10_6445.jpg', '/media/data/images/17012025/17/39/image_17012025_17_39_04_5078.jpg', '/media/data/images/17012025/17/38/image_17012025_17_38_59_6554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/40/image_17012025_17_40_10_5150.jpg
/media/data/images/17012025/17/40/image_17012025_17_40_05_6255.jpg
/media/data/images/17012025/17/39/image_17012025_17_39_58_6404.jpg
/media/data/images/17012025/17/39/image_17012025_17_39_10_6445.jpg
/media/data/images/17012025/17/39/image_17012025_17_39_04_5078.jpg
/media/data/images/17012025/17/38/image_17012025_17_38_59_6554.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329589914","1329589874","1329589901","1329589897","1329589893","1329589887"],"photo_ids_order":["1329589874","1329589887","1329589893","1329589897","1329589901","1329589914"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9f10f8306855942dd99325bf433470ad.jpg","text":"TemporaryFile(/tmp/multipartBody7316787339382690555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152397860,"filename":"image_17012025_17_38_59_6554.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4525e0afa2f23a22eea1e498b25d1aba.jpg","text":"TemporaryFile(/tmp/multipartBody7361619017408855792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152397860,"filename":"image_17012025_17_40_10_5150.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e9aab836e3b9ec7793670de72e99ac77.jpg","text":"TemporaryFile(/tmp/multipartBody6975656228009722179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152397860,"filename":"image_17012025_17_39_04_5078.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fc51ab1685a0d492736fb67cf0409c55.jpg","text":"TemporaryFile(/tmp/multipartBody8427619290170703864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152397860,"filename":"image_17012025_17_39_10_6445.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8defe5c8ba5f7f802972365d6d4cd9d9.jpg","text":"TemporaryFile(/tmp/multipartBody2365534921951009979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152397860,"filename":"image_17012025_17_39_58_6404.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8eb017ae47196dd1a4807436e59764ab.jpg","text":"TemporaryFile(/tmp/multipartBody1873805280390325158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152397860,"filename":"image_17012025_17_40_05_6255.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329589893","file1":"1329589887","file0":"1329589874","file4":"1329589901","file5":"1329589914","file3":"1329589897"},"map_files_photo_id_array":[{"photo_id":"1329589914","filename":"file5"},{"photo_id":"1329589893","filename":"file2"},{"photo_id":"1329589901","filename":"file4"},{"photo_id":"1329589887","filename":"file1"},{"photo_id":"1329589874","filename":"file0"},{"photo_id":"1329589897","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329589914":["hashtag1","hashtag2"]},{"1329589874":["hashtag1","hashtag2"]},{"1329589901":["hashtag1","hashtag2"]},{"1329589897":["hashtag1","hashtag2"]},{"1329589893":["hashtag1","hashtag2"]},{"1329589887":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329589914, 1329589874, 1329589901, 1329589897, 1329589893, 1329589887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.98624062538147 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 23:19:42.708588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/38/image_17012025_17_38_52_5335.jpg', '/media/data/images/17012025/17/38/image_17012025_17_38_47_6594.jpg', '/media/data/images/17012025/17/38/image_17012025_17_38_40_6552.jpg', '/media/data/images/17012025/17/38/image_17012025_17_38_34_5304.jpg', '/media/data/images/17012025/17/38/image_17012025_17_38_28_6545.jpg', '/media/data/images/17012025/17/38/image_17012025_17_38_22_5319.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/38/image_17012025_17_38_52_5335.jpg
/media/data/images/17012025/17/38/image_17012025_17_38_47_6594.jpg
/media/data/images/17012025/17/38/image_17012025_17_38_40_6552.jpg
/media/data/images/17012025/17/38/image_17012025_17_38_34_5304.jpg
/media/data/images/17012025/17/38/image_17012025_17_38_28_6545.jpg
/media/data/images/17012025/17/38/image_17012025_17_38_22_5319.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329590217","1329590106","1329590864","1329590644","1329590416","1329590014"],"photo_ids_order":["1329590014","1329590106","1329590217","1329590416","1329590644","1329590864"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a03a9650faea7a16402a68ad7720003d.jpg","text":"TemporaryFile(/tmp/multipartBody6039408071838567019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152457228,"filename":"image_17012025_17_38_40_6552.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/38e108e2b9a97c3d8162a78ea54318e5.jpg","text":"TemporaryFile(/tmp/multipartBody6276788026760018683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152457228,"filename":"image_17012025_17_38_47_6594.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4bbff09a61cba228790549732e2fade4.jpg","text":"TemporaryFile(/tmp/multipartBody1798006895935538370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152457228,"filename":"image_17012025_17_38_22_5319.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8634aaa6d8ef5ae51c85649d2cfdc23c.jpg","text":"TemporaryFile(/tmp/multipartBody1232195815183151998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152457228,"filename":"image_17012025_17_38_28_6545.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f76211ce43b0a071b065a21be0800222.jpg","text":"TemporaryFile(/tmp/multipartBody5093726237454286145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152457228,"filename":"image_17012025_17_38_34_5304.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/35c5b1c61f861b622500ba23f907756d.jpg","text":"TemporaryFile(/tmp/multipartBody220753513084518558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152457228,"filename":"image_17012025_17_38_52_5335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329590217","file1":"1329590106","file0":"1329590014","file4":"1329590644","file5":"1329590864","file3":"1329590416"},"map_files_photo_id_array":[{"photo_id":"1329590864","filename":"file5"},{"photo_id":"1329590217","filename":"file2"},{"photo_id":"1329590644","filename":"file4"},{"photo_id":"1329590106","filename":"file1"},{"photo_id":"1329590014","filename":"file0"},{"photo_id":"1329590416","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329590217":["hashtag1","hashtag2"]},{"1329590106":["hashtag1","hashtag2"]},{"1329590864":["hashtag1","hashtag2"]},{"1329590644":["hashtag1","hashtag2"]},{"1329590416":["hashtag1","hashtag2"]},{"1329590014":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329590217, 1329590106, 1329590864, 1329590644, 1329590416, 1329590014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.79717421531677 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 23:20:41.827457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/38/image_17012025_17_38_17_6550.jpg', '/media/data/images/17012025/17/38/image_17012025_17_38_10_5338.jpg', '/media/data/images/17012025/17/38/image_17012025_17_38_05_6316.jpg', '/media/data/images/17012025/17/37/image_17012025_17_37_58_6530.jpg', '/media/data/images/17012025/17/37/image_17012025_17_37_16_6526.jpg', '/media/data/images/17012025/17/37/image_17012025_17_37_10_5305.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/38/image_17012025_17_38_17_6550.jpg
/media/data/images/17012025/17/38/image_17012025_17_38_10_5338.jpg
/media/data/images/17012025/17/38/image_17012025_17_38_05_6316.jpg
/media/data/images/17012025/17/37/image_17012025_17_37_58_6530.jpg
/media/data/images/17012025/17/37/image_17012025_17_37_16_6526.jpg
/media/data/images/17012025/17/37/image_17012025_17_37_10_5305.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329591251","1329591245","1329591262","1329591265","1329591259","1329591268"],"photo_ids_order":["1329591245","1329591251","1329591259","1329591262","1329591265","1329591268"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b10a7a8a6c9491cd7cfcb47ff7f5f133.jpg","text":"TemporaryFile(/tmp/multipartBody8149468769617331335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152520356,"filename":"image_17012025_17_38_10_5338.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6c2149741a05cba097f8cdb54404ecfa.jpg","text":"TemporaryFile(/tmp/multipartBody5148193877178244136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152520356,"filename":"image_17012025_17_38_17_6550.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9aba797935baff6206fe5c698af2faa4.jpg","text":"TemporaryFile(/tmp/multipartBody2400119218936240622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152520356,"filename":"image_17012025_17_37_58_6530.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/aeb418e3a7077b73872d3aec07b2043c.jpg","text":"TemporaryFile(/tmp/multipartBody6936262251499220940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152520356,"filename":"image_17012025_17_37_16_6526.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/72b94083f6eb4cc4a4596e44eb9c8f84.jpg","text":"TemporaryFile(/tmp/multipartBody4863161863311457416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152520356,"filename":"image_17012025_17_38_05_6316.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6e23685ebc5ddf8f2eb04f029bfdbef0.jpg","text":"TemporaryFile(/tmp/multipartBody5630253450027777219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152520356,"filename":"image_17012025_17_37_10_5305.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329591259","file1":"1329591251","file0":"1329591245","file4":"1329591265","file5":"1329591268","file3":"1329591262"},"map_files_photo_id_array":[{"photo_id":"1329591268","filename":"file5"},{"photo_id":"1329591259","filename":"file2"},{"photo_id":"1329591265","filename":"file4"},{"photo_id":"1329591251","filename":"file1"},{"photo_id":"1329591245","filename":"file0"},{"photo_id":"1329591262","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329591251":["hashtag1","hashtag2"]},{"1329591245":["hashtag1","hashtag2"]},{"1329591262":["hashtag1","hashtag2"]},{"1329591265":["hashtag1","hashtag2"]},{"1329591259":["hashtag1","hashtag2"]},{"1329591268":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329591251, 1329591245, 1329591262, 1329591265, 1329591259, 1329591268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.7432382106781 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 23:21:41.961594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/37/image_17012025_17_37_04_6287.jpg', '/media/data/images/17012025/17/36/image_17012025_17_36_58_5303.jpg', '/media/data/images/17012025/17/36/image_17012025_17_36_16_5291.jpg', '/media/data/images/17012025/17/36/image_17012025_17_36_11_6617.jpg', '/media/data/images/17012025/17/36/image_17012025_17_36_04_5316.jpg', '/media/data/images/17012025/17/35/image_17012025_17_35_59_6552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/37/image_17012025_17_37_04_6287.jpg
/media/data/images/17012025/17/36/image_17012025_17_36_58_5303.jpg
/media/data/images/17012025/17/36/image_17012025_17_36_16_5291.jpg
/media/data/images/17012025/17/36/image_17012025_17_36_11_6617.jpg
/media/data/images/17012025/17/36/image_17012025_17_36_04_5316.jpg
/media/data/images/17012025/17/35/image_17012025_17_35_59_6552.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":["1329592073","1329591947","1329592018","1329592006","1329591891","1329592014"],"photo_ids_order":["1329591891","1329591947","1329592006","1329592014","1329592018","1329592073"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/127e34fcf52b1310b254ae003ae1accb.jpg","text":"TemporaryFile(/tmp/multipartBody5882026027144311623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152575558,"filename":"image_17012025_17_35_59_6552.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/15b2c49dd97ae84c3d0f4aeafd91791c.jpg","text":"TemporaryFile(/tmp/multipartBody784431889888427235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152575558,"filename":"image_17012025_17_36_58_5303.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e919286b0e4ab0a348a14f5d4c449afa.jpg","text":"TemporaryFile(/tmp/multipartBody2378742523040936307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152575558,"filename":"image_17012025_17_36_04_5316.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4f2c7a6249d7bd1ce1d187e2abc9c1d6.jpg","text":"TemporaryFile(/tmp/multipartBody4239453830175409263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152575558,"filename":"image_17012025_17_36_16_5291.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8ecb9d30f7318bbbdca56804d744c8a6.jpg","text":"TemporaryFile(/tmp/multipartBody573919513661915290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152575558,"filename":"image_17012025_17_37_04_6287.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/786e7b59b5dac2759d10bc505f6076c4.jpg","text":"TemporaryFile(/tmp/multipartBody3925773708011730165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152575558,"filename":"image_17012025_17_36_11_6617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329592006","file1":"1329591947","file0":"1329591891","file4":"1329592018","file5":"1329592073","file3":"1329592014"},"map_files_photo_id_array":[{"photo_id":"1329592073","filename":"file5"},{"photo_id":"1329592006","filename":"file2"},{"photo_id":"1329592018","filename":"file4"},{"photo_id":"1329591947","filename":"file1"},{"photo_id":"1329591891","filename":"file0"},{"photo_id":"1329592014","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329592073":["hashtag1","hashtag2"]},{"1329591947":["hashtag1","hashtag2"]},{"1329592018":["hashtag1","hashtag2"]},{"1329592006":["hashtag1","hashtag2"]},{"1329591891":["hashtag1","hashtag2"]},{"1329592014":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329592073, 1329591947, 1329592018, 1329592006, 1329591891, 1329592014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.2140588760376 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 23:23:02.551189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/51/image_17012025_07_51_36_6560.jpg', '/media/data/images/17012025/07/51/image_17012025_07_51_53_5324.jpg', '/media/data/images/17012025/07/51/image_17012025_07_51_59_6539.jpg', '/media/data/images/17012025/07/52/image_17012025_07_52_17_5284.jpg', '/media/data/images/17012025/07/52/image_17012025_07_52_30_6516.jpg', '/media/data/images/17012025/07/52/image_17012025_07_52_35_5285.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/51/image_17012025_07_51_36_6560.jpg
/media/data/images/17012025/07/51/image_17012025_07_51_53_5324.jpg
/media/data/images/17012025/07/51/image_17012025_07_51_59_6539.jpg
/media/data/images/17012025/07/52/image_17012025_07_52_17_5284.jpg
/media/data/images/17012025/07/52/image_17012025_07_52_30_6516.jpg
/media/data/images/17012025/07/52/image_17012025_07_52_35_5285.jpg
2025-01-17 23:23:02.604945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/35/image_17012025_17_35_16_5184.jpg', '/media/data/images/17012025/17/35/image_17012025_17_35_11_6415.jpg', '/media/data/images/17012025/17/34/image_17012025_17_35_04_6513.jpg', '/media/data/images/17012025/17/34/image_17012025_17_34_58_5211.jpg', '/media/data/images/17012025/17/34/image_17012025_17_34_17_6428.jpg', '/media/data/images/17012025/17/34/image_17012025_17_34_10_5278.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/35/image_17012025_17_35_16_5184.jpg
/media/data/images/17012025/17/35/image_17012025_17_35_11_6415.jpg
/media/data/images/17012025/17/34/image_17012025_17_35_04_6513.jpg
/media/data/images/17012025/17/34/image_17012025_17_34_58_5211.jpg
/media/data/images/17012025/17/34/image_17012025_17_34_17_6428.jpg
/media/data/images/17012025/17/34/image_17012025_17_34_10_5278.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329592148","1329592130","1329592189","1329592174","1329592182","1329592164"],"photo_ids_order":["1329592130","1329592148","1329592164","1329592174","1329592182","1329592189"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/752bc641236cbc4e8d4d35eb8e79d17a.jpg","text":"TemporaryFile(/tmp/multipartBody7957236783631354571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152661319,"filename":"image_17012025_17_35_11_6415.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/eba138b0e008a8f212ea10b53ac9b11d.jpg","text":"TemporaryFile(/tmp/multipartBody821069583963331216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152661319,"filename":"image_17012025_17_35_16_5184.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/abb1305fd16ce893deeaefcaa29e246e.jpg","text":"TemporaryFile(/tmp/multipartBody2847095123045769936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152661319,"filename":"image_17012025_17_34_10_5278.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2f54485bb84791ae2f582d818bf9ce2a.jpg","text":"TemporaryFile(/tmp/multipartBody222559115379571897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152661319,"filename":"image_17012025_17_34_58_5211.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fa58b170b2e20e6c1121a3334a3767b0.jpg","text":"TemporaryFile(/tmp/multipartBody114855626469107737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152661319,"filename":"image_17012025_17_34_17_6428.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e71e2b95f46cd9e0453d7e3574b2ffff.jpg","text":"TemporaryFile(/tmp/multipartBody5416053383811618617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152661319,"filename":"image_17012025_17_35_04_6513.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329592164","file1":"1329592148","file0":"1329592130","file4":"1329592182","file5":"1329592189","file3":"1329592174"},"map_files_photo_id_array":[{"photo_id":"1329592189","filename":"file5"},{"photo_id":"1329592164","filename":"file2"},{"photo_id":"1329592182","filename":"file4"},{"photo_id":"1329592148","filename":"file1"},{"photo_id":"1329592130","filename":"file0"},{"photo_id":"1329592174","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329592148":["hashtag1","hashtag2"]},{"1329592130":["hashtag1","hashtag2"]},{"1329592189":["hashtag1","hashtag2"]},{"1329592174":["hashtag1","hashtag2"]},{"1329592182":["hashtag1","hashtag2"]},{"1329592164":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329592148, 1329592130, 1329592189, 1329592174, 1329592182, 1329592164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.035436153411865 secondes ---
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329592208","1329592186","1329592168","1329592215","1329592212","1329592178"],"photo_ids_order":["1329592168","1329592178","1329592186","1329592208","1329592212","1329592215"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/65182c3624a4eded88651d3945d949a8.jpg","text":"TemporaryFile(/tmp/multipartBody2704339213808747520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152672930,"filename":"image_17012025_07_52_17_5284.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/93591b4b8c8cebb7cd1bcc1f172317d1.jpg","text":"TemporaryFile(/tmp/multipartBody4868145605216575732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152672930,"filename":"image_17012025_07_51_59_6539.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2ab2d4754a8092d6c1cfae82e82eb228.jpg","text":"TemporaryFile(/tmp/multipartBody1410782015357221574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152672930,"filename":"image_17012025_07_51_36_6560.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f7887cd6c136cf2bffb9f0c1f730b2e4.jpg","text":"TemporaryFile(/tmp/multipartBody6195462234625875003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152672930,"filename":"image_17012025_07_52_35_5285.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3b13fed464adf58ecb91023c13e2abe5.jpg","text":"TemporaryFile(/tmp/multipartBody8235466188917851268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152672930,"filename":"image_17012025_07_52_30_6516.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a87097ebdb899f92b60e481d5784fae3.jpg","text":"TemporaryFile(/tmp/multipartBody1881247481339336891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152672930,"filename":"image_17012025_07_51_53_5324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329592186","file1":"1329592178","file0":"1329592168","file4":"1329592212","file5":"1329592215","file3":"1329592208"},"map_files_photo_id_array":[{"photo_id":"1329592215","filename":"file5"},{"photo_id":"1329592186","filename":"file2"},{"photo_id":"1329592212","filename":"file4"},{"photo_id":"1329592178","filename":"file1"},{"photo_id":"1329592168","filename":"file0"},{"photo_id":"1329592208","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329592208":["hashtag1","hashtag2"]},{"1329592186":["hashtag1","hashtag2"]},{"1329592168":["hashtag1","hashtag2"]},{"1329592215":["hashtag1","hashtag2"]},{"1329592212":["hashtag1","hashtag2"]},{"1329592178":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329592208, 1329592186, 1329592168, 1329592215, 1329592212, 1329592178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.0726535320282 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 23:24:22.406566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/34/image_17012025_17_34_05_6406.jpg', '/media/data/images/17012025/17/33/image_17012025_17_33_58_6375.jpg', '/media/data/images/17012025/17/33/image_17012025_17_33_16_5178.jpg', '/media/data/images/17012025/17/33/image_17012025_17_33_11_6429.jpg', '/media/data/images/17012025/17/32/image_17012025_17_32_58_5210.jpg', '/media/data/images/17012025/17/32/image_17012025_17_32_17_6408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/34/image_17012025_17_34_05_6406.jpg
/media/data/images/17012025/17/33/image_17012025_17_33_58_6375.jpg
/media/data/images/17012025/17/33/image_17012025_17_33_16_5178.jpg
/media/data/images/17012025/17/33/image_17012025_17_33_11_6429.jpg
/media/data/images/17012025/17/32/image_17012025_17_32_58_5210.jpg
/media/data/images/17012025/17/32/image_17012025_17_32_17_6408.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329592226","1329592241","1329592229","1329592237","1329592233","1329592242"],"photo_ids_order":["1329592226","1329592229","1329592233","1329592237","1329592241","1329592242"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/78fd8d1e0fd747e49ec5e6b4e1aa2f7a.jpg","text":"TemporaryFile(/tmp/multipartBody3822680775612986172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152735881,"filename":"image_17012025_17_34_05_6406.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8b9ef3ec6fae37bc65f306ca7ba84c5f.jpg","text":"TemporaryFile(/tmp/multipartBody165000508651907683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152735881,"filename":"image_17012025_17_32_58_5210.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/45f45a623a1777a87cb4e5cb2fd89f1d.jpg","text":"TemporaryFile(/tmp/multipartBody3444170166759825514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152735881,"filename":"image_17012025_17_33_58_6375.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2a42c70e8c83ba9e654e2b6580a7dbf9.jpg","text":"TemporaryFile(/tmp/multipartBody6463963053209557962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152735881,"filename":"image_17012025_17_33_11_6429.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/926ff421f81df06c3d91284ea9414c5e.jpg","text":"TemporaryFile(/tmp/multipartBody7429433690698808439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152735881,"filename":"image_17012025_17_33_16_5178.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b6db44b9571ff50bf33199f224748f20.jpg","text":"TemporaryFile(/tmp/multipartBody6710738538566394400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152735881,"filename":"image_17012025_17_32_17_6408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329592233","file1":"1329592229","file0":"1329592226","file4":"1329592241","file5":"1329592242","file3":"1329592237"},"map_files_photo_id_array":[{"photo_id":"1329592242","filename":"file5"},{"photo_id":"1329592233","filename":"file2"},{"photo_id":"1329592241","filename":"file4"},{"photo_id":"1329592229","filename":"file1"},{"photo_id":"1329592226","filename":"file0"},{"photo_id":"1329592237","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329592226":["hashtag1","hashtag2"]},{"1329592241":["hashtag1","hashtag2"]},{"1329592229":["hashtag1","hashtag2"]},{"1329592237":["hashtag1","hashtag2"]},{"1329592233":["hashtag1","hashtag2"]},{"1329592242":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329592226, 1329592241, 1329592229, 1329592237, 1329592233, 1329592242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.9982385635376 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 23:25:22.547180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/32/image_17012025_17_32_10_6420.jpg', '/media/data/images/17012025/17/32/image_17012025_17_32_04_5154.jpg', '/media/data/images/17012025/17/31/image_17012025_17_31_59_6426.jpg', '/media/data/images/17012025/17/31/image_17012025_17_31_16_6413.jpg', '/media/data/images/17012025/17/31/image_17012025_17_31_10_5271.jpg', '/media/data/images/17012025/17/31/image_17012025_17_31_05_6271.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/32/image_17012025_17_32_10_6420.jpg
/media/data/images/17012025/17/32/image_17012025_17_32_04_5154.jpg
/media/data/images/17012025/17/31/image_17012025_17_31_59_6426.jpg
/media/data/images/17012025/17/31/image_17012025_17_31_16_6413.jpg
/media/data/images/17012025/17/31/image_17012025_17_31_10_5271.jpg
/media/data/images/17012025/17/31/image_17012025_17_31_05_6271.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329592268","1329592301","1329592279","1329592264","1329592296","1329592277"],"photo_ids_order":["1329592264","1329592268","1329592277","1329592279","1329592296","1329592301"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1e184de20378b5807ae4b4532b652d0e.jpg","text":"TemporaryFile(/tmp/multipartBody8479023716498665602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152788237,"filename":"image_17012025_17_32_04_5154.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8fd0c7e550b2fc77473c291193e89a23.jpg","text":"TemporaryFile(/tmp/multipartBody4451754243940048238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152788237,"filename":"image_17012025_17_31_05_6271.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6e5fc37e5905a33196baa8269de552d9.jpg","text":"TemporaryFile(/tmp/multipartBody3774055402249461280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152788237,"filename":"image_17012025_17_31_16_6413.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/57e18a1c76d311cb9aef8867ea068aa5.jpg","text":"TemporaryFile(/tmp/multipartBody2190465905740980217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152788237,"filename":"image_17012025_17_32_10_6420.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dea6f6acf582f6d26fa633a85f705b80.jpg","text":"TemporaryFile(/tmp/multipartBody7447943747217590209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152788237,"filename":"image_17012025_17_31_10_5271.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ae56864dc1526ac2ee390fedbe9ca192.jpg","text":"TemporaryFile(/tmp/multipartBody9101693911877016833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152788237,"filename":"image_17012025_17_31_59_6426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329592277","file1":"1329592268","file0":"1329592264","file4":"1329592296","file5":"1329592301","file3":"1329592279"},"map_files_photo_id_array":[{"photo_id":"1329592301","filename":"file5"},{"photo_id":"1329592277","filename":"file2"},{"photo_id":"1329592296","filename":"file4"},{"photo_id":"1329592268","filename":"file1"},{"photo_id":"1329592264","filename":"file0"},{"photo_id":"1329592279","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329592268":["hashtag1","hashtag2"]},{"1329592301":["hashtag1","hashtag2"]},{"1329592279":["hashtag1","hashtag2"]},{"1329592264":["hashtag1","hashtag2"]},{"1329592296":["hashtag1","hashtag2"]},{"1329592277":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329592268, 1329592301, 1329592279, 1329592264, 1329592296, 1329592277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22301387786865 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 23:26:02.811330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/30/image_17012025_17_30_58_6425.jpg', '/media/data/images/17012025/17/30/image_17012025_17_30_16_5277.jpg', '/media/data/images/17012025/17/30/image_17012025_17_30_11_6652.jpg', '/media/data/images/17012025/17/30/image_17012025_17_30_04_5158.jpg', '/media/data/images/17012025/17/29/image_17012025_17_29_59_6516.jpg', '/media/data/images/17012025/17/29/image_17012025_17_29_16_6390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/30/image_17012025_17_30_58_6425.jpg
/media/data/images/17012025/17/30/image_17012025_17_30_16_5277.jpg
/media/data/images/17012025/17/30/image_17012025_17_30_11_6652.jpg
/media/data/images/17012025/17/30/image_17012025_17_30_04_5158.jpg
/media/data/images/17012025/17/29/image_17012025_17_29_59_6516.jpg
/media/data/images/17012025/17/29/image_17012025_17_29_16_6390.jpg
2025-01-17 23:26:02.929285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/52/image_17012025_07_52_41_6555.jpg', '/media/data/images/17012025/07/52/image_17012025_07_52_47_5324.jpg', '/media/data/images/17012025/07/52/image_17012025_07_52_59_5334.jpg', '/media/data/images/17012025/07/53/image_17012025_07_53_12_6575.jpg', '/media/data/images/17012025/07/53/image_17012025_07_53_17_5290.jpg', '/media/data/images/17012025/07/53/image_17012025_07_53_29_5293.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/52/image_17012025_07_52_41_6555.jpg
/media/data/images/17012025/07/52/image_17012025_07_52_47_5324.jpg
/media/data/images/17012025/07/52/image_17012025_07_52_59_5334.jpg
/media/data/images/17012025/07/53/image_17012025_07_53_12_6575.jpg
/media/data/images/17012025/07/53/image_17012025_07_53_17_5290.jpg
/media/data/images/17012025/07/53/image_17012025_07_53_29_5293.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329592343","1329592346","1329592340","1329592351","1329592362","1329592356"],"photo_ids_order":["1329592340","1329592343","1329592346","1329592351","1329592356","1329592362"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9dd1ca54a176bf30861a6078fff4fdc1.jpg","text":"TemporaryFile(/tmp/multipartBody5972851424244644716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152843106,"filename":"image_17012025_17_30_16_5277.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8e6cde88f19c5e256064a1fccdfb62fe.jpg","text":"TemporaryFile(/tmp/multipartBody1604072132051454031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152843106,"filename":"image_17012025_17_30_11_6652.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4e4a706c80bc23d461af46ecb3da424a.jpg","text":"TemporaryFile(/tmp/multipartBody3958444291576784189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152843106,"filename":"image_17012025_17_30_58_6425.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7a89741ade6e4cc94dffe728dbd72d6e.jpg","text":"TemporaryFile(/tmp/multipartBody5568423596572371853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152843106,"filename":"image_17012025_17_30_04_5158.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e14481cc23e9c9551b30ef36f5123f44.jpg","text":"TemporaryFile(/tmp/multipartBody7080231465749387472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152843106,"filename":"image_17012025_17_29_16_6390.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/efa3e9795252dd6491187871e93365c1.jpg","text":"TemporaryFile(/tmp/multipartBody1002183606793807115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152843106,"filename":"image_17012025_17_29_59_6516.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329592346","file1":"1329592343","file0":"1329592340","file4":"1329592356","file5":"1329592362","file3":"1329592351"},"map_files_photo_id_array":[{"photo_id":"1329592362","filename":"file5"},{"photo_id":"1329592346","filename":"file2"},{"photo_id":"1329592356","filename":"file4"},{"photo_id":"1329592343","filename":"file1"},{"photo_id":"1329592340","filename":"file0"},{"photo_id":"1329592351","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329592343":["hashtag1","hashtag2"]},{"1329592346":["hashtag1","hashtag2"]},{"1329592340":["hashtag1","hashtag2"]},{"1329592351":["hashtag1","hashtag2"]},{"1329592362":["hashtag1","hashtag2"]},{"1329592356":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329592343, 1329592346, 1329592340, 1329592351, 1329592362, 1329592356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.990023374557495 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329592367","1329592355","1329592363","1329592342","1329592345","1329592350"],"photo_ids_order":["1329592342","1329592345","1329592350","1329592355","1329592363","1329592367"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3b234dc9d76644dafd26f4c9e0d06a17.jpg","text":"TemporaryFile(/tmp/multipartBody1561746261792771571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152846906,"filename":"image_17012025_07_53_29_5293.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8a02448cdb165d381ec6c0dee6008437.jpg","text":"TemporaryFile(/tmp/multipartBody2476321247001090677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152846906,"filename":"image_17012025_07_53_12_6575.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a396fabb6fe02b4f7cf2a7d45b9bb626.jpg","text":"TemporaryFile(/tmp/multipartBody6034491858288447702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152846906,"filename":"image_17012025_07_53_17_5290.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1faabdca134bcd639c35555af51b9bdd.jpg","text":"TemporaryFile(/tmp/multipartBody6247075638404664303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152846906,"filename":"image_17012025_07_52_41_6555.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f670cf37c86c7525ce9fd6d942d2edaf.jpg","text":"TemporaryFile(/tmp/multipartBody3575053877973089441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152846906,"filename":"image_17012025_07_52_47_5324.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/056b5338d68293827ca1a3c1105360ac.jpg","text":"TemporaryFile(/tmp/multipartBody7373710837456649338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152846906,"filename":"image_17012025_07_52_59_5334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329592350","file1":"1329592345","file0":"1329592342","file4":"1329592363","file5":"1329592367","file3":"1329592355"},"map_files_photo_id_array":[{"photo_id":"1329592367","filename":"file5"},{"photo_id":"1329592350","filename":"file2"},{"photo_id":"1329592363","filename":"file4"},{"photo_id":"1329592345","filename":"file1"},{"photo_id":"1329592342","filename":"file0"},{"photo_id":"1329592355","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329592367":["hashtag1","hashtag2"]},{"1329592355":["hashtag1","hashtag2"]},{"1329592363":["hashtag1","hashtag2"]},{"1329592342":["hashtag1","hashtag2"]},{"1329592345":["hashtag1","hashtag2"]},{"1329592350":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329592367, 1329592355, 1329592363, 1329592342, 1329592345, 1329592350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.154670000076294 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 23:27:02.202514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/53/image_17012025_07_53_41_5289.jpg', '/media/data/images/17012025/07/53/image_17012025_07_53_53_5336.jpg', '/media/data/images/17012025/07/54/image_17012025_07_54_11_5306.jpg', '/media/data/images/17012025/07/54/image_17012025_07_54_23_5295.jpg', '/media/data/images/17012025/07/54/image_17012025_07_54_29_6561.jpg', '/media/data/images/17012025/07/54/image_17012025_07_54_41_6564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/53/image_17012025_07_53_41_5289.jpg
/media/data/images/17012025/07/53/image_17012025_07_53_53_5336.jpg
/media/data/images/17012025/07/54/image_17012025_07_54_11_5306.jpg
/media/data/images/17012025/07/54/image_17012025_07_54_23_5295.jpg
/media/data/images/17012025/07/54/image_17012025_07_54_29_6561.jpg
/media/data/images/17012025/07/54/image_17012025_07_54_41_6564.jpg
2025-01-17 23:27:02.275613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/29/image_17012025_17_29_10_5209.jpg', '/media/data/images/17012025/17/29/image_17012025_17_29_05_6206.jpg', '/media/data/images/17012025/17/28/image_17012025_17_28_58_6390.jpg', '/media/data/images/17012025/17/28/image_17012025_17_28_16_6383.jpg', '/media/data/images/17012025/17/28/image_17012025_17_28_10_5202.jpg', '/media/data/images/17012025/17/28/image_17012025_17_28_04_6263.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/29/image_17012025_17_29_10_5209.jpg
/media/data/images/17012025/17/29/image_17012025_17_29_05_6206.jpg
/media/data/images/17012025/17/28/image_17012025_17_28_58_6390.jpg
/media/data/images/17012025/17/28/image_17012025_17_28_16_6383.jpg
/media/data/images/17012025/17/28/image_17012025_17_28_10_5202.jpg
/media/data/images/17012025/17/28/image_17012025_17_28_04_6263.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329592400","1329592390","1329592393","1329592387","1329592396","1329592408"],"photo_ids_order":["1329592387","1329592390","1329592393","1329592396","1329592400","1329592408"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bf59e4006f22c60be82f40d412cdafbc.jpg","text":"TemporaryFile(/tmp/multipartBody3985763532113527953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152900521,"filename":"image_17012025_17_28_10_5202.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f85b2efe664a3e87973cda5613c34df3.jpg","text":"TemporaryFile(/tmp/multipartBody6092009750364133377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152900521,"filename":"image_17012025_17_29_05_6206.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b377ca2833c251ac4e751cc2ab76b212.jpg","text":"TemporaryFile(/tmp/multipartBody4713544489597794286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152900521,"filename":"image_17012025_17_28_58_6390.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bf55e6c9b5a1d5948437bc069fd85b9b.jpg","text":"TemporaryFile(/tmp/multipartBody6335711821790361884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152900521,"filename":"image_17012025_17_29_10_5209.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9d24894e25a4e3505e7c8c5b7d27fd48.jpg","text":"TemporaryFile(/tmp/multipartBody8164737805253619034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152900521,"filename":"image_17012025_17_28_16_6383.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5c27e42d0ae55b4a15b8de3029dde78d.jpg","text":"TemporaryFile(/tmp/multipartBody8259943888189724842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152900521,"filename":"image_17012025_17_28_04_6263.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329592393","file1":"1329592390","file0":"1329592387","file4":"1329592400","file5":"1329592408","file3":"1329592396"},"map_files_photo_id_array":[{"photo_id":"1329592408","filename":"file5"},{"photo_id":"1329592393","filename":"file2"},{"photo_id":"1329592400","filename":"file4"},{"photo_id":"1329592390","filename":"file1"},{"photo_id":"1329592387","filename":"file0"},{"photo_id":"1329592396","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329592400":["hashtag1","hashtag2"]},{"1329592390":["hashtag1","hashtag2"]},{"1329592393":["hashtag1","hashtag2"]},{"1329592387":["hashtag1","hashtag2"]},{"1329592396":["hashtag1","hashtag2"]},{"1329592408":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329592400, 1329592390, 1329592393, 1329592387, 1329592396, 1329592408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.56181788444519 secondes ---
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329592412","1329592414","1329592410","1329592404","1329592394","1329592397"],"photo_ids_order":["1329592394","1329592397","1329592404","1329592410","1329592412","1329592414"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e23fd284d0241a1d530ac2c4f4961e5f.jpg","text":"TemporaryFile(/tmp/multipartBody6673331432201429926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152910269,"filename":"image_17012025_07_54_29_6561.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/567522e976cdad3d5a16bb1994560d7a.jpg","text":"TemporaryFile(/tmp/multipartBody1999984906775340527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152910269,"filename":"image_17012025_07_54_41_6564.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7fac3f67fa1cf00b3089b4c98c177acd.jpg","text":"TemporaryFile(/tmp/multipartBody133205875220002031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152910269,"filename":"image_17012025_07_54_23_5295.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e6e3217ccc4bc2d2ea2adad303e0667e.jpg","text":"TemporaryFile(/tmp/multipartBody1734054722198308497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152910269,"filename":"image_17012025_07_54_11_5306.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/46d5f5aa1f8567a6b2ea102d560d1c34.jpg","text":"TemporaryFile(/tmp/multipartBody8606564950135319970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152910269,"filename":"image_17012025_07_53_41_5289.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f35e3fde525ca912c14652ce217e015c.jpg","text":"TemporaryFile(/tmp/multipartBody5258721487694456073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152910269,"filename":"image_17012025_07_53_53_5336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329592404","file1":"1329592397","file0":"1329592394","file4":"1329592412","file5":"1329592414","file3":"1329592410"},"map_files_photo_id_array":[{"photo_id":"1329592414","filename":"file5"},{"photo_id":"1329592404","filename":"file2"},{"photo_id":"1329592412","filename":"file4"},{"photo_id":"1329592397","filename":"file1"},{"photo_id":"1329592394","filename":"file0"},{"photo_id":"1329592410","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329592412":["hashtag1","hashtag2"]},{"1329592414":["hashtag1","hashtag2"]},{"1329592410":["hashtag1","hashtag2"]},{"1329592404":["hashtag1","hashtag2"]},{"1329592394":["hashtag1","hashtag2"]},{"1329592397":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329592412, 1329592414, 1329592410, 1329592404, 1329592394, 1329592397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.28344750404358 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 23:28:21.993633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/27/image_17012025_17_27_58_6403.jpg', '/media/data/images/17012025/17/27/image_17012025_17_27_11_6415.jpg', '/media/data/images/17012025/17/26/image_17012025_17_27_04_6470.jpg', '/media/data/images/17012025/17/26/image_17012025_17_26_58_5187.jpg', '/media/data/images/17012025/17/26/image_17012025_17_26_22_5185.jpg', '/media/data/images/17012025/17/26/image_17012025_17_26_17_6405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/27/image_17012025_17_27_58_6403.jpg
/media/data/images/17012025/17/27/image_17012025_17_27_11_6415.jpg
/media/data/images/17012025/17/26/image_17012025_17_27_04_6470.jpg
/media/data/images/17012025/17/26/image_17012025_17_26_58_5187.jpg
/media/data/images/17012025/17/26/image_17012025_17_26_22_5185.jpg
/media/data/images/17012025/17/26/image_17012025_17_26_17_6405.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329592445","1329592454","1329592456","1329592470","1329592461","1329592449"],"photo_ids_order":["1329592445","1329592449","1329592454","1329592456","1329592461","1329592470"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/579c5546e0f443304496289f8d9c703f.jpg","text":"TemporaryFile(/tmp/multipartBody7775591836252026666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152969625,"filename":"image_17012025_17_27_58_6403.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e22489bacdad2f7735e0f37f665438a7.jpg","text":"TemporaryFile(/tmp/multipartBody463977588986576480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152969625,"filename":"image_17012025_17_27_04_6470.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8116546dfe8f055d08bd942efb01dc37.jpg","text":"TemporaryFile(/tmp/multipartBody403682670510182034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152969625,"filename":"image_17012025_17_26_58_5187.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7e150e669f1a9d7dd929cd5ed6488dc2.jpg","text":"TemporaryFile(/tmp/multipartBody3347503059234451607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152969625,"filename":"image_17012025_17_26_17_6405.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/16ea33b56dcd3f9721042944ad6a2921.jpg","text":"TemporaryFile(/tmp/multipartBody3567141443980407057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152969625,"filename":"image_17012025_17_26_22_5185.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f68f8a0ffbb5a1a7b5c31674707ff2b0.jpg","text":"TemporaryFile(/tmp/multipartBody1259577734123551016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737152969625,"filename":"image_17012025_17_27_11_6415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329592454","file1":"1329592449","file0":"1329592445","file4":"1329592461","file5":"1329592470","file3":"1329592456"},"map_files_photo_id_array":[{"photo_id":"1329592470","filename":"file5"},{"photo_id":"1329592454","filename":"file2"},{"photo_id":"1329592461","filename":"file4"},{"photo_id":"1329592449","filename":"file1"},{"photo_id":"1329592445","filename":"file0"},{"photo_id":"1329592456","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329592445":["hashtag1","hashtag2"]},{"1329592454":["hashtag1","hashtag2"]},{"1329592456":["hashtag1","hashtag2"]},{"1329592470":["hashtag1","hashtag2"]},{"1329592461":["hashtag1","hashtag2"]},{"1329592449":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329592445, 1329592454, 1329592456, 1329592470, 1329592461, 1329592449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.20820212364197 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
 val : 1 : upload photos already in processing! 
2025-01-17 23:29:02.462458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/54/image_17012025_07_54_48_6563.jpg', '/media/data/images/17012025/07/54/image_17012025_07_54_53_5315.jpg', '/media/data/images/17012025/07/55/image_17012025_07_55_11_6549.jpg', '/media/data/images/17012025/07/55/image_17012025_07_55_42_6563.jpg', '/media/data/images/17012025/07/55/image_17012025_07_55_47_5325.jpg', '/media/data/images/17012025/07/55/image_17012025_07_55_59_5284.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/54/image_17012025_07_54_48_6563.jpg
/media/data/images/17012025/07/54/image_17012025_07_54_53_5315.jpg
/media/data/images/17012025/07/55/image_17012025_07_55_11_6549.jpg
/media/data/images/17012025/07/55/image_17012025_07_55_42_6563.jpg
/media/data/images/17012025/07/55/image_17012025_07_55_47_5325.jpg
/media/data/images/17012025/07/55/image_17012025_07_55_59_5284.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329592573","1329592561","1329592558","1329592662","1329592539","1329592569"],"photo_ids_order":["1329592539","1329592558","1329592561","1329592569","1329592573","1329592662"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d4511c31e199e976b07ba34fc162325a.jpg","text":"TemporaryFile(/tmp/multipartBody6721901843017292603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153012791,"filename":"image_17012025_07_55_47_5325.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e04a14bc92fbe268a4366c9604ae0d7e.jpg","text":"TemporaryFile(/tmp/multipartBody8136267601693306543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153012791,"filename":"image_17012025_07_55_11_6549.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/abd7a1a1e9619aae1fff17b9acb47b77.jpg","text":"TemporaryFile(/tmp/multipartBody5752785423970515811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153012791,"filename":"image_17012025_07_54_53_5315.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8299c114b932adcbc2d51d98b6b1a6f3.jpg","text":"TemporaryFile(/tmp/multipartBody4596064849514648701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153012791,"filename":"image_17012025_07_55_59_5284.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/43126cf58a34ddb96e03dac77fdb7dac.jpg","text":"TemporaryFile(/tmp/multipartBody2874639258560884308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153012791,"filename":"image_17012025_07_54_48_6563.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ae116784707132a9517a1f756056580a.jpg","text":"TemporaryFile(/tmp/multipartBody413062338769463815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153012791,"filename":"image_17012025_07_55_42_6563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329592561","file1":"1329592558","file0":"1329592539","file4":"1329592573","file5":"1329592662","file3":"1329592569"},"map_files_photo_id_array":[{"photo_id":"1329592662","filename":"file5"},{"photo_id":"1329592561","filename":"file2"},{"photo_id":"1329592573","filename":"file4"},{"photo_id":"1329592558","filename":"file1"},{"photo_id":"1329592539","filename":"file0"},{"photo_id":"1329592569","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329592573":["hashtag1","hashtag2"]},{"1329592561":["hashtag1","hashtag2"]},{"1329592558":["hashtag1","hashtag2"]},{"1329592662":["hashtag1","hashtag2"]},{"1329592539":["hashtag1","hashtag2"]},{"1329592569":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329592573, 1329592561, 1329592558, 1329592662, 1329592539, 1329592569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.09830093383789 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 23:30:02.419694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/26/image_17012025_17_26_10_6431.jpg', '/media/data/images/17012025/17/26/image_17012025_17_26_04_5210.jpg', '/media/data/images/17012025/17/25/image_17012025_17_25_59_6403.jpg', '/media/data/images/17012025/17/25/image_17012025_17_25_16_6375.jpg', '/media/data/images/17012025/17/25/image_17012025_17_25_10_5186.jpg', '/media/data/images/17012025/17/25/image_17012025_17_25_05_6234.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/26/image_17012025_17_26_10_6431.jpg
/media/data/images/17012025/17/26/image_17012025_17_26_04_5210.jpg
/media/data/images/17012025/17/25/image_17012025_17_25_59_6403.jpg
/media/data/images/17012025/17/25/image_17012025_17_25_16_6375.jpg
/media/data/images/17012025/17/25/image_17012025_17_25_10_5186.jpg
/media/data/images/17012025/17/25/image_17012025_17_25_05_6234.jpg
2025-01-17 23:30:02.424396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/56/image_17012025_07_56_05_6436.jpg', '/media/data/images/17012025/07/56/image_17012025_07_56_24_6517.jpg', '/media/data/images/17012025/07/56/image_17012025_07_56_35_6554.jpg', '/media/data/images/17012025/07/56/image_17012025_07_56_48_6764.jpg', '/media/data/images/17012025/07/57/image_17012025_07_57_53_6574.jpg', '/media/data/images/17012025/07/58/image_17012025_07_58_12_6551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/56/image_17012025_07_56_05_6436.jpg
/media/data/images/17012025/07/56/image_17012025_07_56_24_6517.jpg
/media/data/images/17012025/07/56/image_17012025_07_56_35_6554.jpg
/media/data/images/17012025/07/56/image_17012025_07_56_48_6764.jpg
/media/data/images/17012025/07/57/image_17012025_07_57_53_6574.jpg
/media/data/images/17012025/07/58/image_17012025_07_58_12_6551.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: 15.762119770050049 secondes ---
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329593767","1329593665","1329593959","1329593926","1329593951","1329593852"],"photo_ids_order":["1329593665","1329593767","1329593852","1329593926","1329593951","1329593959"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9687fa7b362d6bee5d4ac911a7d947a4.jpg","text":"TemporaryFile(/tmp/multipartBody7653633509271286948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153085076,"filename":"image_17012025_07_56_24_6517.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a6b8d6de8d28268560b0145aaf1c27a3.jpg","text":"TemporaryFile(/tmp/multipartBody1550739977181336113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153085076,"filename":"image_17012025_07_56_05_6436.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fbc1a6ec4c1c0bc6efd60638d4f51fbd.jpg","text":"TemporaryFile(/tmp/multipartBody4388043453505682785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153085076,"filename":"image_17012025_07_58_12_6551.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/50b6d9d49c7e6985a29382ab143b3f2c.jpg","text":"TemporaryFile(/tmp/multipartBody5767482902089331475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153085076,"filename":"image_17012025_07_56_48_6764.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4239f57de5e4165d797e1c2994664104.jpg","text":"TemporaryFile(/tmp/multipartBody3476699506644199616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153085076,"filename":"image_17012025_07_57_53_6574.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/77e07628a524eeb59e3fe78631fd35f4.jpg","text":"TemporaryFile(/tmp/multipartBody3473235514911727533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153085076,"filename":"image_17012025_07_56_35_6554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329593852","file1":"1329593767","file0":"1329593665","file4":"1329593951","file5":"1329593959","file3":"1329593926"},"map_files_photo_id_array":[{"photo_id":"1329593959","filename":"file5"},{"photo_id":"1329593852","filename":"file2"},{"photo_id":"1329593951","filename":"file4"},{"photo_id":"1329593767","filename":"file1"},{"photo_id":"1329593665","filename":"file0"},{"photo_id":"1329593926","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329593767":["hashtag1","hashtag2"]},{"1329593665":["hashtag1","hashtag2"]},{"1329593959":["hashtag1","hashtag2"]},{"1329593926":["hashtag1","hashtag2"]},{"1329593951":["hashtag1","hashtag2"]},{"1329593852":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329593767, 1329593665, 1329593959, 1329593926, 1329593951, 1329593852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.2082417011261 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 23:31:02.701834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/26/image_17012025_17_26_10_6431.jpg', '/media/data/images/17012025/17/26/image_17012025_17_26_04_5210.jpg', '/media/data/images/17012025/17/25/image_17012025_17_25_59_6403.jpg', '/media/data/images/17012025/17/25/image_17012025_17_25_16_6375.jpg', '/media/data/images/17012025/17/25/image_17012025_17_25_10_5186.jpg', '/media/data/images/17012025/17/25/image_17012025_17_25_05_6234.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/26/image_17012025_17_26_10_6431.jpg
/media/data/images/17012025/17/26/image_17012025_17_26_04_5210.jpg
/media/data/images/17012025/17/25/image_17012025_17_25_59_6403.jpg
/media/data/images/17012025/17/25/image_17012025_17_25_16_6375.jpg
/media/data/images/17012025/17/25/image_17012025_17_25_10_5186.jpg
/media/data/images/17012025/17/25/image_17012025_17_25_05_6234.jpg
2025-01-17 23:31:02.858445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/58/image_17012025_07_58_17_5294.jpg', '/media/data/images/17012025/07/58/image_17012025_07_58_24_6541.jpg', '/media/data/images/17012025/07/58/image_17012025_07_58_29_5321.jpg', '/media/data/images/17012025/07/58/image_17012025_07_58_41_5292.jpg', '/media/data/images/17012025/07/58/image_17012025_07_58_53_5294.jpg', '/media/data/images/17012025/07/58/image_17012025_07_58_59_6559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/58/image_17012025_07_58_17_5294.jpg
/media/data/images/17012025/07/58/image_17012025_07_58_24_6541.jpg
/media/data/images/17012025/07/58/image_17012025_07_58_29_5321.jpg
/media/data/images/17012025/07/58/image_17012025_07_58_41_5292.jpg
/media/data/images/17012025/07/58/image_17012025_07_58_53_5294.jpg
/media/data/images/17012025/07/58/image_17012025_07_58_59_6559.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
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: 53.78327488899231 secondes ---
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329593998","1329593992","1329593989","1329593994","1329594021","1329594002"],"photo_ids_order":["1329593989","1329593992","1329593994","1329593998","1329594002","1329594021"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c220544cfc4ea190768ce75011cac784.jpg","text":"TemporaryFile(/tmp/multipartBody7331010365949596674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153165675,"filename":"image_17012025_17_25_16_6375.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6819fdfd42b8aa7ce87135e87ed21ee7.jpg","text":"TemporaryFile(/tmp/multipartBody2828361748637763592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153165675,"filename":"image_17012025_17_26_04_5210.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/41c45e1180d066dc9c54fc108438a34d.jpg","text":"TemporaryFile(/tmp/multipartBody7951364201308901574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153165675,"filename":"image_17012025_17_26_10_6431.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5788898ad2b2c7c931d7c1258490a032.jpg","text":"TemporaryFile(/tmp/multipartBody4647352716812714286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153165675,"filename":"image_17012025_17_25_59_6403.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/117ee4a1a02777d2dd586dff1d360c99.jpg","text":"TemporaryFile(/tmp/multipartBody3887780865332144180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153165675,"filename":"image_17012025_17_25_05_6234.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cdd704d9453bb91687587c92c93e5128.jpg","text":"TemporaryFile(/tmp/multipartBody1371241429226253383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153165675,"filename":"image_17012025_17_25_10_5186.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329593994","file1":"1329593992","file0":"1329593989","file4":"1329594002","file5":"1329594021","file3":"1329593998"},"map_files_photo_id_array":[{"photo_id":"1329594021","filename":"file5"},{"photo_id":"1329593994","filename":"file2"},{"photo_id":"1329594002","filename":"file4"},{"photo_id":"1329593992","filename":"file1"},{"photo_id":"1329593989","filename":"file0"},{"photo_id":"1329593998","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329593998":["hashtag1","hashtag2"]},{"1329593992":["hashtag1","hashtag2"]},{"1329593989":["hashtag1","hashtag2"]},{"1329593994":["hashtag1","hashtag2"]},{"1329594021":["hashtag1","hashtag2"]},{"1329594002":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329593998, 1329593992, 1329593989, 1329593994, 1329594021, 1329594002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 76.51018857955933 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 23:32:22.549083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/24/image_17012025_17_24_58_6380.jpg', '/media/data/images/17012025/17/24/image_17012025_17_24_16_6400.jpg', '/media/data/images/17012025/17/24/image_17012025_17_24_10_5225.jpg', '/media/data/images/17012025/17/24/image_17012025_17_24_05_6248.jpg', '/media/data/images/17012025/17/23/image_17012025_17_23_58_6417.jpg', '/media/data/images/17012025/17/23/image_17012025_17_23_16_5161.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/24/image_17012025_17_24_58_6380.jpg
/media/data/images/17012025/17/24/image_17012025_17_24_16_6400.jpg
/media/data/images/17012025/17/24/image_17012025_17_24_10_5225.jpg
/media/data/images/17012025/17/24/image_17012025_17_24_05_6248.jpg
/media/data/images/17012025/17/23/image_17012025_17_23_58_6417.jpg
/media/data/images/17012025/17/23/image_17012025_17_23_16_5161.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329594486","1329594495","1329594542","1329594467","1329594548","1329594500"],"photo_ids_order":["1329594467","1329594486","1329594495","1329594500","1329594542","1329594548"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0368307110b260c48614dd78c8f8c507.jpg","text":"TemporaryFile(/tmp/multipartBody558056944569372240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153210806,"filename":"image_17012025_17_24_16_6400.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dca2621847836fccaa422658324d3848.jpg","text":"TemporaryFile(/tmp/multipartBody5282976678683335018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153210806,"filename":"image_17012025_17_24_10_5225.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5e19312768ba2aedd73cb37613105c05.jpg","text":"TemporaryFile(/tmp/multipartBody7779597281465258590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153210806,"filename":"image_17012025_17_23_58_6417.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e8d231cd3eafb2aa3922e451c2da9316.jpg","text":"TemporaryFile(/tmp/multipartBody1746646851910488280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153210806,"filename":"image_17012025_17_24_58_6380.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c44ded4a8dc13afe6bd1672bfd4f2a08.jpg","text":"TemporaryFile(/tmp/multipartBody6615108192470683026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153210806,"filename":"image_17012025_17_23_16_5161.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1368d1798a9fe0cd5aaea8a9c6adbf0b.jpg","text":"TemporaryFile(/tmp/multipartBody1340510605553534957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153210806,"filename":"image_17012025_17_24_05_6248.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329594495","file1":"1329594486","file0":"1329594467","file4":"1329594542","file5":"1329594548","file3":"1329594500"},"map_files_photo_id_array":[{"photo_id":"1329594548","filename":"file5"},{"photo_id":"1329594495","filename":"file2"},{"photo_id":"1329594542","filename":"file4"},{"photo_id":"1329594486","filename":"file1"},{"photo_id":"1329594467","filename":"file0"},{"photo_id":"1329594500","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329594486":["hashtag1","hashtag2"]},{"1329594495":["hashtag1","hashtag2"]},{"1329594542":["hashtag1","hashtag2"]},{"1329594467":["hashtag1","hashtag2"]},{"1329594548":["hashtag1","hashtag2"]},{"1329594500":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329594486, 1329594495, 1329594542, 1329594467, 1329594548, 1329594500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.884984493255615 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 23:33:22.668570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/23/image_17012025_17_23_11_6431.jpg', '/media/data/images/17012025/17/22/image_17012025_17_23_04_6438.jpg', '/media/data/images/17012025/17/22/image_17012025_17_22_58_5187.jpg', '/media/data/images/17012025/17/22/image_17012025_17_22_17_6397.jpg', '/media/data/images/17012025/17/22/image_17012025_17_22_10_6405.jpg', '/media/data/images/17012025/17/22/image_17012025_17_22_04_5136.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/23/image_17012025_17_23_11_6431.jpg
/media/data/images/17012025/17/22/image_17012025_17_23_04_6438.jpg
/media/data/images/17012025/17/22/image_17012025_17_22_58_5187.jpg
/media/data/images/17012025/17/22/image_17012025_17_22_17_6397.jpg
/media/data/images/17012025/17/22/image_17012025_17_22_10_6405.jpg
/media/data/images/17012025/17/22/image_17012025_17_22_04_5136.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329594715","1329594706","1329594708","1329594711","1329594737","1329594731"],"photo_ids_order":["1329594706","1329594708","1329594711","1329594715","1329594731","1329594737"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bf37e1e403c066c465fef8e0aabcfd71.jpg","text":"TemporaryFile(/tmp/multipartBody369770977379236550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153269663,"filename":"image_17012025_17_22_17_6397.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/240dad1e4a1e5c770699a4eaf80df9d4.jpg","text":"TemporaryFile(/tmp/multipartBody3583157984227317669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153269663,"filename":"image_17012025_17_23_11_6431.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f4e96eec3256e71f60683a44495184ae.jpg","text":"TemporaryFile(/tmp/multipartBody3981908993275245842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153269663,"filename":"image_17012025_17_23_04_6438.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dc23943b796a78039cdafc00fc9e9af6.jpg","text":"TemporaryFile(/tmp/multipartBody5312256635942915244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153269663,"filename":"image_17012025_17_22_58_5187.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/efb2d2863a29832f8d49edc1089f8024.jpg","text":"TemporaryFile(/tmp/multipartBody4917929302970994640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153269663,"filename":"image_17012025_17_22_04_5136.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bdeb5a8436d3f9915c9996ea297cc777.jpg","text":"TemporaryFile(/tmp/multipartBody3456662463608589085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153269663,"filename":"image_17012025_17_22_10_6405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329594711","file1":"1329594708","file0":"1329594706","file4":"1329594731","file5":"1329594737","file3":"1329594715"},"map_files_photo_id_array":[{"photo_id":"1329594737","filename":"file5"},{"photo_id":"1329594711","filename":"file2"},{"photo_id":"1329594731","filename":"file4"},{"photo_id":"1329594708","filename":"file1"},{"photo_id":"1329594706","filename":"file0"},{"photo_id":"1329594715","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329594715":["hashtag1","hashtag2"]},{"1329594706":["hashtag1","hashtag2"]},{"1329594708":["hashtag1","hashtag2"]},{"1329594711":["hashtag1","hashtag2"]},{"1329594737":["hashtag1","hashtag2"]},{"1329594731":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329594715, 1329594706, 1329594708, 1329594711, 1329594737, 1329594731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.865315675735474 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 23:34:21.822491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/21/image_17012025_17_21_59_6392.jpg', '/media/data/images/17012025/17/21/image_17012025_17_21_16_6409.jpg', '/media/data/images/17012025/17/21/image_17012025_17_21_10_5235.jpg', '/media/data/images/17012025/17/21/image_17012025_17_21_05_6190.jpg', '/media/data/images/17012025/17/20/image_17012025_17_20_58_6392.jpg', '/media/data/images/17012025/17/20/image_17012025_17_20_16_6435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/21/image_17012025_17_21_59_6392.jpg
/media/data/images/17012025/17/21/image_17012025_17_21_16_6409.jpg
/media/data/images/17012025/17/21/image_17012025_17_21_10_5235.jpg
/media/data/images/17012025/17/21/image_17012025_17_21_05_6190.jpg
/media/data/images/17012025/17/20/image_17012025_17_20_58_6392.jpg
/media/data/images/17012025/17/20/image_17012025_17_20_16_6435.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: 9.688339710235596 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 23:34:41.815506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/21/image_17012025_17_21_59_6392.jpg', '/media/data/images/17012025/17/21/image_17012025_17_21_16_6409.jpg', '/media/data/images/17012025/17/21/image_17012025_17_21_10_5235.jpg', '/media/data/images/17012025/17/21/image_17012025_17_21_05_6190.jpg', '/media/data/images/17012025/17/20/image_17012025_17_20_58_6392.jpg', '/media/data/images/17012025/17/20/image_17012025_17_20_16_6435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/21/image_17012025_17_21_59_6392.jpg
/media/data/images/17012025/17/21/image_17012025_17_21_16_6409.jpg
/media/data/images/17012025/17/21/image_17012025_17_21_10_5235.jpg
/media/data/images/17012025/17/21/image_17012025_17_21_05_6190.jpg
/media/data/images/17012025/17/20/image_17012025_17_20_58_6392.jpg
/media/data/images/17012025/17/20/image_17012025_17_20_16_6435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329594832","1329594825","1329594810","1329594818","1329594806","1329594800"],"photo_ids_order":["1329594800","1329594806","1329594810","1329594818","1329594825","1329594832"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e2f6fafcc37d8d55acf47f37cbbc74a0.jpg","text":"TemporaryFile(/tmp/multipartBody8657188886990971144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153349064,"filename":"image_17012025_17_20_16_6435.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e97009fbc7949a1eee9c8018c7b206ce.jpg","text":"TemporaryFile(/tmp/multipartBody465170256830945988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153349064,"filename":"image_17012025_17_20_58_6392.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3cfd128341416140052b4c11a55ae748.jpg","text":"TemporaryFile(/tmp/multipartBody1607426750421292929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153349064,"filename":"image_17012025_17_21_10_5235.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c1205290f5301dab58b4a3fd14dacc8f.jpg","text":"TemporaryFile(/tmp/multipartBody6040316816939124229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153349064,"filename":"image_17012025_17_21_05_6190.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/242879a201bcf8ad267a7db2c8ad42e9.jpg","text":"TemporaryFile(/tmp/multipartBody3797161345120984380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153349064,"filename":"image_17012025_17_21_16_6409.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5212a700f81977963d981ea7504ab150.jpg","text":"TemporaryFile(/tmp/multipartBody6233334505993756918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153349064,"filename":"image_17012025_17_21_59_6392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329594810","file1":"1329594806","file0":"1329594800","file4":"1329594825","file5":"1329594832","file3":"1329594818"},"map_files_photo_id_array":[{"photo_id":"1329594832","filename":"file5"},{"photo_id":"1329594810","filename":"file2"},{"photo_id":"1329594825","filename":"file4"},{"photo_id":"1329594806","filename":"file1"},{"photo_id":"1329594800","filename":"file0"},{"photo_id":"1329594818","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329594832":["hashtag1","hashtag2"]},{"1329594825":["hashtag1","hashtag2"]},{"1329594810":["hashtag1","hashtag2"]},{"1329594818":["hashtag1","hashtag2"]},{"1329594806":["hashtag1","hashtag2"]},{"1329594800":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329594832, 1329594825, 1329594810, 1329594818, 1329594806, 1329594800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.06053400039673 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 23:35:41.953981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/20/image_17012025_17_20_10_5181.jpg', '/media/data/images/17012025/17/20/image_17012025_17_20_04_6283.jpg', '/media/data/images/17012025/17/19/image_17012025_17_19_58_6433.jpg', '/media/data/images/17012025/17/19/image_17012025_17_19_16_5185.jpg', '/media/data/images/17012025/17/19/image_17012025_17_19_11_6429.jpg', '/media/data/images/17012025/17/18/image_17012025_17_19_04_6461.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/20/image_17012025_17_20_10_5181.jpg
/media/data/images/17012025/17/20/image_17012025_17_20_04_6283.jpg
/media/data/images/17012025/17/19/image_17012025_17_19_58_6433.jpg
/media/data/images/17012025/17/19/image_17012025_17_19_16_5185.jpg
/media/data/images/17012025/17/19/image_17012025_17_19_11_6429.jpg
/media/data/images/17012025/17/18/image_17012025_17_19_04_6461.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329594873","1329594882","1329594875","1329594863","1329594880","1329594877"],"photo_ids_order":["1329594863","1329594873","1329594875","1329594877","1329594880","1329594882"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7e6a1ca937f5886367b645908631a32d.jpg","text":"TemporaryFile(/tmp/multipartBody167901978163396146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153408402,"filename":"image_17012025_17_20_04_6283.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ab64b7f76238f74b07895b8a7794d921.jpg","text":"TemporaryFile(/tmp/multipartBody5817199080907088543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153408402,"filename":"image_17012025_17_19_04_6461.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a8aa265dfdb4eea25747dc12f2059b11.jpg","text":"TemporaryFile(/tmp/multipartBody1572329866182454821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153408402,"filename":"image_17012025_17_19_58_6433.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b7722edcf896cba636b673056110b723.jpg","text":"TemporaryFile(/tmp/multipartBody7152798349844474929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153408402,"filename":"image_17012025_17_20_10_5181.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d108095e885ab639a4f627ce45884a60.jpg","text":"TemporaryFile(/tmp/multipartBody6899989878174819606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153408402,"filename":"image_17012025_17_19_11_6429.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a73a8df7728bf53c36ca05d4a25e8c9c.jpg","text":"TemporaryFile(/tmp/multipartBody5921634464278485265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153408402,"filename":"image_17012025_17_19_16_5185.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329594875","file1":"1329594873","file0":"1329594863","file4":"1329594880","file5":"1329594882","file3":"1329594877"},"map_files_photo_id_array":[{"photo_id":"1329594882","filename":"file5"},{"photo_id":"1329594875","filename":"file2"},{"photo_id":"1329594880","filename":"file4"},{"photo_id":"1329594873","filename":"file1"},{"photo_id":"1329594863","filename":"file0"},{"photo_id":"1329594877","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329594873":["hashtag1","hashtag2"]},{"1329594882":["hashtag1","hashtag2"]},{"1329594875":["hashtag1","hashtag2"]},{"1329594863":["hashtag1","hashtag2"]},{"1329594880":["hashtag1","hashtag2"]},{"1329594877":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329594873, 1329594882, 1329594875, 1329594863, 1329594880, 1329594877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.80319929122925 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 23:36:22.089263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/18/image_17012025_17_18_58_5181.jpg', '/media/data/images/17012025/17/18/image_17012025_17_18_17_6405.jpg', '/media/data/images/17012025/17/18/image_17012025_17_18_10_6458.jpg', '/media/data/images/17012025/17/18/image_17012025_17_18_04_4998.jpg', '/media/data/images/17012025/17/17/image_17012025_17_17_59_6380.jpg', '/media/data/images/17012025/17/17/image_17012025_17_17_10_5216.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/18/image_17012025_17_18_58_5181.jpg
/media/data/images/17012025/17/18/image_17012025_17_18_17_6405.jpg
/media/data/images/17012025/17/18/image_17012025_17_18_10_6458.jpg
/media/data/images/17012025/17/18/image_17012025_17_18_04_4998.jpg
/media/data/images/17012025/17/17/image_17012025_17_17_59_6380.jpg
/media/data/images/17012025/17/17/image_17012025_17_17_10_5216.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329594894","1329595143","1329594890","1329595445","1329595916","1329595706"],"photo_ids_order":["1329594890","1329594894","1329595143","1329595445","1329595706","1329595916"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/82eb2c641e62dd4c687deb5d746cd343.jpg","text":"TemporaryFile(/tmp/multipartBody8302398155825964983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153453987,"filename":"image_17012025_17_18_17_6405.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3a0bfb5ebbdc7dd9ba292ea29f0cc214.jpg","text":"TemporaryFile(/tmp/multipartBody1534384891419798949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153453987,"filename":"image_17012025_17_18_10_6458.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/72c7cac6d77b3d9baaaca0f7e191e5e8.jpg","text":"TemporaryFile(/tmp/multipartBody5216011020189323356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153453987,"filename":"image_17012025_17_18_58_5181.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d1656d14516b2d8a46ae6c4da5d18b21.jpg","text":"TemporaryFile(/tmp/multipartBody5488165637897346605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153453987,"filename":"image_17012025_17_18_04_4998.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b1bfe11cd8b4328af8acaaf74c0ded47.jpg","text":"TemporaryFile(/tmp/multipartBody5337012445167280915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153453987,"filename":"image_17012025_17_17_10_5216.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3439acfe8dc1e5a62bfda822bd771fa6.jpg","text":"TemporaryFile(/tmp/multipartBody358518850995174708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153453987,"filename":"image_17012025_17_17_59_6380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329595143","file1":"1329594894","file0":"1329594890","file4":"1329595706","file5":"1329595916","file3":"1329595445"},"map_files_photo_id_array":[{"photo_id":"1329595916","filename":"file5"},{"photo_id":"1329595143","filename":"file2"},{"photo_id":"1329595706","filename":"file4"},{"photo_id":"1329594894","filename":"file1"},{"photo_id":"1329594890","filename":"file0"},{"photo_id":"1329595445","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329594894":["hashtag1","hashtag2"]},{"1329595143":["hashtag1","hashtag2"]},{"1329594890":["hashtag1","hashtag2"]},{"1329595445":["hashtag1","hashtag2"]},{"1329595916":["hashtag1","hashtag2"]},{"1329595706":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329594894, 1329595143, 1329594890, 1329595445, 1329595916, 1329595706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.86233687400818 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 23:37:22.235866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/17/image_17012025_17_17_05_6227.jpg', '/media/data/images/17012025/17/16/image_17012025_17_16_59_6422.jpg', '/media/data/images/17012025/17/16/image_17012025_17_16_23_6387.jpg', '/media/data/images/17012025/17/16/image_17012025_17_16_16_6375.jpg', '/media/data/images/17012025/17/16/image_17012025_17_16_10_5221.jpg', '/media/data/images/17012025/17/16/image_17012025_17_16_05_6259.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/17/image_17012025_17_17_05_6227.jpg
/media/data/images/17012025/17/16/image_17012025_17_16_59_6422.jpg
/media/data/images/17012025/17/16/image_17012025_17_16_23_6387.jpg
/media/data/images/17012025/17/16/image_17012025_17_16_16_6375.jpg
/media/data/images/17012025/17/16/image_17012025_17_16_10_5221.jpg
/media/data/images/17012025/17/16/image_17012025_17_16_05_6259.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329596052","1329596055","1329596049","1329596087","1329596062","1329596059"],"photo_ids_order":["1329596049","1329596052","1329596055","1329596059","1329596062","1329596087"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/813959f286b1ec3104bda9d36f3249d4.jpg","text":"TemporaryFile(/tmp/multipartBody7065069921838233329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153508624,"filename":"image_17012025_17_16_59_6422.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0cbdfc94f557180766a4b73fe2a3bd51.jpg","text":"TemporaryFile(/tmp/multipartBody703327159538321578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153508624,"filename":"image_17012025_17_16_23_6387.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b0bfb331d106cdbdcb4232a2bc642293.jpg","text":"TemporaryFile(/tmp/multipartBody2020612330365630484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153508624,"filename":"image_17012025_17_17_05_6227.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/18c775f97066628bf4df17ac3bc29a17.jpg","text":"TemporaryFile(/tmp/multipartBody2191427755437297272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153508624,"filename":"image_17012025_17_16_05_6259.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/466a35f253732f8b0f421b9376f51796.jpg","text":"TemporaryFile(/tmp/multipartBody2192458764163715141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153508624,"filename":"image_17012025_17_16_10_5221.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/38083577a0492a97843437a708c77812.jpg","text":"TemporaryFile(/tmp/multipartBody1777359682506640277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153508624,"filename":"image_17012025_17_16_16_6375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329596055","file1":"1329596052","file0":"1329596049","file4":"1329596062","file5":"1329596087","file3":"1329596059"},"map_files_photo_id_array":[{"photo_id":"1329596087","filename":"file5"},{"photo_id":"1329596055","filename":"file2"},{"photo_id":"1329596062","filename":"file4"},{"photo_id":"1329596052","filename":"file1"},{"photo_id":"1329596049","filename":"file0"},{"photo_id":"1329596059","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329596052":["hashtag1","hashtag2"]},{"1329596055":["hashtag1","hashtag2"]},{"1329596049":["hashtag1","hashtag2"]},{"1329596087":["hashtag1","hashtag2"]},{"1329596062":["hashtag1","hashtag2"]},{"1329596059":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329596052, 1329596055, 1329596049, 1329596087, 1329596062, 1329596059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.28849411010742 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 23:38:22.396681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/15/image_17012025_17_15_58_6381.jpg', '/media/data/images/17012025/17/15/image_17012025_17_15_16_6398.jpg', '/media/data/images/17012025/17/15/image_17012025_17_15_10_5232.jpg', '/media/data/images/17012025/17/15/image_17012025_17_15_04_6223.jpg', '/media/data/images/17012025/17/14/image_17012025_17_14_58_6392.jpg', '/media/data/images/17012025/17/14/image_17012025_17_14_11_6499.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/15/image_17012025_17_15_58_6381.jpg
/media/data/images/17012025/17/15/image_17012025_17_15_16_6398.jpg
/media/data/images/17012025/17/15/image_17012025_17_15_10_5232.jpg
/media/data/images/17012025/17/15/image_17012025_17_15_04_6223.jpg
/media/data/images/17012025/17/14/image_17012025_17_14_58_6392.jpg
/media/data/images/17012025/17/14/image_17012025_17_14_11_6499.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329596535","1329596526","1329596542","1329596470","1329596548","1329596521"],"photo_ids_order":["1329596470","1329596521","1329596526","1329596535","1329596542","1329596548"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a5a3ccbead712b727c831a2dfd823d0a.jpg","text":"TemporaryFile(/tmp/multipartBody2569790326094728569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153573203,"filename":"image_17012025_17_15_04_6223.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/eabeb67987c50739862b1a78f19f4fa1.jpg","text":"TemporaryFile(/tmp/multipartBody4356820219414573224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153573203,"filename":"image_17012025_17_15_10_5232.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/09213e3926899c885edeed927c5389fc.jpg","text":"TemporaryFile(/tmp/multipartBody4409751189608447353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153573203,"filename":"image_17012025_17_14_58_6392.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/175ded3f325993c6c04b1d7debbd8aa6.jpg","text":"TemporaryFile(/tmp/multipartBody2850070060945979032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153573203,"filename":"image_17012025_17_15_58_6381.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b476a6ffd21f1184f9d4116299217ab5.jpg","text":"TemporaryFile(/tmp/multipartBody5684607186765869176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153573203,"filename":"image_17012025_17_14_11_6499.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f15c97167212e1a9355c302c826008a8.jpg","text":"TemporaryFile(/tmp/multipartBody966114699869104653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153573203,"filename":"image_17012025_17_15_16_6398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329596526","file1":"1329596521","file0":"1329596470","file4":"1329596542","file5":"1329596548","file3":"1329596535"},"map_files_photo_id_array":[{"photo_id":"1329596548","filename":"file5"},{"photo_id":"1329596526","filename":"file2"},{"photo_id":"1329596542","filename":"file4"},{"photo_id":"1329596521","filename":"file1"},{"photo_id":"1329596470","filename":"file0"},{"photo_id":"1329596535","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329596535":["hashtag1","hashtag2"]},{"1329596526":["hashtag1","hashtag2"]},{"1329596542":["hashtag1","hashtag2"]},{"1329596470":["hashtag1","hashtag2"]},{"1329596548":["hashtag1","hashtag2"]},{"1329596521":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329596535, 1329596526, 1329596542, 1329596470, 1329596548, 1329596521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.258718967437744 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 23:39:22.582648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/13/image_17012025_17_14_04_6492.jpg', '/media/data/images/17012025/17/13/image_17012025_17_13_58_5166.jpg', '/media/data/images/17012025/17/13/image_17012025_17_13_17_6426.jpg', '/media/data/images/17012025/17/13/image_17012025_17_13_10_6455.jpg', '/media/data/images/17012025/17/13/image_17012025_17_13_04_4991.jpg', '/media/data/images/17012025/17/12/image_17012025_17_12_59_6402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/13/image_17012025_17_14_04_6492.jpg
/media/data/images/17012025/17/13/image_17012025_17_13_58_5166.jpg
/media/data/images/17012025/17/13/image_17012025_17_13_17_6426.jpg
/media/data/images/17012025/17/13/image_17012025_17_13_10_6455.jpg
/media/data/images/17012025/17/13/image_17012025_17_13_04_4991.jpg
/media/data/images/17012025/17/12/image_17012025_17_12_59_6402.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329596564","1329596581","1329596569","1329596584","1329596566","1329596586"],"photo_ids_order":["1329596564","1329596566","1329596569","1329596581","1329596584","1329596586"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/88d58408efb3dcfaebbaa2e3b0b178e6.jpg","text":"TemporaryFile(/tmp/multipartBody812734669477142709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153631690,"filename":"image_17012025_17_14_04_6492.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8c3d4bfe5dcf22c6e36e1d33e51057a0.jpg","text":"TemporaryFile(/tmp/multipartBody3452819014846742914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153631690,"filename":"image_17012025_17_13_10_6455.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6b31f4c661eb5819813d497b4a221cbf.jpg","text":"TemporaryFile(/tmp/multipartBody1442576360734719261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153631690,"filename":"image_17012025_17_13_17_6426.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/06a444f588f4e86c516660cdbd8eec07.jpg","text":"TemporaryFile(/tmp/multipartBody4528662628618124798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153631690,"filename":"image_17012025_17_13_04_4991.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a0593ac2e651b875919268bb15dc5145.jpg","text":"TemporaryFile(/tmp/multipartBody6672176444455163825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153631690,"filename":"image_17012025_17_13_58_5166.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d48919c421f1e7db109d083af563b9be.jpg","text":"TemporaryFile(/tmp/multipartBody8173043691636909635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153631690,"filename":"image_17012025_17_12_59_6402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329596569","file1":"1329596566","file0":"1329596564","file4":"1329596584","file5":"1329596586","file3":"1329596581"},"map_files_photo_id_array":[{"photo_id":"1329596586","filename":"file5"},{"photo_id":"1329596569","filename":"file2"},{"photo_id":"1329596584","filename":"file4"},{"photo_id":"1329596566","filename":"file1"},{"photo_id":"1329596564","filename":"file0"},{"photo_id":"1329596581","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329596564":["hashtag1","hashtag2"]},{"1329596581":["hashtag1","hashtag2"]},{"1329596569":["hashtag1","hashtag2"]},{"1329596584":["hashtag1","hashtag2"]},{"1329596566":["hashtag1","hashtag2"]},{"1329596586":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329596564, 1329596581, 1329596569, 1329596584, 1329596566, 1329596586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.07386088371277 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 23:40:22.712767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/12/image_17012025_17_12_16_6382.jpg', '/media/data/images/17012025/17/12/image_17012025_17_12_10_5205.jpg', '/media/data/images/17012025/17/11/image_17012025_17_12_05_6506.jpg', '/media/data/images/17012025/17/11/image_17012025_17_11_58_6419.jpg', '/media/data/images/17012025/17/11/image_17012025_17_11_16_5213.jpg', '/media/data/images/17012025/17/11/image_17012025_17_11_11_6434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/12/image_17012025_17_12_16_6382.jpg
/media/data/images/17012025/17/12/image_17012025_17_12_10_5205.jpg
/media/data/images/17012025/17/11/image_17012025_17_12_05_6506.jpg
/media/data/images/17012025/17/11/image_17012025_17_11_58_6419.jpg
/media/data/images/17012025/17/11/image_17012025_17_11_16_5213.jpg
/media/data/images/17012025/17/11/image_17012025_17_11_11_6434.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329596622","1329596607","1329596615","1329596644","1329596638","1329596605"],"photo_ids_order":["1329596605","1329596607","1329596615","1329596622","1329596638","1329596644"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/307974c1b795f70c2076161156372f42.jpg","text":"TemporaryFile(/tmp/multipartBody4491870891662769229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153688977,"filename":"image_17012025_17_11_58_6419.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5d028073963a71dc475ca0a4b9e29434.jpg","text":"TemporaryFile(/tmp/multipartBody5410385598162112632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153688977,"filename":"image_17012025_17_12_10_5205.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/babaa9f8844a9a5bd73974ac953b66e3.jpg","text":"TemporaryFile(/tmp/multipartBody218471511718039470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153688977,"filename":"image_17012025_17_12_05_6506.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0459033ff98de754386170045d7f8ff1.jpg","text":"TemporaryFile(/tmp/multipartBody8397366177666374727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153688977,"filename":"image_17012025_17_11_11_6434.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5ebe3c359a36aa40cabb55710ffef9c9.jpg","text":"TemporaryFile(/tmp/multipartBody8837174339570023765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153688977,"filename":"image_17012025_17_11_16_5213.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0d697fc12a6f9dd5a6d203ad01adf248.jpg","text":"TemporaryFile(/tmp/multipartBody2839962084186497908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153688977,"filename":"image_17012025_17_12_16_6382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329596615","file1":"1329596607","file0":"1329596605","file4":"1329596638","file5":"1329596644","file3":"1329596622"},"map_files_photo_id_array":[{"photo_id":"1329596644","filename":"file5"},{"photo_id":"1329596615","filename":"file2"},{"photo_id":"1329596638","filename":"file4"},{"photo_id":"1329596607","filename":"file1"},{"photo_id":"1329596605","filename":"file0"},{"photo_id":"1329596622","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329596622":["hashtag1","hashtag2"]},{"1329596607":["hashtag1","hashtag2"]},{"1329596615":["hashtag1","hashtag2"]},{"1329596644":["hashtag1","hashtag2"]},{"1329596638":["hashtag1","hashtag2"]},{"1329596605":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329596622, 1329596607, 1329596615, 1329596644, 1329596638, 1329596605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.55314326286316 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 23:41:21.851040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/10/image_17012025_17_11_04_6435.jpg', '/media/data/images/17012025/17/10/image_17012025_17_10_58_5184.jpg', '/media/data/images/17012025/17/10/image_17012025_17_10_17_6411.jpg', '/media/data/images/17012025/17/10/image_17012025_17_10_10_6422.jpg', '/media/data/images/17012025/17/10/image_17012025_17_10_04_5019.jpg', '/media/data/images/17012025/17/09/image_17012025_17_09_59_6418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/10/image_17012025_17_11_04_6435.jpg
/media/data/images/17012025/17/10/image_17012025_17_10_58_5184.jpg
/media/data/images/17012025/17/10/image_17012025_17_10_17_6411.jpg
/media/data/images/17012025/17/10/image_17012025_17_10_10_6422.jpg
/media/data/images/17012025/17/10/image_17012025_17_10_04_5019.jpg
/media/data/images/17012025/17/09/image_17012025_17_09_59_6418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329596742","1329596750","1329596735","1329596767","1329596719","1329596716"],"photo_ids_order":["1329596716","1329596719","1329596735","1329596742","1329596750","1329596767"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/88dc0d68a7385cb5b18d8920e74bceb0.jpg","text":"TemporaryFile(/tmp/multipartBody3103852311276044408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153750642,"filename":"image_17012025_17_10_10_6422.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/18bb6501e92533da065b6f1e79f78553.jpg","text":"TemporaryFile(/tmp/multipartBody7036595898276497189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153750642,"filename":"image_17012025_17_10_04_5019.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2afe207027296b7d50966c744c59eb99.jpg","text":"TemporaryFile(/tmp/multipartBody3617755811904870139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153750642,"filename":"image_17012025_17_10_17_6411.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a4516199b5617572e4b17072381ee0b4.jpg","text":"TemporaryFile(/tmp/multipartBody2504577890920685989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153750642,"filename":"image_17012025_17_09_59_6418.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/04957d77f720ee9419fcae6f1c7e688b.jpg","text":"TemporaryFile(/tmp/multipartBody3541552850478948582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153750642,"filename":"image_17012025_17_10_58_5184.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/27210294873f118d6ad701fcbbf2aa93.jpg","text":"TemporaryFile(/tmp/multipartBody7194834489692992521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153750642,"filename":"image_17012025_17_11_04_6435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329596735","file1":"1329596719","file0":"1329596716","file4":"1329596750","file5":"1329596767","file3":"1329596742"},"map_files_photo_id_array":[{"photo_id":"1329596767","filename":"file5"},{"photo_id":"1329596735","filename":"file2"},{"photo_id":"1329596750","filename":"file4"},{"photo_id":"1329596719","filename":"file1"},{"photo_id":"1329596716","filename":"file0"},{"photo_id":"1329596742","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329596742":["hashtag1","hashtag2"]},{"1329596750":["hashtag1","hashtag2"]},{"1329596735":["hashtag1","hashtag2"]},{"1329596767":["hashtag1","hashtag2"]},{"1329596719":["hashtag1","hashtag2"]},{"1329596716":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329596742, 1329596750, 1329596735, 1329596767, 1329596719, 1329596716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.77929449081421 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 23:42:22.000944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/09/image_17012025_17_09_16_6366.jpg', '/media/data/images/17012025/17/09/image_17012025_17_09_10_6339.jpg', '/media/data/images/17012025/17/09/image_17012025_17_09_04_5033.jpg', '/media/data/images/17012025/17/08/image_17012025_17_08_59_6431.jpg', '/media/data/images/17012025/17/08/image_17012025_17_08_10_5260.jpg', '/media/data/images/17012025/17/07/image_17012025_17_08_05_6503.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/09/image_17012025_17_09_16_6366.jpg
/media/data/images/17012025/17/09/image_17012025_17_09_10_6339.jpg
/media/data/images/17012025/17/09/image_17012025_17_09_04_5033.jpg
/media/data/images/17012025/17/08/image_17012025_17_08_59_6431.jpg
/media/data/images/17012025/17/08/image_17012025_17_08_10_5260.jpg
/media/data/images/17012025/17/07/image_17012025_17_08_05_6503.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329596808","1329596804","1329596794","1329596799","1329596790","1329596787"],"photo_ids_order":["1329596787","1329596790","1329596794","1329596799","1329596804","1329596808"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/321ea1d920397f6f04012ea33d483fa2.jpg","text":"TemporaryFile(/tmp/multipartBody1518727063509923280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153807288,"filename":"image_17012025_17_08_05_6503.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/216d72588d81ab68c3eecaa13196eb89.jpg","text":"TemporaryFile(/tmp/multipartBody8897125094596417934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153807288,"filename":"image_17012025_17_08_10_5260.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/03b9e7ba4509dd695e2a71e091d30d07.jpg","text":"TemporaryFile(/tmp/multipartBody8357029675645398839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153807288,"filename":"image_17012025_17_09_04_5033.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e0aa42bffe4225561268a46436ea0e1a.jpg","text":"TemporaryFile(/tmp/multipartBody6559313853602531437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153807288,"filename":"image_17012025_17_08_59_6431.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2956a91046f42ab91ac5553fc6ac4646.jpg","text":"TemporaryFile(/tmp/multipartBody5919281475645096308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153807288,"filename":"image_17012025_17_09_10_6339.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/10b8fd2ab419948df531d06e49876a9f.jpg","text":"TemporaryFile(/tmp/multipartBody6341686248167439775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153807288,"filename":"image_17012025_17_09_16_6366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329596794","file1":"1329596790","file0":"1329596787","file4":"1329596804","file5":"1329596808","file3":"1329596799"},"map_files_photo_id_array":[{"photo_id":"1329596808","filename":"file5"},{"photo_id":"1329596794","filename":"file2"},{"photo_id":"1329596804","filename":"file4"},{"photo_id":"1329596790","filename":"file1"},{"photo_id":"1329596787","filename":"file0"},{"photo_id":"1329596799","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329596808":["hashtag1","hashtag2"]},{"1329596804":["hashtag1","hashtag2"]},{"1329596794":["hashtag1","hashtag2"]},{"1329596799":["hashtag1","hashtag2"]},{"1329596790":["hashtag1","hashtag2"]},{"1329596787":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329596808, 1329596804, 1329596794, 1329596799, 1329596790, 1329596787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.28843927383423 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 23:43:02.396434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/07/image_17012025_17_07_58_6393.jpg', '/media/data/images/17012025/17/07/image_17012025_17_07_16_5186.jpg', '/media/data/images/17012025/17/07/image_17012025_17_07_11_6418.jpg', '/media/data/images/17012025/17/06/image_17012025_17_07_04_6400.jpg', '/media/data/images/17012025/17/06/image_17012025_17_06_58_5204.jpg', '/media/data/images/17012025/17/06/image_17012025_17_06_53_6425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/07/image_17012025_17_07_58_6393.jpg
/media/data/images/17012025/17/07/image_17012025_17_07_16_5186.jpg
/media/data/images/17012025/17/07/image_17012025_17_07_11_6418.jpg
/media/data/images/17012025/17/06/image_17012025_17_07_04_6400.jpg
/media/data/images/17012025/17/06/image_17012025_17_06_58_5204.jpg
/media/data/images/17012025/17/06/image_17012025_17_06_53_6425.jpg
2025-01-17 23:43:02.508405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/58/image_17012025_07_58_17_5294.jpg', '/media/data/images/17012025/07/58/image_17012025_07_58_24_6541.jpg', '/media/data/images/17012025/07/58/image_17012025_07_58_29_5321.jpg', '/media/data/images/17012025/07/58/image_17012025_07_58_41_5292.jpg', '/media/data/images/17012025/07/58/image_17012025_07_58_53_5294.jpg', '/media/data/images/17012025/07/58/image_17012025_07_58_59_6559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/58/image_17012025_07_58_17_5294.jpg
/media/data/images/17012025/07/58/image_17012025_07_58_24_6541.jpg
/media/data/images/17012025/07/58/image_17012025_07_58_29_5321.jpg
/media/data/images/17012025/07/58/image_17012025_07_58_41_5292.jpg
/media/data/images/17012025/07/58/image_17012025_07_58_53_5294.jpg
/media/data/images/17012025/07/58/image_17012025_07_58_59_6559.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329596831","1329596825","1329596819","1329596834","1329596828","1329596822"],"photo_ids_order":["1329596819","1329596822","1329596825","1329596828","1329596831","1329596834"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/be7046e525af7a36f009f64f1f716338.jpg","text":"TemporaryFile(/tmp/multipartBody2161513831403954526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153851905,"filename":"image_17012025_17_06_58_5204.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0aa199ab13c7bc19271e043f5c0ca0da.jpg","text":"TemporaryFile(/tmp/multipartBody5700945513936069749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153851905,"filename":"image_17012025_17_07_11_6418.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/724678cd4db162a5fa0e4b1a4d6bdf00.jpg","text":"TemporaryFile(/tmp/multipartBody209198257177232548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153851905,"filename":"image_17012025_17_07_58_6393.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9c8c3b966bf217d9718e2976cc71fc6a.jpg","text":"TemporaryFile(/tmp/multipartBody3904061186806118321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153851905,"filename":"image_17012025_17_06_53_6425.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9e0711fe5992099bb2e007cb2662584a.jpg","text":"TemporaryFile(/tmp/multipartBody5106268774534864186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153851905,"filename":"image_17012025_17_07_04_6400.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/76cfbb486377835655b65e600ac18f65.jpg","text":"TemporaryFile(/tmp/multipartBody6752244880144027856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153851905,"filename":"image_17012025_17_07_16_5186.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329596825","file1":"1329596822","file0":"1329596819","file4":"1329596831","file5":"1329596834","file3":"1329596828"},"map_files_photo_id_array":[{"photo_id":"1329596834","filename":"file5"},{"photo_id":"1329596825","filename":"file2"},{"photo_id":"1329596831","filename":"file4"},{"photo_id":"1329596822","filename":"file1"},{"photo_id":"1329596819","filename":"file0"},{"photo_id":"1329596828","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329596831":["hashtag1","hashtag2"]},{"1329596825":["hashtag1","hashtag2"]},{"1329596819":["hashtag1","hashtag2"]},{"1329596834":["hashtag1","hashtag2"]},{"1329596828":["hashtag1","hashtag2"]},{"1329596822":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329596831, 1329596825, 1329596819, 1329596834, 1329596828, 1329596822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.36015248298645 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329596837","1329596833","1329596821","1329596830","1329596824","1329596827"],"photo_ids_order":["1329596821","1329596824","1329596827","1329596830","1329596833","1329596837"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/42096a3176b60f83e150384168bcdb98.jpg","text":"TemporaryFile(/tmp/multipartBody3109671750606876916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153856067,"filename":"image_17012025_07_58_59_6559.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/66b7f7fdd9e0ff5c60e5d35266fdd91d.jpg","text":"TemporaryFile(/tmp/multipartBody3053406526107377922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153856067,"filename":"image_17012025_07_58_53_5294.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f7225c6e33fbd093c1f55aeb58a0722f.jpg","text":"TemporaryFile(/tmp/multipartBody8047660375883161896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153856067,"filename":"image_17012025_07_58_17_5294.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d4fcfb8848a2a654b4480b72941a77cf.jpg","text":"TemporaryFile(/tmp/multipartBody8433718748561445576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153856067,"filename":"image_17012025_07_58_41_5292.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/adefe7e67c1fb703e5213cf93c6a942f.jpg","text":"TemporaryFile(/tmp/multipartBody1142308150075426418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153856067,"filename":"image_17012025_07_58_24_6541.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2a1fc47b4646a050a095600588e980b3.jpg","text":"TemporaryFile(/tmp/multipartBody1110124315850865419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153856067,"filename":"image_17012025_07_58_29_5321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329596827","file1":"1329596824","file0":"1329596821","file4":"1329596833","file5":"1329596837","file3":"1329596830"},"map_files_photo_id_array":[{"photo_id":"1329596837","filename":"file5"},{"photo_id":"1329596827","filename":"file2"},{"photo_id":"1329596833","filename":"file4"},{"photo_id":"1329596824","filename":"file1"},{"photo_id":"1329596821","filename":"file0"},{"photo_id":"1329596830","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329596837":["hashtag1","hashtag2"]},{"1329596833":["hashtag1","hashtag2"]},{"1329596821":["hashtag1","hashtag2"]},{"1329596830":["hashtag1","hashtag2"]},{"1329596824":["hashtag1","hashtag2"]},{"1329596827":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329596837, 1329596833, 1329596821, 1329596830, 1329596824, 1329596827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.217270851135254 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 23:44:02.503171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/06/image_17012025_17_06_46_6431.jpg', '/media/data/images/17012025/17/06/image_17012025_17_06_40_5191.jpg', '/media/data/images/17012025/17/06/image_17012025_17_06_35_6426.jpg', '/media/data/images/17012025/17/06/image_17012025_17_06_28_6426.jpg', '/media/data/images/17012025/17/06/image_17012025_17_06_22_5206.jpg', '/media/data/images/17012025/17/06/image_17012025_17_06_17_6435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/06/image_17012025_17_06_46_6431.jpg
/media/data/images/17012025/17/06/image_17012025_17_06_40_5191.jpg
/media/data/images/17012025/17/06/image_17012025_17_06_35_6426.jpg
/media/data/images/17012025/17/06/image_17012025_17_06_28_6426.jpg
/media/data/images/17012025/17/06/image_17012025_17_06_22_5206.jpg
/media/data/images/17012025/17/06/image_17012025_17_06_17_6435.jpg
2025-01-17 23:44:02.476587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/07/59/image_17012025_07_59_05_6355.jpg', '/media/data/images/17012025/07/59/image_17012025_07_59_17_6528.jpg', '/media/data/images/17012025/07/59/image_17012025_07_59_23_5293.jpg', '/media/data/images/17012025/07/59/image_17012025_07_59_47_6516.jpg', '/media/data/images/17012025/07/59/image_17012025_07_59_53_5284.jpg', '/media/data/images/17012025/08/00/image_17012025_08_00_11_6642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/07/59/image_17012025_07_59_05_6355.jpg
/media/data/images/17012025/07/59/image_17012025_07_59_17_6528.jpg
/media/data/images/17012025/07/59/image_17012025_07_59_23_5293.jpg
/media/data/images/17012025/07/59/image_17012025_07_59_47_6516.jpg
/media/data/images/17012025/07/59/image_17012025_07_59_53_5284.jpg
/media/data/images/17012025/08/00/image_17012025_08_00_11_6642.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329596928","1329596907","1329596909","1329596914","1329596911","1329596943"],"photo_ids_order":["1329596907","1329596909","1329596911","1329596914","1329596928","1329596943"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/99d31fe93eff2786e2da5e485749176e.jpg","text":"TemporaryFile(/tmp/multipartBody1282977100692714717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153916523,"filename":"image_17012025_17_06_22_5206.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/77159bbf87fba563088b606dd4e8c38b.jpg","text":"TemporaryFile(/tmp/multipartBody5347392648175948011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153916523,"filename":"image_17012025_17_06_46_6431.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/64419733741e2739c426969e9f19a47a.jpg","text":"TemporaryFile(/tmp/multipartBody49685852183261656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153916523,"filename":"image_17012025_17_06_40_5191.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/220525c61fd360fcf28f1add68d3a48f.jpg","text":"TemporaryFile(/tmp/multipartBody7788789725919606568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153916523,"filename":"image_17012025_17_06_28_6426.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5724bd2b143e7178a2d396f4f88c9507.jpg","text":"TemporaryFile(/tmp/multipartBody9098939878762461857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153916523,"filename":"image_17012025_17_06_35_6426.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f9b7e2477372b295abe1740339a57c14.jpg","text":"TemporaryFile(/tmp/multipartBody8048492956052983144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153916523,"filename":"image_17012025_17_06_17_6435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329596911","file1":"1329596909","file0":"1329596907","file4":"1329596928","file5":"1329596943","file3":"1329596914"},"map_files_photo_id_array":[{"photo_id":"1329596943","filename":"file5"},{"photo_id":"1329596911","filename":"file2"},{"photo_id":"1329596928","filename":"file4"},{"photo_id":"1329596909","filename":"file1"},{"photo_id":"1329596907","filename":"file0"},{"photo_id":"1329596914","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329596928":["hashtag1","hashtag2"]},{"1329596907":["hashtag1","hashtag2"]},{"1329596909":["hashtag1","hashtag2"]},{"1329596914":["hashtag1","hashtag2"]},{"1329596911":["hashtag1","hashtag2"]},{"1329596943":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329596928, 1329596907, 1329596909, 1329596914, 1329596911, 1329596943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.99973964691162 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329596954","1329596945","1329596930","1329596912","1329596959","1329596923"],"photo_ids_order":["1329596912","1329596923","1329596930","1329596945","1329596954","1329596959"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4835a82db4bac3c69d1bf16d72516056.jpg","text":"TemporaryFile(/tmp/multipartBody8790982973372282572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153925183,"filename":"image_17012025_07_59_53_5284.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f6fa8a9a4b14610b8b9a59c3edbd400f.jpg","text":"TemporaryFile(/tmp/multipartBody3940962987380266907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153925183,"filename":"image_17012025_07_59_47_6516.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a2c010f668a97574503b07f10704c430.jpg","text":"TemporaryFile(/tmp/multipartBody4563964814182269082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153925183,"filename":"image_17012025_07_59_23_5293.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9490a635b694b2ebbb9ed7763e04351d.jpg","text":"TemporaryFile(/tmp/multipartBody163525403277165318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153925183,"filename":"image_17012025_07_59_05_6355.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a67d1bfee928936b7152db1d745a1c05.jpg","text":"TemporaryFile(/tmp/multipartBody5630090056870428766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153925183,"filename":"image_17012025_08_00_11_6642.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b7b68429c8a15d869a5a1915e9723ebd.jpg","text":"TemporaryFile(/tmp/multipartBody4730747535971286115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153925183,"filename":"image_17012025_07_59_17_6528.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329596930","file1":"1329596923","file0":"1329596912","file4":"1329596954","file5":"1329596959","file3":"1329596945"},"map_files_photo_id_array":[{"photo_id":"1329596959","filename":"file5"},{"photo_id":"1329596930","filename":"file2"},{"photo_id":"1329596954","filename":"file4"},{"photo_id":"1329596923","filename":"file1"},{"photo_id":"1329596912","filename":"file0"},{"photo_id":"1329596945","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329596954":["hashtag1","hashtag2"]},{"1329596945":["hashtag1","hashtag2"]},{"1329596930":["hashtag1","hashtag2"]},{"1329596912":["hashtag1","hashtag2"]},{"1329596959":["hashtag1","hashtag2"]},{"1329596923":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329596954, 1329596945, 1329596930, 1329596912, 1329596959, 1329596923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.23653507232666 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 23:45:02.734681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/00/image_17012025_08_00_23_6514.jpg', '/media/data/images/17012025/08/00/image_17012025_08_00_29_5284.jpg', '/media/data/images/17012025/08/00/image_17012025_08_00_42_6549.jpg', '/media/data/images/17012025/08/01/image_17012025_08_01_05_6371.jpg', '/media/data/images/17012025/08/01/image_17012025_08_01_11_5328.jpg', '/media/data/images/17012025/08/01/image_17012025_08_01_17_6531.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/00/image_17012025_08_00_23_6514.jpg
/media/data/images/17012025/08/00/image_17012025_08_00_29_5284.jpg
/media/data/images/17012025/08/00/image_17012025_08_00_42_6549.jpg
/media/data/images/17012025/08/01/image_17012025_08_01_05_6371.jpg
/media/data/images/17012025/08/01/image_17012025_08_01_11_5328.jpg
/media/data/images/17012025/08/01/image_17012025_08_01_17_6531.jpg
2025-01-17 23:45:02.870766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/06/image_17012025_17_06_10_5254.jpg', '/media/data/images/17012025/17/06/image_17012025_17_06_05_6276.jpg', '/media/data/images/17012025/17/05/image_17012025_17_05_59_6398.jpg', '/media/data/images/17012025/17/05/image_17012025_17_05_16_6398.jpg', '/media/data/images/17012025/17/05/image_17012025_17_05_10_5155.jpg', '/media/data/images/17012025/17/05/image_17012025_17_05_05_6256.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/06/image_17012025_17_06_10_5254.jpg
/media/data/images/17012025/17/06/image_17012025_17_06_05_6276.jpg
/media/data/images/17012025/17/05/image_17012025_17_05_59_6398.jpg
/media/data/images/17012025/17/05/image_17012025_17_05_16_6398.jpg
/media/data/images/17012025/17/05/image_17012025_17_05_10_5155.jpg
/media/data/images/17012025/17/05/image_17012025_17_05_05_6256.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329596984","1329596972","1329596975","1329596998","1329596980","1329597007"],"photo_ids_order":["1329596972","1329596975","1329596980","1329596984","1329596998","1329597007"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ded5aec8c61eff7c55fb589185ff3fb4.jpg","text":"TemporaryFile(/tmp/multipartBody7886375935257009189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153976955,"filename":"image_17012025_17_05_16_6398.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6bbd953c2a56882eee79b478988bd6b5.jpg","text":"TemporaryFile(/tmp/multipartBody4010770191589517867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153976955,"filename":"image_17012025_17_06_10_5254.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5c688cc7076c752e8eb76f55e5f957e9.jpg","text":"TemporaryFile(/tmp/multipartBody2651897492826134415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153976955,"filename":"image_17012025_17_06_05_6276.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d0214cd789eab8c21a2ba7ecd6b60e8d.jpg","text":"TemporaryFile(/tmp/multipartBody2629894486677967612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153976955,"filename":"image_17012025_17_05_10_5155.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/51f1c50c249946d62a1cfd5e92745f5d.jpg","text":"TemporaryFile(/tmp/multipartBody4901549551385346156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153976955,"filename":"image_17012025_17_05_59_6398.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b287399be5d86333643fb0a26d40d192.jpg","text":"TemporaryFile(/tmp/multipartBody4780316455237855793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153976955,"filename":"image_17012025_17_05_05_6256.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329596980","file1":"1329596975","file0":"1329596972","file4":"1329596998","file5":"1329597007","file3":"1329596984"},"map_files_photo_id_array":[{"photo_id":"1329597007","filename":"file5"},{"photo_id":"1329596980","filename":"file2"},{"photo_id":"1329596998","filename":"file4"},{"photo_id":"1329596975","filename":"file1"},{"photo_id":"1329596972","filename":"file0"},{"photo_id":"1329596984","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329596984":["hashtag1","hashtag2"]},{"1329596972":["hashtag1","hashtag2"]},{"1329596975":["hashtag1","hashtag2"]},{"1329596998":["hashtag1","hashtag2"]},{"1329596980":["hashtag1","hashtag2"]},{"1329597007":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329596984, 1329596972, 1329596975, 1329596998, 1329596980, 1329597007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.2189736366272 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329596987","1329597014","1329596982","1329596976","1329597006","1329596979"],"photo_ids_order":["1329596976","1329596979","1329596982","1329596987","1329597006","1329597014"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fe5d454cd5c3dfb93969f7484c8249c6.jpg","text":"TemporaryFile(/tmp/multipartBody6915744272712661388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153982728,"filename":"image_17012025_08_01_05_6371.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4a5a25710681f1fbdc6f6ed5dcda5aa9.jpg","text":"TemporaryFile(/tmp/multipartBody4939743498980739410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153982728,"filename":"image_17012025_08_01_17_6531.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/97d9927cad4fe51c32d560223a1165bc.jpg","text":"TemporaryFile(/tmp/multipartBody8328192123839217650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153982728,"filename":"image_17012025_08_00_42_6549.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a7f1a9e9a853851adb9cdf7594111830.jpg","text":"TemporaryFile(/tmp/multipartBody4234530536797544668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153982728,"filename":"image_17012025_08_00_23_6514.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a1a6ac02f21198d7915fcfb48c8b32df.jpg","text":"TemporaryFile(/tmp/multipartBody3323317719902463653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153982728,"filename":"image_17012025_08_01_11_5328.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d446099e7e7f020602450731c967aa91.jpg","text":"TemporaryFile(/tmp/multipartBody2265434894423654929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737153982728,"filename":"image_17012025_08_00_29_5284.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329596982","file1":"1329596979","file0":"1329596976","file4":"1329597006","file5":"1329597014","file3":"1329596987"},"map_files_photo_id_array":[{"photo_id":"1329597014","filename":"file5"},{"photo_id":"1329596982","filename":"file2"},{"photo_id":"1329597006","filename":"file4"},{"photo_id":"1329596979","filename":"file1"},{"photo_id":"1329596976","filename":"file0"},{"photo_id":"1329596987","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329596987":["hashtag1","hashtag2"]},{"1329597014":["hashtag1","hashtag2"]},{"1329596982":["hashtag1","hashtag2"]},{"1329596976":["hashtag1","hashtag2"]},{"1329597006":["hashtag1","hashtag2"]},{"1329596979":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329596987, 1329597014, 1329596982, 1329596976, 1329597006, 1329596979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.6450777053833 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 23:46:02.719478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/01/image_17012025_08_01_24_6525.jpg', '/media/data/images/17012025/08/01/image_17012025_08_01_29_5296.jpg', '/media/data/images/17012025/08/01/image_17012025_08_01_53_5321.jpg', '/media/data/images/17012025/08/02/image_17012025_08_02_05_5350.jpg', '/media/data/images/17012025/08/02/image_17012025_08_02_11_6562.jpg', '/media/data/images/17012025/08/02/image_17012025_08_02_18_6496.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/01/image_17012025_08_01_24_6525.jpg
/media/data/images/17012025/08/01/image_17012025_08_01_29_5296.jpg
/media/data/images/17012025/08/01/image_17012025_08_01_53_5321.jpg
/media/data/images/17012025/08/02/image_17012025_08_02_05_5350.jpg
/media/data/images/17012025/08/02/image_17012025_08_02_11_6562.jpg
/media/data/images/17012025/08/02/image_17012025_08_02_18_6496.jpg
2025-01-17 23:46:02.818334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/04/image_17012025_17_04_58_6402.jpg', '/media/data/images/17012025/17/04/image_17012025_17_04_16_6401.jpg', '/media/data/images/17012025/17/04/image_17012025_17_04_10_5250.jpg', '/media/data/images/17012025/17/03/image_17012025_17_04_04_6435.jpg', '/media/data/images/17012025/17/03/image_17012025_17_03_58_5180.jpg', '/media/data/images/17012025/17/03/image_17012025_17_03_16_5146.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/04/image_17012025_17_04_58_6402.jpg
/media/data/images/17012025/17/04/image_17012025_17_04_16_6401.jpg
/media/data/images/17012025/17/04/image_17012025_17_04_10_5250.jpg
/media/data/images/17012025/17/03/image_17012025_17_04_04_6435.jpg
/media/data/images/17012025/17/03/image_17012025_17_03_58_5180.jpg
/media/data/images/17012025/17/03/image_17012025_17_03_16_5146.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329597035","1329597032","1329597046","1329597055","1329597051","1329597027"],"photo_ids_order":["1329597027","1329597032","1329597035","1329597046","1329597051","1329597055"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fc531e4322b001bf73e265ba69eafbbe.jpg","text":"TemporaryFile(/tmp/multipartBody6846364313019423004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154033679,"filename":"image_17012025_17_04_10_5250.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bf394efb1db72ae9ac700796b600c503.jpg","text":"TemporaryFile(/tmp/multipartBody5917731452091062225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154033679,"filename":"image_17012025_17_04_16_6401.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d596894306ba8d85bb538c46d5258912.jpg","text":"TemporaryFile(/tmp/multipartBody5968891689158595073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154033679,"filename":"image_17012025_17_04_04_6435.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f17eca159d8434f38321f90180f2e3b1.jpg","text":"TemporaryFile(/tmp/multipartBody1330210186841322247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154033679,"filename":"image_17012025_17_03_16_5146.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0fd873563b5bea328a1f05afa488eab0.jpg","text":"TemporaryFile(/tmp/multipartBody7216036618740291936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154033679,"filename":"image_17012025_17_03_58_5180.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0bce5fe998813a3e27e01cd099401a04.jpg","text":"TemporaryFile(/tmp/multipartBody8382085955365434654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154033679,"filename":"image_17012025_17_04_58_6402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329597035","file1":"1329597032","file0":"1329597027","file4":"1329597051","file5":"1329597055","file3":"1329597046"},"map_files_photo_id_array":[{"photo_id":"1329597055","filename":"file5"},{"photo_id":"1329597035","filename":"file2"},{"photo_id":"1329597051","filename":"file4"},{"photo_id":"1329597032","filename":"file1"},{"photo_id":"1329597027","filename":"file0"},{"photo_id":"1329597046","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329597035":["hashtag1","hashtag2"]},{"1329597032":["hashtag1","hashtag2"]},{"1329597046":["hashtag1","hashtag2"]},{"1329597055":["hashtag1","hashtag2"]},{"1329597051":["hashtag1","hashtag2"]},{"1329597027":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329597035, 1329597032, 1329597046, 1329597055, 1329597051, 1329597027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.976850748062134 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329597050","1329597058","1329597028","1329597045","1329597054","1329597033"],"photo_ids_order":["1329597028","1329597033","1329597045","1329597050","1329597054","1329597058"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/02fc62e8c1fc7db63f1f52ca14234d42.jpg","text":"TemporaryFile(/tmp/multipartBody2669369457591613071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154036848,"filename":"image_17012025_08_02_05_5350.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8c78644f7fdeaf0c48fcaf828db1a361.jpg","text":"TemporaryFile(/tmp/multipartBody6018955318428269239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154036848,"filename":"image_17012025_08_02_18_6496.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/53186b640d42b45f6815c8e38a4c2873.jpg","text":"TemporaryFile(/tmp/multipartBody7926966730452602162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154036848,"filename":"image_17012025_08_01_24_6525.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1a65d001f31c09e8f14b1bed63a3b646.jpg","text":"TemporaryFile(/tmp/multipartBody8091648186216986586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154036848,"filename":"image_17012025_08_01_53_5321.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4c8ea0627e785ebb67427cdd22a0d4d0.jpg","text":"TemporaryFile(/tmp/multipartBody1211348049314101874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154036848,"filename":"image_17012025_08_02_11_6562.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ea63bc38725bddfc99a355e7bd18343d.jpg","text":"TemporaryFile(/tmp/multipartBody8941164865642214019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154036848,"filename":"image_17012025_08_01_29_5296.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329597045","file1":"1329597033","file0":"1329597028","file4":"1329597054","file5":"1329597058","file3":"1329597050"},"map_files_photo_id_array":[{"photo_id":"1329597058","filename":"file5"},{"photo_id":"1329597045","filename":"file2"},{"photo_id":"1329597054","filename":"file4"},{"photo_id":"1329597033","filename":"file1"},{"photo_id":"1329597028","filename":"file0"},{"photo_id":"1329597050","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329597050":["hashtag1","hashtag2"]},{"1329597058":["hashtag1","hashtag2"]},{"1329597028":["hashtag1","hashtag2"]},{"1329597045":["hashtag1","hashtag2"]},{"1329597054":["hashtag1","hashtag2"]},{"1329597033":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329597050, 1329597058, 1329597028, 1329597045, 1329597054, 1329597033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.74638056755066 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 23:47:03.030209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/02/image_17012025_08_02_35_5291.jpg', '/media/data/images/17012025/08/02/image_17012025_08_02_53_6552.jpg', '/media/data/images/17012025/08/02/image_17012025_08_02_59_5327.jpg', '/media/data/images/17012025/08/03/image_17012025_08_03_05_6307.jpg', '/media/data/images/17012025/08/03/image_17012025_08_03_11_6538.jpg', '/media/data/images/17012025/08/03/image_17012025_08_03_35_5285.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/02/image_17012025_08_02_35_5291.jpg
/media/data/images/17012025/08/02/image_17012025_08_02_53_6552.jpg
/media/data/images/17012025/08/02/image_17012025_08_02_59_5327.jpg
/media/data/images/17012025/08/03/image_17012025_08_03_05_6307.jpg
/media/data/images/17012025/08/03/image_17012025_08_03_11_6538.jpg
/media/data/images/17012025/08/03/image_17012025_08_03_35_5285.jpg
2025-01-17 23:47:03.179218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/03/image_17012025_17_03_11_6486.jpg', '/media/data/images/17012025/17/02/image_17012025_17_03_04_6419.jpg', '/media/data/images/17012025/17/02/image_17012025_17_02_58_5212.jpg', '/media/data/images/17012025/17/02/image_17012025_17_02_16_6402.jpg', '/media/data/images/17012025/17/02/image_17012025_17_02_10_5214.jpg', '/media/data/images/17012025/17/02/image_17012025_17_02_05_6248.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/03/image_17012025_17_03_11_6486.jpg
/media/data/images/17012025/17/02/image_17012025_17_03_04_6419.jpg
/media/data/images/17012025/17/02/image_17012025_17_02_58_5212.jpg
/media/data/images/17012025/17/02/image_17012025_17_02_16_6402.jpg
/media/data/images/17012025/17/02/image_17012025_17_02_10_5214.jpg
/media/data/images/17012025/17/02/image_17012025_17_02_05_6248.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329597472","1329597410","1329597404","1329597477","1329597421","1329597474"],"photo_ids_order":["1329597404","1329597410","1329597421","1329597472","1329597474","1329597477"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/fb41b8bdf7c927fc39a6b83864beed46.jpg","text":"TemporaryFile(/tmp/multipartBody4304291898167624775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154092804,"filename":"image_17012025_17_02_16_6402.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ed0a59a8b3afe61daed75b0abf5d2a69.jpg","text":"TemporaryFile(/tmp/multipartBody5894767858109588764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154092804,"filename":"image_17012025_17_03_04_6419.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b5619e5c92271008ed6523c5da1b5815.jpg","text":"TemporaryFile(/tmp/multipartBody4091269946000245494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154092804,"filename":"image_17012025_17_03_11_6486.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1562e02125d16785d3204d9245ac6bdd.jpg","text":"TemporaryFile(/tmp/multipartBody8747214495121819640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154092804,"filename":"image_17012025_17_02_05_6248.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ce0485c91350d59bdf5bbb1ce9fd30ca.jpg","text":"TemporaryFile(/tmp/multipartBody636318945258734028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154092804,"filename":"image_17012025_17_02_58_5212.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/da59b0289a292ade536021e732f7fb84.jpg","text":"TemporaryFile(/tmp/multipartBody6327165574308457717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154092804,"filename":"image_17012025_17_02_10_5214.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329597421","file1":"1329597410","file0":"1329597404","file4":"1329597474","file5":"1329597477","file3":"1329597472"},"map_files_photo_id_array":[{"photo_id":"1329597477","filename":"file5"},{"photo_id":"1329597421","filename":"file2"},{"photo_id":"1329597474","filename":"file4"},{"photo_id":"1329597410","filename":"file1"},{"photo_id":"1329597404","filename":"file0"},{"photo_id":"1329597472","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329597472":["hashtag1","hashtag2"]},{"1329597410":["hashtag1","hashtag2"]},{"1329597404":["hashtag1","hashtag2"]},{"1329597477":["hashtag1","hashtag2"]},{"1329597421":["hashtag1","hashtag2"]},{"1329597474":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329597472, 1329597410, 1329597404, 1329597477, 1329597421, 1329597474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.307018756866455 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329597408","1329597479","1329597470","1329597473","1329597484","1329597416"],"photo_ids_order":["1329597408","1329597416","1329597470","1329597473","1329597479","1329597484"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a6f97dba2b2705732a7a61c6b2020d07.jpg","text":"TemporaryFile(/tmp/multipartBody8595552289883481515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154096148,"filename":"image_17012025_08_02_35_5291.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/186374b9b335f6fe5ff8e351e84f49fe.jpg","text":"TemporaryFile(/tmp/multipartBody4401067535851023589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154096148,"filename":"image_17012025_08_03_11_6538.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4b95c2bee1907ad6a108e3cc159b6256.jpg","text":"TemporaryFile(/tmp/multipartBody4862803412220717418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154096148,"filename":"image_17012025_08_02_59_5327.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a3ca0734107c30d669a159a14a78e2c3.jpg","text":"TemporaryFile(/tmp/multipartBody8933877188249279024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154096148,"filename":"image_17012025_08_03_05_6307.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d64235583a5a065209ec5de666ce4b04.jpg","text":"TemporaryFile(/tmp/multipartBody2002114290684829112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154096148,"filename":"image_17012025_08_03_35_5285.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c7e5a1d70f1287f538b629567f315a77.jpg","text":"TemporaryFile(/tmp/multipartBody2806522727724696987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154096148,"filename":"image_17012025_08_02_53_6552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329597470","file1":"1329597416","file0":"1329597408","file4":"1329597479","file5":"1329597484","file3":"1329597473"},"map_files_photo_id_array":[{"photo_id":"1329597484","filename":"file5"},{"photo_id":"1329597470","filename":"file2"},{"photo_id":"1329597479","filename":"file4"},{"photo_id":"1329597416","filename":"file1"},{"photo_id":"1329597408","filename":"file0"},{"photo_id":"1329597473","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329597408":["hashtag1","hashtag2"]},{"1329597479":["hashtag1","hashtag2"]},{"1329597470":["hashtag1","hashtag2"]},{"1329597473":["hashtag1","hashtag2"]},{"1329597484":["hashtag1","hashtag2"]},{"1329597416":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329597408, 1329597479, 1329597470, 1329597473, 1329597484, 1329597416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.70416712760925 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 23:48:02.121518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/01/image_17012025_17_01_59_6424.jpg', '/media/data/images/17012025/17/01/image_17012025_17_01_16_6345.jpg', '/media/data/images/17012025/17/01/image_17012025_17_01_10_5189.jpg', '/media/data/images/17012025/17/00/image_17012025_17_01_05_6485.jpg', '/media/data/images/17012025/17/00/image_17012025_17_00_58_5218.jpg', '/media/data/images/17012025/17/00/image_17012025_17_00_17_6380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/01/image_17012025_17_01_59_6424.jpg
/media/data/images/17012025/17/01/image_17012025_17_01_16_6345.jpg
/media/data/images/17012025/17/01/image_17012025_17_01_10_5189.jpg
/media/data/images/17012025/17/00/image_17012025_17_01_05_6485.jpg
/media/data/images/17012025/17/00/image_17012025_17_00_58_5218.jpg
/media/data/images/17012025/17/00/image_17012025_17_00_17_6380.jpg
2025-01-17 23:48:02.098997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/03/image_17012025_08_03_42_6548.jpg', '/media/data/images/17012025/08/03/image_17012025_08_03_53_6551.jpg', '/media/data/images/17012025/08/03/image_17012025_08_03_59_5315.jpg', '/media/data/images/17012025/08/04/image_17012025_08_04_05_6346.jpg', '/media/data/images/17012025/08/04/image_17012025_08_04_17_5284.jpg', '/media/data/images/17012025/08/04/image_17012025_08_04_29_5316.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/03/image_17012025_08_03_42_6548.jpg
/media/data/images/17012025/08/03/image_17012025_08_03_53_6551.jpg
/media/data/images/17012025/08/03/image_17012025_08_03_59_5315.jpg
/media/data/images/17012025/08/04/image_17012025_08_04_05_6346.jpg
/media/data/images/17012025/08/04/image_17012025_08_04_17_5284.jpg
/media/data/images/17012025/08/04/image_17012025_08_04_29_5316.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: 8.874306201934814 secondes ---
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329597510","1329597539","1329597524","1329597533","1329597506","1329597536"],"photo_ids_order":["1329597506","1329597510","1329597524","1329597533","1329597536","1329597539"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ebcbf2ae620f86d2e85eab023704aedc.jpg","text":"TemporaryFile(/tmp/multipartBody2447811775508230438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154159244,"filename":"image_17012025_08_03_53_6551.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/898e23c22088e10ca746be286b65fc4c.jpg","text":"TemporaryFile(/tmp/multipartBody7727706522568040040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154159244,"filename":"image_17012025_08_04_29_5316.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0e8048913a9e790181fbd1b6423b1f6a.jpg","text":"TemporaryFile(/tmp/multipartBody7076551527181535464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154159244,"filename":"image_17012025_08_03_59_5315.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9c8a7900cb7a5466c1fe3be16e08a50c.jpg","text":"TemporaryFile(/tmp/multipartBody7139311245375041739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154159244,"filename":"image_17012025_08_04_05_6346.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/15468a8961d2432d87d3d7843f311699.jpg","text":"TemporaryFile(/tmp/multipartBody2070519197565976022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154159244,"filename":"image_17012025_08_03_42_6548.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/beb3d11aa2005e1d05c3ffad3590464d.jpg","text":"TemporaryFile(/tmp/multipartBody7728085599155528404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154159244,"filename":"image_17012025_08_04_17_5284.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329597524","file1":"1329597510","file0":"1329597506","file4":"1329597536","file5":"1329597539","file3":"1329597533"},"map_files_photo_id_array":[{"photo_id":"1329597539","filename":"file5"},{"photo_id":"1329597524","filename":"file2"},{"photo_id":"1329597536","filename":"file4"},{"photo_id":"1329597510","filename":"file1"},{"photo_id":"1329597506","filename":"file0"},{"photo_id":"1329597533","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329597510":["hashtag1","hashtag2"]},{"1329597539":["hashtag1","hashtag2"]},{"1329597524":["hashtag1","hashtag2"]},{"1329597533":["hashtag1","hashtag2"]},{"1329597506":["hashtag1","hashtag2"]},{"1329597536":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329597510, 1329597539, 1329597524, 1329597533, 1329597506, 1329597536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.69416379928589 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 23:49:02.427706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/01/image_17012025_17_01_59_6424.jpg', '/media/data/images/17012025/17/01/image_17012025_17_01_16_6345.jpg', '/media/data/images/17012025/17/01/image_17012025_17_01_10_5189.jpg', '/media/data/images/17012025/17/00/image_17012025_17_01_05_6485.jpg', '/media/data/images/17012025/17/00/image_17012025_17_00_58_5218.jpg', '/media/data/images/17012025/17/00/image_17012025_17_00_17_6380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/01/image_17012025_17_01_59_6424.jpg
/media/data/images/17012025/17/01/image_17012025_17_01_16_6345.jpg
/media/data/images/17012025/17/01/image_17012025_17_01_10_5189.jpg
/media/data/images/17012025/17/00/image_17012025_17_01_05_6485.jpg
/media/data/images/17012025/17/00/image_17012025_17_00_58_5218.jpg
/media/data/images/17012025/17/00/image_17012025_17_00_17_6380.jpg
2025-01-17 23:49:02.598681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/04/image_17012025_08_04_41_5334.jpg', '/media/data/images/17012025/08/04/image_17012025_08_04_59_6572.jpg', '/media/data/images/17012025/08/05/image_17012025_08_05_11_5304.jpg', '/media/data/images/17012025/08/05/image_17012025_08_05_29_6559.jpg', '/media/data/images/17012025/08/05/image_17012025_08_05_48_6553.jpg', '/media/data/images/17012025/08/06/image_17012025_08_06_05_5410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/04/image_17012025_08_04_41_5334.jpg
/media/data/images/17012025/08/04/image_17012025_08_04_59_6572.jpg
/media/data/images/17012025/08/05/image_17012025_08_05_11_5304.jpg
/media/data/images/17012025/08/05/image_17012025_08_05_29_6559.jpg
/media/data/images/17012025/08/05/image_17012025_08_05_48_6553.jpg
/media/data/images/17012025/08/06/image_17012025_08_06_05_5410.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329597583","1329597586","1329597571","1329597574","1329597579","1329597567"],"photo_ids_order":["1329597567","1329597571","1329597574","1329597579","1329597583","1329597586"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/122aa632c74c061dc735870ed24070cd.jpg","text":"TemporaryFile(/tmp/multipartBody2491973463088140436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154211879,"filename":"image_17012025_17_00_58_5218.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3fc5885a61f58f82fe4b7c48fb281afb.jpg","text":"TemporaryFile(/tmp/multipartBody6536934798744460952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154211879,"filename":"image_17012025_17_00_17_6380.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/201c964833ce8175b5992a896bec4ea3.jpg","text":"TemporaryFile(/tmp/multipartBody8346804136741870648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154211879,"filename":"image_17012025_17_01_16_6345.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1b4027d10221a131ac70f1be74f29e02.jpg","text":"TemporaryFile(/tmp/multipartBody6910560877169902609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154211879,"filename":"image_17012025_17_01_10_5189.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0135960f8810126fae872a8f32c912a3.jpg","text":"TemporaryFile(/tmp/multipartBody1465765938577723032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154211879,"filename":"image_17012025_17_01_05_6485.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5be1dbd2146437dcc15c499d2e4328e7.jpg","text":"TemporaryFile(/tmp/multipartBody7521879260130177753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154211879,"filename":"image_17012025_17_01_59_6424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329597574","file1":"1329597571","file0":"1329597567","file4":"1329597583","file5":"1329597586","file3":"1329597579"},"map_files_photo_id_array":[{"photo_id":"1329597586","filename":"file5"},{"photo_id":"1329597574","filename":"file2"},{"photo_id":"1329597583","filename":"file4"},{"photo_id":"1329597571","filename":"file1"},{"photo_id":"1329597567","filename":"file0"},{"photo_id":"1329597579","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329597583":["hashtag1","hashtag2"]},{"1329597586":["hashtag1","hashtag2"]},{"1329597571":["hashtag1","hashtag2"]},{"1329597574":["hashtag1","hashtag2"]},{"1329597579":["hashtag1","hashtag2"]},{"1329597567":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329597583, 1329597586, 1329597571, 1329597574, 1329597579, 1329597567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.086665391922 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329597575","1329597584","1329597592","1329597580","1329597570","1329597588"],"photo_ids_order":["1329597570","1329597575","1329597580","1329597584","1329597588","1329597592"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4cd4ba315fb40a6fad0f36b748ebf3fd.jpg","text":"TemporaryFile(/tmp/multipartBody3761436752076628304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154216527,"filename":"image_17012025_08_04_59_6572.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/eef8a9fa01928a0888fa8c84ff9acdf7.jpg","text":"TemporaryFile(/tmp/multipartBody6048900123987673993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154216527,"filename":"image_17012025_08_05_29_6559.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/30f0206bcaa3621e5ad5dd70e589c293.jpg","text":"TemporaryFile(/tmp/multipartBody8534076297837981227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154216527,"filename":"image_17012025_08_06_05_5410.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7f4fd1de06f3cd77aa3ee1ac0cb423aa.jpg","text":"TemporaryFile(/tmp/multipartBody5769092320166874070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154216527,"filename":"image_17012025_08_05_11_5304.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b8244fbf9f2ac73b55d7155ac7521bdf.jpg","text":"TemporaryFile(/tmp/multipartBody679485056430706246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154216527,"filename":"image_17012025_08_04_41_5334.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2914d3700aae5cf49c4168282af72db4.jpg","text":"TemporaryFile(/tmp/multipartBody5176357551512919446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154216527,"filename":"image_17012025_08_05_48_6553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329597580","file1":"1329597575","file0":"1329597570","file4":"1329597588","file5":"1329597592","file3":"1329597584"},"map_files_photo_id_array":[{"photo_id":"1329597592","filename":"file5"},{"photo_id":"1329597580","filename":"file2"},{"photo_id":"1329597588","filename":"file4"},{"photo_id":"1329597575","filename":"file1"},{"photo_id":"1329597570","filename":"file0"},{"photo_id":"1329597584","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329597575":["hashtag1","hashtag2"]},{"1329597584":["hashtag1","hashtag2"]},{"1329597592":["hashtag1","hashtag2"]},{"1329597580":["hashtag1","hashtag2"]},{"1329597570":["hashtag1","hashtag2"]},{"1329597588":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329597575, 1329597584, 1329597592, 1329597580, 1329597570, 1329597588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.762635707855225 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 23:50:02.422143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
2025-01-17 23:50:02.471089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/06/image_17012025_08_06_41_5310.jpg', '/media/data/images/17012025/08/06/image_17012025_08_06_54_6563.jpg', '/media/data/images/17012025/08/06/image_17012025_08_06_59_5325.jpg', '/media/data/images/17012025/08/07/image_17012025_08_07_11_5318.jpg', '/media/data/images/17012025/08/07/image_17012025_08_07_17_6529.jpg', '/media/data/images/17012025/08/07/image_17012025_08_07_24_6527.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
 Upload medias :  ['/media/data/images/17012025/17/00/image_17012025_17_00_10_6412.jpg', '/media/data/images/17012025/17/00/image_17012025_17_00_04_5168.jpg', '/media/data/images/17012025/16/59/image_17012025_16_59_59_6399.jpg', '/media/data/images/17012025/16/59/image_17012025_16_59_16_6423.jpg', '/media/data/images/17012025/16/59/image_17012025_16_59_10_5235.jpg', '/media/data/images/17012025/16/59/image_17012025_16_59_05_6222.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/06/image_17012025_08_06_41_5310.jpg
/media/data/images/17012025/17/00/image_17012025_17_00_10_6412.jpg
/media/data/images/17012025/17/00/image_17012025_17_00_04_5168.jpg
/media/data/images/17012025/08/06/image_17012025_08_06_54_6563.jpg
/media/data/images/17012025/16/59/image_17012025_16_59_59_6399.jpg
/media/data/images/17012025/08/06/image_17012025_08_06_59_5325.jpg
/media/data/images/17012025/16/59/image_17012025_16_59_16_6423.jpg
/media/data/images/17012025/08/07/image_17012025_08_07_11_5318.jpg
/media/data/images/17012025/16/59/image_17012025_16_59_10_5235.jpg
/media/data/images/17012025/08/07/image_17012025_08_07_17_6529.jpg
/media/data/images/17012025/16/59/image_17012025_16_59_05_6222.jpg
/media/data/images/17012025/08/07/image_17012025_08_07_24_6527.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: 8.117166519165039 secondes ---
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329597662","1329597641","1329597638","1329597611","1329597629","1329597621"],"photo_ids_order":["1329597611","1329597621","1329597629","1329597638","1329597641","1329597662"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9e90e9eada6064eb7eb066f3dd356f7c.jpg","text":"TemporaryFile(/tmp/multipartBody7336850233542592531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154274403,"filename":"image_17012025_08_07_24_6527.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/52385f54f9c5c0c22ec695b8cc54df01.jpg","text":"TemporaryFile(/tmp/multipartBody2949341941370539094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154274403,"filename":"image_17012025_08_07_17_6529.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d5666ba8ac674b05dcb84f97cedb929f.jpg","text":"TemporaryFile(/tmp/multipartBody6533154236479814492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154274403,"filename":"image_17012025_08_07_11_5318.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/f813c32ac2ea4bf3ff01aa8a1e454898.jpg","text":"TemporaryFile(/tmp/multipartBody4874509466667505636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154274403,"filename":"image_17012025_08_06_41_5310.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/444cbf9229c13b803cbc58f3739d89cf.jpg","text":"TemporaryFile(/tmp/multipartBody8857361864594553947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154274403,"filename":"image_17012025_08_06_59_5325.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7b0f36babcbc44a3cfc4bf50ceb2f4da.jpg","text":"TemporaryFile(/tmp/multipartBody7077080678535917496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154274403,"filename":"image_17012025_08_06_54_6563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329597629","file1":"1329597621","file0":"1329597611","file4":"1329597641","file5":"1329597662","file3":"1329597638"},"map_files_photo_id_array":[{"photo_id":"1329597662","filename":"file5"},{"photo_id":"1329597629","filename":"file2"},{"photo_id":"1329597641","filename":"file4"},{"photo_id":"1329597621","filename":"file1"},{"photo_id":"1329597611","filename":"file0"},{"photo_id":"1329597638","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329597662":["hashtag1","hashtag2"]},{"1329597641":["hashtag1","hashtag2"]},{"1329597638":["hashtag1","hashtag2"]},{"1329597611":["hashtag1","hashtag2"]},{"1329597629":["hashtag1","hashtag2"]},{"1329597621":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329597662, 1329597641, 1329597638, 1329597611, 1329597629, 1329597621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.14160180091858 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 23:51:02.640033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/17/00/image_17012025_17_00_10_6412.jpg', '/media/data/images/17012025/17/00/image_17012025_17_00_04_5168.jpg', '/media/data/images/17012025/16/59/image_17012025_16_59_59_6399.jpg', '/media/data/images/17012025/16/59/image_17012025_16_59_16_6423.jpg', '/media/data/images/17012025/16/59/image_17012025_16_59_10_5235.jpg', '/media/data/images/17012025/16/59/image_17012025_16_59_05_6222.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/17/00/image_17012025_17_00_10_6412.jpg
/media/data/images/17012025/17/00/image_17012025_17_00_04_5168.jpg
/media/data/images/17012025/16/59/image_17012025_16_59_59_6399.jpg
/media/data/images/17012025/16/59/image_17012025_16_59_16_6423.jpg
/media/data/images/17012025/16/59/image_17012025_16_59_10_5235.jpg
/media/data/images/17012025/16/59/image_17012025_16_59_05_6222.jpg
2025-01-17 23:51:02.640007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/07/image_17012025_08_07_29_5285.jpg', '/media/data/images/17012025/08/07/image_17012025_08_07_35_6526.jpg', '/media/data/images/17012025/08/07/image_17012025_08_07_41_5285.jpg', '/media/data/images/17012025/08/07/image_17012025_08_07_59_6540.jpg', '/media/data/images/17012025/08/08/image_17012025_08_08_18_6524.jpg', '/media/data/images/17012025/08/08/image_17012025_08_08_23_5285.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/07/image_17012025_08_07_29_5285.jpg
/media/data/images/17012025/08/07/image_17012025_08_07_35_6526.jpg
/media/data/images/17012025/08/07/image_17012025_08_07_41_5285.jpg
/media/data/images/17012025/08/07/image_17012025_08_07_59_6540.jpg
/media/data/images/17012025/08/08/image_17012025_08_08_18_6524.jpg
/media/data/images/17012025/08/08/image_17012025_08_08_23_5285.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329597695","1329597689","1329597704","1329597701","1329597709","1329597693"],"photo_ids_order":["1329597689","1329597693","1329597695","1329597701","1329597704","1329597709"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/eb2bb06221a92b6f66af6b2ba59aeb4d.jpg","text":"TemporaryFile(/tmp/multipartBody1479532025205826148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154332274,"filename":"image_17012025_16_59_59_6399.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/1b950538262ee0e216b531c27261adcf.jpg","text":"TemporaryFile(/tmp/multipartBody6255534889993322842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154332274,"filename":"image_17012025_17_00_10_6412.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/8875d4ca5d93e02c73c397f1b384c99b.jpg","text":"TemporaryFile(/tmp/multipartBody4612785850362646860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154332274,"filename":"image_17012025_16_59_10_5235.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/eceed578965c3775594b1e9f839e7c12.jpg","text":"TemporaryFile(/tmp/multipartBody4476601509737627405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154332274,"filename":"image_17012025_16_59_16_6423.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/263c9f2ed9c5f6162ead12bfa99ce9f9.jpg","text":"TemporaryFile(/tmp/multipartBody6950058992709601863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154332274,"filename":"image_17012025_16_59_05_6222.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a002ca8d0fb80786f9f2e47408ff2370.jpg","text":"TemporaryFile(/tmp/multipartBody6516384727839224921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154332274,"filename":"image_17012025_17_00_04_5168.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329597695","file1":"1329597693","file0":"1329597689","file4":"1329597704","file5":"1329597709","file3":"1329597701"},"map_files_photo_id_array":[{"photo_id":"1329597709","filename":"file5"},{"photo_id":"1329597695","filename":"file2"},{"photo_id":"1329597704","filename":"file4"},{"photo_id":"1329597693","filename":"file1"},{"photo_id":"1329597689","filename":"file0"},{"photo_id":"1329597701","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329597695":["hashtag1","hashtag2"]},{"1329597689":["hashtag1","hashtag2"]},{"1329597704":["hashtag1","hashtag2"]},{"1329597701":["hashtag1","hashtag2"]},{"1329597709":["hashtag1","hashtag2"]},{"1329597693":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329597695, 1329597689, 1329597704, 1329597701, 1329597709, 1329597693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.01841163635254 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329597716","1329597694","1329597700","1329597703","1329597706","1329597711"],"photo_ids_order":["1329597694","1329597700","1329597703","1329597706","1329597711","1329597716"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/555939bf5c25ff40925f9c4578509c31.jpg","text":"TemporaryFile(/tmp/multipartBody7088582480514925694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154338826,"filename":"image_17012025_08_08_23_5285.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b7fc6c1db2c12b18b32087d1a1f0ddf1.jpg","text":"TemporaryFile(/tmp/multipartBody4464571900951564042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154338826,"filename":"image_17012025_08_07_29_5285.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7c0e18a2b7c69db77b7bcb98919b722e.jpg","text":"TemporaryFile(/tmp/multipartBody8634405411011173779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154338826,"filename":"image_17012025_08_07_35_6526.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3b81bf93904a2e7131f90a3b7d4177c2.jpg","text":"TemporaryFile(/tmp/multipartBody6429279888634099523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154338826,"filename":"image_17012025_08_07_41_5285.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/4cc5939e9e2565dae691a28eae93c26d.jpg","text":"TemporaryFile(/tmp/multipartBody4705913806315051699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154338826,"filename":"image_17012025_08_07_59_6540.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/89d2b05d18e60677126d43ba5cde7b06.jpg","text":"TemporaryFile(/tmp/multipartBody2327509492161059978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154338826,"filename":"image_17012025_08_08_18_6524.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329597703","file1":"1329597700","file0":"1329597694","file4":"1329597711","file5":"1329597716","file3":"1329597706"},"map_files_photo_id_array":[{"photo_id":"1329597716","filename":"file5"},{"photo_id":"1329597703","filename":"file2"},{"photo_id":"1329597711","filename":"file4"},{"photo_id":"1329597700","filename":"file1"},{"photo_id":"1329597694","filename":"file0"},{"photo_id":"1329597706","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329597716":["hashtag1","hashtag2"]},{"1329597694":["hashtag1","hashtag2"]},{"1329597700":["hashtag1","hashtag2"]},{"1329597703":["hashtag1","hashtag2"]},{"1329597706":["hashtag1","hashtag2"]},{"1329597711":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329597716, 1329597694, 1329597700, 1329597703, 1329597706, 1329597711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.7408881187439 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 23:52:02.623191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/08/image_17012025_08_08_35_5301.jpg', '/media/data/images/17012025/08/08/image_17012025_08_08_53_6536.jpg', '/media/data/images/17012025/08/09/image_17012025_08_09_11_6546.jpg', '/media/data/images/17012025/08/09/image_17012025_08_09_29_5328.jpg', '/media/data/images/17012025/08/09/image_17012025_08_09_35_6565.jpg', '/media/data/images/17012025/08/09/image_17012025_08_09_47_6551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/08/image_17012025_08_08_35_5301.jpg
/media/data/images/17012025/08/08/image_17012025_08_08_53_6536.jpg
/media/data/images/17012025/08/09/image_17012025_08_09_11_6546.jpg
/media/data/images/17012025/08/09/image_17012025_08_09_29_5328.jpg
/media/data/images/17012025/08/09/image_17012025_08_09_35_6565.jpg
/media/data/images/17012025/08/09/image_17012025_08_09_47_6551.jpg
2025-01-17 23:52:02.734486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/58/image_17012025_16_58_58_6376.jpg', '/media/data/images/17012025/16/58/image_17012025_16_58_16_6433.jpg', '/media/data/images/17012025/16/58/image_17012025_16_58_10_5220.jpg', '/media/data/images/17012025/16/57/image_17012025_16_58_05_6447.jpg', '/media/data/images/17012025/16/57/image_17012025_16_57_58_6433.jpg', '/media/data/images/17012025/16/57/image_17012025_16_57_52_5138.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/58/image_17012025_16_58_58_6376.jpg
/media/data/images/17012025/16/58/image_17012025_16_58_16_6433.jpg
/media/data/images/17012025/16/58/image_17012025_16_58_10_5220.jpg
/media/data/images/17012025/16/57/image_17012025_16_58_05_6447.jpg
/media/data/images/17012025/16/57/image_17012025_16_57_58_6433.jpg
/media/data/images/17012025/16/57/image_17012025_16_57_52_5138.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: 13.668740510940552 secondes ---
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329597932","1329597731","1329597733","1329597736","1329597774","1329597861"],"photo_ids_order":["1329597731","1329597733","1329597736","1329597774","1329597861","1329597932"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bf6630507e0e196b55a6fdb08b0ece56.jpg","text":"TemporaryFile(/tmp/multipartBody7162887785541561842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154391243,"filename":"image_17012025_16_57_52_5138.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/543a4220e5574bc09c86f781726633b4.jpg","text":"TemporaryFile(/tmp/multipartBody3153437956116672563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154391243,"filename":"image_17012025_16_58_58_6376.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c8200810cb297826f71c122439302bd8.jpg","text":"TemporaryFile(/tmp/multipartBody3593657327409333717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154391243,"filename":"image_17012025_16_58_16_6433.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/ab7b32ac391bb3908179743a6a1377fc.jpg","text":"TemporaryFile(/tmp/multipartBody2555203741398381426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154391243,"filename":"image_17012025_16_58_10_5220.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/14d2ff1dd7dce131e762db7efd30f0d5.jpg","text":"TemporaryFile(/tmp/multipartBody8663205052559107541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154391243,"filename":"image_17012025_16_58_05_6447.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b677fa8d83abdcf2d65d2fc21dbb28ab.jpg","text":"TemporaryFile(/tmp/multipartBody1098802986286980725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154391243,"filename":"image_17012025_16_57_58_6433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329597736","file1":"1329597733","file0":"1329597731","file4":"1329597861","file5":"1329597932","file3":"1329597774"},"map_files_photo_id_array":[{"photo_id":"1329597932","filename":"file5"},{"photo_id":"1329597736","filename":"file2"},{"photo_id":"1329597861","filename":"file4"},{"photo_id":"1329597733","filename":"file1"},{"photo_id":"1329597731","filename":"file0"},{"photo_id":"1329597774","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329597932":["hashtag1","hashtag2"]},{"1329597731":["hashtag1","hashtag2"]},{"1329597733":["hashtag1","hashtag2"]},{"1329597736":["hashtag1","hashtag2"]},{"1329597774":["hashtag1","hashtag2"]},{"1329597861":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329597932, 1329597731, 1329597733, 1329597736, 1329597774, 1329597861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.808589458465576 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 23:53:02.990562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/57/image_17012025_16_57_47_6405.jpg', '/media/data/images/17012025/16/57/image_17012025_16_57_40_6341.jpg', '/media/data/images/17012025/16/57/image_17012025_16_57_34_5162.jpg', '/media/data/images/17012025/16/57/image_17012025_16_57_29_6381.jpg', '/media/data/images/17012025/16/57/image_17012025_16_57_22_6351.jpg', '/media/data/images/17012025/16/57/image_17012025_16_57_16_5187.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/57/image_17012025_16_57_47_6405.jpg
/media/data/images/17012025/16/57/image_17012025_16_57_40_6341.jpg
/media/data/images/17012025/16/57/image_17012025_16_57_34_5162.jpg
/media/data/images/17012025/16/57/image_17012025_16_57_29_6381.jpg
/media/data/images/17012025/16/57/image_17012025_16_57_22_6351.jpg
/media/data/images/17012025/16/57/image_17012025_16_57_16_5187.jpg
2025-01-17 23:53:03.016481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/08/image_17012025_08_08_35_5301.jpg', '/media/data/images/17012025/08/08/image_17012025_08_08_53_6536.jpg', '/media/data/images/17012025/08/09/image_17012025_08_09_11_6546.jpg', '/media/data/images/17012025/08/09/image_17012025_08_09_29_5328.jpg', '/media/data/images/17012025/08/09/image_17012025_08_09_35_6565.jpg', '/media/data/images/17012025/08/09/image_17012025_08_09_47_6551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/08/image_17012025_08_08_35_5301.jpg
/media/data/images/17012025/08/08/image_17012025_08_08_53_6536.jpg
/media/data/images/17012025/08/09/image_17012025_08_09_11_6546.jpg
/media/data/images/17012025/08/09/image_17012025_08_09_29_5328.jpg
/media/data/images/17012025/08/09/image_17012025_08_09_35_6565.jpg
/media/data/images/17012025/08/09/image_17012025_08_09_47_6551.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: 10.31849718093872 secondes ---
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329597983","1329597992","1329597986","1329597980","1329597988","1329597990"],"photo_ids_order":["1329597980","1329597983","1329597986","1329597988","1329597990","1329597992"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3f7aba7200bcae5d13e907003180972b.jpg","text":"TemporaryFile(/tmp/multipartBody6592820362228114611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154449148,"filename":"image_17012025_16_57_40_6341.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/9c4c9ec472e228645ba8bead21c6d863.jpg","text":"TemporaryFile(/tmp/multipartBody8835881065126706508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154449148,"filename":"image_17012025_16_57_16_5187.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/dcb5075c4ccbcc6434f9eadb54d86c32.jpg","text":"TemporaryFile(/tmp/multipartBody3084804303735590624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154449148,"filename":"image_17012025_16_57_34_5162.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2c13cfbbf1cb6c815ed2f859218a8d9c.jpg","text":"TemporaryFile(/tmp/multipartBody282302764173972142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154449148,"filename":"image_17012025_16_57_47_6405.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5ca39ed2a1f511b99b280ef3896ddee8.jpg","text":"TemporaryFile(/tmp/multipartBody6770885316409732331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154449148,"filename":"image_17012025_16_57_29_6381.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e83574c3727e7c16cf0dd4c5777e8a8b.jpg","text":"TemporaryFile(/tmp/multipartBody1389506633915893036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154449148,"filename":"image_17012025_16_57_22_6351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329597986","file1":"1329597983","file0":"1329597980","file4":"1329597990","file5":"1329597992","file3":"1329597988"},"map_files_photo_id_array":[{"photo_id":"1329597992","filename":"file5"},{"photo_id":"1329597986","filename":"file2"},{"photo_id":"1329597990","filename":"file4"},{"photo_id":"1329597983","filename":"file1"},{"photo_id":"1329597980","filename":"file0"},{"photo_id":"1329597988","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329597983":["hashtag1","hashtag2"]},{"1329597992":["hashtag1","hashtag2"]},{"1329597986":["hashtag1","hashtag2"]},{"1329597980":["hashtag1","hashtag2"]},{"1329597988":["hashtag1","hashtag2"]},{"1329597990":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329597983, 1329597992, 1329597986, 1329597980, 1329597988, 1329597990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.468721866607666 secondes ---
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 23:54:03.007768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/57/image_17012025_16_57_11_6416.jpg', '/media/data/images/17012025/16/56/image_17012025_16_57_04_6444.jpg', '/media/data/images/17012025/16/56/image_17012025_16_56_58_5219.jpg', '/media/data/images/17012025/16/56/image_17012025_16_56_17_6403.jpg', '/media/data/images/17012025/16/56/image_17012025_16_56_10_6412.jpg', '/media/data/images/17012025/16/56/image_17012025_16_56_04_5201.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/57/image_17012025_16_57_11_6416.jpg
/media/data/images/17012025/16/56/image_17012025_16_57_04_6444.jpg
/media/data/images/17012025/16/56/image_17012025_16_56_58_5219.jpg
/media/data/images/17012025/16/56/image_17012025_16_56_17_6403.jpg
/media/data/images/17012025/16/56/image_17012025_16_56_10_6412.jpg
/media/data/images/17012025/16/56/image_17012025_16_56_04_5201.jpg
2025-01-17 23:54:02.980297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/08/image_17012025_08_08_35_5301.jpg', '/media/data/images/17012025/08/08/image_17012025_08_08_53_6536.jpg', '/media/data/images/17012025/08/09/image_17012025_08_09_11_6546.jpg', '/media/data/images/17012025/08/09/image_17012025_08_09_29_5328.jpg', '/media/data/images/17012025/08/09/image_17012025_08_09_35_6565.jpg', '/media/data/images/17012025/08/09/image_17012025_08_09_47_6551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/08/image_17012025_08_08_35_5301.jpg
/media/data/images/17012025/08/08/image_17012025_08_08_53_6536.jpg
/media/data/images/17012025/08/09/image_17012025_08_09_11_6546.jpg
/media/data/images/17012025/08/09/image_17012025_08_09_29_5328.jpg
/media/data/images/17012025/08/09/image_17012025_08_09_35_6565.jpg
/media/data/images/17012025/08/09/image_17012025_08_09_47_6551.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: 14.155308246612549 secondes ---
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329598025","1329598048","1329598012","1329598015","1329598035","1329598023"],"photo_ids_order":["1329598012","1329598015","1329598023","1329598025","1329598035","1329598048"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/37ece849fe397c6f036f632408cb58ca.jpg","text":"TemporaryFile(/tmp/multipartBody8376096623470746681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154514166,"filename":"image_17012025_16_56_17_6403.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a16db1275420b0da8225d27441bd3dcd.jpg","text":"TemporaryFile(/tmp/multipartBody3540066362679767092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154514166,"filename":"image_17012025_16_56_04_5201.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7b3f3a93b20e6c2d3052a65ed10dbec2.jpg","text":"TemporaryFile(/tmp/multipartBody4628007853463272326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154514166,"filename":"image_17012025_16_57_11_6416.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d11a54120992c2b4469da5c251c20ad8.jpg","text":"TemporaryFile(/tmp/multipartBody5330003126252409818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154514166,"filename":"image_17012025_16_57_04_6444.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b17f41efb64b836c79857e072b4dbd48.jpg","text":"TemporaryFile(/tmp/multipartBody7250834075414681694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154514166,"filename":"image_17012025_16_56_10_6412.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/aa571e347bf15d86928aabebde27983e.jpg","text":"TemporaryFile(/tmp/multipartBody4532753909512417986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154514166,"filename":"image_17012025_16_56_58_5219.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329598023","file1":"1329598015","file0":"1329598012","file4":"1329598035","file5":"1329598048","file3":"1329598025"},"map_files_photo_id_array":[{"photo_id":"1329598048","filename":"file5"},{"photo_id":"1329598023","filename":"file2"},{"photo_id":"1329598035","filename":"file4"},{"photo_id":"1329598015","filename":"file1"},{"photo_id":"1329598012","filename":"file0"},{"photo_id":"1329598025","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329598025":["hashtag1","hashtag2"]},{"1329598048":["hashtag1","hashtag2"]},{"1329598012":["hashtag1","hashtag2"]},{"1329598015":["hashtag1","hashtag2"]},{"1329598035":["hashtag1","hashtag2"]},{"1329598023":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329598025, 1329598048, 1329598012, 1329598015, 1329598035, 1329598023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.11909770965576 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 23:55:02.256060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/55/image_17012025_16_55_59_6380.jpg', '/media/data/images/17012025/16/55/image_17012025_16_55_16_6390.jpg', '/media/data/images/17012025/16/55/image_17012025_16_55_10_5219.jpg', '/media/data/images/17012025/16/55/image_17012025_16_55_05_6401.jpg', '/media/data/images/17012025/16/54/image_17012025_16_54_58_6391.jpg', '/media/data/images/17012025/16/54/image_17012025_16_54_16_6413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/55/image_17012025_16_55_59_6380.jpg
/media/data/images/17012025/16/55/image_17012025_16_55_16_6390.jpg
/media/data/images/17012025/16/55/image_17012025_16_55_10_5219.jpg
/media/data/images/17012025/16/55/image_17012025_16_55_05_6401.jpg
/media/data/images/17012025/16/54/image_17012025_16_54_58_6391.jpg
/media/data/images/17012025/16/54/image_17012025_16_54_16_6413.jpg
2025-01-17 23:55:02.213681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/08/image_17012025_08_08_35_5301.jpg', '/media/data/images/17012025/08/08/image_17012025_08_08_53_6536.jpg', '/media/data/images/17012025/08/09/image_17012025_08_09_11_6546.jpg', '/media/data/images/17012025/08/09/image_17012025_08_09_29_5328.jpg', '/media/data/images/17012025/08/09/image_17012025_08_09_35_6565.jpg', '/media/data/images/17012025/08/09/image_17012025_08_09_47_6551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/08/image_17012025_08_08_35_5301.jpg
/media/data/images/17012025/08/08/image_17012025_08_08_53_6536.jpg
/media/data/images/17012025/08/09/image_17012025_08_09_11_6546.jpg
/media/data/images/17012025/08/09/image_17012025_08_09_29_5328.jpg
/media/data/images/17012025/08/09/image_17012025_08_09_35_6565.jpg
/media/data/images/17012025/08/09/image_17012025_08_09_47_6551.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329598148","1329598133","1329598153","1329598129","1329598155","1329598122"],"photo_ids_order":["1329598122","1329598129","1329598133","1329598148","1329598153","1329598155"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e829eda76673d6e8e076e7660f8a0e3c.jpg","text":"TemporaryFile(/tmp/multipartBody4661590049991779203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154571665,"filename":"image_17012025_16_55_05_6401.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b0f78b3e45d3a12f85b152223037d1fc.jpg","text":"TemporaryFile(/tmp/multipartBody3238417868197887519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154571665,"filename":"image_17012025_16_55_10_5219.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/be916429616f53dde73fe1e33d9a9f91.jpg","text":"TemporaryFile(/tmp/multipartBody4737124791372103095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154571665,"filename":"image_17012025_16_54_58_6391.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/55ab1f80167161cd9a86b5344c76f4a3.jpg","text":"TemporaryFile(/tmp/multipartBody866582566885478117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154571665,"filename":"image_17012025_16_55_16_6390.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/881c72a6684f75e105d9626f51ebfa20.jpg","text":"TemporaryFile(/tmp/multipartBody6374705177873994377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154571665,"filename":"image_17012025_16_54_16_6413.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/914c4fcafaa2f26d99ec4f29ac448aa7.jpg","text":"TemporaryFile(/tmp/multipartBody6107743403465367730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154571665,"filename":"image_17012025_16_55_59_6380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329598133","file1":"1329598129","file0":"1329598122","file4":"1329598153","file5":"1329598155","file3":"1329598148"},"map_files_photo_id_array":[{"photo_id":"1329598155","filename":"file5"},{"photo_id":"1329598133","filename":"file2"},{"photo_id":"1329598153","filename":"file4"},{"photo_id":"1329598129","filename":"file1"},{"photo_id":"1329598122","filename":"file0"},{"photo_id":"1329598148","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329598148":["hashtag1","hashtag2"]},{"1329598133":["hashtag1","hashtag2"]},{"1329598153":["hashtag1","hashtag2"]},{"1329598129":["hashtag1","hashtag2"]},{"1329598155":["hashtag1","hashtag2"]},{"1329598122":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329598148, 1329598133, 1329598153, 1329598129, 1329598155, 1329598122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.90674018859863 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329598172","1329598154","1329598127","1329598132","1329598152","1329598137"],"photo_ids_order":["1329598127","1329598132","1329598137","1329598152","1329598154","1329598172"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/85f6e28331492eeb1aa48758669de13e.jpg","text":"TemporaryFile(/tmp/multipartBody985108104881889775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154574633,"filename":"image_17012025_08_09_47_6551.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/3ded51e24143e4147caf53fbc5a4ff52.jpg","text":"TemporaryFile(/tmp/multipartBody2401629664918272069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154574633,"filename":"image_17012025_08_09_35_6565.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2ba601704eb53eb0206528e7abd15a6e.jpg","text":"TemporaryFile(/tmp/multipartBody3859220945715909056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154574633,"filename":"image_17012025_08_08_35_5301.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c49357c33a2f814511d5ca0140a2588d.jpg","text":"TemporaryFile(/tmp/multipartBody8993581596089045744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154574633,"filename":"image_17012025_08_08_53_6536.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/7befdd95ec8e8599b179f3c7b23798cb.jpg","text":"TemporaryFile(/tmp/multipartBody9096622597413576370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154574633,"filename":"image_17012025_08_09_29_5328.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/79185bf725557ad40e914ff939164b9c.jpg","text":"TemporaryFile(/tmp/multipartBody8802289915949147962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154574633,"filename":"image_17012025_08_09_11_6546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329598137","file1":"1329598132","file0":"1329598127","file4":"1329598154","file5":"1329598172","file3":"1329598152"},"map_files_photo_id_array":[{"photo_id":"1329598172","filename":"file5"},{"photo_id":"1329598137","filename":"file2"},{"photo_id":"1329598154","filename":"file4"},{"photo_id":"1329598132","filename":"file1"},{"photo_id":"1329598127","filename":"file0"},{"photo_id":"1329598152","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329598172":["hashtag1","hashtag2"]},{"1329598154":["hashtag1","hashtag2"]},{"1329598127":["hashtag1","hashtag2"]},{"1329598132":["hashtag1","hashtag2"]},{"1329598152":["hashtag1","hashtag2"]},{"1329598137":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329598172, 1329598154, 1329598127, 1329598132, 1329598152, 1329598137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.34420108795166 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 23:56:02.152028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/10/image_17012025_08_10_05_6546.jpg', '/media/data/images/17012025/08/10/image_17012025_08_10_17_6525.jpg', '/media/data/images/17012025/08/10/image_17012025_08_10_36_6546.jpg', '/media/data/images/17012025/08/10/image_17012025_08_10_41_5315.jpg', '/media/data/images/17012025/08/10/image_17012025_08_10_48_6564.jpg', '/media/data/images/17012025/08/11/image_17012025_08_11_17_5293.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/10/image_17012025_08_10_05_6546.jpg
/media/data/images/17012025/08/10/image_17012025_08_10_17_6525.jpg
/media/data/images/17012025/08/10/image_17012025_08_10_36_6546.jpg
/media/data/images/17012025/08/10/image_17012025_08_10_41_5315.jpg
/media/data/images/17012025/08/10/image_17012025_08_10_48_6564.jpg
/media/data/images/17012025/08/11/image_17012025_08_11_17_5293.jpg
2025-01-17 23:56:02.205784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/54/image_17012025_16_54_10_5201.jpg', '/media/data/images/17012025/16/53/image_17012025_16_54_04_6607.jpg', '/media/data/images/17012025/16/53/image_17012025_16_53_58_5187.jpg', '/media/data/images/17012025/16/53/image_17012025_16_53_17_6355.jpg', '/media/data/images/17012025/16/53/image_17012025_16_53_10_6322.jpg', '/media/data/images/17012025/16/52/image_17012025_16_53_04_6448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/54/image_17012025_16_54_10_5201.jpg
/media/data/images/17012025/16/53/image_17012025_16_54_04_6607.jpg
/media/data/images/17012025/16/53/image_17012025_16_53_58_5187.jpg
/media/data/images/17012025/16/53/image_17012025_16_53_17_6355.jpg
/media/data/images/17012025/16/53/image_17012025_16_53_10_6322.jpg
/media/data/images/17012025/16/52/image_17012025_16_53_04_6448.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329598208","1329598195","1329598204","1329598213","1329598193","1329598199"],"photo_ids_order":["1329598193","1329598195","1329598199","1329598204","1329598208","1329598213"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6ae2a96ed08c93ba7d5fd31ed807862a.jpg","text":"TemporaryFile(/tmp/multipartBody1440767402722721810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154629563,"filename":"image_17012025_16_53_10_6322.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/43faa0c9e906e011079be3d339b0b215.jpg","text":"TemporaryFile(/tmp/multipartBody545006674191201906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154629563,"filename":"image_17012025_16_54_04_6607.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6ae704402c7c04a9f3a2011311c83785.jpg","text":"TemporaryFile(/tmp/multipartBody6080525826206024518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154629563,"filename":"image_17012025_16_53_17_6355.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/a332fa28fe5c924b2d5b74fbc34ca862.jpg","text":"TemporaryFile(/tmp/multipartBody3918603583155146227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154629563,"filename":"image_17012025_16_53_04_6448.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e97e6decebf6858ae748913106e3c477.jpg","text":"TemporaryFile(/tmp/multipartBody7428214586164837302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154629563,"filename":"image_17012025_16_54_10_5201.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/293c08b6f942dbd54610629c8b31ba1d.jpg","text":"TemporaryFile(/tmp/multipartBody1615520118943097015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154629563,"filename":"image_17012025_16_53_58_5187.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329598199","file1":"1329598195","file0":"1329598193","file4":"1329598208","file5":"1329598213","file3":"1329598204"},"map_files_photo_id_array":[{"photo_id":"1329598213","filename":"file5"},{"photo_id":"1329598199","filename":"file2"},{"photo_id":"1329598208","filename":"file4"},{"photo_id":"1329598195","filename":"file1"},{"photo_id":"1329598193","filename":"file0"},{"photo_id":"1329598204","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329598208":["hashtag1","hashtag2"]},{"1329598195":["hashtag1","hashtag2"]},{"1329598204":["hashtag1","hashtag2"]},{"1329598213":["hashtag1","hashtag2"]},{"1329598193":["hashtag1","hashtag2"]},{"1329598199":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329598208, 1329598195, 1329598204, 1329598213, 1329598193, 1329598199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.47352623939514 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329598205","1329598296","1329598215","1329598209","1329598200","1329598196"],"photo_ids_order":["1329598196","1329598200","1329598205","1329598209","1329598215","1329598296"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/c8745c09d9ec5595b26bc6728ec64b70.jpg","text":"TemporaryFile(/tmp/multipartBody6889012452252915582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154634116,"filename":"image_17012025_08_10_36_6546.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/554c9fc009fd81f184e4d446f27f23ca.jpg","text":"TemporaryFile(/tmp/multipartBody590713831064748368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154634116,"filename":"image_17012025_08_11_17_5293.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/55e9049790296dc02a5a7aedc7dd6c1a.jpg","text":"TemporaryFile(/tmp/multipartBody8038138417579385423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154634116,"filename":"image_17012025_08_10_48_6564.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/662b36c1f268398f418990c32846def2.jpg","text":"TemporaryFile(/tmp/multipartBody5670693332631385775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154634116,"filename":"image_17012025_08_10_41_5315.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0b001da74b5f4446c11277177194537f.jpg","text":"TemporaryFile(/tmp/multipartBody3974381480371862874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154634116,"filename":"image_17012025_08_10_17_6525.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5f6a1ae37eae10a7528ea7564b6c23f3.jpg","text":"TemporaryFile(/tmp/multipartBody428940909893067858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154634116,"filename":"image_17012025_08_10_05_6546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329598205","file1":"1329598200","file0":"1329598196","file4":"1329598215","file5":"1329598296","file3":"1329598209"},"map_files_photo_id_array":[{"photo_id":"1329598296","filename":"file5"},{"photo_id":"1329598205","filename":"file2"},{"photo_id":"1329598215","filename":"file4"},{"photo_id":"1329598200","filename":"file1"},{"photo_id":"1329598196","filename":"file0"},{"photo_id":"1329598209","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329598205":["hashtag1","hashtag2"]},{"1329598296":["hashtag1","hashtag2"]},{"1329598215":["hashtag1","hashtag2"]},{"1329598209":["hashtag1","hashtag2"]},{"1329598200":["hashtag1","hashtag2"]},{"1329598196":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329598205, 1329598296, 1329598215, 1329598209, 1329598200, 1329598196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.47972106933594 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
Start to upload photos with parameters : -o DESC -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15
2025-01-17 23:57:02.353118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/11/image_17012025_08_11_23_6549.jpg', '/media/data/images/17012025/08/11/image_17012025_08_11_30_6548.jpg', '/media/data/images/17012025/08/11/image_17012025_08_11_35_5313.jpg', '/media/data/images/17012025/08/11/image_17012025_08_11_42_6553.jpg', '/media/data/images/17012025/08/11/image_17012025_08_11_53_6551.jpg', '/media/data/images/17012025/08/12/image_17012025_08_12_05_6430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/11/image_17012025_08_11_23_6549.jpg
/media/data/images/17012025/08/11/image_17012025_08_11_30_6548.jpg
/media/data/images/17012025/08/11/image_17012025_08_11_35_5313.jpg
/media/data/images/17012025/08/11/image_17012025_08_11_42_6553.jpg
/media/data/images/17012025/08/11/image_17012025_08_11_53_6551.jpg
/media/data/images/17012025/08/12/image_17012025_08_12_05_6430.jpg
2025-01-17 23:57:02.565921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local DESC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/16/52/image_17012025_16_52_58_5183.jpg', '/media/data/images/17012025/16/52/image_17012025_16_52_17_6384.jpg', '/media/data/images/17012025/16/52/image_17012025_16_52_10_6416.jpg', '/media/data/images/17012025/16/52/image_17012025_16_52_04_5019.jpg', '/media/data/images/17012025/16/51/image_17012025_16_51_59_6420.jpg', '/media/data/images/17012025/16/51/image_17012025_16_51_16_6402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/16/52/image_17012025_16_52_58_5183.jpg
/media/data/images/17012025/16/52/image_17012025_16_52_17_6384.jpg
/media/data/images/17012025/16/52/image_17012025_16_52_10_6416.jpg
/media/data/images/17012025/16/52/image_17012025_16_52_04_5019.jpg
/media/data/images/17012025/16/51/image_17012025_16_51_59_6420.jpg
/media/data/images/17012025/16/51/image_17012025_16_51_16_6402.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329598322","1329598342","1329598318","1329598312","1329598314","1329598349"],"photo_ids_order":["1329598312","1329598314","1329598318","1329598322","1329598342","1329598349"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/5837dfdc9fcaa2182950c12f18e999c2.jpg","text":"TemporaryFile(/tmp/multipartBody4737516287351458712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154692797,"filename":"image_17012025_16_52_04_5019.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b21e9a6b3615a5283d2944868b4ad847.jpg","text":"TemporaryFile(/tmp/multipartBody414161589158839645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154692797,"filename":"image_17012025_16_51_59_6420.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d7581c64f35686d45d4995c81bc30279.jpg","text":"TemporaryFile(/tmp/multipartBody930597785476363609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154692797,"filename":"image_17012025_16_52_10_6416.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/98a99cfbc8929ea66383108745896fa8.jpg","text":"TemporaryFile(/tmp/multipartBody7732837455528870558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154692797,"filename":"image_17012025_16_52_58_5183.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/bf332f0e464aedf17b5c5a804f6b918f.jpg","text":"TemporaryFile(/tmp/multipartBody2191649027443222992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154692797,"filename":"image_17012025_16_52_17_6384.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2b62807e59f82ecad891b7eccebf5354.jpg","text":"TemporaryFile(/tmp/multipartBody1941834004177462819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154692797,"filename":"image_17012025_16_51_16_6402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329598318","file1":"1329598314","file0":"1329598312","file4":"1329598342","file5":"1329598349","file3":"1329598322"},"map_files_photo_id_array":[{"photo_id":"1329598349","filename":"file5"},{"photo_id":"1329598318","filename":"file2"},{"photo_id":"1329598342","filename":"file4"},{"photo_id":"1329598314","filename":"file1"},{"photo_id":"1329598312","filename":"file0"},{"photo_id":"1329598322","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329598322":["hashtag1","hashtag2"]},{"1329598342":["hashtag1","hashtag2"]},{"1329598318":["hashtag1","hashtag2"]},{"1329598312":["hashtag1","hashtag2"]},{"1329598314":["hashtag1","hashtag2"]},{"1329598349":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329598322, 1329598342, 1329598318, 1329598312, 1329598314, 1329598349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.47613716125488 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329598340","1329598313","1329598316","1329598369","1329598345","1329598320"],"photo_ids_order":["1329598313","1329598316","1329598320","1329598340","1329598345","1329598369"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/b3b9e9e492d920695e39eaeb36511b45.jpg","text":"TemporaryFile(/tmp/multipartBody7324507787143284940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154695938,"filename":"image_17012025_08_11_42_6553.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/d4e8949f60c3c9f4ac516929aa8c4448.jpg","text":"TemporaryFile(/tmp/multipartBody3430871739293583397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154695938,"filename":"image_17012025_08_11_23_6549.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/816d01ccc7ee021789ccb90204b6f814.jpg","text":"TemporaryFile(/tmp/multipartBody648866020321601052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154695938,"filename":"image_17012025_08_11_30_6548.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e8ff6f1d80e807d1f0fe2a5c3eaa3236.jpg","text":"TemporaryFile(/tmp/multipartBody6309018320246105707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154695938,"filename":"image_17012025_08_12_05_6430.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/cde2319ca84d4fd37b7b678022843a4a.jpg","text":"TemporaryFile(/tmp/multipartBody8917318034063743272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154695938,"filename":"image_17012025_08_11_53_6551.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0f24fa85220f1833855524a82df92a84.jpg","text":"TemporaryFile(/tmp/multipartBody4954351827514556301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154695938,"filename":"image_17012025_08_11_35_5313.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329598320","file1":"1329598316","file0":"1329598313","file4":"1329598345","file5":"1329598369","file3":"1329598340"},"map_files_photo_id_array":[{"photo_id":"1329598369","filename":"file5"},{"photo_id":"1329598320","filename":"file2"},{"photo_id":"1329598345","filename":"file4"},{"photo_id":"1329598316","filename":"file1"},{"photo_id":"1329598313","filename":"file0"},{"photo_id":"1329598340","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329598340":["hashtag1","hashtag2"]},{"1329598313":["hashtag1","hashtag2"]},{"1329598316":["hashtag1","hashtag2"]},{"1329598369":["hashtag1","hashtag2"]},{"1329598345":["hashtag1","hashtag2"]},{"1329598320":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329598340, 1329598313, 1329598316, 1329598369, 1329598345, 1329598320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.15372896194458 secondes ---
Start to upload photos with parameters : -n sevran_1223 -u marlene.fotonower.com -f /media/data/images -t ad008dc7a28db4d91ca57b4c305a3b85 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-01-17 23:58:02.378012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
  port_id : 19698697
  datou_current_id : 2490821
in upload_from_sqlite, uploading in 19698697
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/media/data/images/17012025/08/12/image_17012025_08_12_23_6536.jpg', '/media/data/images/17012025/08/12/image_17012025_08_12_35_6531.jpg', '/media/data/images/17012025/08/12/image_17012025_08_12_41_5296.jpg', '/media/data/images/17012025/08/12/image_17012025_08_12_47_6561.jpg', '/media/data/images/17012025/08/12/image_17012025_08_12_53_5316.jpg', '/media/data/images/17012025/08/12/image_17012025_08_12_59_6545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=ad008dc7a28db4d91ca57b4c305a3b85&datou_current_id=2490821&datou=0
/media/data/images/17012025/08/12/image_17012025_08_12_23_6536.jpg
/media/data/images/17012025/08/12/image_17012025_08_12_35_6531.jpg
/media/data/images/17012025/08/12/image_17012025_08_12_41_5296.jpg
/media/data/images/17012025/08/12/image_17012025_08_12_47_6561.jpg
/media/data/images/17012025/08/12/image_17012025_08_12_53_5316.jpg
/media/data/images/17012025/08/12/image_17012025_08_12_59_6545.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329598412","1329598461","1329598470","1329598466","1329598410","1329598469"],"photo_ids_order":["1329598410","1329598412","1329598461","1329598466","1329598469","1329598470"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/2381c618cda9c476cfc8dc4aa5d83380.jpg","text":"TemporaryFile(/tmp/multipartBody3701957959264349198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154750299,"filename":"image_17012025_08_12_35_6531.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/813142221a76a6f3742a1009b8ccf26d.jpg","text":"TemporaryFile(/tmp/multipartBody8072519598072744821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154750299,"filename":"image_17012025_08_12_41_5296.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/e68e6133bf05f37233dee465fec7017c.jpg","text":"TemporaryFile(/tmp/multipartBody4981947910112126401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154750299,"filename":"image_17012025_08_12_59_6545.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/6630528d6b90c96bf195162c4044078d.jpg","text":"TemporaryFile(/tmp/multipartBody6460063905008895612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154750299,"filename":"image_17012025_08_12_47_6561.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/470852e529af01606031dd1dbcc5c622.jpg","text":"TemporaryFile(/tmp/multipartBody2578681440020424204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154750299,"filename":"image_17012025_08_12_23_6536.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/17/0decae7ea9e6c96254fbf15837f1cffa.jpg","text":"TemporaryFile(/tmp/multipartBody6077800549979267647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154750299,"filename":"image_17012025_08_12_53_5316.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329598461","file1":"1329598412","file0":"1329598410","file4":"1329598469","file5":"1329598470","file3":"1329598466"},"map_files_photo_id_array":[{"photo_id":"1329598470","filename":"file5"},{"photo_id":"1329598461","filename":"file2"},{"photo_id":"1329598469","filename":"file4"},{"photo_id":"1329598412","filename":"file1"},{"photo_id":"1329598410","filename":"file0"},{"photo_id":"1329598466","filename":"file3"}],"portfolio_id":19698697,"hashtag_by_photo_ids":[{"1329598412":["hashtag1","hashtag2"]},{"1329598461":["hashtag1","hashtag2"]},{"1329598470":["hashtag1","hashtag2"]},{"1329598466":["hashtag1","hashtag2"]},{"1329598410":["hashtag1","hashtag2"]},{"1329598469":["hashtag1","hashtag2"]}],"comms":"Portfolio 19698697 used, photo_id : ArrayBuffer(1329598412, 1329598461, 1329598470, 1329598466, 1329598410, 1329598469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.93742513656616 secondes ---
